CN102479120A - Startup/shutdown test system and startup/shutdown test method - Google Patents

Startup/shutdown test system and startup/shutdown test method Download PDF

Info

Publication number
CN102479120A
CN102479120A CN2010105532162A CN201010553216A CN102479120A CN 102479120 A CN102479120 A CN 102479120A CN 2010105532162 A CN2010105532162 A CN 2010105532162A CN 201010553216 A CN201010553216 A CN 201010553216A CN 102479120 A CN102479120 A CN 102479120A
Authority
CN
China
Prior art keywords
power supply
supply device
time
test
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010105532162A
Other languages
Chinese (zh)
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2010105532162A priority Critical patent/CN102479120A/en
Publication of CN102479120A publication Critical patent/CN102479120A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

一种开关机测试系统及方法,该方法包括:预设开机与关机时间的范围、测试次数以及初始化已测试次数;在开机与关机时间的范围中随机选择一个数字作为开机与关机时间,以及控制已测试次数加一;控制所述的待测电源装置开机,并持续所选择的开机时间;在持续开机时间内实时控制电压量测装置量测所述待测电源装置的工作电压值,并读取量测到的工作电压值;当待测电源装置开机持续了所选择的开机时间,且所读取的工作电压值不为零时,控制所述的待测电源装置关机,并持续所选择的关机时间。利用本发明能够更加自动化以及有效的进行开关机测试。

Figure 201010553216

A system and method for testing a power-on and power-off machine, the method comprising: preset the range of power-on and power-off time, the number of tests, and the number of times of initialization tests; randomly select a number in the range of power-on and power-off time as the power-on and power-off time, and control Add one to the number of times of testing; control the power supply device under test to start up, and continue the selected power-on time; control the voltage measuring device to measure the working voltage value of the power supply device under test in real time during the continuous power-on time, and read Take the measured working voltage value; when the power supply device under test has been powered on for the selected power-on time, and the read working voltage value is not zero, control the power supply device under test to shut down, and continue the selected shutdown time. Utilizing the present invention can more automatically and effectively carry out switch machine test.

Figure 201010553216

Description

开关机测试系统及方法Switch machine test system and method

技术领域 technical field

本发明涉及一种开关机测试系统及方法。The invention relates to a switch machine testing system and method.

背景技术 Background technique

开关机(ON-OFF)测试是检验待测设备性能情况的一项重要测试,目前主要都是测试人员进行手动测试,这样容易导致无法知道什么时候会开机或关机失败,也无法随时使用三用电表量测电压来判断是否有开机成功。此外,一般情况下,待测设备的SPEC(Standard Performance EvaluationCorporation,系统性能评估测试)都要求ON-OFF一千次、一万次,导致测试费时费力,且由于人为因素,容易出错。同时由于使用固定的开机与关机时间来对待测设备进行开关机测试,无法准确全面的了解待测设备在何时开机或关机失败。The ON-OFF test is an important test to check the performance of the equipment under test. At present, the testers mainly conduct manual tests, which easily leads to the inability to know when the power-on or power-off failure will occur, and it is also impossible to use the three-purpose device at any time. The ammeter measures the voltage to determine whether the boot is successful. In addition, under normal circumstances, the SPEC (Standard Performance Evaluation Corporation, system performance evaluation test) of the equipment under test requires ON-OFF 1,000 or 10,000 times, resulting in time-consuming and labor-intensive testing, and due to human factors, error-prone. At the same time, since the device under test is turned on and off with fixed start-up and shutdown times, it is impossible to accurately and comprehensively understand when the device under test fails to start up or shut down.

发明内容 Contents of the invention

鉴于以上内容,有必要提供一种开关机测试方法,通过自动化的测试方式,以及随机选择开机与关机时间对待测电源装置进行测试,准确全面的进行开关机测试。In view of the above, it is necessary to provide a power-on/off test method, which can accurately and comprehensively perform the on-off test by using an automated test method and randomly selecting the power-on and off times to test the power supply device to be tested.

此外,还有必要提供一种开关机测试系统,通过自动化的测试方式,以及随机选择开机与关机时间对待测电源装置进行测试,准确全面的进行开关机测试。In addition, it is also necessary to provide a power-on/off test system, which can accurately and comprehensively perform power-on/off tests by testing the power supply device to be tested through an automated test method and randomly selecting start-up and shut-down times.

一种开关机测试方法,应用于计算机中,所述的计算机通过通用接口总线GPIB分别与直流电子负载、电源供应装置以及电压量测装置相连接,所述的直流电子负载、电源供应装置以及电压量测装置均与待测电源装置相连接。该方法包括:设置步骤:预设为待测电源装置提供的负载与电压、测试次数、开机与关机时间的范围以及初始化已测试次数为零;控制步骤:在开机与关机时间的范围中随机选择一个数字作为开机与关机时间,以及控制已测试次数加一;开机步骤:根据所述设置的负载与电压以及所选择的开机时间,控制所述的待测电源装置开机,并持续所选择的开机时间;读取步骤:在持续开机时间内实时控制电压量测装置量测所述待测电源装置的工作电压值,并读取量测到的工作电压值;关机步骤:当待测电源装置开机持续了所选择的开机时间,且所读取的工作电压值不为零时,控制所述的待测电源装置关机,并持续所选择的关机时间。A switch machine testing method, applied to a computer, the computer is respectively connected to a DC electronic load, a power supply device and a voltage measuring device through a general interface bus GPIB, and the described DC electronic load, power supply device and voltage The measuring devices are all connected with the power supply device to be tested. The method includes: a setting step: preset the load and voltage provided for the power supply unit to be tested, the number of tests, the range of start-up and shutdown times, and initialize the number of times tested to zero; the control step: randomly select the range of start-up and shutdown times A number is used as the start-up and shutdown time, and the number of times of control tests plus one; start-up steps: according to the set load and voltage and the selected start-up time, control the start-up of the power supply device under test, and continue the selected start-up Time; reading step: control the voltage measuring device to measure the working voltage value of the power supply device under test in real time during the continuous power-on time, and read the measured working voltage value; shutdown step: when the power supply device under test is turned on When the selected power-on time lasts and the read operating voltage value is not zero, the power supply device under test is controlled to be shut down, and the selected power-off time lasts.

一种开关机测试系统,运行于计算机中,所述的计算机通过通用接口总线GPIB分别与直流电子负载、电源供应装置以及电压量测装置相连接,所述的直流电子负载、电源供应装置以及电压量测装置均与待测电源装置相连接。该系统包括:设置模块,用于预设为待测电源装置提供的负载与电压,并预设测试次数,开机与关机时间的范围,以及初始化已测试次数为零;控制模块,用于在开机与关机时间的范围中随机选择一个数字作为开机与关机时间,以及控制已测试次数加一;所述的控制模块,还用于根据所述设置的负载与电压以及所选择的开机时间,控制所述的待测电源装置开机,并持续所选择的开机时间;所述的控制模块,还用于在持续开机时间内控制电压量测装置实时量测所述待测电源装置的工作电压值,并读取量测到的工作电压值;所述的控制模块,还用于当待测电源装置开机持续了所选择的开机时间,且所读取的工作电压值不为零时,控制所述的待测电源装置关机,并持续所选择的关机时间。A switch machine test system, running in a computer, the computer is respectively connected to a DC electronic load, a power supply device and a voltage measurement device through a general interface bus GPIB, and the described DC electronic load, power supply device and voltage The measuring devices are all connected with the power supply device to be tested. The system includes: a setting module, which is used to preset the load and voltage provided for the power supply unit to be tested, and preset the number of tests, the range of start-up and shutdown time, and initialize the number of times tested to be zero; the control module is used to start Randomly select a number in the range of the power-on and power-off time as the power-on and power-off time, and control the number of tests plus one; the control module is also used to control the The power supply device under test is turned on and lasts for the selected power-on time; the control module is also used to control the voltage measurement device to measure the working voltage value of the power supply device under test in real time during the continuous power-on time, and Read the measured operating voltage value; the control module is also used to control the The power unit under test is turned off for the selected off time.

相较于现有技术,本发明所述的开关机测试系统及方法,通过自动化的测试方式,以及随机选择开机与关机时间对待测电源装置进行测试,准确全面的进行开关机测试,提高了测试效率。此外,当测试待测电源装置的开机性能时,如果开机失败,则自动关闭电源供应装置以及直流电子负载,结束测试流程,这样可以准确了解在何时开机或关机失败。Compared with the prior art, the switching machine testing system and method described in the present invention test the power supply device under test through an automated testing method and randomly select the startup and shutdown time, and accurately and comprehensively perform the switching machine test, which improves the test performance. efficiency. In addition, when testing the power-on performance of the power supply device under test, if the power-on failure occurs, the power supply device and the DC electronic load are automatically turned off to end the test process, so that it is possible to know exactly when the power-on or shutdown fails.

附图说明Description of drawings

图1是本发明开关机测试系统较佳实施例的架构示意图。FIG. 1 is a schematic diagram of the structure of a preferred embodiment of the switch machine testing system of the present invention.

图2是本发明开关机测试系统较佳实施例的功能模块图。Fig. 2 is a functional block diagram of a preferred embodiment of the switching machine testing system of the present invention.

图3是本发明开关机测试方法较佳实施例的流程图。Fig. 3 is a flow chart of a preferred embodiment of the switching machine testing method of the present invention.

主要元件符号说明Description of main component symbols

  计算机 computer   1 1   测试系统 test system   10 10   显示单元 Display unit   20 20   GPIB GPIB   2 2   直流电子负载 DC electronic load   3 3   电源供应装置 Power supply unit   4 4   电压量测装置 Voltage measuring device   5 5   待测电源装置 Power unit under test   6 6   设置模块 set module   100 100   控制模块 control module   102 102   显示模块 display module   104 104   判断模块 Judgment module   106 106   记录模块 Record module   108 108

具体实施方式 Detailed ways

如图1所示,是本发明开关机测试系统较佳实施例的架构示意图。所述的开关机自动化测试系统10(以下简称“测试系统10”)运行于计算机1中。所述的计算机1还包括显示单元20。所述的显示单元20用于显示计算机1输出的可视化数据,例如测试数据等。该计算机1通过三个GPIB(GeneralPurpose Interface Bus,通用接口总线)2分别与一个直流电子负载3、一个电源供应装置4以及一个电压量测装置5连接,实现对所述直流电子负载3、电源供应装置4以及电压量测装置5的控制。所述的直流电子负载3、电源供应装置4以及电压量测装置5均与待测电源装置6连接。所述的直流电子负载3用于为待测电源装置6提供所需的负载,所述的电源供应装置4用于对待测电源装置6提供电压。所述的电压量测装置5用于量测待测电源装置6的工作电压值。当待测电源装置6工作(开机)时,就会有工作电压值(表示工作电压值不为零)。当待测电源装置6不工作(关机)时,其工作电压值为零。As shown in FIG. 1 , it is a schematic diagram of the structure of a preferred embodiment of the switching machine testing system of the present invention. The switch machine automatic test system 10 (hereinafter referred to as “test system 10 ”) runs in the computer 1 . The computer 1 also includes a display unit 20 . The display unit 20 is used to display the visualized data output by the computer 1, such as test data and the like. The computer 1 is respectively connected to a DC electronic load 3, a power supply device 4 and a voltage measurement device 5 through three GPIB (General Purpose Interface Bus, general purpose interface bus) 2, so as to realize the DC electronic load 3, power supply Control of device 4 and voltage measuring device 5 . The DC electronic load 3 , the power supply device 4 and the voltage measurement device 5 are all connected to the power supply device 6 to be tested. The DC electronic load 3 is used to provide the required load for the power supply device 6 to be tested, and the power supply device 4 is used to provide voltage for the power supply device 6 to be tested. The voltage measurement device 5 is used to measure the working voltage value of the power supply device 6 to be tested. When the power supply device 6 to be tested works (starts up), there will be a working voltage value (indicating that the working voltage value is not zero). When the power supply device 6 under test is not working (shut down), its operating voltage value is zero.

如图2所示,是图1中测试系统10的功能模块图。该测试系统10包括设置模块100、控制模块102、显示模块104以及判断模块106。本发明所称的模块是完成一特定功能的计算机程序段,比程序更适合于描述软件在计算机中的执行过程,因此在本发明以下对软件描述中都以模块描述。As shown in FIG. 2 , it is a functional block diagram of the test system 10 in FIG. 1 . The testing system 10 includes a setting module 100 , a control module 102 , a display module 104 and a judging module 106 . The module referred to in the present invention is a computer program segment that completes a specific function, which is more suitable than a program to describe the execution process of software in a computer, so the following description of software in the present invention is described as a module.

所述的设置模块100用于预设为待测电源装置6提供的负载与电压、测试次数,并预设开机与关机时间的范围。所述预设的负载、电压以及测试次数是根据待测电源装置6的SPEC(Standard Performance EvaluationCorporation,系统性能评估测试)进行设置的。所述的测试次数可以设置成1000次,10000次。所述的开机与关机时间的范围包括一个最大值(maximum)以及一个最小值(minimum)。例如,可以设置最大值为10秒,最小值为5秒。The setting module 100 is used to preset the load and voltage provided for the power supply device 6 to be tested, the number of tests, and the range of startup and shutdown times. The preset load, voltage and test times are set according to the SPEC (Standard Performance Evaluation Corporation, system performance evaluation test) of the power supply device 6 to be tested. The number of tests can be set to 1000 or 10000 times. The range of the startup and shutdown time includes a maximum value (maximum) and a minimum value (minimum). For example, you can set a maximum value of 10 seconds and a minimum value of 5 seconds.

所述的设置模块100还用于初始化已测试次数为零。The setting module 100 is also used to initialize the number of times tested to be zero.

所述的控制模块102用于在开机与关机时间的范围中随机选择一个数字作为开机与关机时间,以及控制已测试次数加一。应说明的是,通过随机设置开机与关机时间,可以更加全面的对待测电源装置6的电源性能进行测试。The control module 102 is used to randomly select a number in the range of the power-on and power-off time as the power-on and power-off time, and to control the number of times tested to be increased by one. It should be noted that by randomly setting the power-on and power-off times, the power performance of the power supply device 6 to be tested can be tested more comprehensively.

所述的显示模块104用于在控制模块102控制已测试次数加一后,在显示单元20上显示上述的已测试次数以及此次控制模块102所选择的开机与关机时间,用户可以通过该显示的已测试次数以及开机与关机时间来了解测试情况。应说明的是,所述的显示模块104还可以在显示单元20上显示所设置的负载、电压以及开机与关机时间的范围等测试参数,供用户查看。The display module 104 is used to display on the display unit 20 the above-mentioned number of times of tests and the time of power-on and power-off selected by the control module 102 after the control module 102 controls the number of times tested to be increased by one. The number of times tested and the startup and shutdown time to understand the test situation. It should be noted that the display module 104 can also display the set test parameters such as load, voltage, and range of start-up and shutdown time on the display unit 20 for users to view.

