CN102664622A - Control system and method of matrix switch supportive of four working modes - Google Patents

Control system and method of matrix switch supportive of four working modes Download PDF

Info

Publication number
CN102664622A
CN102664622A CN2012100500041A CN201210050004A CN102664622A CN 102664622 A CN102664622 A CN 102664622A CN 2012100500041 A CN2012100500041 A CN 2012100500041A CN 201210050004 A CN201210050004 A CN 201210050004A CN 102664622 A CN102664622 A CN 102664622A
Authority
CN
China
Prior art keywords
switching command
switch switching
switch
mode
command
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
Application number
CN2012100500041A
Other languages
Chinese (zh)
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 CN2012100500041A priority Critical patent/CN102664622A/en
Publication of CN102664622A publication Critical patent/CN102664622A/en
Pending legal-status Critical Current

Links

Images

Abstract

A control system and method of a matrix switch supportive of four working modes relates to a control system of a matrix switch for solving problems in current switch modules that switching signals regularly at a precise time cannot be accomplished and that signals cannot be switched synchronously in different switch modules. A command packing unit is used to pack bus interface data into switching command codes, a buffer zone is used to store successive switching commands, and a register group is used to set a working mode of a switching command control unit and to monitor in real time the state of the buffer zone of switching commands; the switching command control unit controls switching commands and executes executive commands of the unit; with working mode information entering through the bus interface, four switching modes can be realized, i.e., immediate running, command triggering, single hard wire triggering and successive hard wire triggering. The method in the invention is used for controlling a matrix switch.

Description

