CN117666918A - Multi-board-card interconnection communication system based on automatic handshake recognition algorithm - Google Patents
Multi-board-card interconnection communication system based on automatic handshake recognition algorithm Download PDFInfo
- Publication number
- CN117666918A CN117666918A CN202311717972.8A CN202311717972A CN117666918A CN 117666918 A CN117666918 A CN 117666918A CN 202311717972 A CN202311717972 A CN 202311717972A CN 117666918 A CN117666918 A CN 117666918A
- Authority
- CN
- China
- Prior art keywords
- board
- instruction
- acquisition
- data
- optical fiber
- 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
- 230000006854 communication Effects 0.000 title claims abstract description 19
- 238000004891 communication Methods 0.000 title claims abstract description 18
- 239000013307 optical fiber Substances 0.000 claims abstract description 44
- 238000012545 processing Methods 0.000 claims abstract description 27
- 230000005540 biological transmission Effects 0.000 claims abstract description 16
- 238000000034 method Methods 0.000 claims abstract description 7
- 238000009825 accumulation Methods 0.000 claims description 6
- 238000012795 verification Methods 0.000 claims description 6
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 239000000835 fiber Substances 0.000 claims description 3
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
Abstract
The invention discloses a multi-board card interconnection communication system based on an automatic handshake recognition algorithm, which comprises the following components: a signal processor: the method comprises the steps of splicing a plurality of different instructions into a group-sending instruction, and sending the group-sending instruction to an AD acquisition board according to a rule; AD acquisition board: the device is used for identifying corresponding instruction data through the unique board card identification codes and returning a processing result; and (3) an optical fiber module: the optical fiber data transmission device comprises an optical fiber hardware link and a three-split optical fiber adapter, and is used for realizing data transmission between the signal processor and the AD acquisition board. Through the technical scheme, an automatic handshake recognition algorithm between the signal processor and the multi-AD acquisition board is realized by adopting FPGA programming; ten different instructions are spliced into one instruction by the signal processor, and simultaneously, the instructions are transmitted to each AD acquisition board in groups; each AD acquisition board recognizes corresponding instruction data through a unique board card identification code, and multiple board cards can simultaneously respond to different instructions.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a multi-board card interconnection communication system based on an automatic handshake recognition algorithm.
Background
With the development of large phased array radars and the advent of thousands of array element radars, the number of AD acquisition boards of a digital receiving unit in radar signal processing is continuously increased, and the boards have the same structure and use the same FPGA software. In the radar processing process, a signal processor sends instructions and receives data to each AD acquisition board, and the instruction data sent to each AD acquisition board are inconsistent due to different array element distribution. Because the software of each acquisition board is the same, if the software is transmitted simultaneously, any acquisition board cannot be distinguished or independently controlled. The traditional processing mode is that the signal processing opportunity distinguishes each board card through different optical fiber links, and different instruction data are sequentially sent to each AD acquisition board so as to realize integral response. Assuming that the signal processor takes 0.2us to send out an AD acquisition board instruction, if ten AD acquisition boards exist, ten AD acquisition board instructions need to be sent out after one system instruction is executed, and the time is 2us.
For the mode of sequentially sending instructions to each board, if the number of the boards is more, the instruction executing time of the system is prolonged; and can't realize the simultaneous response of many integrated circuit boards, also can't distinguish or control arbitrary collection board alone, influence radar system's wholeness ability.
Disclosure of Invention
In order to solve the problems in the prior art, the invention discloses a multi-board card interconnection communication system based on an automatic handshake recognition algorithm, which comprises:
a signal processor: the method comprises the steps of splicing a plurality of different instructions into a group-sending instruction, and sending the group-sending instruction to an AD acquisition board according to a rule;
AD acquisition board: the device is used for identifying corresponding instruction data through the unique board card identification codes and returning a processing result;
and (3) an optical fiber module: the optical fiber system comprises an optical fiber hardware link and a three-split optical fiber adapter, wherein the optical fiber hardware link and the three-split optical fiber adapter are used for realizing data transmission between the signal processor and the AD acquisition board;
the group sending instruction and the feedback processing result comprise an idle code and an instruction data frame, wherein the idle code comprises: a K code identifier and a D code identifier;
when the AD acquisition board continuously receives a specified number of idle code D codes, judging that the idle code D codes are uniform and the error code marking signal is always low, and intercepting the high 4 bits of the idle code D codes as the unique identification codes of the AD acquisition board; each AD acquisition board recognizes the instruction through the unique identification code of the AD acquisition board and transmits data back to the signal processor.
The AD acquisition board comprises a receiving end GTX IP core, and the receiving end GTX IP core outputs error code marking signals at regular time; when the error code marking signal is continuously low for 0.2ms, a communication link is established with the signal processor, and the optical fiber normal marking of the AD acquisition board is set to be 1;
when the optical fiber normal mark of the AD acquisition board is 1 and the K code is 4' b0000, receiving group transmission instruction data sent by a signal processor and inputting the group transmission instruction data into the FIFO;
when the AD acquisition board detects that the target identification code in the mass-sending instruction is consistent with the unique identification code of the AD acquisition board, corresponding board card data are read and the mass-sending instruction is responded; and when the target identification code in the mass-sending instruction is zero, all AD acquisition boards respond to the mass-sending instruction simultaneously.
Interface signals gt_rxnon table and gt_rxdisperr provided by the receiving end GTX IP are used for detecting the error code mark signal;
the interface signal gt_rxnottable or gt_rxdisk is 1, which indicates that the data is abnormal, and is 0, which indicates that the data is normal.
The fiber optic hardware link includes: 10 paths of optical fibers leading to the AD acquisition board and 3 paths of optical fibers leading to the signal processor;
the optical fiber leading to the signal processor comprises: and issuing instruction optical fiber and 2 paths of receiving instruction response and data optical fiber.
The K code mark adopts a 4-bit 2-system, and the D code mark adopts a 32-bit 16-system;
-31 of said D code identification: 28], representing the AD acquisition board identification code.
The structure of the instruction data frame in the group sending instruction comprises: frame header, frame sequence number, data length, target identification code, working mode instruction, waveform parameter, array element control instruction, array element control parameter, board card calibration coefficient, board card weight coefficient, accumulation and verification;
the card calibration coefficient and the board weight coefficient correspond to the AD acquisition board.
The structure of the instruction data frame returning the processing result corresponds to the structure of the instruction data frame in the group sending instruction, and the method comprises the following steps: frame header, feedback type, data length, identification code, working state, waveform parameter, array element control instruction, array element control parameter, board card temperature value, board card feedback data, accumulation and verification;
wherein the card calibration coefficient and the board weight coefficient correspond to the AD acquisition board;
the positions of the AD acquisition boards, where the feedback data are written into the instruction data frame of the feedback processing result, correspond to the AD acquisition boards, and in the instruction data frame of the feedback of one AD acquisition board, the positions of the board card feedback data corresponding to the other AD acquisition boards are empty.
And the signal receiver receives the feedback processing results of the AD acquisition boards, and the board feedback data at the corresponding positions are identified according to the identification codes of the AD acquisition boards, so that an instruction data frame of the complete feedback processing results is spliced.
The technical key points of the invention are as follows:
1. the automatic handshake identification algorithm based on FPGA programming is designed, idle codes of multiple boards are set, unique board identification codes are intercepted, each board can identify response instructions according to the unique identification codes, and any acquisition board can be distinguished or independently controlled;
2. a plurality of instructions are spliced into a piece of instruction to be issued, and an identification area is increased to correspond to the identification code;
3. the instruction sending mode is changed from sequential sending to simultaneous group sending, and the response time of the system is reduced.
The invention has the advantages that the automatic handshake recognition algorithm is designed through FPGA programming, the simultaneous mass-sending mode is adopted to send the instruction to each AD acquisition board, the system response time is reduced, any acquisition board can be distinguished or independently controlled, the overall response of the system is realized, the radar signal processing time delay is reduced, and the overall performance of the radar system is improved.
Drawings
FIG. 1 is a block diagram of a multi-board interconnection communication structure provided by an embodiment of the present invention;
fig. 2 is a flowchart of automatically intercepting an identification code by an AD acquisition board according to an embodiment of the present invention;
fig. 3 is a flow chart of an automatic handshake receiving data according to an embodiment of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings, and provides a multi-board interconnection communication system based on an automatic handshake recognition algorithm, as shown in fig. 1, including:
a signal processor: the method comprises the steps of splicing a plurality of different instructions into a group-sending instruction, and sending the group-sending instruction to an AD acquisition board according to a rule;
AD acquisition board: the device is used for identifying corresponding instruction data through the unique board card identification codes and returning a processing result;
and (3) an optical fiber module: the optical fiber system comprises an optical fiber hardware link and a three-split optical fiber adapter, wherein the optical fiber hardware link and the three-split optical fiber adapter are used for realizing data transmission between the signal processor and the AD acquisition board; the fiber optic hardware link includes: 10 paths of optical fibers leading to the AD acquisition board and 3 paths of optical fibers leading to the signal processor; the optical fiber leading to the signal processor comprises: and issuing instruction optical fiber and 2 paths of receiving instruction response and data optical fiber.
In the communication process, the transmission direction of the AD acquisition board to the signal processor is defined as a return direction, and the transmission direction of the signal processor to the AD acquisition board is defined as a issuing direction.
The group sending instruction and the feedback processing result comprise an idle code and an instruction data frame, wherein the idle code comprises: a K code identifier and a D code identifier; the K code mark adopts a 4-bit 2-system, and the D code mark adopts a 32-bit 16-system; wherein D code identifies [31:28], representing the AD acquisition board identification code.
The specific definition of idle code elements of the AD acquisition board and the signal processor is shown in table 1:
table 1 AD acquisition board and signal processor idle symbol definition
When the AD acquisition board continuously receives the specified number of idle code D codes, the idle code D codes are judged to be uniform, error code sign signals are always low, the upper 4 bits of the idle code D codes are intercepted to be used as the unique identification codes of the AD acquisition boards, the intercepting flow is shown in fig. 2, and each AD acquisition board recognizes instructions through the unique identification codes and transmits data back to the signal processor.
The AD acquisition board comprises a receiving end GTX IP core, and the receiving end GTX IP core outputs error code marking signals at regular time; when the error code marking signal is continuously low for 0.2ms, a communication link is established with the signal processor, and the optical fiber normal marking of the AD acquisition board is set to be 1;
interface signals gt_rxnon table and gt_rxdisperr provided by a receiving end GTX IP are used for detecting error code mark signals; the interface signal gt_rxnottable or gt_rxdisk is 1, which indicates that the data is abnormal, and the interface signals are 0, which indicates that the data is normal.
When the optical fiber normal mark of the AD acquisition board is 1 and the K code is 4' b0000, the group transmission instruction data sent by the signal processor is received and input into the FIFO, and the specific automatic handshake AD acquisition board data receiving flow is shown in figure 3;
when the AD acquisition board detects that the target identification code in the mass-sending instruction is consistent with the unique identification code of the AD acquisition board, corresponding board card data are read and the mass-sending instruction is responded; and the target identification code in the mass-sending instruction is all zero, which means that all AD acquisition boards respond to the mass-sending instruction at the same time.
The structure of the instruction data frame in the signal processor group sending instruction comprises: frame header, frame sequence number, data length, target identification code, working mode instruction, waveform parameter, array element control instruction, array element control parameter, board card calibration coefficient, board card weight coefficient, accumulation and verification; the card calibration coefficient and the board weight coefficient correspond to the AD acquisition board.
The structure of the instruction data frame of the AD acquisition board feedback processing result corresponds to the structure of the instruction data frame in the group sending instruction, and the AD acquisition board feedback processing result comprises: frame header, feedback type, data length, identification code, working state, waveform parameter, array element control instruction, array element control parameter, board card temperature value, board card feedback data, accumulation and verification; the card calibration coefficient and the board weight coefficient correspond to the AD acquisition board.
The format of the transmission instruction data frame of the AD acquisition board and the signal processor is shown in table 2:
table 2 AD acquisition board and signal processor transmission instruction data frame format
And the positions of the AD acquisition boards, which transmit back data, in the instruction data frames of the transmission processing results correspond to the AD acquisition boards, and the positions of the board card transmission data corresponding to other AD acquisition boards in the instruction data frames transmitted back by one AD acquisition board are empty.
The signal receiver receives the feedback processing results of the AD acquisition boards, and the board card feedback data at the corresponding positions are identified according to the identification codes of the AD acquisition boards, so that an instruction data frame of the complete feedback processing results is spliced, and the follow-up data processing is facilitated.
The automatic handshake recognition algorithm between the signal processor and the multiple AD acquisition boards is realized through FPGA programming, the signal processor spells a plurality of different instructions into one instruction, and simultaneously sends the instruction to each AD acquisition board in groups, and each AD acquisition board recognizes corresponding instruction data through a unique board card identification code, so that the multiple boards can simultaneously respond to different instructions, the response time of the system is reduced, the signal processing time delay of the radar is reduced, and the integral performance of the radar system is improved.
Claims (8)
1. A multi-board card interconnection communication system based on an automatic handshake recognition algorithm, comprising:
a signal processor: the method comprises the steps of splicing a plurality of different instructions into a group-sending instruction, and sending the group-sending instruction to an AD acquisition board according to a rule;
AD acquisition board: the device is used for identifying corresponding instruction data through the unique board card identification codes and returning a processing result;
and (3) an optical fiber module: the optical fiber system comprises an optical fiber hardware link and a three-split optical fiber adapter, wherein the optical fiber hardware link and the three-split optical fiber adapter are used for realizing data transmission between the signal processor and the AD acquisition board;
the group sending instruction and the feedback processing result comprise an idle code and an instruction data frame, wherein the idle code comprises: a K code identifier and a D code identifier;
when the AD acquisition board continuously receives a specified number of idle code D codes, judging that the idle code D codes are uniform and the error code marking signal is always low, intercepting the high 4 bits of the idle code D codes as the unique identification code of the AD acquisition board; each AD acquisition board recognizes the instruction through the unique identification code of the AD acquisition board and transmits data back to the signal processor.
2. The multi-board card interconnection communication system based on the automatic handshake recognition algorithm according to claim 1, wherein:
the AD acquisition board comprises a receiving end GTX IP core, and the receiving end GTX IP core outputs error code marking signals at regular time; when the error code marking signal is continuously low for 0.2ms, a communication link is established with the signal processor, and the optical fiber normal marking of the AD acquisition board is set to be 1;
when the optical fiber normal mark of the AD acquisition board is 1 and the K code is 4' b0000, receiving group transmission instruction data sent by a signal processor and inputting the group transmission instruction data into the FIFO;
when the AD acquisition board detects that the target identification code in the mass-sending instruction is consistent with the unique identification code of the AD acquisition board, corresponding board card data are read and the mass-sending instruction is responded;
and when the target identification code in the mass-sending instruction is zero, all AD acquisition boards respond to the mass-sending instruction simultaneously.
3. The multi-board interconnection communication system based on the automatic handshake recognition algorithm according to claim 2, wherein the interface signals gt_rxnoticable and gt_rxdisperr provided by the receiving end GTX IP are used for detecting the error code flag signal;
the interface signal gt_rxnottable or gt_rxdisk is 1, which indicates that the data is abnormal, and is 0, which indicates that the data is normal.
4. The multiple board card interconnect communication system based on the automatic handshake recognition algorithm of claim 1, wherein the fiber optic hardware link comprises: 10 paths of optical fibers leading to the AD acquisition board and 3 paths of optical fibers leading to the signal processor;
the optical fiber leading to the signal processor comprises: and issuing instruction optical fiber and 2 paths of receiving instruction response and data optical fiber.
5. The multi-board card interconnection communication system based on the automatic handshake recognition algorithm according to claim 1, wherein the K code identifier adopts a 2-ary system of 4 bits, and the D code identifier adopts a 16-ary system of 32 bits;
-31 of said D code identification: 28], representing the AD acquisition board identification code.
6. The multiple board card interconnection communication system based on the automatic handshake recognition algorithm according to claim 1, wherein the structure of the instruction data frame in the group instruction comprises: frame header, frame sequence number, data length, target identification code, working mode instruction, waveform parameter, array element control instruction, array element control parameter, board card calibration coefficient, board card weight coefficient, accumulation and verification;
the card calibration coefficient and the board weight coefficient correspond to the AD acquisition board.
7. The multi-board interconnection communication system based on the automatic handshake recognition algorithm according to claim 1, wherein the structure of the instruction data frame of the feedback processing result corresponds to the structure of the instruction data frame in the group instruction, and the method comprises: frame header, feedback type, data length, identification code, working state, waveform parameter, array element control instruction, array element control parameter, board card temperature value, board card feedback data, accumulation and verification;
wherein the card calibration coefficient and the board weight coefficient correspond to the AD acquisition board;
the positions of the AD acquisition boards, where the feedback data are written into the instruction data frame of the feedback processing result, correspond to the AD acquisition boards, and in the instruction data frame of the feedback of one AD acquisition board, the positions of the board card feedback data corresponding to the other AD acquisition boards are empty.
8. The system of claim 7, wherein the signal receiver receives the feedback processing results from the plurality of AD acquisition boards, and identifies the corresponding location of the board feedback data according to the AD acquisition board identification code, and splices the corresponding location of the board feedback data into a complete command data frame of the feedback processing results.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311717972.8A CN117666918A (en) | 2023-12-13 | 2023-12-13 | Multi-board-card interconnection communication system based on automatic handshake recognition algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311717972.8A CN117666918A (en) | 2023-12-13 | 2023-12-13 | Multi-board-card interconnection communication system based on automatic handshake recognition algorithm |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117666918A true CN117666918A (en) | 2024-03-08 |
Family
ID=90076900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311717972.8A Pending CN117666918A (en) | 2023-12-13 | 2023-12-13 | Multi-board-card interconnection communication system based on automatic handshake recognition algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117666918A (en) |
-
2023
- 2023-12-13 CN CN202311717972.8A patent/CN117666918A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1320004C (en) | Hybrid communications link adapter incorporating input/output and data communications technology | |
EP0522764B1 (en) | Multiplexing scheme for modem control signals | |
EP0076845B1 (en) | Data processing system including subsystems having local memories | |
US20050160212A1 (en) | Method and device for transmitting data | |
CN1573723B (en) | Method and apparatus for communication via serial multi-port | |
CN103368643A (en) | Method, system and device for detecting optical fiber link | |
US8089372B2 (en) | Method for transmission of data for controlling an HVDC transmission installation | |
JPS6041846A (en) | Transparent interface unit | |
CN111475431A (en) | Mainboard, backboard, identification system and identification method | |
EP0100655A2 (en) | Data flow control system | |
CN111538689A (en) | Multi-channel PCIE (peripheral component interface express) adapter card with two heterogeneous ends | |
CN100365602C (en) | Apparatus for realizing access of driven devices on a unified bus by a plurality of active devices | |
CN110824387A (en) | Device and method for detecting cable connection | |
CN1934558A (en) | Signaling arrangement and approach therefor | |
CN117666918A (en) | Multi-board-card interconnection communication system based on automatic handshake recognition algorithm | |
US20050138217A1 (en) | Bus interface for optical transceiver devices | |
US6154584A (en) | Optical analyzer with variable attenuators at inputs and outputs | |
CN101127787A (en) | Memory device positioning device and method in data storage system | |
EP0055741B1 (en) | Input/output system and method of communication for peripheral devices in data processing system | |
CN110737627A (en) | data processing method, device and storage medium | |
Mackay et al. | Practical Data Communications for Instrumentation and Control | |
CN214473764U (en) | Board card detection system | |
CN117667818B (en) | Signal transmission structure, server and signal transmission method | |
CN100456273C (en) | PCI-Express communications system | |
US20030121977A1 (en) | Data collection system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |