CN103809051B - The detection method of switch matrix, Auto-Test System and switch matrix therein - Google Patents

The detection method of switch matrix, Auto-Test System and switch matrix therein Download PDF

Info

Publication number
CN103809051B
CN103809051B CN201210455167.8A CN201210455167A CN103809051B CN 103809051 B CN103809051 B CN 103809051B CN 201210455167 A CN201210455167 A CN 201210455167A CN 103809051 B CN103809051 B CN 103809051B
Authority
CN
China
Prior art keywords
daughter board
switch matrix
host computer
information
function
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
CN201210455167.8A
Other languages
Chinese (zh)
Other versions
CN103809051A (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.)
Song Yixiao
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201210455167.8A priority Critical patent/CN103809051B/en
Publication of CN103809051A publication Critical patent/CN103809051A/en
Application granted granted Critical
Publication of CN103809051B publication Critical patent/CN103809051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

The invention discloses a kind of switch matrix, the detection method of Auto-Test System and switch matrix therein, the switch matrix includes a slot board for being inserted with multiple daughter boards, each daughter board includes a storage chip, one judge module and a transport module, the storage chip is used for the function information for recording the daughter board, the judge module is used to judge whether the coil voltage of the relay of the daughter board changes, if, then calling the transport module to perform the relay operates successful information to send, if not, the transport module is then called to send the information that the relay performs operation failure.The storage chip of each daughter board in the switch matrix of the present invention can record the function information of daughter board, and daughter board is capable of the operation information of feddback relay device, meet modernization tester high speed, the requirement fed back in time, the Auto-Test System of the present invention can also be detected to switch matrix, it is ensured that the correctness of daughter board output data.

Description

