CN102565461B - Real-time on-off times recording device for relay in matrix switch module and method for realizing on-off times recording by employing same - Google Patents

Real-time on-off times recording device for relay in matrix switch module and method for realizing on-off times recording by employing same Download PDF

Info

Publication number
CN102565461B
CN102565461B CN201210049979.2A CN201210049979A CN102565461B CN 102565461 B CN102565461 B CN 102565461B CN 201210049979 A CN201210049979 A CN 201210049979A CN 102565461 B CN102565461 B CN 102565461B
Authority
CN
China
Prior art keywords
matrix switch
unit
switching command
relay
prom
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.)
Expired - Fee Related
Application number
CN201210049979.2A
Other languages
Chinese (zh)
Other versions
CN102565461A (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.)
Harbin Institute of Technology
Original Assignee
Harbin Institute of Technology
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 Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CN201210049979.2A priority Critical patent/CN102565461B/en
Publication of CN102565461A publication Critical patent/CN102565461A/en
Application granted granted Critical
Publication of CN102565461B publication Critical patent/CN102565461B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Read Only Memory (AREA)

Abstract

The invention relates to a real-time on-off times recording device for a relay in a matrix switch module, and a method for realizing on-off times recording by employing same. The invention solves the problems that the probability of damage of the relay rises sharply along with the increase of service time, and the electrical life of the relay in the matrix switch is limited. The real-time on-off times recording device comprises a matrix switch switching command buffering unit, a matrix switch switching command decoding unit, an E2PROM reading-writing control unit, a counting buffering unit, a data verification unit and a serial E2PROM memory unit, wherein the matrix switch switching command buffering unit is a first-in-first-out memory. The serial number of the relay executing on-off actions is decoded by analyzing the switch switching command, and the on-off times of the relay is stored in the serial E2PROM memory unit. The device and the method are suitable for the filed of automatic testing.

Description

