CN104090259A - Automatic gauge test platform and method based on Python script - Google Patents

Automatic gauge test platform and method based on Python script Download PDF

Info

Publication number
CN104090259A
CN104090259A CN201410316788.7A CN201410316788A CN104090259A CN 104090259 A CN104090259 A CN 104090259A CN 201410316788 A CN201410316788 A CN 201410316788A CN 104090259 A CN104090259 A CN 104090259A
Authority
CN
China
Prior art keywords
test
ammeter
testing
meter
phase meter
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
CN201410316788.7A
Other languages
Chinese (zh)
Other versions
CN104090259B (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.)
Ningbo Sanxing Smart Electric Co Ltd
Original Assignee
Ningbo Sanxing Electric 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 Ningbo Sanxing Electric Co Ltd filed Critical Ningbo Sanxing Electric Co Ltd
Priority to CN201410316788.7A priority Critical patent/CN104090259B/en
Publication of CN104090259A publication Critical patent/CN104090259A/en
Application granted granted Critical
Publication of CN104090259B publication Critical patent/CN104090259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing Of Individual Semiconductor Devices (AREA)

Abstract

The invention provides an automatic test platform and method for the working voltage drop of a gauge, and relates to an automatic test platform for the working voltage of the gauge, in particular to a test method adopting a Python script. The test platform comprises an automatic test platform experiment device, a PC, a communication interface, a communication network, a single-phase meter, a three-phase meter, a collector and a concentrator. The test method comprises a load recording function experiment scheme and a test step. According to the automatic test platform and method, the advantage of powerful functions of the Python script is fully utilized to design a flexible test system, various illegal working conditions can be simulated, manual misjudgment and repeated test work are reduced, fatigue never occurs, and the gauge detection efficiency is improved. Thus, the automatic test platform and method have broad application prospects.

Description