The detection method of switch matrix, Auto-Test System and switch matrix therein
Technical field
The present invention relates to the detection method of a kind of switch matrix, Auto-Test System and switch matrix therein, particularly Be related to a kind of function and daughter board for being able to record that daughter board therein be capable of feddback relay device operation information switch matrix, one Planting includes the Auto-Test System of the switch matrix and a kind of detection method of the switch matrix in Auto-Test System.
Background technology
Due in current actual production process, production efficiency of the testing efficiency well below equipment of equipment, then add The lifting of upper human cost, causes that the automatic test of equipment spends cost very much and efficiency is relatively low.And can by designing switch matrix To greatly reduce the testing time, while can also save human resources well.Switch matrix can mainly realize automatic test Information between equipment and circuit-under-test unit is exchanged, because unit under test species is various, is tested number of channels greatly, is caused tradition Switch matrix volume it is big, switch speed is slow, electric property is poor, and the function of the daughter board in traditional switch matrix does not all have Recorded one by one, and daughter board can not feddback relay device in time operation information, cause feedback of the information not in time, can not meet Modern testing equipment high speed, portable requirement.
The content of the invention
The technical problem to be solved in the present invention is that switch matrix switch speed is slow, electric property in order to overcome in the prior art Difference, and the function of daughter board therein is not recorded, daughter board can not feddback relay device in time operation information, cause feedback of the information There is provided the operation information that a kind of function and daughter board for being able to record that daughter board therein is capable of feddback relay device for defect not in time Switch matrix, a kind of Auto-Test System including the switch matrix and a kind of Auto-Test System in switch matrix Detection method.
The present invention is to solve above-mentioned technical problem by following technical proposals:
The invention provides a kind of switch matrix, its feature is, it includes a slot board for being inserted with multiple daughter boards, each Daughter board includes a storage chip, a judge module and a transport module, and the storage chip is used for the function of recording the daughter board Information, the judge module is used to judge whether the coil voltage of the relay of the daughter board changes, if so, then calling the transport module The relay, which is performed, operates successful information to send, if it is not, then calling the transport module that the relay is performed into operation The information of failure is sent.
The storage chip of each daughter board in the switch matrix of the present invention can record the function information of daughter board, such as specified electricity Pressure, the size of rated current, contact types are normally opened or normally closed and daughter board port numbers, and then just can be according to these functions Information judges the function of each daughter board.
Also, when there is external command to control the relay in daughter board to perform operation, the judge module can also be by sentencing Whether the coil voltage of the relay of the disconnected daughter board changes, if change, illustrates that the relay is performed and operates successfully, and then just adjusts The relay is performed with the transport module and operates successful information to send to be fed back, if not changing, illustrate this after Electrical equipment is not acted, that is, performs operation failure, now just calls the transport module that the relay is performed to the information of operation failure Send and fed back.So as to timely feedback information, what is met and modernize tester high speed, feed back in time will Ask.
It is preferred that the storage chip is EEPROM(EEPROM)Chip.
It is preferred that the function information of the daughter board includes the rated voltage, rated current, the contact types of relay of the daughter board And the port number of the daughter board.
Present invention also offers a kind of Auto-Test System, its feature is, it includes a host computer and a slave computer, The slave computer includes an above-mentioned switch matrix and a MCU(Micro-control unit)Control panel, the host computer and the cubicle switchboard Communicated between battle array by the MCU control panels, the host computer is used for one address acquisition of transmission and instructed into the switch matrix Each daughter board in each daughter board, the switch matrix is used to send respective address to the host computer, and the host computer is also used In sending a function determine instruction after address is received to each daughter board, each daughter board is used to send out respective function information The host computer is delivered to, the host computer sends a configuration information to a target daughter board after function information is received, by the mesh Mark daughter board is set to the function of function or output data with input data, and the host computer is additionally operable to receive the target daughter board The information that transport module is sent, is detected with the execution operation of the relay to the target daughter board.
Each daughter board therein has a unique address, therefore the host computer can just send specific address Select corresponding specific daughter board.
Wherein host computer can use VC(A kind of developing instrument, with IDE, it is possible to provide programming language)Compile Journey, and send data and control the MCU control panels, MCU control panels parsing data, and then the switch matrix is transferred to, reach control Make the purpose of the switch matrix.
The switch matrix then receives the data sent by the host computer, and parses data, then controls daughter board therein to enter The operation of row information feedback, to realize the detection to the switch matrix.
It is preferred that the host computer is a PC(Personal computer).
It is preferred that passing through RS232 interfaces between the host computer and the MCU control panels(Communication interface on personal computer One of, the asynchronous standard transmission interface formulated by Electronic Industries Association)Communicated, the MCU control panels and the switch matrix it Between pass through I2C buses(A kind of twin wire universal serial bus, for connecting microcontroller and its ancillary equipment)Communicated.
Present invention also offers a kind of detection method of the switch matrix in above-mentioned Auto-Test System, its feature exists In it comprises the following steps:
S1, the host computer sends the address acquisition and instructs each daughter board into the switch matrix;
S2, each daughter board in the switch matrix sends respective address to the host computer;
S3, the host computer send the function determine instruction to each daughter board;
S4, each daughter board sends respective function information to the host computer;
S5, the host computer configuration information is sent to the target daughter board, by the target daughter board be set to have input The function of data or the function of output data;
S6, the host computer receive the target daughter board transport module send information, with the relay to the target daughter board Execution operation detected.
It is preferred that the host computer is a PC.
The positive effect of the present invention is:The storage chip of each daughter board in the switch matrix of the present invention can be remembered Record the function information of daughter board, and daughter board is capable of the operation information of feddback relay device, meet modernization tester at high speed, The requirement fed back in time, Auto-Test System of the invention can also be detected to switch matrix, it is ensured that daughter board exports number According to correctness.
Brief description of the drawings
Fig. 1 is the structure chart of the switch matrix of the preferred embodiment of the present invention.
Fig. 2 is the structure chart of the Auto-Test System of the preferred embodiment of the present invention.
Fig. 3 for the present invention a preferred embodiment Auto-Test System in switch matrix detection method flow Figure.
Embodiment
Present pre-ferred embodiments are provided below in conjunction with the accompanying drawings, to describe technical scheme in detail.
As shown in figure 1, the switch matrix of the present invention includes being inserted with multiple daughter boards 2 in a slot board 1, the slot board 1, wherein Each daughter board 2 includes an eeprom chip 21, a judge module 22 and a transport module 23.
The eeprom chip 21 is able to record that the function information of the daughter board 2, specifically include rated voltage, rated current it is big Small, contact types are normally opened or normally closed and daughter board 2 port numbers, and then can just be judged according to these function informations each The function of daughter board 2.
Also, when there is external command to control the relay in daughter board 2 to perform operation, the judge module 22 can also pass through Judge whether the coil voltage of the relay of the daughter board 2 changes, if change, illustrate that the relay is performed and operate successfully, and then Just call the transport module 23 that the relay is performed the successful information of operation and sent to be fed back, if not changing, say The bright relay is not acted, that is, performs operation failure, is now just called the transport module 23 that the relay is performed into operation and is lost The information lost, which is sent, to be fed back.So as to timely feedback information, modernization tester is met at high speed, in time The requirement of feedback.
As shown in Fig. 2 the Auto-Test System of the present invention then includes a PC 3, a MCU control panels 4 and the cubicle switchboard Battle array, the wherein PC 3 are the host computer in the Auto-Test System, and it is automatic that the MCU control panels 4 then constitute this with the switch matrix Slave computer in test system.
Communicated between the PC 3 and the switch matrix by the MCU control panels 4, the PC 3 sends an address first Obtain each daughter board 2 in each daughter board 2 of the instruction into the switch matrix, the switch matrix and refer to receiving the address acquisition Respective address is sent to the PC 3 after order, then, the PC 3 sends one also after address is received according to address Function determine instruction to each daughter board 2, each daughter board 2 sends out respective function information after the function determine instruction is received Deliver to the PC 3.
Afterwards, the PC 3 sends a configuration information to a target daughter board 2 according to address after function information is received, So that the target daughter board 2 to be set to the function of function or output data with input data, the PC 3 finally also receives the mesh The information that the transport module 23 of daughter board 2 is sent is marked, is detected with the execution operation of the relay to the target daughter board 2.If connecing What is received is that the relay performs the successful information of operation, then shows the relay work, execution is operated successfully, if receiving To be information that the relay performs operation failure, then show the relay operation irregularity, perform operation failure.
Wherein, communicated between the PC 3 and the MCU control panels 4 by RS232 interfaces, and the MCU control panels 4 with Then communicated between the switch matrix by I2C buses.Also, the PC 3 can be using VC programmings, and send data control The MCU control panels 4, the MCU control panels 4 parsing data, and then the switch matrix is transferred to, reach the mesh for controlling the switch matrix 's.
The switch matrix then receives the data sent by the PC 3, and parses data, then controls daughter board 2 therein to enter The operation of row information feedback, to realize the detection to the switch matrix.And in specific detection, on each daughter board 2 it is all after After Electrical Testing is finished, before carrying out between the detection of next daughter board 2, it is required for the daughter board 2 that will have been detected to be resetted, Equally, it is necessary to which whole switch matrix is resetted after all daughter boards 2 are detected and finished.
As shown in figure 3, the present invention comprises the following steps to the detection method of the switch matrix in Auto-Test System:
Step 100, the PC 3 send the address acquisition and instruct each daughter board 2 into the switch matrix.
Each daughter board 2 in step 101, the switch matrix sends respective address to the PC 3.
Step 102, the PC 3 send the function determine instruction to each daughter board 2.
Step 103, each daughter board 2 send respective function information to the PC 3.
Step 104, the PC 3 send the configuration information to the target daughter board 2, and the target daughter board 2 is set into tool There are the function of input data or the function of output data.
Step 105, the PC 3 receive the information that the transport module of the target daughter board 2 is sent, with to the target daughter board 2 The execution operation of relay is detected.
And in specific detection process, the subprogram for sending and receiving data of slave computer is listed below:
Although the foregoing describing the embodiment of the present invention, it will be appreciated by those of skill in the art that these It is merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is not carrying on the back On the premise of principle and essence from the present invention, various changes or modifications can be made to these embodiments, but these are changed Protection scope of the present invention is each fallen within modification.