Matrix switch module repeat circuit ON/OFF number of times real-time recording device and adopt this device to realize the method for ON/OFF number of times record
Technical field
The present invention relates to a kind of matrix switch module repeat circuit ON/OFF number of times real-time recording device and adopt this device to realize the method for ON/OFF number of times record, belong to field of automatic testing.
Background technology
Matrix switch is the maincenter that in Auto-Test System, signal transmits and distributes, by the different configuration of matrix switch system, can make full use of the limited resources of Auto-Test System, realize the flexible utilization of various detections and pumping signal, so the reliability of matrix switch module will directly affect the stability of Auto-Test System.
Matrix switch instrument in Auto-Test System uses relay as the matrix switch of switching signal conventionally, yet the electrical endurance of relay matrix switch is limited, is generally 10 5inferior.Along with the increase of access times, the probability of relay damaged sharply increases.Particularly in the use occasion of some high reliability, higher to the matrix switch stability requirement of relay.
Summary of the invention
The object of the invention is sharply increases and short problem in the electric serviceable life of matrix switch repeat circuit in order to solve along with increasing the probability of relay damaged service time, has designed matrix switch module repeat circuit ON/OFF number of times real-time recording device and has adopted this device to realize the method for ON/OFF number of times record.
Matrix switch module repeat circuit ON/OFF number of times real-time recording device of the present invention, it comprises matrix switch switching command buffer cell, matrix switch switching command decoding unit, E 2pROM read-write control unit, count buffer unit, data check unit and Serial E 2pROM storage unit, described matrix switch switching command buffer cell is pushup storage,
The matrix switch switching command input end of matrix switch switching command decoding unit connects the switching command output terminal of buffer cell, and the relay numbering output terminal of described matrix switch switching command decoding unit connects E 2the relay numbering input end of PROM read-write control unit, described E 2the serial data reading-writing port of PROM read-write control unit connects Serial E 2the serial data reading-writing port of PROM storage unit, described E 2the reading and writing data port of the data cached reading-writing port connection count buffer cell of PROM read-write control unit, the serial data reading-writing port of data check unit connects Serial E 2the serial data reading-writing port of PROM storage unit, the reading and writing data port of the data cached reading-writing port connection count buffer cell of described data check unit, the control signal output terminal of described data check unit connects E 2pROM read-write control unit repeat to write cache control signal input end.
The method that realizes ON/OFF number of times record based on above-mentioned matrix switch module repeat circuit ON/OFF number of times real-time recording device, it comprises the steps:
Step 1, E 2pROM read-write control unit is by Serial E 2the relay of storing in PROM storage unit ON/OFF data is read in count buffer unit, and described relay ON/OFF data comprises that relay is numbered and each numbers corresponding ON/OFF number of times;
Whether step 2, matrix switch switching command decoding unit detect matrix switch switching command buffer cell is empty, until described switching over order buffer cell is while being non-NULL, and execution step three;
Step 3, matrix switch switching command decoding unit read an order in matrix switch switching command buffer cell, and this order is resolved to acquisition, and this orders corresponding relay numbering, then this relay numbering is write to E 2pROM read-write control unit;
Step 4, E 2pROM read-write control unit reads the number of times of ON/OFF of relay corresponding in count buffer unit according to described relay numbering, and by this ON/OFF time numerical value add one, then time numerical value of ON/OFF adding after one is write to Serial E 2in PROM storage unit, replace former data, also by adding time numerical value of ON/OFF after one, write and in count buffer unit, replace former data simultaneously;
Step 5, data check unit write Serial E in read step four simultaneously 2oN/OFF number of times in PROM storage unit and count buffer unit, and judge that whether described two ON/OFF number of times are identical, judgment result is that to be, data storage is correct, returns to execution step two, and the determination result is NO, and data storage errors, performs step six;
Step 6, data check unit controls E 2described in PROM read-write control unit repeated execution of steps four to Serial E 2pROM storage unit writes the step of ON/OFF time numerical value.
The matrix switch module repeat circuit ON/OFF number of times real-time recording device that the present invention proposes and adopt this device to realize the method for ON/OFF number of times record, can in matrix switch module all the open/close action frequency of relays carry out in real time, record accurately.For user's choose reasonable signalling channel provides the foundation of science.By reading each actuating of relay number of times, avoid the more relay signal path of usage operation number of times, reduced the probability of relay damaged, make the use equalization of each relay, guaranteed the continuous stability of matrix switch module work, reached and extended the relay matrix switch object in electric serviceable life.
Accompanying drawing explanation
Fig. 1 is for adopting matrix switch module repeat circuit ON/OFF number of times real-time recording device of the present invention to realize the process flow diagram of the method for ON/OFF number of times record, Fig. 2 is the theory diagram of matrix switch module repeat circuit ON/OFF number of times real-time recording device, and wherein A represents to carry out matrix switch switching command.
Embodiment
Matrix switch module repeat circuit ON/OFF number of times real-time recording device described in embodiment one, present embodiment comprises matrix switch switching command buffer cell 1, matrix switch switching command decoding unit 2, E 2pROM read-write control unit 3, count buffer unit 4, data check unit 5 and Serial E 2 pROM storage unit 6, described matrix switch switching command buffer cell 1 is pushup storage,
The matrix switch switching command input end of matrix switch switching command decoding unit 2 connects the switching command output terminal of buffer cell 1, and the relay numbering output terminal of described matrix switch switching command decoding unit 2 connects E 2the relay numbering input end of PROM read-write control unit 3, described E 2the serial data reading-writing port of PROM read-write control unit 3 connects Serial E 2the serial data reading-writing port of PROM storage unit 6, described E 2the reading and writing data port of the data cached reading-writing port connection count buffer cell 4 of PROM read-write control unit 3, the serial data reading-writing port of data check unit 5 connects Serial E 2the serial data reading-writing port of PROM storage unit 6, the reading and writing data port of the data cached reading-writing port connection count buffer cell 4 of described data check unit 5, the control signal output terminal of described data check unit 5 connects E 2pROM read-write control unit 3 repeat to write cache control signal input end.
The difference of embodiment two, present embodiment and embodiment one is: matrix switch switching command buffer cell 1 is that the degree of depth is the storage unit that 2 * N, width are N, described matrix switch switching command buffer cell 1 is for the executed matrix switch switching command of buffer memory, wherein, N equals the line number of the relay in matrix switch module.
Described in embodiment three, present embodiment is to adopt matrix switch module repeat circuit ON/OFF number of times real-time recording device described in embodiment one to realize the method for ON/OFF number of times record, and it comprises the steps:
Step 1, E 2pROM read-write control unit 3 is by Serial E 2the relay of storing in PROM storage unit 6 ON/OFF data is read in count buffer unit 4, and described relay ON/OFF data comprises that relay is numbered and each numbers corresponding ON/OFF number of times;
Step 2, matrix switch switching command decoding unit 2 detects whether matrix switch switching command buffer cells 1 are empty, until described switching over order buffer cell 1 while be non-NULL, performs step three;
Step 3, matrix switch switching command decoding unit 2 read an order in matrix switch switching command buffer cell 1, and this order is resolved to acquisition, and this orders corresponding relay numbering, then this relay numbering is write to E 2pROM read-write control unit 3;
Step 4, E 2pROM read-write control unit 3 reads the number of times of ON/OFF of relay corresponding in count buffer unit 4 according to described relay numbering, and by this ON/OFF time numerical value add one, then time numerical value of ON/OFF adding after one is write to Serial E 2in PROM storage unit 6, replace former data, also by adding time numerical value of ON/OFF after one, write and in count buffer unit 4, replace former data simultaneously;
Step 5, data check unit 5 write Serial E in read step four simultaneously 2oN/OFF number of times in PROM storage unit 6 and count buffer unit 4, and judge that whether described two ON/OFF number of times are identical, judgment result is that to be, data storage is correct, returns to execution step two, and the determination result is NO, and data storage errors, performs step six;
E is controlled in step 6, data check unit 5 2described in PROM read-write control unit 3 repeated execution of steps four to Serial E 2 pROM storage unit 6 writes the step of ON/OFF time numerical value.
The present invention is for improving the ability of the stable continuous firing of matrix switch module, a kind of device and method of online record matrix switch module repeat circuit ON/OFF number of times is proposed, can guarantee module in the situation that of non-burst power-off to plate on the ON/OFF number of times of relay carry out record accurately and reliably.Additional function as matrix switch module, relay ON/OFF number of times record cell is only worked during in ON/OFF operating state at relay, other is constantly in suspended state, therefore it is independent of relay ON/OFF control module, can guarantee the accuracy of data recording, and there is good transplantability.E during this law is bright 2pROM needs existing E in independently components and parts support or shared instrument 2pROM, and other functional unit can be realized in the programming device of instrument.
In ON/OFF action frequency record cell inside, opening up a degree of depth is that 2 * N, width are the matrix switch switching command buffer cell that N is identical with matrix switch switching command code, matrix switch switching command for buffer memory executed, wherein, the line number that N is matrix switch.Buffer zone is a First Input First Output, and the order of head of the queue enters in command decoder unit at first.The degree of depth is that 2 * N can guarantee that every row relay of matrix switch all carries out an open and close operation, thereby avoids buffer overflow.
The state of matrix switch switching command decoding unit 2 Real-Time Monitoring matrix switch switching command buffer cells 1, when matrix switch switching command buffer cell 1 non-NULL, matrix switch switching command decoding unit 2 is read the order of matrix switch switching command buffer cell 1 head of the queue, by the parsing to matrix switch switching command, translate this and order corresponding relay numbering, and sent into E 2pROM read-write control unit 3.
E 2pROM read-write control unit 3 is directly to Serial E 2 pROM storage unit 6 is carried out read-write operation.When module powers on, E 2pROM read-write control unit 3 is from Serial E 2in PROM storage unit 6, the number of times of ON/OFF of whole relays is read in count buffer unit 4; When module is normally worked, E 2relay that PROM read-write control unit 3 translates according to command decoder unit numbering is read the number of times of ON/OFF of this relay from count buffer unit 4, then this numerical value is added and after one, writes corresponding Serial E 2in PROM storage unit 6, the numerical value of count buffer unit 4 correspondences also adds one simultaneously.
Count buffer unit 4 is for the number of times of ON/OFF of each relay of buffer memory, this number of times and Serial E 2in PROM storage unit 6, the number of times of ON/OFF of corresponding relay is identical, and this not only can be avoided at every turn from Serial E 26 a large amount of times of sense data consumption of PROM storage unit, also can be used for data check, when writing Serial E simultaneously 2when the data in PROM storage unit 6 make a mistake, the data in count buffer unit 4 can be used as the foundation of makeing mistakes and rewriteeing.
Each Serial E of upgrading 2after numerical value in PROM storage unit 6 and count buffer unit 4, data check unit reads Serial E simultaneously 2the ON/OFF number of times of the corresponding relay in PROM storage unit 6 and count buffer unit 4, if two data are identical, this relay ON/OFF number of times is stored successfully, otherwise again starts E 2pROM read-write control unit 3 carries out data write operation, until relay ON/OFF number of times is stored successfully.

Claims (3)

1. matrix switch module repeat circuit ON/OFF number of times real-time recording device, is characterized in that: it comprises matrix switch switching command buffer cell (1), matrix switch switching command decoding unit (2), E 2pROM read-write control unit (3), count buffer unit (4), data check unit (5) and Serial E 2pROM storage unit (6), described matrix switch switching command buffer cell (1) is pushup storage,
The matrix switch switching command input end of matrix switch switching command decoding unit (2) connects the switching command output terminal of buffer cell (1), and the relay numbering output terminal of described matrix switch switching command decoding unit (2) connects E 2the relay numbering input end of PROM read-write control unit (3), described E 2the serial data reading-writing port of PROM read-write control unit (3) connects Serial E 2the serial data reading-writing port of PROM storage unit (6), described E 2the reading and writing data port of the data cached reading-writing port connection count buffer cell (4) of PROM read-write control unit (3), the serial data reading-writing port of data check unit (5) connects Serial E 2the serial data reading-writing port of PROM storage unit (6), the reading and writing data port of the data cached reading-writing port connection count buffer cell (4) of described data check unit (5), the control signal output terminal of described data check unit (5) connects E 2pROM read-write control unit (3) repeat to write cache control signal input end.
2. matrix switch module repeat circuit ON/OFF number of times real-time recording device according to claim 1, it is characterized in that: matrix switch switching command buffer cell (1) is that the degree of depth is the storage unit that 2 * N, width are N, described matrix switch switching command buffer cell (1) is for the executed matrix switch switching command of buffer memory, wherein, N equals the line number of the relay in matrix switch module.
3. based on matrix switch module repeat circuit ON/OFF number of times real-time recording device claimed in claim 1, realize the method for ON/OFF number of times record, it is characterized in that: it comprises the steps:
Step 1, E 2pROM read-write control unit (3) is by Serial E 2the relay of storing in PROM storage unit (6) ON/OFF data is read in count buffer unit (4), and described relay ON/OFF data comprises that relay is numbered and each numbers corresponding ON/OFF number of times;
Whether step 2, matrix switch switching command decoding unit (2) detect matrix switch switching command buffer cell (1) is empty, until described switching over order buffer cell (1) while be non-NULL, performs step three;
Step 3, matrix switch switching command decoding unit (2) read an order in matrix switch switching command buffer cell (1), and this order is resolved to acquisition, and this orders corresponding relay numbering, then this relay numbering is write to E 2pROM read-write control unit (3);
Step 4, E 2pROM read-write control unit (3) reads the number of times of ON/OFF of relay corresponding in count buffer unit (4) according to described relay numbering, and by this ON/OFF time numerical value add one, then time numerical value of ON/OFF adding after one is write to Serial E 2the former data of the middle replacement of PROM storage unit (6) also write the former data of replacement in count buffer unit (4) by time numerical value of ON/OFF adding after one simultaneously;
Step 5, data check unit (5) write Serial E in read step four simultaneously 2oN/OFF number of times in PROM storage unit (6) and count buffer unit (4), and judge that whether described two ON/OFF number of times are identical, judgment result is that to be, data storage is correct, returns to execution step two, and the determination result is NO, data storage errors, performs step six;
E is controlled in step 6, data check unit (5) 2described in PROM read-write control unit (3) repeated execution of steps four to Serial E 2pROM storage unit (6) writes the step of ON/OFF time numerical value.
CN201210049979.2A 2012-02-29 2012-02-29 Real-time on-off times recording device for relay in matrix switch module and method for realizing on-off times recording by employing same Expired - Fee Related CN102565461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210049979.2A CN102565461B (en) 2012-02-29 2012-02-29 Real-time on-off times recording device for relay in matrix switch module and method for realizing on-off times recording by employing same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210049979.2A CN102565461B (en) 2012-02-29 2012-02-29 Real-time on-off times recording device for relay in matrix switch module and method for realizing on-off times recording by employing same

Publications (2)

Publication Number Publication Date
CN102565461A CN102565461A (en) 2012-07-11
CN102565461B true CN102565461B (en) 2014-04-02

Family

ID=46411409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210049979.2A Expired - Fee Related CN102565461B (en) 2012-02-29 2012-02-29 Real-time on-off times recording device for relay in matrix switch module and method for realizing on-off times recording by employing same

Country Status (1)

Country Link
CN (1) CN102565461B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104569797A (en) * 2013-10-22 2015-04-29 珠海格力电器股份有限公司 Service life test system of contact-type switch and service life test method
CN104865958A (en) * 2015-05-04 2015-08-26 株洲南车时代电气股份有限公司 Matrix switch device, system and method
CN107632256A (en) * 2017-08-21 2018-01-26 上海斐讯数据通信技术有限公司 A kind of relay stability test method, apparatus and system
CN107656197A (en) * 2017-08-23 2018-02-02 中国电子科技集团公司第四十研究所 The implementation method of switching times is switched in a kind of programming count switching network
CN110113137B (en) * 2019-05-17 2021-07-30 石家庄科林电气股份有限公司 Method for eliminating data transmission interference

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046793A (en) * 2007-03-19 2007-10-03 杭州华为三康技术有限公司 Bus signal control method, system interface single plate and network equipment internal single board
CN201203627Y (en) * 2008-05-14 2009-03-04 中兴通讯股份有限公司 Auto-switch power supply device for test and test system composed by the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3447638B2 (en) * 1999-12-24 2003-09-16 日本電気株式会社 Semiconductor device test method and system, and recording medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046793A (en) * 2007-03-19 2007-10-03 杭州华为三康技术有限公司 Bus signal control method, system interface single plate and network equipment internal single board
CN201203627Y (en) * 2008-05-14 2009-03-04 中兴通讯股份有限公司 Auto-switch power supply device for test and test system composed by the same

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
一种矩阵开关MA模块的设计;张毅刚等;《国外电子测量技术》;20110630(第06期);全文 *
张毅刚等.一种矩阵开关MA模块的设计.《国外电子测量技术》.2011,(第06期),第44-46、61页.
自动测试平台开关系统设计研究;阳志高等;《计算机测量与控制》;20070131;第15卷(第01期);全文 *
阳志高等.自动测试平台开关系统设计研究.《计算机测量与控制》.2007,第15卷(第01期),第19-20、51页.

Also Published As

Publication number Publication date
CN102565461A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN102565461B (en) Real-time on-off times recording device for relay in matrix switch module and method for realizing on-off times recording by employing same
US8296507B2 (en) Memory management and writing method and rewritable non-volatile memory controller and storage system using the same
JP6048497B2 (en) Flash memory error prediction module and error prediction method
US9268687B2 (en) Data writing method, memory control circuit unit and memory storage apparatus
US8195971B2 (en) Solid state disk and method of managing power supply thereof and terminal including the same
CN103176748A (en) Environmental-based device operation
US9665481B2 (en) Wear leveling method based on timestamps and erase counts, memory storage device and memory control circuit unit
US10409525B2 (en) Memory management method, memory control circuit unit and memory storage device
US8667348B2 (en) Data writing method for non-volatile memory module and memory controller and memory storage apparatus using the same
CN101149664A (en) Solid state hard disc and method for processing its management data
US20140040533A1 (en) Data management method, memory controller and memory storage device
KR20160024962A (en) On demand block management
CN106372000B (en) Map table updating method, memorizer control circuit unit and memory storage apparatus
US9552287B2 (en) Data management method, memory controller and embedded memory storage apparatus using the same
CN103577275A (en) Method, equipment and system for data verification
CN109614049B (en) Flash memory control method, flash memory controller and flash memory system
CN104658612A (en) Method for accessing storage unit in flash memory and device using the same
CN103378986A (en) System event log recording system and method
CN103377155B (en) Memorizer memory devices and Memory Controller thereof and power control method
CN104464809A (en) Method for prolonging service life of flash memory
CN105138472A (en) Flash memory wear optimization method and device
CN101539785B (en) Mainboard with integrated flash memory storage unit
US9971522B2 (en) Memory system and method
US20090313422A1 (en) Flash memory control apparatus having sequential writing procedure and method thereof
CN102568602B (en) Flash memory development 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140402

CF01 Termination of patent right due to non-payment of annual fee