CN102479120A - Startup/shutdown test system and startup/shutdown test method - Google Patents
Startup/shutdown test system and startup/shutdown test method Download PDFInfo
- 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
Links
Images
Landscapes
- Testing Electric Properties And Detecting Electric Faults (AREA)
Abstract
一种开关机测试系统及方法,该方法包括:预设开机与关机时间的范围、测试次数以及初始化已测试次数;在开机与关机时间的范围中随机选择一个数字作为开机与关机时间,以及控制已测试次数加一;控制所述的待测电源装置开机,并持续所选择的开机时间;在持续开机时间内实时控制电压量测装置量测所述待测电源装置的工作电压值,并读取量测到的工作电压值;当待测电源装置开机持续了所选择的开机时间,且所读取的工作电压值不为零时,控制所述的待测电源装置关机,并持续所选择的关机时间。利用本发明能够更加自动化以及有效的进行开关机测试。
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.
Description
技术领域 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
具体实施方式 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 “
如图2所示,是图1中测试系统10的功能模块图。该测试系统10包括设置模块100、控制模块102、显示模块104以及判断模块106。本发明所称的模块是完成一特定功能的计算机程序段,比程序更适合于描述软件在计算机中的执行过程,因此在本发明以下对软件描述中都以模块描述。As shown in FIG. 2 , it is a functional block diagram of the
所述的设置模块100用于预设为待测电源装置6提供的负载与电压、测试次数,并预设开机与关机时间的范围。所述预设的负载、电压以及测试次数是根据待测电源装置6的SPEC(Standard Performance EvaluationCorporation,系统性能评估测试)进行设置的。所述的测试次数可以设置成1000次,10000次。所述的开机与关机时间的范围包括一个最大值(maximum)以及一个最小值(minimum)。例如,可以设置最大值为10秒,最小值为5秒。The
所述的设置模块100还用于初始化已测试次数为零。The
所述的控制模块102用于在开机与关机时间的范围中随机选择一个数字作为开机与关机时间,以及控制已测试次数加一。应说明的是,通过随机设置开机与关机时间,可以更加全面的对待测电源装置6的电源性能进行测试。The
所述的显示模块104用于在控制模块102控制已测试次数加一后,在显示单元20上显示上述的已测试次数以及此次控制模块102所选择的开机与关机时间,用户可以通过该显示的已测试次数以及开机与关机时间来了解测试情况。应说明的是,所述的显示模块104还可以在显示单元20上显示所设置的负载、电压以及开机与关机时间的范围等测试参数,供用户查看。The
所述的控制模块102还用于根据所述设置的负载与电压以及所选择的开机时间,控制所述的待测电源装置6开机,并持续所选择的开机时间。所述的控制模块102通过GPIB2控制直流电子负载3为待测电源装置6提供设置的负载,控制电源供应装置4为待测电源装置6提供所设置的电压,并持续所选择的开机时间。The
所述的控制模块102还用于控制电压量测装置5量测所述待测电源装置6的工作电压值,并在持续所选择的开机时间和关机时间内实时读取量测到的工作电压值。The
所述的判断模块106用于判断所述读取的工作电压值是否为零。The
所述的控制模块102还用于当待测电源装置6开机持续了所选择的开机时间,且所读取的工作电压值不为零时,控制所述的待测电源装置6关机,并持续所选择的关机时间。所述的控制模块102通过GPIB2控制直流电子负载3为待测电源装置6提供的负载为零,控制电源供应装置4为待测电源装置6提供的电压为零,从而关闭直流电子负载3以及电源供应装置4,并持续所选择的关机时间,以使待测电源装置6关机并持续所选择的关机时间。The
当待测电源装置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
所述的记录模块108用于当待测电源装置6持续开机时,若所读取的工作电压为零,以及当控制模块102控制待测电源装置6开机时,若所读取的工作电压值不为零,记录此次测试结果为测试失败,并显示在显示单元20上。The
所述的记录模块108还用于当待测电源装置6关机并持续了所选择的关机时间,且所读取的工作电压值为零时,记录模块108记录此次测试结果为测试成功,并显示在显示单元20上。The
所述的判断模块106还用于当记录模块108记录此次测试结果为测试成功时,判断已测试次数是否达到所设置的测试次数。若没有达到所设置的测试次数,则继续下一次测试;若达到所设置的测试次数,则开关机测试结束。The
如图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
步骤S11,所述的控制模块102在开机与关机时间的范围中随机选择一个数字作为开机与关机时间,并控制已测试次数加一,以及所述的显示模块104在显示单元20上显示上述的已测试次数以及此次控制模块102所选择的开机与关机时间。Step S11, the
步骤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
步骤S13,所述的控制模块102在该持续的开机时间内实时控制电压量测装置5量测所述待测电源装置6的工作电压值,并读取量测到的工作电压值。Step S13 , the
步骤S14,所述的判断模块106判断所述读取的工作电压值是否为零,当所读取的工作电压值为零时,进入步骤S15;当所读取的工作电压不为零时,进入步骤S17。Step S14, the
步骤S15,所述的控制模块102关闭所述的直流电子负载3与电源供应装置4,并进入步骤S16。In step S15, the
步骤S16,所述的记录模块108记录此次测试结果为测试失败,并显示于显示单元20上,结束开关机测试流程。In step S16, the
步骤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
步骤S18,所述的判断模块106判断所读取的工作电压值是否为零。当所读取的工作电压值为零时,进入步骤S19;当所读取的工作电压值不为零时,返回步骤S16。Step S18, the judging
步骤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
步骤S20,判断模块106判断已测试次数是否达到所设置的测试次数。若没有达到所设置的测试次数,则返回步骤S11继续下一次测试;若达到所设置的测试次数,则开关机测试结束。In step S20, the judging
最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。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)
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)
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)
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 |
-
2010
- 2010-11-22 CN CN2010105532162A patent/CN102479120A/en active Pending
Patent Citations (4)
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)
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 |