所述的控制模块102还用于根据所述设置的负载与电压以及所选择的开机时间,控制所述的待测电源装置6开机,并持续所选择的开机时间。所述的控制模块102通过GPIB2控制直流电子负载3为待测电源装置6提供设置的负载,控制电源供应装置4为待测电源装置6提供所设置的电压,并持续所选择的开机时间。The control module 102 is further configured to control the power supply device 6 under test to start up according to the set load and voltage and the selected start-up time, and last for the selected start-up time. The control module 102 controls the DC electronic load 3 to provide the set load for the power supply device 6 under test through the GPIB2, controls the power supply device 4 to provide the set voltage for the power supply device 6 under test, and lasts for the selected power-on time.

所述的控制模块102还用于控制电压量测装置5量测所述待测电源装置6的工作电压值,并在持续所选择的开机时间和关机时间内实时读取量测到的工作电压值。The control module 102 is also used to control the voltage measurement device 5 to measure the operating voltage value of the power supply device 6 to be tested, and to read the measured operating voltage in real time during the selected startup time and shutdown time value.

所述的判断模块106用于判断所述读取的工作电压值是否为零。The judging module 106 is used to judge whether the read working voltage value is zero.

所述的控制模块102还用于当待测电源装置6开机持续了所选择的开机时间,且所读取的工作电压值不为零时,控制所述的待测电源装置6关机,并持续所选择的关机时间。所述的控制模块102通过GPIB2控制直流电子负载3为待测电源装置6提供的负载为零,控制电源供应装置4为待测电源装置6提供的电压为零,从而关闭直流电子负载3以及电源供应装置4,并持续所选择的关机时间,以使待测电源装置6关机并持续所选择的关机时间。The control module 102 is also used for controlling the shutdown of the power supply device 6 to be tested when the power supply device 6 under test has been powered on for the selected power-on time and the read operating voltage value is not zero, and continues to The selected shutdown time. The control module 102 controls the DC electronic load 3 to provide zero load for the power supply device 6 to be tested through GPIB2, and controls the power supply device 4 to provide zero voltage for the power supply device 6 to be tested, thereby turning off the DC electronic load 3 and the power supply The power supply device 4 is powered on for the selected shutdown time, so that the power supply device 6 under test is powered off and lasts for the selected shutdown time.

当待测电源装置6持续开机时,若所读取的工作电压为零,所述的控制模块102关闭所述的直流电子负载3与电源供应装置4,结束开关机测试流程。When the power supply device 6 to be tested continues to be turned on, if the read working voltage is zero, the control module 102 turns off the DC electronic load 3 and the power supply device 4 to end the power-on/off test process.

所述的记录模块108用于当待测电源装置6持续开机时,若所读取的工作电压为零,以及当控制模块102控制待测电源装置6开机时,若所读取的工作电压值不为零,记录此次测试结果为测试失败,并显示在显示单元20上。The recording module 108 is used for when the power supply device 6 under test is continuously turned on, if the read operating voltage is zero, and when the control module 102 controls the power supply device 6 to be turned on, if the read operating voltage value If it is not zero, record the test result as a test failure and display it on the display unit 20 .

所述的记录模块108还用于当待测电源装置6关机并持续了所选择的关机时间,且所读取的工作电压值为零时,记录模块108记录此次测试结果为测试成功,并显示在显示单元20上。The recording module 108 is also used to record the test result as a successful test by the recording module 108 when the power supply device 6 to be tested is shut down and continues for the selected shutdown time, and the read operating voltage value is zero, and displayed on the display unit 20.

所述的判断模块106还用于当记录模块108记录此次测试结果为测试成功时,判断已测试次数是否达到所设置的测试次数。若没有达到所设置的测试次数,则继续下一次测试;若达到所设置的测试次数,则开关机测试结束。The judging module 106 is also used for judging whether the number of times of testing has reached the set number of times of testing when the recording module 108 records the test result as a successful test. If the set number of tests is not reached, continue to the next test; if the set number of tests is reached, the power-on test ends.

如图3所示,是本发明开关机测试方法较佳实施例的流程图。步骤S10,所述的设置模块100预设为待测电源装置6提供的负载与电压、测试次数、开机与关机时间的范围以及初始化已测试次数为零。As shown in FIG. 3 , it is a flow chart of a preferred embodiment of the switching machine testing method of the present invention. Step S10 , the setting module 100 presets the load and voltage provided by the power supply device 6 to be tested, the number of tests, the range of startup and shutdown times, and the number of initialization tests to be zero.

步骤S11,所述的控制模块102在开机与关机时间的范围中随机选择一个数字作为开机与关机时间,并控制已测试次数加一,以及所述的显示模块104在显示单元20上显示上述的已测试次数以及此次控制模块102所选择的开机与关机时间。Step S11, the control module 102 randomly selects a number in the range of the power-on and power-off time as the power-on and power-off time, and controls the number of times tested to be increased by one, and the display module 104 displays the above-mentioned value on the display unit 20 The number of times of testing and the startup and shutdown times selected by the control module 102 this time.

步骤S12,根据所述设置的负载与电压以及所选择的开机时间,所述的控制模块102控制所述的待测电源装置6开机,并持续所选择的开机时间。所述的控制模块102通过GPIB2控制直流电子负载3为待测电源装置6提供设置的负载,控制电源供应装置4为待测电源装置6提供所设置的电压,并持续所选择的开机时间。Step S12 , according to the set load and voltage and the selected power-on time, the control module 102 controls the power supply unit 6 to be powered on for the selected power-on time. The control module 102 controls the DC electronic load 3 to provide the set load for the power supply device 6 under test through the GPIB2, controls the power supply device 4 to provide the set voltage for the power supply device 6 under test, and lasts for the selected power-on time.

步骤S13,所述的控制模块102在该持续的开机时间内实时控制电压量测装置5量测所述待测电源装置6的工作电压值,并读取量测到的工作电压值。Step S13 , the control module 102 controls the voltage measurement device 5 to measure the working voltage value of the power supply device 6 under test in real time during the continuous power-on time, and reads the measured working voltage value.

步骤S14,所述的判断模块106判断所述读取的工作电压值是否为零,当所读取的工作电压值为零时,进入步骤S15;当所读取的工作电压不为零时,进入步骤S17。Step S14, the judgment module 106 judges whether the read operating voltage value is zero, and when the read operating voltage value is zero, enter step S15; when the read operating voltage value is not zero, enter step S17.

步骤S15,所述的控制模块102关闭所述的直流电子负载3与电源供应装置4,并进入步骤S16。In step S15, the control module 102 turns off the DC electronic load 3 and the power supply device 4, and proceeds to step S16.

步骤S16,所述的记录模块108记录此次测试结果为测试失败,并显示于显示单元20上,结束开关机测试流程。In step S16, the recording module 108 records the test result as test failure, and displays it on the display unit 20, and ends the power-on/off test process.

步骤S17,当待测电源装置6开机持续了所选择的开机时间后,所述的控制模块102控制所述的待测电源装置6关机,并持续所选择的关机时间,以及在该持续的关机时间内实时读取电压量测装置5所量测到的待测电源装置6的工作电压值。所述的控制模块102通过GPIB2控制直流电子负载3为待测电源装置6提供的负载为零,控制电源供应装置4为待测电源装置6提供的电压为零,并持续所选择的关机时间。Step S17, when the power supply device 6 under test is powered on for the selected power-on time, the control module 102 controls the power supply device 6 to be powered off for the selected power-off time, and during the continuous power-off time The operating voltage value of the power supply device 6 under test measured by the voltage measuring device 5 is read in real time within a certain period of time. The control module 102 controls the DC electronic load 3 to provide zero load for the power supply device 6 under test through GPIB2, controls the power supply device 4 to provide zero voltage for the power supply device 6 under test, and lasts for the selected shutdown time.

步骤S18,所述的判断模块106判断所读取的工作电压值是否为零。当所读取的工作电压值为零时,进入步骤S19;当所读取的工作电压值不为零时,返回步骤S16。Step S18, the judging module 106 judges whether the read operating voltage value is zero. When the read operating voltage value is zero, enter step S19; when the read operating voltage value is not zero, return to step S16.

步骤S19,当待测电源装置6关机持续了所选择的关机时间,且所读取的工作电压值为零时,所述的记录模块108记录此次测试结果为测试成功。Step S19 , when the power supply device 6 under test has been shut down for the selected shutdown time and the read operating voltage value is zero, the recording module 108 records the test result as a successful test.

步骤S20,判断模块106判断已测试次数是否达到所设置的测试次数。若没有达到所设置的测试次数,则返回步骤S11继续下一次测试;若达到所设置的测试次数,则开关机测试结束。In step S20, the judging module 106 judges whether the number of tested times reaches the set number of tested times. If the set number of tests is not reached, then return to step S11 to continue the next test; if the set number of tests is reached, the power-on/off test ends.