Table meter automatically testing platform and method of testing based on Python script
Technical field
The present invention relates to a kind of table meter operating voltage automatically testing platform, relate in particular to a kind of method of testing of the Python of application script.
Background technology
The quality of power supply is not only related to the safety and economic operation of electrical network, also has influence on the normal work of big and small electric load.Along with the development of modern industrial technology, it is day by day complicated that electric network composition also becomes; Meanwhile, many power sensitive equipment is applied to producing, and these equipment require high, new power quality problem following to power quality.Detect ammeter at the scene under various rugged surroundings whether normally work be very important, traditional detection is manually to go test by artificial, but huge some test of workload is impossible realization like this.
Python is a kind of object-oriented, explanation type computer programming language, the advantage of Python has: simple, easy to learn, speed is fast, portability, object-oriented, expansibility, can embeddability and have the abundant advantages such as storehouse, if can utilize the powerful function foundation table meter automatically testing platform of Python script to complete white-box testing, the test of grey box, Black-box Testing lamp, all standing platform tools function that can each class testing of innovation realization software and hardware, creates the ammeter that performance is more excellent.
Summary of the invention
For deficiency of the prior art, the invention provides a kind of Python script his-and-hers watches meter automatically testing platform and method of testing.
The present invention is achieved through the following technical solutions: the table meter automatically testing platform based on Python script, comprises automatically testing platform experimental provision, PC, communication interface, communication network, single-phase meter, three-phase meter, collector and concentrator, described automatically testing platform experimental provision comprises that ammeter operating voltage falls, high-voltage pulse group device, surge module, EMC device, radio-frequency generator, high-low temperature chamber, controllable load case and voltage switching controls module, current switching control module, described voltage handover module can be single-phase meter, three-phase meter, collector and concentrator provide fluctuation and the impact of operating voltage simulated field low voltage electric network, and described current switching module can be single-phase meter, three-phase meter, collector and concentrator provide away word current, and the automatic testing software of exploitation operates in described PC, design automatic testing scheme by described communication interface, control the experiment parameter of described automatically testing platform experimental provision with Python script, occurrence time and all operations experiment, described PC and described interconnection of telecommunication network, the automatic testing scheme of described PC operation Python script design arranges concentrator by communication network, all kinds of ammeter operational factors of collector and copy reading single-phase meter, three-phase meter, the Various types of data of collector and concentrator.Test macro high flexible is extendible.
Method of testing is divided into load record functional test and error-logic is inferred method Reliability Synthesis experimental program and two parts of testing procedure: described load record functional test and error-logic infer that method Reliability Synthesis experimental program is as follows: functional test: load record pattern-word is set and is set to entirely start each data item, load record initial time is set to current time, the time interval is set to 1 minute, allow ammeter everywhere in maximal work situation, revise ammeter clock, the record that makes ammeter produce user's technical conditions defined within the shortest time is counted, then copy reading load record data, detect the integrality of ammeter keeping records data.
Error-logic supposition method test: load record pattern-word is set and is set to illegal parameter, see ammeter reaction and the function realizing; Load record initial time is set to the illegal time, and the time interval deliberately arranges very close, makes it to be less than minimum interval etc.; 1st ~ 6 type load logging interval set of time illegal value; In above-mentioned load record pattern-word, load record initial time, 1 ~ 2 data arranges normally, and other arranges illogical, and 1st ~ 6 type load logging interval times and load record initial time normally arrange.
Described testing procedure is as follows: the first step: by scheme, describe design test scheme, utilize the described testing scheme of python language compilation; Second step: detect ammeter error; The 3rd step, is arranged on surveyed electric energy meter to have good luck on testing table; The 4th step: start single three-phase drop test platform; The 5th step, imports to software library the testing scheme writing, and opens Python intelligent meter automatization test system; The 5th step: select ammeter to be detected after entering automatic testing software; The 6th step: start test, assured plan normally moves several cycles; The 7th step: after test finishes, preserve test data and do initial analysis, tested rear repairing experiment equipment, by testing tool power-off, ammeter is removed, instrument playback, put neatly, in order to using next time, arrange experimental data and the record of derivation, and fill in test report, use-case scheme and experimental data are tested in filing.
The beneficial effect that the present invention has is: test macro high flexible is extendible, reduce artificial erroneous judgement and reperformance test work, never tired, make full use of the quitting time, improve inspection table efficiency, can carry out a large amount of test that manually cannot complete, protocol command can independent assortment, testing apparatus can be controlled at random flexibly, can carry out polytype table instrumentation examination, and output can realize robotization by Python script.The scene that can construction table meter acquisition terminal may break down under special service condition, simulate again field failure phenomenon and retain ammeter at that time duty carry out principle analysis.The present invention has very significant advantage, can simulate the situation of the illegal work that may occur in the work of multiple table meter, the record of data and analysis can draw best solution by experiment, have boundless development space, have very significantly beneficial effect.
Accompanying drawing explanation
fig. 1 is test platform schematic diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing, specific works principle of the present invention is described: with reference to accompanying drawing 1, the table meter automatically testing platform based on Python script, comprises automatically testing platform experimental provision, PC, communication interface, communication network, single-phase meter, three-phase meter, collector and concentrator, described automatically testing platform experimental provision comprises ammeter operating voltage falling device, high-voltage pulse group device, surge module, EMC device, radio-frequency generator, high-low temperature chamber, controllable load case and voltage switching controls module, current switching control module, described voltage handover module can be single-phase meter, three-phase meter, collector and concentrator provide fluctuation and the impact of operating voltage simulated field low voltage electric network, and described current switching module can be single-phase meter, three-phase meter, collector and concentrator provide away word current, and the automatic testing software of exploitation operates in described PC, design automatic testing scheme by described communication interface, control the experiment parameter of described automatically testing platform experimental provision with Python script, occurrence time and all operations experiment, described PC and described interconnection of telecommunication network, the automatic testing scheme of described PC operation Python script design arranges concentrator by communication network, all kinds of ammeter operational factors of collector and copy reading single-phase meter, three-phase meter, the Various types of data of collector and concentrator.Test macro high flexible is extendible.

Claims (3)

1. the table meter automatically testing platform based on Python script, is characterized in that: comprise automatically testing platform experimental provision, PC, communication interface, communication network, single-phase meter, three-phase meter, collector and concentrator, described automatically testing platform experimental provision comprises ammeter operating voltage falling device, high-voltage pulse group device, surge module, EMC, radio-frequency generator, high-low temperature chamber, controllable load case and voltage handover module, current switching control module, described voltage handover module can be single-phase meter, three-phase meter, collector and concentrator provide fluctuation and the impact of operating voltage simulated field low voltage electric network, and described current switching module can be single-phase meter, three-phase meter, collector and concentrator provide away word current, and the automatic testing software of exploitation operates in described PC, design automatic testing scheme by described communication interface, control the experiment parameter of described automatically testing platform experimental provision with Python script, occurrence time and all operations experiment, described PC and described interconnection of telecommunication network, the automatic testing scheme of described PC operation Python script design arranges concentrator by communication network, the ammeter operational factor of collector and copy reading single-phase meter, three-phase meter, the Various types of data of collector and concentrator.
2. Python script according to claim 1, at table meter automatically testing platform, is characterized in that: test macro high flexible is extendible.
3. according to the table meter automatic test approach based on Python script described in claim 1 or 2 or 3 or 4, it is characterized in that: method of testing is divided into load record functional test and error-logic is inferred method Reliability Synthesis experimental program and two parts of testing procedure: described load record functional test and error-logic infer that method Reliability Synthesis experimental program is as follows: functional test: load record pattern-word is set and is set to entirely start each data item, load record initial time is set to current time, the time interval is set to 1 minute, allow ammeter everywhere in maximal work situation, revise ammeter clock, the record that makes ammeter produce user's technical conditions defined within the shortest time is counted, then copy reading load record data, detect the integrality of ammeter keeping records data, error-logic supposition method test: load record pattern-word is set and is set to illegal parameter, see ammeter reaction and the function realizing, load record initial time is set to the illegal time, and the time interval is deliberately set to be less than minimum interval, 1st ~ 6 type load logging interval set of time illegal value, in above-mentioned 3 parameters, 1 ~ 2 arranges normally, and other arranges illogical, and 1st ~ 6 type load logging interval times and load record initial time normally arrange, described testing procedure is as follows: the first step: by scheme, describe design test scheme, utilize the described testing scheme of python language compilation, second step: detect ammeter error, the 3rd step, is arranged on surveyed electric energy meter to have good luck on testing table, the 4th step: start single three-phase drop test platform, the 5th step, imports to software library the testing scheme writing, and opens Python intelligent meter automatization test system, the 5th step: select ammeter to be detected after entering automatic testing software, the 6th step: start test, assured plan normally moves several cycles, the 7th step: after test finishes, preserve test data and do initial analysis.
CN201410316788.7A 2014-07-04 2014-07-04 Automatic gauge test platform and method based on Python script Active CN104090259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410316788.7A CN104090259B (en) 2014-07-04 2014-07-04 Automatic gauge test platform and method based on Python script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410316788.7A CN104090259B (en) 2014-07-04 2014-07-04 Automatic gauge test platform and method based on Python script

Publications (2)

Publication Number Publication Date
CN104090259A true CN104090259A (en) 2014-10-08
CN104090259B CN104090259B (en) 2017-02-01

Family

ID=51637990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410316788.7A Active CN104090259B (en) 2014-07-04 2014-07-04 Automatic gauge test platform and method based on Python script

Country Status (1)

Country Link
CN (1) CN104090259B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104237838A (en) * 2014-10-27 2014-12-24 宁波三星电气股份有限公司 Metering working voltage drop automatic test platform and voltage drop modes
CN104486561A (en) * 2014-12-26 2015-04-01 广东威创视讯科技股份有限公司 Matrix control system based on Python
CN105319527A (en) * 2015-11-23 2016-02-10 中国电力科学研究院 An electric energy meter load record test method
CN105467355A (en) * 2015-12-28 2016-04-06 深圳市科陆电子科技股份有限公司 Automatic testing method of electric energy meter and automatic testing device of same
CN106093834A (en) * 2016-06-06 2016-11-09 宁波三星医疗电气股份有限公司 A kind of Stress superposition test platform based on table
CN108072855A (en) * 2016-11-16 2018-05-25 通号(北京)轨道工业集团有限公司 A kind of test device and test system
CN111965587A (en) * 2020-08-26 2020-11-20 安徽南瑞中天电力电子有限公司 Automatic test method and automatic test platform for stability of electric energy meter
CN112213683A (en) * 2019-12-20 2021-01-12 青岛鼎信通讯股份有限公司 Simulation platform for electric energy meter test
CN112230175A (en) * 2019-12-20 2021-01-15 青岛鼎信通讯股份有限公司 Electric energy meter full-function test platform based on script language
CN113776766A (en) * 2021-01-12 2021-12-10 青岛鼎信通讯股份有限公司 Voltage drop test device and method for IR46 electric meter calibrating device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231320A (en) * 2008-01-31 2008-07-30 湖北省电力试验研究院 Undervoltage collection copy system detecting device based on virtual electric energy meter module
CN102521120A (en) * 2011-11-16 2012-06-27 中国民航信息网络股份有限公司 Software automation test system and method
CN103760511A (en) * 2014-01-26 2014-04-30 国家电网公司 Full-automatic test system for multiple voltage monitors

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231320A (en) * 2008-01-31 2008-07-30 湖北省电力试验研究院 Undervoltage collection copy system detecting device based on virtual electric energy meter module
CN102521120A (en) * 2011-11-16 2012-06-27 中国民航信息网络股份有限公司 Software automation test system and method
CN103760511A (en) * 2014-01-26 2014-04-30 国家电网公司 Full-automatic test system for multiple voltage monitors

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104237838B (en) * 2014-10-27 2017-10-10 宁波三星智能电气有限公司 A kind of meter operating voltage falls automatically testing platform and Voltage Drop mode
CN104237838A (en) * 2014-10-27 2014-12-24 宁波三星电气股份有限公司 Metering working voltage drop automatic test platform and voltage drop modes
CN104486561A (en) * 2014-12-26 2015-04-01 广东威创视讯科技股份有限公司 Matrix control system based on Python
CN105319527B (en) * 2015-11-23 2019-03-22 中国电力科学研究院 A kind of electric energy meter load record test method
CN105319527A (en) * 2015-11-23 2016-02-10 中国电力科学研究院 An electric energy meter load record test method
CN105467355A (en) * 2015-12-28 2016-04-06 深圳市科陆电子科技股份有限公司 Automatic testing method of electric energy meter and automatic testing device of same
CN106093834A (en) * 2016-06-06 2016-11-09 宁波三星医疗电气股份有限公司 A kind of Stress superposition test platform based on table
CN108072855A (en) * 2016-11-16 2018-05-25 通号(北京)轨道工业集团有限公司 A kind of test device and test system
CN112213683A (en) * 2019-12-20 2021-01-12 青岛鼎信通讯股份有限公司 Simulation platform for electric energy meter test
CN112230175A (en) * 2019-12-20 2021-01-15 青岛鼎信通讯股份有限公司 Electric energy meter full-function test platform based on script language
CN111965587A (en) * 2020-08-26 2020-11-20 安徽南瑞中天电力电子有限公司 Automatic test method and automatic test platform for stability of electric energy meter
CN111965587B (en) * 2020-08-26 2024-01-26 安徽南瑞中天电力电子有限公司 Automatic test method and automatic test platform for stability of electric energy meter
CN113776766A (en) * 2021-01-12 2021-12-10 青岛鼎信通讯股份有限公司 Voltage drop test device and method for IR46 electric meter calibrating device