Claims (7)

1. a kind of Auto-Test System, it is characterised in that it includes a host computer and a slave computer, the slave computer includes one Individual switch matrix and a MCU control panels, are communicated between the host computer and the switch matrix by the MCU control panels, should Host computer is used for one address acquisition of transmission and instructs each daughter board in each daughter board into the switch matrix, the switch matrix equal For respective address to be sent to the host computer, the host computer is additionally operable to send a function determine instruction after address is received To each daughter board, each daughter board is used to send respective function information to the host computer, and the host computer is receiving function A configuration information is sent to a target daughter board after information, the target daughter board is set to the function or defeated with input data Go out the function of data, the host computer is additionally operable to receive the information that the transport module of the target daughter board is sent, with to the target daughter board Relay execution operation detected;
The switch matrix includes a slot board for being inserted with multiple daughter boards, and each daughter board judges mould including a storage chip, one Block and a transport module, the storage chip are used for the function information for recording the daughter board, and the judge module is used to judge the daughter board The coil voltage of relay whether change, if so, then calling the transport module to perform the relay operates successful information Send, if it is not, then calling the transport module to send the information that the relay performs operation failure.
2. the Auto-Test System as described in claim 1, it is characterised in that the storage chip is EEPROM chips.
3. the Auto-Test System as described in claim 2, it is characterised in that the function information of the daughter board includes the daughter board Rated voltage, rated current, the port number of the contact types of relay and the daughter board.
4. Auto-Test System as claimed in claim 3, it is characterised in that the host computer is a PC machines.
5. Auto-Test System as claimed in claim 4, it is characterised in that lead between the host computer and the MCU control panels Cross RS232 interfaces to be communicated, communicated between the MCU control panels and the switch matrix by I2C buses.
6. the detection method of the switch matrix in a kind of Auto-Test System as claimed in claim 1, it is characterised in that it is wrapped Include following steps:
S1, the host computer send the address acquisition and instruct each daughter board into the switch matrix;
Each daughter board in S2, the switch matrix sends respective address to the host computer;
S3, the host computer send the function determine instruction to each daughter board;
S4, each daughter board send respective function information to the host computer;
S5, the host computer send the configuration information to the target daughter board, and the target daughter board is set to input data Function or output data function;
S6, the host computer receive the information that the transport module of the target daughter board is sent, with holding for the relay to the target daughter board Row operation is detected.
7. detection method as claimed in claim 6, it is characterised in that the host computer is a PC machines.
CN201210455167.8A 2012-11-13 2012-11-13 The detection method of switch matrix, Auto-Test System and switch matrix therein Active CN103809051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210455167.8A CN103809051B (en) 2012-11-13 2012-11-13 The detection method of switch matrix, Auto-Test System and switch matrix therein

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210455167.8A CN103809051B (en) 2012-11-13 2012-11-13 The detection method of switch matrix, Auto-Test System and switch matrix therein