最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent replacements can be made without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1.一种开关机测试方法,应用于计算机中,所述的计算机通过通用接口总线GPIB分别与直流电子负载、电源供应装置以及电压量测装置相连接,所述的直流电子负载、电源供应装置以及电压量测装置均与待测电源装置相连接,其特征在于,该方法包括:1. A switch machine test method is applied in a computer, and the computer is respectively connected with a DC electronic load, a power supply device and a voltage measuring device through a general interface bus GPIB, and the described DC electronic load, the power supply device And the voltage measurement device is connected with the power supply device to be tested, it is characterized in that the method includes: 设置步骤:预设为待测电源装置提供的负载与电压、测试次数、开机与关机时间的范围以及初始化已测试次数为零;Setting steps: preset the load and voltage provided for the power supply unit under test, the number of tests, the range of start-up and shutdown time, and the number of initialized tests to zero; 控制步骤:在开机与关机时间的范围中随机选择一个数字作为开机与关机时间,以及控制已测试次数加一;Control steps: Randomly select a number in the range of startup and shutdown time as the startup and shutdown time, and control the number of times tested to be increased by one; 开机步骤:根据所述设置的负载与电压以及所选择的开机时间,控制所述的待测电源装置开机,并持续所选择的开机时间;Start-up step: according to the set load and voltage and the selected start-up time, control the power supply device under test to start up, and continue for the selected start-up time; 读取步骤:在持续开机时间内实时控制电压量测装置量测所述待测电源装置的工作电压值,并读取量测到的工作电压值;Reading step: control the voltage measuring device to measure the operating voltage value of the power supply device under test in real time during the continuous power-on time, and read the measured operating voltage value; 关机步骤:当待测电源装置开机持续了所选择的开机时间,且所读取的工作电压值不为零时,控制所述的待测电源装置关机,并持续所选择的关机时间。Shutdown step: when the power supply device under test has been powered on for the selected power-on time and the read working voltage value is not zero, control the power supply device under test to shut down for the selected power-off time. 2.如权利要求1所述的开关机测试方法,其特征在于,该方法还包括:2. switch machine testing method as claimed in claim 1, is characterized in that, this method also comprises: 显示步骤:在计算机的显示单元上显示上述的已测试次数与此次所选择的开机与关机时间。Display steps: display the above-mentioned tested times and the selected startup and shutdown time on the display unit of the computer. 3.如权利要求1所述的开关机测试方法,其特征在于,所述的开机步骤是通过GPIB控制直流电子负载为待测电源装置提供设置的负载,控制电源供应装置为待测电源装置提供所设置的电压,并持续所选择的开机时间来实现的;3. The switch machine testing method as claimed in claim 1, wherein, the described start-up step is to control the DC electronic load through GPIB to provide the load provided for the power supply unit to be tested, and to control the power supply unit to provide the power supply unit to be tested. The set voltage is achieved by continuing the selected power-on time; 以及所述的关机步骤是通过GPIB控制直流电子负载为待测电源装置提供的负载为零,控制电源供应装置为待测电源装置提供的电压为零,从而关闭直流电子负载与电源供应装置,并持续所选择的关机时间来实现的。And the shutdown step is to control the DC electronic load to provide zero load for the power supply device under test through GPIB, and control the voltage provided by the power supply device to be zero for the power supply device under test, thereby closing the DC electronic load and the power supply device, and This is achieved by continuing the shutdown time selected. 4.如权利要求3所述的开关机测试方法,其特征在于,该方法还包括步骤:4. switch machine test method as claimed in claim 3, is characterized in that, this method also comprises the step: 在待测电源装置持续开机的过程中,当所读取的工作电压为零时,关闭所述的直流电子负载与电源供应装置,并记录此次测试结果为测试失败,结束流程;During the continuous power-on process of the power supply device to be tested, when the read operating voltage is zero, turn off the DC electronic load and the power supply device, and record the test result as a test failure, and end the process; 以及在待测电源装置持续关机的过程中,当所读取的工作电压值不为零时,记录此次测试结果为测试失败,结束流程。And during the continuous shutdown process of the power supply device under test, when the read operating voltage value is not zero, record the test result as test failure, and end the process. 5.如权利要求1所述的开关机测试方法,其特征在于,该方法还包括:5. The switch machine test method as claimed in claim 1, is characterized in that, the method also comprises: 当待测电源装置关机持续了所选择的关机时间,且所读取的工作电压值为零时,记录此次测试结果为测试成功,并判断已测试次数是否达到所设置的测试次数;及When the power supply device to be tested has been shut down for the selected shutdown time and the read operating voltage value is zero, record the test result as a successful test, and determine whether the number of tests has reached the set number of tests; and 若已测试次数达到所设置的测试次数,则流程结束;或If the number of tested times reaches the set number of tested times, the process ends; or 若已测试次数没有达到所设置的测试次数,则返回控制步骤,继续下一次测试。If the number of times of testing has not reached the set number of times of testing, return to the control step and continue the next test. 6.一种开关机测试系统,运行于计算机中,所述的计算机通过通用接口总线GPIB分别与直流电子负载、电源供应装置以及电压量测装置相连接,所述的直流电子负载、电源供应装置以及电压量测装置均与待测电源装置相连接,其特征在于,该系统包括:6. A switching machine test system, running in a computer, the computer is respectively connected with a DC electronic load, a power supply device and a voltage measuring device through a general interface bus GPIB, and the described DC electronic load, the power supply device And the voltage measurement device is connected with the power supply device to be tested, it is characterized in that the system includes: 设置模块,用于预设为待测电源装置提供的负载与电压,并预设测试次数,开机与关机时间的范围,以及初始化已测试次数为零;The setting module is used to preset the load and voltage provided for the power supply device to be tested, and preset the number of tests, the range of startup and shutdown times, and initialize the number of times tested to zero; 控制模块,用于在开机与关机时间的范围中随机选择一个数字作为开机与关机时间,以及控制已测试次数加一;The control module is used to randomly select a number in the range of the startup and shutdown time as the startup and shutdown time, and to control the number of times tested to be increased by one; 所述的控制模块,还用于根据所述设置的负载与电压以及所选择的开机时间,控制所述的待测电源装置开机,并持续所选择的开机时间;The control module is also used to control the power supply device under test to start up according to the set load and voltage and the selected start-up time, and continue for the selected start-up time; 所述的控制模块,还用于在持续开机时间内控制电压量测装置实时量测所述待测电源装置的工作电压值,并读取量测到的工作电压值;The control module is also used to control the voltage measurement device to measure the working voltage value of the power supply device under test in real time during the continuous power-on time, and read the measured working voltage value; 所述的控制模块,还用于当待测电源装置开机持续了所选择的开机时间,且所读取的工作电压值不为零时,控制所述的待测电源装置关机,并持续所选择的关机时间。The control module is also used to control the shutdown of the power supply device under test when the power supply device under test has been powered on for the selected power-on time and the read operating voltage value is not zero, and continues for the selected time. shutdown time. 7.如权利要求6所述的开关机测试系统,其特征在于,该系统还包括7. switch machine test system as claimed in claim 6, is characterized in that, this system also comprises 显示模块,用于在计算机的显示单元上显示上述的已测试次数与此次所选择的开机与关机时间。The display module is used to display the above-mentioned tested times and the selected startup and shutdown time on the display unit of the computer. 8.如权利要求6所述的开关机测试系统,其特征在于,所述的控制模块是通过GPIB控制直流电子负载为待测电源装置提供设置的负载,控制电源供应装置为待测电源装置提供所设置的电压,并持续所选择的开机时间,来控制待测电源装置开机以及持续所选择的开机时间;8. The switch machine test system as claimed in claim 6, wherein the control module is to control the DC electronic load through GPIB to provide a set load for the power supply device to be tested, and to control the power supply device to provide the power supply device to be tested. The set voltage, and continue the selected power-on time, to control the power supply device under test to start and continue the selected power-on time; 以及通过GPIB控制直流电子负载为待测电源装置提供的负载为零,控制电源供应装置为待测电源装置提供的电压为零,从而关闭直流电子负载与电源供应装置,并持续所选择的关机时间,来控制待测电源装置关机以及持续所选择的关机时间。And control the DC electronic load to provide zero load for the power supply device under test through GPIB, and control the power supply device to provide zero voltage for the power supply device to be tested, thereby turning off the DC electronic load and the power supply device, and continuing the shutdown time selected , to control the shutdown of the power supply device under test and to last for the selected shutdown time. 9.如权利要求8所述的开关机测试系统,其特征在于,所述的控制模块还用于在待测电源装置持续开机的过程中,当所读取的工作电压为零时,关闭所述的直流电子负载与电源供应装置,结束开关机测试流程。9. The switch machine test system according to claim 8, wherein the control module is also used to shut down the The DC electronic load and power supply device, the end of the switch machine test process. 10.如权利要求6所述的开关机测试系统,其特征在于,该系统还包括记录模块,用于在待测电源装置持续开机的过程中,当所读取的工作电压为零,或在待测电源装置持续关机的过程中,当所读取的工作电压不为零时,记录此次测试结果为测试失败,以及当待测电源装置关机持续了所选择的关机时间,且在该持续关机时间内所读取的工作电压值为零时记录此次结果为测试成功;10. The switch machine testing system according to claim 6, characterized in that, the system also includes a recording module, which is used for when the read working voltage is zero, or when the power supply device under test is continuously turned on, During the continuous shutdown of the power supply device under test, when the read operating voltage is not zero, the test result is recorded as a test failure, and when the power supply device under test is powered off for the selected shutdown time, and within the continuous shutdown time Record the result as the test is successful when the value of the working voltage read in is zero; 判断模块,用于当记录此次测试结果为测试成功时,判断已测试次数是否达到所设置的测试次数,若没有达到所设置的测试次数,则继续下一次测试,若达到所设置的测试次数,则开关机测试结束。The judging module is used to judge whether the number of tests has reached the set number of tests when the test result is recorded as successful, if the set number of tests is not reached, continue to the next test, if the set number of tests is reached , the switch test ends.
CN2010105532162A 2010-11-22 2010-11-22 Startup/shutdown test system and startup/shutdown test method Pending CN102479120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105532162A CN102479120A (en) 2010-11-22 2010-11-22 Startup/shutdown test system and startup/shutdown test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105532162A CN102479120A (en) 2010-11-22 2010-11-22 Startup/shutdown test system and startup/shutdown test method