Also Published As

Publication number Publication date
CN104090259B (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN104090259A (en) Automatic gauge test platform and method based on Python script
CN104133146B (en) A kind of feeder automation fault handling logic on-the-spot test method
CN107678960B (en) Intelligent ammeter software black box testing system and method
CN103869190A (en) Real time simulation system-based power distribution terminal automatic closed-loop test platform
WO2014153764A1 (en) Method and device for automatic test of relay protection function of intelligent substation
CN102539982A (en) Automatic test system for single event effect test of DC/DC (direct current/direct current) converter and test method
CN101241157B (en) Voltage temporary drop simulation test procedure and method
CN103616660B (en) The testing arrangement of power down process reliability and method under intelligent electric energy meter interference environment
CN105629180A (en) Test method, test device and controller
CN105425201A (en) Metering chip simulation test method used for intelligent electric energy meter software reliability detection
CN104020376A (en) Three-remote automatic testing method for power distribution terminal
CN104267365A (en) Portable small current earth-fault line selection closed loop performance tester
CN106841708A (en) A kind of method of testing of quick charger, test fixture and system
CN103165203A (en) Detection method for nuclear power station circuit board component
CN103323714A (en) Automatic test method based on report template technology in intelligent substation test system
CN103308808A (en) System and method for testing secondary device of intelligent substation automatically
CN105203864A (en) Substation automatic test method and system
CN202583343U (en) Automatic test system for single event effect test of DC/DC converter
CN203164383U (en) Lithium battery test system
CN205691753U (en) Power supply product electrical safety test system
CN105676044A (en) Online test method and system for lightning arrester and monitor thereof
CN203054133U (en) Intelligent test system of intelligent protection and measuring control device
CN206696311U (en) The test system and test fixture of a kind of quick charger
CN111965587B (en) Automatic test method and automatic test platform for stability of electric energy meter
CN104820152B (en) Portable DC switchs differential emulation test system and its implementation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: NINGBO SANXING INTELLIGENT ELECTRIC CO., LTD.

Free format text: FORMER OWNER: NINGBO SANXING ELECTRIC CO., LTD.

Effective date: 20150618

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150618

Address after: 315034 Ningbo, Jiangbei District, Zhejiang City, the town of Maple Bay Road, No. 16

Applicant after: Ningbo Samsung intelligent electric company limited

Address before: 315100 Zhejiang city of Ningbo province Jiangshan town Yinzhou District Mingguang Road No. 1166

Applicant before: Ningbo Sanxing Electric Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant