CN105204999B - Method for realizing automatic test - Google Patents

Method for realizing automatic test Download PDF

Info

Publication number
CN105204999B
CN105204999B CN201510646284.6A CN201510646284A CN105204999B CN 105204999 B CN105204999 B CN 105204999B CN 201510646284 A CN201510646284 A CN 201510646284A CN 105204999 B CN105204999 B CN 105204999B
Authority
CN
China
Prior art keywords
test
pdt
documents
automatically
module
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.)
Active
Application number
CN201510646284.6A
Other languages
Chinese (zh)
Other versions
CN105204999A (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510646284.6A priority Critical patent/CN105204999B/en
Publication of CN105204999A publication Critical patent/CN105204999A/en
Application granted granted Critical
Publication of CN105204999B publication Critical patent/CN105204999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for realizing automatic test, which comprises the following specific design processes: the test module is designed and controls the automatic loading and unloading actions of the PDT software for power supply design; preparing a test mainboard and a test fixture, and connecting all the devices according to test requirements; after power-on, opening PDT software, operating a test module, and controlling the PDT software to automatically complete the whole test process by an instruction in the test module; after the test is finished, the test module uniformly records the test data in the document to realize the automatic test. Compared with the prior art, the method for realizing the automatic test has the advantages that the whole test process does not need manual operation, the test process is simple, the whole test process only needs 10 minutes and is far superior to the previous test process for more than 2 hours, the test efficiency is greatly improved, the test flow is simplified, and the work efficiency is improved.

Description

A kind of method for realizing automatic test
Technical field
The present invention relates to power supply test and voltage conversion technical field, specifically a kind of practical, realization is automatically Change the method for test.
Background technology
Electronic technology at this stage, no matter in PC fields or even server field, CPU usage that Intel Company is produced Occuping market share proportion big absolutely always.No matter in technique or technical elements, the CPU that Intel Company is produced is owned by Unshakable status.In dc source field, the design for CPU power supplies VR is the indispensable technology of each Power Engineer. CPU is the core of whole mainboard, and the design for the VR of CPU power supplies is equally the difficult point of Power Management Design.Therefore, Intel Company's root According to the power demands for oneself producing CPU, a series of test report and testing standard are formulated, what research staff designed is CPU power supplies VR must is fulfilled for corresponding index demand.
In whole Intel test report, Static LL tests are most basic also most important test events. If Static LL test results can not meet testing standard, other all tests will be unable to continue, Static LL tests Including:Voltage Load-line is tested and Imon curve accuracy tests.
Common Static LL tests need Test Engineer to control PDT softwares to draw load and unloading manually, draw carry electricity every time Magnitude of voltage in PDT softwares, Imon values in current value and register are read after stream is stable, and test data filled in manually into In Intel test report, because test data is relatively more, method of testing is cumbersome, and Test Engineer can not accurately hold drawing It is balanced to carry time and discharge time, is affected by human factors larger, measuring accuracy is relatively low, and it is small that whole test process lasts about greatly 2 When, testing efficiency is low.
Therefore, the present invention proposes a kind of method for realizing automatic test.
The content of the invention
The present invention technical assignment be to be directed to above weak point, there is provided it is a kind of it is practical, realize automatic test Method.
A kind of method for realizing automatic test, its specific design process are:
Test module is designed, test module control Power Management Design PDT softwares draw the action carried with unloading automatically;
Setup test mainboard and measurement jig, all devices are connected by test request;
PDT softwares, testing results module are opened after upper electricity, the instruction control PDT softwares in test module are automatically performed whole Individual test process;
After the completion of test, the unified record of test data in a document, is realized automatic test by test module.
The record document is to automatically generate same Intel test report form identical excel documents:In test module After end of run, the txt test data documents generated are automatically opened up, and test data in txt test data documents is replicated Enter in existing excel documents, the same identical test data of Intel test report form automatically generated in excel documents, Test data in excel is copied in Intel test report.
The specific operating process of test module is:
Initialize installation is carried out first;
PDT is drawn automatically carries corresponding current value;
Magnitude of voltage and current value in PDT are read, is stored in txt documents;
Imon current values in 0X8012 registers are read, are stored in txt documents;
PDT is unloaded automatically;
Detect whether to complete all tests, it is unfinished then continue to test;
Finish test procedure, open txt documents.
The Initialize installation process is:Test module reads numerical value in 06H and 21H registers first, preserves to txt texts Shelves;Then CPU operating voltages VID and cpu performance state P-state is set.
After the PDT draws load and automatic unloading automatically, it is delayed certain time, the time >=7000ms.
A kind of method for realizing automatic test of the present invention, has advantages below:
A kind of method for realizing automatic test of the present invention, whole test process is without manual operation, test process letter Clean, whole test process only needs 10 minutes, the test process of far superior to conventional more than 2 hours, greatly improves test effect Rate, simplify testing process, improve operating efficiency;By finished writing in test script instruction control PDT softwares draw automatically load and Uninstall action, draw carry and discharge time is fixed every time, reduce influence of the extraneous factor to test data, that improves test data can By property;There is provided one and automatically generate same Intel test report form identical excel documents, greatly simplify will test number According to the process of Import Reports, the time is saved, improves testing efficiency, it is practical, it is easy to spread.
Brief description of the drawings
Accompanying drawing 1 is implementation process figure of the invention.
Accompanying drawing 2 is test module operational flowchart of the invention.
Embodiment
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings.
The present invention provides a kind of method for realizing automatic test, only need to be in PDT after equipment is connected(Power Design Tool)The test script finished writing is run in software, PDT softwares generate the corresponding test event of automatic running Test data, realize full-automatic test.After script is run, Test Engineer only need to be by the txt documents of generation Test data is copied in ready excel reports, you can the test data with Intel test report same formats is generated, Test data is copied in Intel test report, as shown in accompanying drawing 1, Fig. 2, its specific implementation process is:
Test module is designed, test module control Power Management Design PDT softwares draw the action carried with unloading automatically;
Setup test mainboard and measurement jig, all devices are connected by test request;
PDT softwares, testing results module are opened after upper electricity, the instruction control PDT softwares in test module are automatically performed whole Individual test process;
After the completion of test, the unified record of test data in a document, is realized automatic test by test module.
The record document is to automatically generate same Intel test report form identical excel documents:In test module After end of run, the txt test data documents generated are automatically opened up, and test data in txt test data documents is replicated Enter in existing excel documents, the same identical test data of Intel test report form automatically generated in excel documents, Test data in excel is copied in Intel test report.
The specific operating process of test module is:
Initialize installation is carried out first;
PDT is drawn automatically carries corresponding current value;
Magnitude of voltage and current value in PDT are read, is stored in txt documents;
Imon current values in 0X8012 registers are read, are stored in txt documents;
PDT is unloaded automatically;
Detect whether to complete all tests, it is unfinished then continue to test;
Finish test procedure, open txt documents.
The Initialize installation process is:Test module reads numerical value in 06H and 21H registers first, preserves to txt texts Shelves;Then CPU operating voltages VID and cpu performance state P-state is set.
After the PDT draws load and automatic unloading automatically, it is delayed certain time, the time >=7000ms.
Whole test process is without manual operation, and after testing results script, the instruction in test script can control PDT softwares Whole test process is automatically performed, and, simplifies testing process by the unified record of required record data in a document, reducing personnel needs Ask, realize automatic test.
Whole test process only needs to complete for 10 minutes, the test process of far superior to conventional more than 2 hours, greatly Testing efficiency is improved, simplifies testing process, improves operating efficiency.
The present invention draws load and uninstall action automatically by having finished writing instruction control PDT softwares in test script, draws carry every time Fixed with discharge time, reduce influence of the extraneous factor to test data, improve the reliability of test data.
In addition to test script, present invention simultaneously provides one to automatically generate same Intel test report form identical excel Document, after test script end of run, the txt test data documents generated can be automatically opened up.Only need to be by txt test datas Test data is copied into existing excel documents in document, and same Intel test report can be automatically generated in excel documents The identical test data of form, the test data in excel is copied in Intel test report.
It is greatly simplify by this step by the process of test data Import Reports, save the time, improve test Efficiency.
Above-mentioned embodiment is only the specific case of the present invention, and scope of patent protection of the invention includes but is not limited to Above-mentioned embodiment, it is any to meet a kind of the claims and any of method for realizing automatic test of the invention The appropriate change or replacement that the those of ordinary skill of the technical field is done to it, it should all fall into the patent protection model of the present invention Enclose.

Claims (3)

  1. A kind of 1. method for realizing automatic test, for realizing CPU voltage automatic tests, it is characterised in that it specifically sets Meter process is:
    Test module is designed, test module control Power Management Design PDT softwares draw the action carried with unloading automatically;
    Setup test mainboard and measurement jig, all devices are connected by test request;
    PDT softwares, testing results module are opened after upper electricity, the instruction control PDT softwares in test module are automatically performed whole survey Examination process;
    After the completion of test, the unified record of test data in a document, is realized automatic test by test module;
    The record document is to automatically generate same Intel test report form identical excel documents:Run in test module After end, the txt test data documents generated are automatically opened up, and test data in txt test data documents is copied into In some excel documents, the same identical test data of Intel test report form is automatically generated in excel documents, will Test data in excel is copied in Intel test report;
    The specific operating process of test module is:
    Initialize installation is carried out first;
    PDT is drawn automatically carries corresponding current value;
    Magnitude of voltage and current value in PDT are read, is stored in txt documents;
    Imon current values in 0X8012 registers are read, are stored in txt documents;
    PDT is unloaded automatically;
    Detect whether to complete all tests, it is unfinished then continue to test;
    Finish test procedure, open txt documents.
  2. A kind of 2. method for realizing automatic test according to claim 1, it is characterised in that the Initialize installation mistake Cheng Wei:Test module reads numerical value in 06H and 21H registers first, preserves to txt documents;Then set CPU operating voltages and Cpu performance state P-state.
  3. 3. a kind of method for realizing automatic test according to claim 1, it is characterised in that the PDT draws load automatically After automatic unloading, it is delayed certain time, the time >=7000ms.
CN201510646284.6A 2015-10-08 2015-10-08 Method for realizing automatic test Active CN105204999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510646284.6A CN105204999B (en) 2015-10-08 2015-10-08 Method for realizing automatic test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510646284.6A CN105204999B (en) 2015-10-08 2015-10-08 Method for realizing automatic test

Publications (2)

Publication Number Publication Date
CN105204999A CN105204999A (en) 2015-12-30
CN105204999B true CN105204999B (en) 2017-11-21

Family

ID=54952693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510646284.6A Active CN105204999B (en) 2015-10-08 2015-10-08 Method for realizing automatic test

Country Status (1)

Country Link
CN (1) CN105204999B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609243B (en) * 2019-09-05 2021-11-19 广东浪潮大数据研究有限公司 Method and system for testing CPU power supply efficiency and related components
CN112630678B (en) * 2020-12-11 2022-04-29 浪潮电子信息产业股份有限公司 Test system of mainboard core power supply
CN112965907A (en) * 2021-03-11 2021-06-15 南京爱奇艺智能科技有限公司 VR APP automatic test method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650384A (en) * 2009-09-02 2010-02-17 浪潮电子信息产业股份有限公司 Method for testing voltage of CPU load lines based on two-way server system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7644328B2 (en) * 2007-03-22 2010-01-05 Intel Corporation Sharing routing of a test signal with an alternative power supply to combinatorial logic for low power design

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650384A (en) * 2009-09-02 2010-02-17 浪潮电子信息产业股份有限公司 Method for testing voltage of CPU load lines based on two-way server system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于CAN 总线和LabVIEW的能馈电子负载监控系统;陈雪冰等;《机电工程》;20110831;第28卷(第8期);第954-959页 *
基于Romley平台的X86服务器主板开发;张锋;《中国优秀硕士学位论文全文数据库》;20130515;第54-57页 *

Also Published As

Publication number Publication date
CN105204999A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
CN109633419A (en) A kind of chip detecting method based on ATE
CN103792498A (en) Automatic power supply testing method
CN103389931B (en) A kind of power supply self-checking device and calibration steps thereof
CN105204999B (en) Method for realizing automatic test
CN104572419A (en) Method for testing dynamic power consumption of servers
CN111258830B (en) Server power consumption comparison test system and method
CN205067685U (en) Verification device of chip
CN204789908U (en) Circuit board automatic test system based on labVIEW
CN102445666A (en) Laptop battery monitoring system and monitoring method
CN106405286A (en) Electric energy quality monitoring device automatic test method and system
CN103645989B (en) Device and method for analyzing test resource required by test case during test
CN103149539A (en) Multifunctional power source test system
CN104749473B (en) A kind of power information acquisition terminal for simulating scene stops upper electric event testing method
CN101916305A (en) Method for verifying complex pin chip
CN106329912A (en) Auxiliary power supply circuit
CN102567157A (en) Testing device of power sequence signal on computer
CN202285042U (en) Automatic test system for complex programmable logic device (CPLD)
CN204028346U (en) A kind of electric energy meter Auto-Test System
CN104133167A (en) DC step-down circuit test system and method
CN106023753B (en) A kind of device and method of intelligent Evaluation analogous circuit experiment
CN103123373A (en) Electrical parameter testing device
CN102236601A (en) Method for testing software stability of set top box
CN106200353A (en) A kind of method of the clock for testing twin-core electric energy meter
CN108196211A (en) A kind of number table automatic verification system
CN202471931U (en) Simulation testing system for dynamically correcting SOC (State of Charge) of battery management system

Legal Events

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