Publications (1)

Publication Number Publication Date
CN102479120A true CN102479120A (en) 2012-05-30

Family

ID=46091772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105532162A Pending CN102479120A (en) 2010-11-22 2010-11-22 Startup/shutdown test system and startup/shutdown test method

Country Status (1)

Country Link
CN (1) CN102479120A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102854423A (en) * 2012-09-14 2013-01-02 上海斐讯数据通信技术有限公司 Method for testing starting reliability of equipment
CN106569925A (en) * 2016-11-15 2017-04-19 惠州大亚湾华北工控实业有限公司 Startup and shutdown stability test module and test method thereof
CN107632219A (en) * 2017-10-11 2018-01-26 四川九州电子科技股份有限公司 A kind of automatic switching test system and its method of testing
CN111880975A (en) * 2020-07-07 2020-11-03 上海移远通信技术股份有限公司 Detection method, system, storage medium, and test equipment for the shortest pulse of switching machine
CN115174430A (en) * 2022-06-30 2022-10-11 中车青岛四方车辆研究所有限公司 Method and device for testing starting time of rail transit vehicle-mounted equipment
CN115729754A (en) * 2021-09-01 2023-03-03 龙芯中科(成都)技术有限公司 Equipment testing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512344A (en) * 2002-12-30 2004-07-14 神达电脑股份有限公司 Computer startup and shutdown testing method
CN101436154A (en) * 2007-11-14 2009-05-20 鸿富锦精密工业(深圳)有限公司 Startup and closedown test system and method of computer mainboard
CN101526585A (en) * 2008-03-07 2009-09-09 佛山市顺德区顺达电脑厂有限公司 Automatic switching test system and method
US20110169521A1 (en) * 2010-01-13 2011-07-14 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Testing system for power supply unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512344A (en) * 2002-12-30 2004-07-14 神达电脑股份有限公司 Computer startup and shutdown testing method
CN101436154A (en) * 2007-11-14 2009-05-20 鸿富锦精密工业(深圳)有限公司 Startup and closedown test system and method of computer mainboard
CN101526585A (en) * 2008-03-07 2009-09-09 佛山市顺德区顺达电脑厂有限公司 Automatic switching test system and method
US20110169521A1 (en) * 2010-01-13 2011-07-14 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Testing system for power supply unit

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102854423A (en) * 2012-09-14 2013-01-02 上海斐讯数据通信技术有限公司 Method for testing starting reliability of equipment
CN106569925A (en) * 2016-11-15 2017-04-19 惠州大亚湾华北工控实业有限公司 Startup and shutdown stability test module and test method thereof
CN107632219A (en) * 2017-10-11 2018-01-26 四川九州电子科技股份有限公司 A kind of automatic switching test system and its method of testing
CN111880975A (en) * 2020-07-07 2020-11-03 上海移远通信技术股份有限公司 Detection method, system, storage medium, and test equipment for the shortest pulse of switching machine
CN115729754A (en) * 2021-09-01 2023-03-03 龙芯中科(成都)技术有限公司 Equipment testing method and device, electronic equipment and storage medium
CN115729754B (en) * 2021-09-01 2024-12-24 龙芯中科(成都)技术有限公司 Equipment testing method and device, electronic equipment and storage medium
CN115174430A (en) * 2022-06-30 2022-10-11 中车青岛四方车辆研究所有限公司 Method and device for testing starting time of rail transit vehicle-mounted equipment
CN115174430B (en) * 2022-06-30 2024-01-26 中车青岛四方车辆研究所有限公司 Method and device for testing starting time of track traffic vehicle-mounted equipment

Similar Documents

Publication Publication Date Title
CN102479120A (en) Startup/shutdown test system and startup/shutdown test method
CN102375766B (en) The on-off test device of electronic installation and method
US8352800B2 (en) Universal serial bus system and method
CN102236054A (en) Power on/off test device and method
CN106201804A (en) The device of a kind of measuring and calculation mainboard, method and system
CN102737721A (en) Hard disk array on-off testing device and method
TW201346536A (en) Testing system and method for power on and off
US8250409B2 (en) Boot test apparatus and method of computer system
CN109387772B (en) A test device and test method for chip over-temperature protection
CN112732498B (en) Test method, device, equipment and storage medium for simulating single-point power-on and power-off of equipment
CN112540225B (en) Testing device for secondary circuit insulation resistance
CN118584389A (en) Power supply testing method, device, equipment and storage medium
CN104515956A (en) Method and device for detecting intelligent ammeter power module
CN112816850A (en) Aging test system and method convenient for real-time monitoring and integrated circuit chip
CN104459562A (en) Startup and shutdown testing device
CN207965078U (en) A kind of low-voltage direct resistance instrument for motor test measures protective device
CN116860535A (en) Automatic testing device, system and method
CN105445627A (en) DC system insulation inspection and acceptance instrument
CN102147446A (en) Automatic testing method and system applying same
TW201221974A (en) Power-on and power-off test system and method
CN101566960B (en) Method for testing automatically powering on and off
CN101369243B (en) Power Consumption State Test Method
CN204831627U (en) Transformer thermometer temperature set point error verification system
CN113375807A (en) Mainboard temperature detection method and device, storage medium and equipment
JP6400347B2 (en) Inspection device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120530