A multi-board interconnection communication system based on an automatic handshake identification algorithm
By using an automatic handshake recognition algorithm designed with FPGA programming and fiber optic module transmission, the problem of instruction extension in multi-board systems was solved, enabling simultaneous response and individual control of multiple boards, thus improving the performance of the radar system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUIZHOU AEROSPACE ELECTRONICS TECH CO LTD
- Filing Date
- 2023-12-13
- Publication Date
- 2026-07-31
AI Technical Summary
In existing technologies, the increased number of circuit boards leads to longer command transmission times, making it impossible to achieve simultaneous response and individual control of multiple circuit boards, thus affecting the performance of the radar system.
An automatic handshake recognition algorithm based on FPGA programming is adopted. By setting the idle code and unique identification code of multiple boards, the group sending and response of commands are realized. Data transmission is carried out using fiber optic modules, and each AD acquisition board is distinguished and controlled individually.
This reduced system response time, enabled simultaneous response from multiple boards, and improved the overall performance of the radar system.
Smart Images

Figure CN117666918B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, specifically to a multi-board interconnection communication system based on an automatic handshake recognition algorithm. Background Technology
[0002] With the development of large phased array radars and the emergence of radars with thousands of array elements, the number of AD acquisition boards in digital receiving units (DRIs) for radar signal processing is constantly increasing. These boards have identical structures and use the same FPGA software. During radar processing, the signal processor sends commands and receives data to each AD acquisition board. Due to the different array element distributions, the command data sent to each AD acquisition board is inconsistent. Since each acquisition board uses the same software, if commands are sent simultaneously, it is impossible to distinguish or individually control any one board. The traditional approach is for the signal processor to use different fiber optic links to distinguish each board and send different command data to each AD acquisition board sequentially to achieve an overall response. Assuming the signal processor takes 0.2µs to send one AD acquisition board command, if there are ten AD acquisition boards, executing one system command requires sending ten AD acquisition board commands, taking 2µs.
[0003] Sending commands to each board sequentially can lead to longer command execution time if there are many boards. Furthermore, it makes it impossible for multiple boards to respond simultaneously, and it also makes it impossible to distinguish or control any single acquisition board, thus affecting the overall performance of the radar system. Summary of the Invention
[0004] To address the problems existing in the prior art, this invention discloses a multi-board interconnection communication system based on an automatic handshake recognition algorithm, comprising: Signal processor: used to combine multiple different instructions into a single batch instruction, and send the batch instruction to the AD acquisition board according to the rules; AD acquisition board: Used to identify the corresponding instruction data through its unique board identification code and send back the processing results; Fiber optic module: includes fiber optic hardware link and three-way fiber optic adapter, used to realize data transmission between the signal processor and the AD acquisition board; The mass sending command and the feedback processing result include an idle code and a command data frame. The idle code includes: a K code identifier and a D code identifier. When the AD acquisition board continuously receives a specified number of idle codes D, it determines that all the idle codes D are consistent and the error flag signal is always low. It then extracts the high 4 bits of the idle codes D as its own unique identification code. Each AD acquisition board uses its own unique identification code to identify instructions and transmit data back to the signal processor.
[0005] The AD acquisition board includes a receiver GTX IP core, which outputs a bit error flag signal at regular intervals. When the bit error flag signal is low for 0.2ms continuously, a communication link is established with the signal processor, and the optical fiber normal flag of the AD acquisition board is set to 1. When the optical fiber normal flag of the AD acquisition board is 1 and the K code is 4'b0000, the data of the mass transmission command sent by the signal processor is input into the FIFO. When the AD acquisition board detects that the target identification code in the mass transmission command matches its own unique identification code, it reads the corresponding board data and responds to the mass transmission command; when the target identification code in the mass transmission command is all zeros, it means that all AD acquisition boards respond to the mass transmission command simultaneously.
[0006] The interface signals gt_rxnotintable and gt_rxdisperr provided by the receiver GTX IP are used for the detection of the bit error flag signal. When the interface signal gt_rxnotintable or gt_rxdisperr is 1, it indicates that the data is abnormal; when both are 0, it indicates that the data is normal.
[0007] The fiber optic hardware link includes: 10 optical fibers leading to the AD acquisition board and 3 optical fibers leading to the signal processor; The optical fiber leading to the signal processor includes: a command-issuing optical fiber and two command-response and data-receiving optical fibers.
[0008] The K code identifier uses 4 bits of binary, and the D code identifier uses 32 bits of hexadecimal; The D code [31:28] indicates the AD acquisition board identification code.
[0009] The structure of the instruction data frame in the mass transmission command includes: frame header, frame column number, data length, target identification code, working mode command, waveform parameters, array element control command, array element control parameters, board calibration coefficient, board weight coefficient, and cumulative checksum. The board calibration coefficient and board weight coefficient correspond to the AD acquisition board.
[0010] The structure of the instruction data frame for the feedback processing result corresponds to the structure of the instruction data frame in the mass transmission instruction, including: frame header, feedback type, data length, identification code, working status, waveform parameters, array element control instruction, array element control parameters, board temperature value, board feedback data, accumulation and verification. The position in the instruction data frame of the feedback processing result written by the AD acquisition board corresponds to each AD acquisition board itself. In the instruction data frame fed back by one AD acquisition board, the corresponding board data positions of other AD acquisition boards are empty.
[0011] The signal receiver receives the feedback processing results from multiple AD acquisition boards, identifies the corresponding board feedback data according to the AD acquisition board identification code, and splices them into a complete instruction data frame of feedback processing results.
[0012] The key technical point of this invention is: 1. Design of automatic handshake recognition algorithm based on FPGA programming, setting of idle code for multiple boards, interception of unique board identification code, each board recognizes and responds to the command based on its own unique identification code, and can distinguish or control any acquisition board individually. 2. Multiple instructions are concatenated into one and issued, increasing the correspondence between the recognition area and the identification code; 3. The command sending method has been changed from sequential sending to simultaneous group sending, reducing system response time.
[0013] The beneficial effects of this invention are that by designing an automatic handshake recognition algorithm through FPGA programming, instructions are sent to each AD acquisition board in a simultaneous group sending manner, reducing system response time. It can also distinguish or control any acquisition board individually to achieve the overall response of the system, thereby reducing radar signal processing latency and improving the overall performance of the radar system. Attached Figure Description
[0014] Figure 1 This is a block diagram of a multi-board interconnection communication structure provided in an embodiment of the present invention; Figure 2 This is a flowchart of the automatic capture and identification code extraction process of the AD acquisition board provided in an embodiment of the present invention; Figure 3 This is a flowchart illustrating the automatic handshake data reception process provided in an embodiment of the present invention. Detailed Implementation
[0015] The invention will be further described below with reference to the accompanying drawings. The invention provides a multi-board interconnection communication system based on an automatic handshake identification algorithm, such as... Figure 1 As shown, it includes: Signal processor: used to combine multiple different instructions into a single batch instruction, and send the batch instruction to the AD acquisition board according to the rules; AD acquisition board: Used to identify the corresponding instruction data through its unique board identification code and send back the processing results; Fiber optic module: includes fiber optic hardware links and three-way fiber optic adapters, used to realize data transmission between the signal processor and the AD acquisition board; the fiber optic hardware links include: 10 optical fibers leading to the AD acquisition board and 3 optical fibers leading to the signal processor; the optical fibers leading to the signal processor include: a command-issuing optical fiber and 2 command-response and data-receiving optical fibers.
[0016] During communication, the direction of transmission from the AD acquisition board to the signal processor is defined as the return direction, and the direction of transmission from the signal processor to the AD acquisition board is defined as the downlink direction.
[0017] The batch sending instructions and the feedback processing results include idle codes and instruction data frames. The idle codes include: K code identifier and D code identifier; the K code identifier uses 4 bits of binary and the D code identifier uses 32 bits of hexadecimal; among them, [31:28] of the D code identifier represents the AD acquisition board identification code.
[0018] The specific definitions of idle symbols of the AD acquisition board and signal processor are shown in Table 1: Table 1 Definition of Idle Symbols for AD Acquisition Board and Signal Processor
[0019] When the AD acquisition board continuously receives a specified number of idle codes D, it determines that all idle codes D are identical and the error flag signal is always low. It then extracts the high 4 bits of the idle codes D as its unique identification code. The extraction process is detailed below. Figure 2 Each AD acquisition board identifies commands and transmits data back to the signal processor using its unique identification code.
[0020] The AD acquisition board includes a receiver GTX IP core, which outputs a bit error flag signal at regular intervals. When the bit error flag signal is low for 0.2ms continuously, a communication link is established with the signal processor, and the optical fiber normal flag of the AD acquisition board is set to 1. The interface signals gt_rxnotintable and gt_rxdisperr provided by the GTX IP at the receiving end are used for error flag signal detection; when the interface signal gt_rxnotintable or gt_rxdisperr is 1, it indicates that the data is abnormal, and when both are 0, it indicates that the data is normal.
[0021] When the fiber optic normal flag of the AD acquisition board is 1 and the K code is 4'b0000, the group transmission command data sent by the signal processor is input into the FIFO. The specific automatic handshake AD acquisition board data reception process is as follows: Figure 3 As shown; When the AD acquisition board detects that the target identification code in the mass transmission command matches its own unique identification code, it reads the corresponding board data and responds to the mass transmission command; if the target identification code in the mass transmission command is all zeros, it means that all AD acquisition boards respond to the mass transmission command simultaneously.
[0022] The structure of the instruction data frame in the signal processor's group transmission instructions includes: frame header, frame column number, data length, target identification code, working mode instruction, waveform parameters, array element control instruction, array element control parameters, board calibration coefficient, board weight coefficient, and accumulation and verification; among which, the board calibration coefficient and board weight coefficient correspond to the AD acquisition board.
[0023] The structure of the instruction data frame that transmits the processing results back from the AD acquisition board corresponds to the structure of the instruction data frame in the mass transmission instruction, including: frame header, transmission type, data length, identification code, working status, waveform parameters, array element control instructions, array element control parameters, board temperature value, board transmission data, accumulation and verification.
[0024] The format of the instruction data frame transmitted between the AD acquisition board and the signal processor is shown in Table 2. Table 2. Data Frame Format for Transmission Commands Between AD Acquisition Board and Signal Processor
[0025] The position in the instruction data frame of the feedback processing result written by the AD acquisition board corresponds to each AD acquisition board itself. In the instruction data frame fed back by one AD acquisition board, the corresponding board data positions of other AD acquisition boards are empty.
[0026] The signal receiver receives the feedback processing results from multiple AD acquisition boards, identifies the corresponding board feedback data according to the AD acquisition board identification code, and splices them into a complete feedback processing result instruction data frame for subsequent data processing.
[0027] An automatic handshake recognition algorithm is implemented between the signal processor and multiple AD acquisition boards through FPGA programming. The signal processor combines multiple different instructions into one instruction and sends it to each AD acquisition board simultaneously. Each AD acquisition board identifies the corresponding instruction data through its unique board identification code, which enables multiple boards to respond to different instructions at the same time, reducing system response time, thereby reducing radar signal processing latency and improving the overall performance of the radar system.
Claims
1. A multi-board interconnection communication system based on an automatic handshake recognition algorithm, characterized in that, include: Signal processor: Used to combine multiple different instructions into a single batch instruction, and send the batch instruction to the AD acquisition board according to the rules; AD acquisition board: Used to identify the corresponding instruction data through its unique board identification code and send back the processing results; Fiber optic module: includes fiber optic hardware link and three-way fiber optic adapter, used to realize data transmission between the signal processor and the AD acquisition board; The mass sending command and the feedback processing result include an idle code and a command data frame. The idle code includes: a K code identifier and a D code identifier. When the AD acquisition board continuously receives a specified number of idle codes D, and determines that all the idle codes D are consistent and the error flag signal is always low, the high 4 bits of the idle code D are extracted as the unique identification code of the AD acquisition board itself; each AD acquisition board uses its own unique identification code to identify the instruction and transmit data back to the signal processor.
2. The multi-board interconnection communication system based on the automatic handshake recognition algorithm according to claim 1, characterized in that: The AD acquisition board includes a receiver GTX IP core, which outputs a bit error flag signal at regular intervals. When the bit error flag signal is low for 0.2ms continuously, a communication link is established with the signal processor, and the optical fiber normal flag of the AD acquisition board is set to 1. When the optical fiber normal flag of the AD acquisition board is 1 and the K code is 4'b0000, the data of the mass transmission command sent by the signal processor is input into the FIFO. When the AD acquisition board detects that the target identification code in the mass transmission command matches its own unique identification code, it reads the corresponding board data and responds to the mass transmission command. When the target identification code in the mass transmission command is all zeros, it means that all AD acquisition boards respond to the mass transmission command simultaneously.
3. The multi-board interconnection communication system based on the automatic handshake recognition algorithm according to claim 2, characterized in that, The interface signals gt_rxnotintable and gt_rxdisperr provided by the receiver GTX IP are used for the detection of the bit error flag signal. When the interface signal gt_rxnotintable or gt_rxdisperr is 1, it indicates that the data is abnormal; when both are 0, it indicates that the data is normal.
4. The multi-board interconnection communication system based on the automatic handshake identification algorithm according to claim 1, characterized in that, The fiber optic hardware link includes: 10 optical fibers leading to the AD acquisition board and 3 optical fibers leading to the signal processor; The optical fiber leading to the signal processor includes: a command-issuing optical fiber and two command-response and data-receiving optical fibers.
5. The multi-board interconnection communication system based on the automatic handshake recognition algorithm according to claim 1, characterized in that, The K code identifier uses 4 bits of binary, and the D code identifier uses 32 bits of hexadecimal; The D code [31:28] indicates the AD acquisition board identification code.
6. The multi-board interconnection communication system based on the automatic handshake identification algorithm according to claim 1, characterized in that, The structure of the instruction data frame in the mass transmission command includes: frame header, frame column number, data length, target identification code, working mode command, waveform parameters, array element control command, array element control parameters, board calibration coefficient, board weight coefficient, and cumulative checksum. The board calibration coefficient and 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, characterized in that, The structure of the instruction data frame for the feedback processing result corresponds to the structure of the instruction data frame in the mass transmission instruction, including: frame header, feedback type, data length, identification code, working status, waveform parameters, array element control instruction, array element control parameters, board temperature value, board feedback data, accumulation and verification. The position in the instruction data frame of the feedback processing result written by the AD acquisition board corresponds to each AD acquisition board itself. In the instruction data frame fed back by one AD acquisition board, the corresponding board data positions of other AD acquisition boards are empty.
8. The multi-board interconnection communication system based on the automatic handshake recognition algorithm according to claim 7, characterized in that, The signal receiver receives the feedback processing results from multiple AD acquisition boards, identifies the corresponding board feedback data according to the AD acquisition board identification code, and splices them into a complete instruction data frame of feedback processing results.