CN105301481A - Circuit testing method and applicable testing system - Google Patents
Circuit testing method and applicable testing system Download PDFInfo
- Publication number
- CN105301481A CN105301481A CN201510807599.4A CN201510807599A CN105301481A CN 105301481 A CN105301481 A CN 105301481A CN 201510807599 A CN201510807599 A CN 201510807599A CN 105301481 A CN105301481 A CN 105301481A
- Authority
- CN
- China
- Prior art keywords
- measurand
- model
- test
- testing tool
- testing
- 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
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
The invention discloses a circuit testing method which comprises that characteristics of tested objects, a testing instrument as well as connecting relations between each tested object and the testing instrument are stored into a database, and a tested object model, a testing instrument model and a connecting relation model are established; the tested object being tested at present is determined, and the tested object model, the testing instrument model and the connecting relation model of the tested object being tested at present are queried in the database; and according to the tested object model, the testing instrument model and the connecting relation model, the testing instrument is started to test the tested object being tested at present. The circuit testing method disclosed by the invention establishes the system models by the database, can flexibly compile information of the testing instrument of the tested object according to testing demands, so that universality of the testing method is realized and a development period is shortened. The connecting relation model is established to realize intelligent configuration of switch resources, so that quality accidents caused by manual errors can be prevented effectively.
Description
Technical field
The present invention relates to automatic test field, be specifically related to a kind of circuit testing method and applicable test macro.
Background technology
In the process setting up Auto-Test System, software is used for the functions such as finishing man-machine interaction, instrument driving, testing process control, test result process, it is the soul of Auto-Test System, the establishment of legacy test system testing software, main is foundation with tested object, normally a corresponding test procedure of tested object.When the tested object One's name is legion of test macro, just need a large amount of test procedures corresponding with it, bring testing software scale very huge thus, the maintenance of software is also more and more difficult.Therefore, the versatility of traditional test software, reliability, maintainability and extensibility are all very poor.Therefore be necessary to design a kind of general software frame being separated of fc-specific test FC object and fc-specific test FC program can be realized.
Compared with traditional direct method towards instrument, the software configuration of signal-oriented is the developing direction of general purpose automatic test system.So-called signal-oriented, refers to thoroughly understanding on the basis of measurand structure, function and input/output signal characteristic, from testing requirement and measured signal characteristic, and the Auto-Test System of design and structure measurand.Only comprise the signal excitation for measurand and test request in test procedure, and concrete apparatus selection realizes in testing software exploitation or running environment automatically.Use virtual resource in object-oriented signal software configuration, need the coupling realizing between virtual resource and real resources by resource distribution, do not need when instrument resource is changed to do any change to original test procedure.
Summary of the invention
The invention provides a kind of circuit testing method and applicable test macro, shorten the construction cycle, utilize database to carry out the automatic reconfiguration of method of testing, improve the versatility for various measurand.
For achieving the above object, the invention provides a kind of circuit testing method, be characterized in, the method comprises:
The characteristic of S1, measurand, testing tool, and the annexation between each measurand and testing tool is stored in database, sets up measurand model, testing tool model and annexation model;
S2, establish the measurand of current test, from database, inquire about the measurand model of the measurand of current test, testing tool model and annexation model;
S3, according to measurand model, testing tool model and annexation model, start the measurand of testing tool to current test and test.
Above-mentioned S1 comprises:
According to the signal characteristic of measurand, by the type of measurand, title, pin attribute write into Databasce, set up measurand model;
The signal type outputed signal according to measurand, signal index, I/O characteristic and need the parameter of test, mate corresponding testing tool stored in database, set up testing tool model;
The annexation model between measurand and testing tool is set up according to the information of the measurand stored in database and testing tool.
Above-mentioned S2 comprises:
Establish the measurand of current test;
Inquire about the measurand model of current test in database, obtain type, title, the pin attribute of measurand;
Inquire about the testing tool model corresponding to measurand of current test in database, obtain the testing tool of test function and power of test coupling measurand;
The measurand of current test and the annexation model of testing tool is inquired about in database; Obtain the handoff relation between measurand pin signal and surveying instrument, set up switchgear distribution mode;
Data-mapping inquiry measurand model, testing tool model, annexation model obtained is to actual testing tool.
Above-mentioned S3 comprises:
According to the data that inquiry measurand model, testing tool model, annexation model obtain, control testing tool and measurand is tested;
Complete test aftertreatment and preserve test result.
A kind of test macro being applicable to foregoing circuit method of testing, be characterized in, this system comprises: the signaling interface adapter connecting measurand, the switching system of communication connection signaling interface adapter and testing tool, the main control computer of communication connection testing tool.
Above-mentioned testing tool comprises power module, stimulating module, measurement module and communication module.
Above-mentioned power module comprises the Programmable power supply powered up to measurand; Stimulating module comprises numeral and analog output boards and the signal source for testing; Measurement module comprises multimeter, data collecting card, oscillograph and frequency spectrograph; Communication module comprises Serial Communication Card and embedded communication card.
Above-mentioned switching system comprises high speed matrix switch card, multiplexer switch card and relay.
Above-mentioned signal interface unit comprises ITA module and test adapter.
Circuit testing method of the present invention and applicable test macro are compared with the Circuit Measurement Technology of prior art, its advantage is, the present invention utilizes Database system model, can add measurand or instrument resource information according to testing requirement neatly, the work such as editor, utilize the automatic reconfiguration of database realizing testing software;
The annexation model that the present invention sets up carries out intelligence configuration to Switch Resource, effectively can prevent manual errors and cause quality accident;
The software platform framework of signal-oriented of the present invention, really can realize the independence of test procedure and concrete measurand and instrument, thus realize the versatility of testing software, substantially reduce the construction cycle of software, improve the efficiency of software programming, operation and maintenance.
Accompanying drawing explanation
Fig. 1 is the circuit module figure of test macro of the present invention;
Fig. 2 is the process flow diagram of circuit testing method of the present invention;
Fig. 3 is the process flow diagram of database model querying method in circuit testing method of the present invention;
Fig. 4 is the process flow diagram carrying out in circuit testing method of the present invention testing.
Embodiment
Below in conjunction with accompanying drawing, further illustrate specific embodiments of the invention.
As shown in Figure 1, for a kind of test macro being applicable to universal testing method based on database, this system comprises: the signaling interface adapter 104 connecting measurand 105, the switching system 103 of communication connection signaling interface adapter 105 and testing tool 102, the main control computer 101 of communication connection testing tool 102.
Main control computer 101 controls the testing tool 102 of difference in functionality, and testing tool 102 comprises power module, stimulating module, measurement module and communication module.Power module comprises the Programmable power supply powered up to measurand.Stimulating module comprises numeral and analog output boards and all kinds of signal source for testing, and measurement module comprises multimeter, data collecting card, oscillograph and frequency spectrograph, and communication module comprises the embedded communication card that Serial Communication Card and model are 1553B.
Switching system comprises high speed matrix switch card, multiplexer switch card and relay.Signal interface unit comprises ITA (ITA) module and test adapter, realizes associating between test macro with measured signal.Testing tool to be switched through switching system by signal interface unit and measurand and realizes being connected flexibly.
The test of signal-oriented, connects between the actual signal had by the instrument of virtual signal required in testing requirement and composition test system hardware platform exactly, and instrument is produced control, excitation or measuring-signal, complete the test of measurand.Therefore, the universal test software of signal-oriented, first must carry out modeling to the signal characteristic of measurand.
The invention discloses a kind of circuit testing method based on database, the test of signal-oriented, connect between the actual signal exactly instrument of virtual signal required in testing requirement and composition test system hardware platform had, and make instrument produce control, excitation or measuring-signal, complete the test of measurand.Therefore, the universal test software of signal-oriented, first must carry out modeling to the signal characteristic of measurand.
As shown in Figure 2, a kind of embodiment of this circuit testing method is described, the method specifically comprises following steps:
The characteristic of S1, measurand, testing tool, and the annexation between each measurand and testing tool is stored in database, sets up measurand model, testing tool model and annexation model, make the content of database directly and test signal match.In the present embodiment, measurand is certain type guidance bay internal circuit board, One's name is legion, and the electric property of each circuit board, number of pin and function are all not quite similar.
S1.1, signal characteristic according to measurand, by the type of measurand, title, pin attribute write into Databasce, set up measurand model.Pin attribute kit contains: the electrical specification of number of pin, each pin.In the present embodiment, measurand is a kind ofly need tested circuit board.
S1.2, the signal type outputed signal according to measurand, signal index (as standard value, bound etc.), I/O characteristic and need the parameter of test, mate corresponding testing tool stored in database, set up testing tool model.
S1.3, set up the annexation model between measurand and testing tool according to the information of the measurand stored in database and testing tool.
S2, as shown in Figure 3, be a kind of realization mechanism of testing engine, establish the measurand of current test, from database, inquire about the measurand model of the measurand of current test, testing tool model and annexation model.Utilize the system model of definition, testing engine realizes automatic management and the configuration of instrument resource.
S2.1, the measurand of establishing current test and testing requirement.Next be mainly two steps: database lookup and resource mapping, database lookup comprises step S2.2 to S2.4, and resource mapping comprises step S2.5 to 2.6.
The measurand model of current test is inquired about in S2.2, database.
The testing tool model corresponding to measurand of current test is inquired about in S2.3, database,
The measurand of current test and the annexation model of testing tool is inquired about in S2.4, database;
S2.5, obtain type, title, the pin attribute of measurand by S2.2, pin attribute kit is containing the electrical specification of number of pin, each pin.
The testing tool of test function and power of test coupling measurand is obtained by S2.3.
Obtain the handoff relation between measurand pin signal and surveying instrument by S2.4, set up the path configurations of switch, the signal path between coupling measured signal port and selected instrument, is switched by matrix switch.This mode has error protection function, to prevent on the instrument that should not connect because of being linked by measured signal of causing of manual operation mistake and to cause measurand to be damaged.Here by inquiring about the virtual name of the just fc-specific test FC instrument acquired, only could realize operating testing tool after being mapped to real physical resource.
S2.6, the data-mapping that inquiry measurand model, testing tool model, annexation model obtained are to actual testing tool.
S3, according to measurand model, testing tool model and annexation model, start the measurand of testing tool to current test and test.As shown in Figure 4, disclose by the present embodiment circuit testing method in the face of the testing process of user, specific as follows:
S3.1, login test interface.
S3.2, enter test selection interface, select the measurand of current test.
S3.3, reading database information.
S3.4, configuration testing instrument and measurand pin attribute.
S3.5, enter circuit test master routine, test.
S3.6, test result process.
S3.7, test data are preserved.
S3.8, judge whether to change measurand and continue test, if then jump to S3.2, then jump to step 3.9 if not.
S3.9, end test.
This universal test software frame utilizing database technology to develop, it is by data base administration test data, complete instrument configuration, circuit board model is selected, Row control and test result store, specific measurand and fc-specific test FC program are separated by this structure flexibly, by just can write the editor of data-base recording and change detecting information, thus make a testing software just can cover the test job of up to a hundred pieces of dissimilar circuit boards, substantially reduce the construction cycle of software, application developer is made can energy to be concentrated on measurand attribute, on testing requirement and test logic, without the need to the test procedure of overlapping development special object.
Although content of the present invention has done detailed introduction by above preferred embodiment, will be appreciated that above-mentioned description should not be considered to limitation of the present invention.After those skilled in the art have read foregoing, for multiple amendment of the present invention and substitute will be all apparent.Therefore, protection scope of the present invention should be limited to the appended claims.
Claims (9)
1. a circuit testing method, is characterized in that, the method comprises:
The characteristic of S1, measurand, testing tool, and the annexation between each measurand and testing tool is stored in database, sets up measurand model, testing tool model and annexation model;
S2, establish the measurand of current test, from database, inquire about the measurand model of the measurand of current test, testing tool model and annexation model;
S3, according to measurand model, testing tool model and annexation model, start the measurand of testing tool to current test and test.
2. circuit testing method as claimed in claim 1, it is characterized in that, described S1 comprises:
According to the signal characteristic of measurand, by the type of measurand, title, pin attribute write into Databasce, set up measurand model;
The signal type outputed signal according to measurand, signal index, I/O characteristic and need the parameter of test, mate corresponding testing tool stored in database, set up testing tool model;
The annexation model between measurand and testing tool is set up according to the information of the measurand stored in database and testing tool.
3. circuit testing method as claimed in claim 1, it is characterized in that, described S2 comprises:
Establish the measurand of current test;
Inquire about the measurand model of current test in database, obtain type, title, the pin attribute of measurand;
Inquire about the testing tool model corresponding to measurand of current test in database, obtain the testing tool of test function and power of test coupling measurand;
The measurand of current test and the annexation model of testing tool is inquired about in database; Obtain the handoff relation between measurand pin signal and surveying instrument, set up switchgear distribution mode;
Data-mapping inquiry measurand model, testing tool model, annexation model obtained is to actual testing tool.
4. circuit testing method as claimed in claim 1, it is characterized in that, described S3 comprises:
According to the data that inquiry measurand model, testing tool model, annexation model obtain, control testing tool and measurand is tested;
Complete test aftertreatment and preserve test result.
5. one kind is applicable to the test macro as circuit testing method as described in any one claim in Claims 1-4, it is characterized in that, this system comprises: the signaling interface adapter connecting measurand, the switching system of communication connection signaling interface adapter and testing tool, the main control computer of communication connection testing tool.
6. test macro as claimed in claim 5, it is characterized in that, described testing tool comprises power module, stimulating module, measurement module and communication module.
7. test macro as claimed in claim 6, it is characterized in that, described power module comprises the Programmable power supply powered up to measurand; Stimulating module comprises numeral and analog output boards and the signal source for testing; Measurement module comprises multimeter, data collecting card, oscillograph and frequency spectrograph; Communication module comprises Serial Communication Card and embedded communication card.
8. test macro as claimed in claim 5, it is characterized in that, described switching system comprises high speed matrix switch card, multiplexer switch card and relay.
9. test macro as claimed in claim 5, it is characterized in that, described signal interface unit comprises ITA module and test adapter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510807599.4A CN105301481A (en) | 2015-11-20 | 2015-11-20 | Circuit testing method and applicable testing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510807599.4A CN105301481A (en) | 2015-11-20 | 2015-11-20 | Circuit testing method and applicable testing system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105301481A true CN105301481A (en) | 2016-02-03 |
Family
ID=55198975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510807599.4A Pending CN105301481A (en) | 2015-11-20 | 2015-11-20 | Circuit testing method and applicable testing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105301481A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105953829A (en) * | 2016-04-25 | 2016-09-21 | 中国人民解放军军械工程学院 | Automatic test system with shared resources and operation mechanism thereof |
CN106100764A (en) * | 2016-06-17 | 2016-11-09 | 中国电子科技集团公司第十研究所 | The general purpose automatic test system of ultrashort wave radio set |
CN107422245A (en) * | 2017-06-05 | 2017-12-01 | 安徽福讯信息技术有限公司 | A kind of general-purpose circuit board Characteristics Detection system |
CN107885607A (en) * | 2017-10-20 | 2018-04-06 | 北京航空航天大学 | One kind is based on built-in system software multi views hazard model and its modeling method |
CN108051619A (en) * | 2017-12-05 | 2018-05-18 | 上海无线电设备研究所 | A kind of TR components ripple control circuit fast quantification test verification system and method |
CN108170615A (en) * | 2017-12-14 | 2018-06-15 | 北京航天测控技术有限公司 | A kind of driving framework of the virtual instrument of signal-oriented |
CN109901052A (en) * | 2019-03-20 | 2019-06-18 | 成都秦川物联网科技股份有限公司 | A kind of circuit board detecting system and method being applicable in automatic production line |
CN111044823A (en) * | 2019-12-25 | 2020-04-21 | 中国电子科技集团公司第十四研究所 | Multi-parameter integrated test system and method for complex electronic equipment |
CN113589050A (en) * | 2021-08-02 | 2021-11-02 | 西安兵标检测有限责任公司 | Capacitor test system and test method |
CN116047390A (en) * | 2022-12-30 | 2023-05-02 | 北京航天测控技术有限公司 | Self-checking method, device, equipment and storage medium for signal testing system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080082877A1 (en) * | 2006-09-18 | 2008-04-03 | Ho-Cheng Hung | Integrated testing system for wireless and high frequency products and a testing method thereof |
CN101509948A (en) * | 2008-10-08 | 2009-08-19 | 上海科世达-华阳汽车电器有限公司 | Automobile electronic test system and test method thereof |
CN102590730A (en) * | 2012-01-16 | 2012-07-18 | 中冶南方(武汉)自动化有限公司 | Modularized open PCBA (Printed Circuit Board Assembly) functional circuit test platform, system and method |
CN103414529A (en) * | 2013-08-26 | 2013-11-27 | 华北计算技术研究所 | Universal automatic testing and fault diagnosis system |
CN104484166A (en) * | 2014-12-04 | 2015-04-01 | 山东科技大学 | Graphical modeling device and method for automatic testing system |
CN104793076A (en) * | 2015-04-08 | 2015-07-22 | 南京能云电力科技有限公司 | Intelligent automatic test system and method |
-
2015
- 2015-11-20 CN CN201510807599.4A patent/CN105301481A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080082877A1 (en) * | 2006-09-18 | 2008-04-03 | Ho-Cheng Hung | Integrated testing system for wireless and high frequency products and a testing method thereof |
CN101509948A (en) * | 2008-10-08 | 2009-08-19 | 上海科世达-华阳汽车电器有限公司 | Automobile electronic test system and test method thereof |
CN102590730A (en) * | 2012-01-16 | 2012-07-18 | 中冶南方(武汉)自动化有限公司 | Modularized open PCBA (Printed Circuit Board Assembly) functional circuit test platform, system and method |
CN103414529A (en) * | 2013-08-26 | 2013-11-27 | 华北计算技术研究所 | Universal automatic testing and fault diagnosis system |
CN104484166A (en) * | 2014-12-04 | 2015-04-01 | 山东科技大学 | Graphical modeling device and method for automatic testing system |
CN104793076A (en) * | 2015-04-08 | 2015-07-22 | 南京能云电力科技有限公司 | Intelligent automatic test system and method |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105953829A (en) * | 2016-04-25 | 2016-09-21 | 中国人民解放军军械工程学院 | Automatic test system with shared resources and operation mechanism thereof |
CN105953829B (en) * | 2016-04-25 | 2019-02-12 | 中国人民解放军军械工程学院 | A kind of Auto-Test System and its operating mechanism based on resource-sharing |
CN106100764A (en) * | 2016-06-17 | 2016-11-09 | 中国电子科技集团公司第十研究所 | The general purpose automatic test system of ultrashort wave radio set |
CN107422245A (en) * | 2017-06-05 | 2017-12-01 | 安徽福讯信息技术有限公司 | A kind of general-purpose circuit board Characteristics Detection system |
CN107885607A (en) * | 2017-10-20 | 2018-04-06 | 北京航空航天大学 | One kind is based on built-in system software multi views hazard model and its modeling method |
CN108051619A (en) * | 2017-12-05 | 2018-05-18 | 上海无线电设备研究所 | A kind of TR components ripple control circuit fast quantification test verification system and method |
CN108170615A (en) * | 2017-12-14 | 2018-06-15 | 北京航天测控技术有限公司 | A kind of driving framework of the virtual instrument of signal-oriented |
CN109901052A (en) * | 2019-03-20 | 2019-06-18 | 成都秦川物联网科技股份有限公司 | A kind of circuit board detecting system and method being applicable in automatic production line |
CN111044823A (en) * | 2019-12-25 | 2020-04-21 | 中国电子科技集团公司第十四研究所 | Multi-parameter integrated test system and method for complex electronic equipment |
CN113589050A (en) * | 2021-08-02 | 2021-11-02 | 西安兵标检测有限责任公司 | Capacitor test system and test method |
CN116047390A (en) * | 2022-12-30 | 2023-05-02 | 北京航天测控技术有限公司 | Self-checking method, device, equipment and storage medium for signal testing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105301481A (en) | Circuit testing method and applicable testing system | |
CN109444566B (en) | Electric automobile charging facility detection equipment and method | |
CN105510763B (en) | Ic pin test device | |
CN206400286U (en) | A kind of test system based on hardware in loop equipment | |
CN103454522B (en) | Based on electronics spare part state of the art automatic checkout system and the method for PXI bus | |
CN107505520B (en) | Scene type intelligent automatic test platform and method | |
CN102750301B (en) | Blueprint generating method for integrated avionic system model aiming at architecture analysis and design language (AADL) description | |
CN104614668A (en) | Circuit board testing system | |
CN104407971A (en) | Method for automatically testing embedded software | |
CN104483959A (en) | Fault simulation and test system | |
CN102455701B (en) | Programmable logic controller (PLC) automatic testing platform using programmable relay structure | |
CN103869190A (en) | Real time simulation system-based power distribution terminal automatic closed-loop test platform | |
CN104915297B (en) | A kind of automated testing method of the APP power consumption of android equipment | |
CN110321292A (en) | Chip detecting method, device, electronic equipment and computer readable storage medium | |
CN104375024A (en) | In-situ self-inspection and metering device and method of automatic test system | |
CN108873867A (en) | A kind of automation load and direct fault location test macro and control method | |
CN109239481A (en) | Portable electric steering engine automated test device and method | |
CN100437513C (en) | Method and system for implementing automatic testing | |
CN106301976A (en) | A kind of intelligent substation schedule information automated testing method | |
CN104793097A (en) | Automatic unmanned aerial vehicle cable net testing system and testing method | |
CN110611312A (en) | On-line simulation system and method for panoramic data of substation bay level | |
CN106291329A (en) | A kind of have the automatic test system detecting and joining the distant function of a terminal three | |
CN103150436A (en) | Assistance analysis device for EDA debugging process based on ChipScope | |
CN106200623B (en) | The semi-physical simulation test device of reactor core measuring system logic module | |
CN208110030U (en) | A kind of communication test plate of ammeter communication module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160203 |