Support the control system and the method for the matrix switch of four kinds of mode of operations
Technical field
The present invention relates to a kind of control system and method for matrix switch, particularly a kind of control system and method for supporting the matrix switch of four kinds of mode of operations.
Background technology
Switching system is the maincenter that signal transmits and distributes in the Auto-Test System, by the different configuration of switching system, can make full use of the limited resources of Auto-Test System, realizes the flexible route of various excitations and detection signal.Matrix switch is a kind of switch topology flexibly; Can realize that arbitrary input arrives the connection of any output port; Switching through different switches; Can power supply and test signal be switched to the input port of any measurand, the output signal with measurand switches to corresponding tester simultaneously.
In automatic testing process, for can the accurate timing switching signal or unlike signal carried out synchronous handover operation, to satisfy following two kinds of requirements:
(1) makes pumping signal in time reach Devices to test or the signal parameter of particular moment is measured;
(2) make different channel signals arrive Devices to test simultaneously or related channel program signal phase parameter is measured;
Usual way is in application program, to adopt software timing at present, sends the signal switching command through operating system and driver to hardware.Yet signal is switched the occasion that real-time is had relatively high expectations, uses software timing can pass through multilayer system and call, the absolute moment that signal switches can not satisfy that precise time requires and different switch module between switching signal synchronously.
Summary of the invention
The objective of the invention is to realize the regularly problem of switching signal synchronously between switching signal and the different switch module of precise time in the existing switch module, a kind of control system and method for supporting the matrix switch of four kinds of mode of operations is provided in order to solve.
A kind of control system of supporting the matrix switch of four kinds of mode of operations of the present invention; It comprises matrix switch, it is characterized in that it also comprises switch switching command packing unit, switch switching command buffering area, registers group, switch switching command control unit, switch switching command performance element and EBI;
Matrix switch is the relay array of the capable M row of N;
The matrix switch switching command signal output of EBI is connected with the matrix switch switching command signal input of switch switching command packing unit, and the packing switch switching command signal output of switch switching command packing unit connects the matrix switch command signal input of switch switching command buffering area;
Switch switching command buffering area is that the degree of depth is that 2 * N, bit wide are the pushup storage of 2 * M;
Switch switching command buffer stores order number signal output part connects the buffer stores order number input of registers group;
The full signal output part of the buffer stores data number of registers group is connected with the signal input part of EBI;
The mode of operation signal output part of EBI connects the mode of operation signal input part of registers group;
The triggering enabling signal output of EBI connects the triggering enabling signal input of switch switching command control unit;
The port of the parameter signal that reads parameter signal port connection registers group of switch switching command control unit;
The read command signal port of switch switching command control unit connects the read command signal port of the order of switch switching command buffering area;
Command signal output in the switch switching command control unit connects switch switching command performance element command signal input.
The process of said matrix switch control method comprises two threads, and said two thread parallels are carried out, and said two threads are:
First thread:
Switch switching command packing unit detects and also reads the matrix switch command signal that EBI sends, and sends to switch switching command buffering area after said matrix switch command signal packed,
The bar number of the switch command that deposits in register set stores and the real-time update switch switching command buffering area; Read the bar number of the switch command that deposits in the switch switching command buffering area of storing in the registers group through EBI; When the bar number of said switch command equals 2N; Stop to EBI sending metrix switch command signal, N is a positive integer;
Second thread:
EBI sends the mode of operation information stores to registers group,
Switch switching command control unit reads the mode of operation information in the registers group, and carries out corresponding actions according to mode of operation in the said mode of operation information and relevant parameter control switch switching command performance element gating matrix switch;
Mode of operation in the said mode of operation signal comprises immediate execution mode, command triggers pattern, rigid line single trigger mode and rigid line continuous trigger pattern.
The invention has the advantages that through configuration the switch operational mode; Can realize moving immediately, command triggers, rigid line single trigger, 4 kinds of switch switch modes of rigid line continuous trigger; The triggering input signal that EBI provides; Can also a plurality of module level joint groups be become large-scale switching system, satisfy the high time precision of signal switching in the complicated test and the requirement of synchronism.
Description of drawings
Fig. 1 is the schematic diagram of control system of the present invention.
Fig. 2 is the workflow sketch map of the command triggers pattern of method of the present invention.
Fig. 3 is the workflow sketch map of the rigid line single trigger mode of method of the present invention.
Fig. 4 is the workflow sketch map of the rigid line continuous trigger pattern of method of the present invention.
Embodiment
Embodiment one: combine Fig. 1 that this execution mode is described; A kind of control system of supporting the matrix switch of four kinds of mode of operations of the present invention, it also comprises switch switching command packing unit 1, switch switching command buffering area 2, registers group 3, switch switching command control unit 4, switch switching command performance element 5 and EBI 6;
Matrix switch is the relay array of the capable M row of N;
The matrix switch switching command signal output of EBI 6 is connected with the matrix switch switching command signal input of switch switching command packing unit 1, and the packing switch switching command signal output of switch switching command packing unit 1 connects the matrix switch command signal input of switch switching command buffering area 2;
Switch switching command buffering area 2 is that the degree of depth is that 2 * N, bit wide are the pushup storage of 2 * M;
Switch switching command buffering area 2 memory command number signal output parts connect the buffer stores order number input of registers group 3;
The full signal output part of the buffer stores data number of registers group 3 is connected with the signal input part of EBI 6;
The mode of operation signal output part of EBI 6 connects the mode of operation signal input part of registers group 3;
The triggering enabling signal output of EBI 6 connects the triggering enabling signal input of switch switching command control unit 4;
The port of the parameter signal that reads parameter signal port connection registers group 3 of switch switching command control unit 4;
The read command signal port of switch switching command control unit 4 connects the read command signal port of the order of switch switching command buffering area 2;
Command signal output in the switch switching command control unit 4 connects switch switching command performance element 5 command signal inputs.
Embodiment two: this execution mode is based on the matrix switch control method of control system of the matrix switch of four kinds of mode of operations of described support; The process of said matrix switch control method comprises two threads; Said two thread parallels are carried out, and said two threads are:
First thread:
Switch switching command packing unit 1 detects and also reads the matrix switch command signal that EBI 6 sends, and sends to switch switching command buffering area 2 after said matrix switch command signal packed,
The bar number of the switch command that deposits in registers group 3 storages and the real-time update switch switching command buffering area 2; Read the bar number of the switch command that deposits in the switch switching command buffering area 2 of storage in the registers group 3 through EBI 6; When the bar number of said switch command equals 2N; Stop to EBI 6 sending metrix switch command signal, N is a positive integer;
Second thread:
EBI 6 sends the mode of operation information stores to registers group 3,
Switch switching command control unit 4 reads the mode of operation information in the registers group 3, and carries out corresponding actions according to mode of operation in the said mode of operation information and relevant parameter control switch switching command performance element 5 gating matrix switches;
Mode of operation in the said mode of operation signal comprises immediate execution mode, command triggers pattern, rigid line single trigger mode and rigid line continuous trigger pattern.
Switch switching command control unit 4 through control register the difference configuration and to the detection of EBI 6 triggering signals, the order in the switch switching command buffering area 2 is read in the switch switching command performance element 1 with different mode; Switch switching command performance element 5 closes the parsing of switching order through splitting, and control relevant hardware circuit is accomplished final relay on/off operation.
Embodiment three: what this execution mode and embodiment one were different is; When the mode of operation in the mode of operation signal was immediate execution mode, the process that switch switching command control unit 4 control switch switching command performance elements 5 gating matrix switches are carried out corresponding actions was following:
Switch switching command control unit 4 is all command signals in the read switch switching command buffering area 2 one by one; And send to switch switching command performance element 5 execution the corresponding commands successively, till all command signals in switch switching command buffering area 2 all are performed and finish.
Embodiment four: combine Fig. 2 that this execution mode is described; What this execution mode and embodiment one were different is; When the mode of operation in the mode of operation signal was the command triggers pattern, the process that switch switching command control unit 4 control switch switching command performance elements 5 gating matrix switches are carried out corresponding actions was following:
Comprise mode of operation in the mode of operation information, trigger significance bit TRI_CMD and signal switching time time-delay TIME_INTERVAL,
Step 1: whether the triggering significance bit TRI_CMD in the switch switching command control unit 4 judgment task mode signals is 1; If judged result is for denying; Then read the mode of operation information in the registers group 3 once more and judge; Up to said triggering significance bit TRI_CMD is 1 o'clock, execution in step two;
Step 2: a command signal in the switch switching command control unit 4 read switch switching command buffering areas 2, and send order according to said command signal and carry out for switch switching command performance element 5, the gating matrix switch is carried out corresponding actions;
Step 3: switch switching command performance element 5 time-delay TIME_INTERVAL, return execution in step two, till all orders in said switch switching command buffering area 2 are read and are finished then.
Embodiment five: combine Fig. 3 that this execution mode is described; What this execution mode and embodiment one were different is; When the mode of operation in the mode of operation signal was rigid line single trigger mode, the process that switch switching command control unit 4 control switch switching command performance elements 5 gating matrix switches are carried out corresponding actions was following:
Steps A: whether switch switching command control unit 4 testbus interfaces 6 have the rising edge input that triggers enabling signal, when detecting the rising edge of said triggering enabling signal, and execution in step two;
Step B: a command signal in the switch switching command control unit 4 read switch switching command buffering areas 2, and send order according to said command signal and carry out for switch switching command performance element 5, the gating matrix switch is carried out corresponding actions;
Step C: return step 1, all orders in said switch switching command buffering area 2 are read and are finished.
Embodiment six: combine Fig. 4 that this execution mode is described; What this execution mode and embodiment one were different is; When the mode of operation in the mode of operation signal was rigid line continuous trigger pattern, the process that switch switching command control unit 4 control switch switching command performance elements 5 gating matrix switches are carried out corresponding actions was following:
Comprise mode of operation and signal switching time time-delay TIME_INTERVAL in the mode of operation information,
Step e: whether switch switching command control unit 4 testbus interfaces 6 have the rising edge input that triggers enabling signal, when detecting the rising edge of said triggering enabling signal, and execution in step two;
Step F: a command signal in the switch switching command control unit 4 read switch switching command buffering areas 2, and send order according to said command signal and carry out for switch switching command performance element 5, the gating matrix switch is carried out corresponding actions;
Step G: switch switching command performance element 5 time-delay TIME_INTERVAL, return execution in step two, till all orders in said switch switching command buffering area 2 are read and are finished then.
Embodiment seven: what this execution mode and embodiment one were different is that four kinds of different working patterns of said matrix switch are applicable to reference instrument buses such as VXI, PXI, EBI 6.