Publications (2)

Publication Number Publication Date
CN103809051A CN103809051A (en) 2014-05-21
CN103809051B true CN103809051B (en) 2017-11-03

Family

ID=50706115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210455167.8A Active CN103809051B (en) 2012-11-13 2012-11-13 The detection method of switch matrix, Auto-Test System and switch matrix therein

Country Status (1)

Country Link
CN (1) CN103809051B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104502836B (en) * 2014-11-30 2017-04-19 中国计量学院 Array-type status detection circuit suitable for internal relay of scanning switch
CN106932714B (en) * 2017-02-28 2019-05-10 中国人民解放军空军工程大学 Aircraft electrical box comprehensive detection system and detection method
CN108447525A (en) * 2018-03-27 2018-08-24 江苏卡欧万泓电子有限公司 A kind of EEPROM writes the reliable detection method of number
CN110456185A (en) * 2019-07-19 2019-11-15 成都承芯科技有限公司 Electron key test macro and test method
CN110824279A (en) * 2019-11-15 2020-02-21 上海思源弘瑞自动化有限公司 Automatic testing system and method for relay protection device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61288436A (en) * 1985-06-17 1986-12-18 Hitachi Ltd Switching matrix structure
CN101373198B (en) * 2007-08-20 2011-03-16 电信科学技术第五研究所 Cable test bus and switch matrix circuit
CN101281232B (en) * 2008-05-22 2010-06-02 株洲南车时代电气股份有限公司 System and method for testing locomotive general-purpose circuit board function
US8299798B2 (en) * 2010-06-29 2012-10-30 National Instruments Corporation Relay test system and method
CN201812009U (en) * 2010-09-29 2011-04-27 美泰普斯光电科技(大连)有限公司 Functional tester based on electromagnetic relay switch
CN102096036B (en) * 2010-12-03 2013-12-11 华东光电集成器件研究所 Device for testing integrated triode array circuit
CN202041623U (en) * 2011-04-27 2011-11-16 北京航天光华电子技术有限公司 Tester for electromagnetic relays
CN202111685U (en) * 2011-05-23 2012-01-11 博世汽车部件(苏州)有限公司 Extensible switch matrix plate
CN102495554A (en) * 2011-11-22 2012-06-13 苏州凌创电子科技有限公司 Program controlled matrix switch and manufacturing method thereof

Also Published As

Publication number Publication date
CN103809051A (en) 2014-05-21

Similar Documents

Publication Publication Date Title
CN103809051B (en) The detection method of switch matrix, Auto-Test System and switch matrix therein
CN103149526B (en) PCBA board test macro and method
CN106531654B (en) A kind of chip input pin test method and device
CN103048984B (en) Multi-channel ARINC(aeronautical radio incorporated) 700 bus monitoring device and realizing method thereof
CN101009853A (en) Automatic test system for handset single-plate and its method
CN101848042A (en) Method and system for testing radio frequency of mobile phones
CN107390110A (en) A kind of method, apparatus and system tested automatically PCBA
CN104133185B (en) More piece managing electric quantity IC multichannel calibration calibration equipment and method
CN106502749B (en) The method and system of program are write with a brush dipped in Chinese ink based on CAN bus multimachine
CN109765818A (en) A kind of data acquisition control system based on LAN bus
CN101963648A (en) Automatic testing device
CN102854455A (en) Integrated circuit testing system and control method for same
CN103631688A (en) Method and system for testing interface signal
CN102183737A (en) Multi-channel and multi-parameter automatic verification system and automatic verification method
CN107878243A (en) A kind of battery management system and method
CN101370230A (en) Automatic test system and method for mobile phone keyboard
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN102289399A (en) System and method for testing main board of computer
CN201607507U (en) Intelligent backboard test system
CN108562843A (en) A kind of alternating current generator E3 controller circuit boards detecting system and method
CN203164404U (en) Intensive testing system for safety regulation tester
CN101008665A (en) Parallel connection burning testing system
CN104199779B (en) A kind of method and system of flush bonding module combined test
CN101216529B (en) Combined test action group test system of micro-electric communication processing structure
CN106547656A (en) Check test method is calibrated in a kind of properties of product burning

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201120

Address after: 221700 4-1-110-shop, Nanyuan new town, Fengxian County, Xuzhou City, Jiangsu Province

Patentee after: Song Yixiao

Address before: Songjiang District shihudong Town Tower Road 201617 min 579 Lane Shanghai No. -26

Patentee before: Phicomm (Shanghai) Co.,Ltd.