Claims (7)

1. support the control system that the matrix of four kinds of mode of operations is opened; It comprises matrix switch; It is characterized in that it also comprises switch switching command packing unit (1), switch switching command buffering area (2), registers group (3), switch switching command control unit (4), switch switching command performance element (5) and EBI (6);
Matrix switch is the relay array of the capable M row of N;
The matrix switch switching command signal output of EBI (6) is connected with the matrix switch switching command signal input of switch switching command packing unit (1), and the packing switch switching command signal output of switch switching command packing unit (1) connects the matrix switch command signal input of switch switching command buffering area (2);
Switch switching command buffering area (2) is that the degree of depth is that 2 * N, bit wide are the pushup storage of 2 * M;
Switch switching command buffering area (2) memory command number signal output part connects the buffer stores order number input of registers group (3);
The full signal output part of the buffer stores data number of registers group (3) is connected with the signal input part of EBI (6);
The mode of operation signal output part of EBI (6) connects the mode of operation signal input part of registers group (3);
The triggering enabling signal output of EBI (6) connects the triggering enabling signal input of switch switching command control unit (4);
The port of the parameter signal that reads parameter signal port connection registers group (3) of switch switching command control unit (4);
The read command signal port of switch switching command control unit (4) connects the read command signal port of the order of switch switching command buffering area (2);
Command signal output in the switch switching command control unit (4) connects switch switching command performance element (5) command signal input.
2. based on the matrix switch control method of the control system of the matrix switch of four kinds of mode of operations of the described support of claim 1; It is characterized in that; The process of said matrix switch control method comprises two threads, and said two thread parallels are carried out, and said two threads are:
First thread:
Switch switching command packing unit (1) detects and reads the matrix switch command signal that EBI (6) sends, and sends to switch switching command buffering area (2) after said matrix switch command signal packed,
The bar number of the switch command that deposits in registers group (3) storage and the real-time update switch switching command buffering area (2); Read the bar number of the switch command that deposits in the switch switching command buffering area (2) of storage in the registers group (3) through EBI (6); When the bar number of said switch command equals 2N; Stop to EBI (6) sending metrix switch command signal, N is a positive integer;
Second thread:
EBI (6) sends the mode of operation information stores to registers group (3),
Switch switching command control unit (4) reads the mode of operation information in the registers group (3), and carries out corresponding actions according to mode of operation in the said mode of operation information and relevant parameter control switch switching command performance element (5) gating matrix switch;
Mode of operation in the said mode of operation signal comprises immediate execution mode, command triggers pattern, rigid line single trigger mode and rigid line continuous trigger pattern.
3. matrix switch control method according to claim 2; It is characterized in that; When the mode of operation in the mode of operation signal was immediate execution mode, the process that switch switching command control unit (4) control switch switching command performance element (5) gating matrix switch is carried out corresponding actions was following:
Switch switching command control unit (4) is all command signals in the read switch switching command buffering area (2) one by one; And send to switch switching command performance element (5) execution the corresponding command successively, till all command signals in switch switching command buffering area (2) all are performed and finish.
4. matrix switch control method according to claim 2; It is characterized in that; When the mode of operation in the mode of operation signal was the command triggers pattern, the process that switch switching command control unit (4) control switch switching command performance element (5) gating matrix switch is carried out corresponding actions was following:
Comprise mode of operation in the mode of operation information, trigger significance bit TRI_CMD and signal switching time time-delay TIME_INTERVAL,
Step 1: whether the triggering significance bit TRI_CMD in switch switching command control unit (4) the judgment task mode signal is 1; If judged result is for denying; Then read the mode of operation information in the registers group (3) once more and judge; Up to said triggering significance bit TRI_CMD is 1 o'clock, execution in step two;
Step 2: a command signal in switch switching command control unit (4) the read switch switching command buffering area (2), and send order according to said command signal and carry out for switch switching command performance element (5), the gating matrix switch is carried out corresponding actions;
Step 3: switch switching command performance element (5) time-delay TIME_INTERVAL, return execution in step two, till all orders in said switch switching command buffering area (2) are read and are finished then.
5. matrix switch control method according to claim 2; It is characterized in that; When the mode of operation in the mode of operation signal was rigid line single trigger mode, the process that switch switching command control unit (4) control switch switching command performance element (5) gating matrix switch is carried out corresponding actions was following:
Steps A: whether switch switching command control unit (4) testbus interface (6) has the rising edge input that triggers enabling signal, when detecting the rising edge of said triggering enabling signal, and execution in step two;
Step B: a command signal in switch switching command control unit (4) the read switch switching command buffering area (2), and send order according to said command signal and carry out for switch switching command performance element (5), the gating matrix switch is carried out corresponding actions;
Step C: return step 1, all orders in said switch switching command buffering area (2) are read and are finished.
6. matrix switch control method according to claim 2; It is characterized in that; When the mode of operation in the mode of operation signal was rigid line continuous trigger pattern, the process that switch switching command control unit (4) control switch switching command performance element (5) gating matrix switch is carried out corresponding actions was following:
Comprise mode of operation and signal switching time time-delay TIME_INTERVAL in the mode of operation information,
Step e: whether switch switching command control unit (4) testbus interface (6) has the rising edge input that triggers enabling signal, when detecting the rising edge of said triggering enabling signal, and execution in step two;
Step F: a command signal in switch switching command control unit (4) the read switch switching command buffering area (2), and send order according to said command signal and carry out for switch switching command performance element (5), the gating matrix switch is carried out corresponding actions;
Step G: switch switching command performance element (5) time-delay TIME_INTERVAL, return execution in step two, till all orders in said switch switching command buffering area (2) are read and are finished then.
7. matrix switch control method according to claim 2 is characterized in that, described four kinds of mode of operations all are applicable to VXI, PXI, M interface standard instrument bus.
CN2012100500041A 2012-02-29 2012-02-29 Control system and method of matrix switch supportive of four working modes Pending CN102664622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100500041A CN102664622A (en) 2012-02-29 2012-02-29 Control system and method of matrix switch supportive of four working modes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100500041A CN102664622A (en) 2012-02-29 2012-02-29 Control system and method of matrix switch supportive of four working modes

Publications (1)

Publication Number Publication Date
CN102664622A true CN102664622A (en) 2012-09-12

Family

ID=46774053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100500041A Pending CN102664622A (en) 2012-02-29 2012-02-29 Control system and method of matrix switch supportive of four working modes

Country Status (1)

Country Link
CN (1) CN102664622A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5434998A (en) * 1988-04-13 1995-07-18 Yokogawa Electric Corporation Dual computer system
CN101046793A (en) * 2007-03-19 2007-10-03 杭州华为三康技术有限公司 Bus signal control method, system interface single plate and network equipment internal single board

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5434998A (en) * 1988-04-13 1995-07-18 Yokogawa Electric Corporation Dual computer system
CN101046793A (en) * 2007-03-19 2007-10-03 杭州华为三康技术有限公司 Bus signal control method, system interface single plate and network equipment internal single board

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张毅刚等: "一种矩阵开关MA模块的设计", 《国外电子测量技术》, no. 06, 15 June 2011 (2011-06-15) *
来德胜: "基于单片机程控矩阵开关设计", 《电子测量技术》, no. 06, 15 December 2002 (2002-12-15) *
阳志高等: "自动测试平台开关系统设计研究", 《计算机测量与控制》, vol. 15, no. 01, 25 January 2007 (2007-01-25) *

Similar Documents

Publication Publication Date Title
CN103336194A (en) Integrated automatic test system of on-board computer of civilian airliner
CN100440805C (en) Method and system for remote-maintaining JTAG device in ATCA
CN102497227A (en) Satellite automatic test method and system
KR101239658B1 (en) Test apparatus
CN103176068A (en) Bus-based test module
CN103592477A (en) Aerospace level capacitor test switch channel
CN101458652A (en) Embedded on-line emulation debugging system for microcontroller
CN105807202A (en) Integrated circuit test board card
CN102955460A (en) Control system of numerical control system master station over input/output (IO) terminal slave station
CN102347899A (en) Intelligent dual-redundant gigabit Ethernet processing board
CN102636987B (en) Dual control device
CN103903651A (en) Double-line serial port build-in self-test circuit, and communication method thereof
JP5785888B2 (en) Test equipment and test modules
KR20120070188A (en) Apparatus for simulating of multi-core system by using timing information between modules, and method thereof
JP5841458B2 (en) Test equipment and test modules
CN102664622A (en) Control system and method of matrix switch supportive of four working modes
KR20150058041A (en) Flexible test site synchronization
CN202404912U (en) Neural network test module and test system of smart card chip memory
CN100533392C (en) Synchronous processing method and its device
CN204649876U (en) Modularization global function automatic checkout system
JP2005509930A (en) Storage system used in custom loop accelerators
CN103154919A (en) Exception control in a multiprocessor system
CN102521180B (en) Multi-channel real-time direct reading memory structure
CN201159740Y (en) Multi-path simultaneous measurement device
CN109165086A (en) Task executing method and single-chip microcontroller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120912