Multi-channel target security window adaptive adjustment method and system
Through the multi-channel target security window adaptive adjustment method, the problem of multi-channel data desynchronization caused by changes in transmission link delay in the JESD204B protocol is solved, synchronization and calibration of data transmission are achieved, and the anti-interference ability and IO resources of the system are improved. Utilization.
Patent Information
- Application Number
- CN202310399394.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2024-10-18
AI Technical Summary
In multi-channel signal processing technology, the change in transmission link delay of the JESD204B high-speed serial interface protocol causes the problem of asynchronous reception of data between multiple channels.
Using the multi-channel target security window adaptive adjustment method, by determining the appropriate transmission line rate, multi-frame clock cycle and sysref, adjust the SYSREF DELAY value so that the BUF_FILL value falls within the target security window to ensure the consistency of the data transmission links of all lanes .
It realizes a solution for data synchronization between multiple channels in high-speed data transmission, simplifies the synchronization and calibration process, and improves the system's anti-interference ability and IO resource utilization.
Smart Images

Figure CN118796744A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of multi-channel signal processing, and in particular to a multi-channel target safety window adaptive adjustment method and system. Background Art
[0002] In the field of electronic countermeasures, multi-channel signal processing technology is becoming more and more mature, the electromagnetic environment is becoming more and more complex, and reconnaissance receivers are also developing towards large instantaneous bandwidth, high sensitivity, and miniaturization. The improvement of instantaneous bandwidth will inevitably require a higher sampling rate, and the sampling clock frequency and data output processing speed also need to be improved accordingly. Traditional multi-channel signal processing technology uses multi-line parallel transmission technology when transmitting high-speed data. The use of multi-line parallel transmission increases the difficulty of PCB layout and wiring design, deteriorates anti-interference ability, and requires a large amount of IO resources. At the same time, complex wiring is not conducive to miniaturization design.
[0003] The high-speed serial interface protocol JESD204B is widely used in ADC data transmission. Compared with traditional parallel transmission, it has the advantages of fast transmission speed, less IO resource occupation, and no need to provide data clock separately. It will definitely replace the traditional data transmission interface in the future. JESD204 has gone through three generations of development. The JESD204B protocol is developed from JESD204 and JESD204A. JESD204B adds a deterministic delay function on the basis of the first two generations. Due to the introduction of this function, JESD204B is widely used in engineering projects other than ADC signal acquisition, especially in the field of multi-channel signal processing technology, because in the field of multi-channel signal processing, there are mostly requirements for data synchronization between channels. With the deterministic delay function, the synchronization and correction process can be simplified when performing synchronization or phase calibration at the back end.
[0004] Although the JESD204B high-speed serial interface protocol has advantages such as fast speed and deterministic delay, there are factors of uncertain delay in the transmission link. The so-called uncertain delay is mainly reflected in the re-establishment of the transmission link or when the device is powered on at different times, the receiving end of JESD204B may receive data in a non-safe window, that is, receive data at the edge of the local multi-frame clock cycle, resulting in inconsistent data release time after the transmission link is established, and the data received between different channels is not the data released in the same multi-frame cycle. However, at different stages of device development, there may be differences in the transmission link. After the device is transferred, the transmission link delay changes, which will cause the data received between multiple channels to be asynchronous. Summary of the invention
[0005] The present application provides a multi-channel target security window adaptive adjustment method and system, which can be used to solve the technical problem that during the multi-channel transmission of the JESD204B high-speed serial interface protocol, the transmission link delay transmission changes, which will cause the received data between multiple channels to be asynchronous.
[0006] The present application provides a multi-channel target security window adaptive adjustment method, the method comprising:
[0007] Step 1: According to the JESD204B high-speed data transmission protocol, select the appropriate transmission line rate, multi-frame clock period, sysref and device clock to determine the system clock management solution; where the device clock is 1 / 40 of the serial transmission line rate.
[0008] Step 2: According to the selected clock management scheme, determine the byte number MF of a multiframe; the byte number of a multiframe represents the product of the number of frames K in a multiframe and the number of frame bytes F, and the number of frames K in a multiframe must make MF not less than 32;
[0009] Step 3: Determine the scope of the target security window TW;
[0010] Perform steps 4 to 6 for all lanes in the system:
[0011] Step 4: After the system is powered on and the JESD204B high-speed transmission links of all lanes are established, read the BUF_FILL register value of the JESD204B receiving core BUFFER ADJUST;
[0012] Step 5: Determine whether the BUF_FILL value of the receiving core falls within the target security window. If the BUF_FILL value is within the target security window, read and record the SYSREF DELAY value of the SYSREF HANDING register of the lane. If the BUF_FILL value is not within the target security window, execute step 6 to adjust the BUF_FILL value to fall within the target security window.
[0013] Step 6. According to the position indicated by the current target security window, read the current value SYSREF DELAY of the SYSREF HANDING register, reduce the SYSREF DELAY value to shift the target security window to the left, increase the SYSREF DELAY value to shift the target security window to the right, modify the SYSREF DELAY value until the value of BUF_FILL falls within the security window, and record the SYSREF DELAY value of the lane at this time.
[0014] Step 7: Perform steps 4 to 6 on all lanes in the system, so that the BUF_FILL values of all JESD204B receiving cores in the system fall within the target security window. The main control processing board stores the SYSREF DELAY values of all corresponding lanes and resets all JESD204B linked receiving cores in the system.
[0015] Optionally, the number of bytes MF of a multiframe is determined by:
[0016] MF=K*F (1)
[0017] Where K represents the number of frames in a multiframe and F represents the number of frame bytes; MF ≥ 32.
[0018] Optionally, the range of the target security window TW satisfies the following conditions:
[0019] min≤TW≤max (2)
[0020] Where TW range is the target safety window range, min represents the minimum value of the target safety window, and max represents the maximum value of the target safety window.
[0021] The present application also provides a multi-channel target security window adaptive adjustment system, the system comprising:
[0022] Data acquisition board, signal processing board, main control processing board, signal fusion board and motherboard;
[0023] Among them, each data acquisition board includes multiple ADs, FPGAs, LMK04828s and optical modules connected in sequence; ADs are used to sample and quantize intermediate frequency signals, FPGAs are used to receive sampled data and send them to the signal processing board through optical modules using the JESD204B protocol, and LMK04828s are used to receive the clock signal of the main control processing board to realize on-board clock distribution management;
[0024] The signal processing board includes multiple optical modules, FPGA and optical modules connected in sequence; the FPGA receives the sampled data from the data acquisition board through the optical module, and after completing channelization and signal detection, forms information such as pulse description words (PDW). The signal processing board sends the PDW information to the signal fusion board through the JESD204B protocol. LMK04828 is used to receive the clock signal of the main control processing board to realize on-board clock distribution management;
[0025] The structure of the signal fusion board is consistent with that of the signal processing board, and is used to receive the pre-processing information of the signal processing board to implement parameter fusion processing;
[0026] The main control board includes the chip LMK04828, CPU and FPGA; the main control board is used to control the system and provide external interfaces;
[0027] LMK04828LMK04828 is used to receive the clock signal of the main control processing board to realize the on-board clock distribution management, and generate clocks to distribute to the data acquisition board, signal processing board and signal fusion board respectively, so as to realize the homologous clock distribution management and control of the system;
[0028] The motherboard is used to complete the signal interconnection between various boards. There are multiple data acquisition board slots and multiple signal processing board slots on the motherboard, which are used to realize the interconnection between multiple data acquisition boards and multiple signal processing boards;
[0029] All high-speed data transmission in the system adopts the JESD204B transmission protocol.
[0030] Optionally, the JESD204B between the data acquisition board and the signal processing board adopts 6 lanes transmission. Compared with the prior art, the present application has the following significant advantages:
[0031] (1) The multi-channel target safety window adaptive adjustment method and system used in this application has a simple algorithm and is easy to implement in engineering, solving the deterministic delay problem of the JESD204B high-speed data transmission link in a multi-channel signal processing system;
[0032] (2) The multi-channel target security window adaptive adjustment method and system used in this application has strong adaptive capability and can adaptively complete the retraining of the SYSREF DELAY value when the high-speed transmission link changes;
[0033] (3) The present application is flexible in design and highly automated. When the system detects a change in the target security window, the main control processing board can automatically train the SYSREF DELAY value. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is an implementation block diagram of a multi-channel target security window adaptive adjustment method and system provided in an embodiment of the present application;
[0035] Figure 2 is a clock distribution management topology block diagram provided in an embodiment of the present application;
[0036] Figure 3 It is a flowchart of a multi-channel target security window adaptive adjustment method and system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0038] The following first introduces possible system architectures applicable to the embodiments of the present application in conjunction with the accompanying drawings.
[0039] The present application provides a multi-channel target security window adaptive adjustment method, the method comprising:
[0040] Step 1: According to the JESD204B high-speed data transmission protocol, select the appropriate transmission line rate (lane_rate), multi-frame clock period (LMFC, including the number of bytes per frame F, the number of frames per multi-frame K, and the converter resolution N), sysref and device clock to determine the system clock management solution; where the device clock is 1 / 40 of the serial transmission line rate,
[0041]
[0042] Step 2: According to the selected clock management scheme, determine the byte number MF of a multiframe; the byte number of a multiframe represents the product of the number of frames K in a multiframe and the number of frame bytes F, and the number of frames K in a multiframe must make MF not less than 32. Specifically, the byte number MF of a multiframe is determined by the following method:
[0043] MF=K*F (1)
[0044] Wherein K represents the number of frames in a multi-frame, and the present invention takes a value of 4 as an example; F represents the number of frame bytes, and the present invention takes a value of 20 as an example; MF≥32.
[0045] Step 3: Determine the range of the target security window TW; the maximum value of the target security window shall not be greater than the number of bytes of a multi-frame MF minus 8, and the minimum value shall not be less than 2 core clock cycles, that is, not less than 8.
[0046] Specifically, the range of the target security window TW satisfies the following conditions:
[0047] min≤TW≤max (2)
[0048] Wherein, TW range is the target security window range, min represents the minimum value of the target security window, and the value of the present invention is 8; max represents the maximum value of the target security window, and the value of the present invention is (MF-8=72).
[0049] Perform the following steps for all lanes in the system:
[0050] Step 4: After the system is powered on and the JESD204B high-speed transmission links of all lanes are established, read the BUF_FILL register value of the JESD204B receiving core BUFFER ADJUST.
[0051] Step 5: Determine whether the BUF_FILL value of the receiving core falls within the target security window. If the BUF_FILL value is within the target security window, read and record the SYSREF DELAY value of the SYSREF HANDING register of the lane. If the BUF_FILL value is not within the target security window, execute step 6 to adjust the BUF_FILL value to fall within the target security window.
[0052] Step 6. According to the position indicated by the current target security window, read the current value SYSREF DELAY of the SYSREF HANDING register, reduce the SYSREF DELAY value to shift the target security window to the left, increase the SYSREF DELAY value to shift the target security window to the right, modify the SYSREF DELAY value until the value of BUF_FILL falls within the security window, and record the SYSREF DELAY value of the lane at this time.
[0053] Step 7: Perform steps 4 to 6 on all lanes in the system, so that the BUF_FILL values of all JESD204B receiving cores in the system fall within the target security window. The main control processing board stores the SYSREF DELAY values of all corresponding lanes and resets all JESD204B linked receiving cores in the system.
[0054] When the high-speed transmission link does not change, after each power-on startup of the system, the main control processing board reads the stored SYSREF DELAY value and completes the setting of the corresponding SYSREF HANDING register value, and then completes the reset operation of the JESD204B receiving core. After the link is re-established, a multi-channel high-speed data transmission deterministic delay system can be implemented; if the high-speed transmission link sends changes, the SYSREF DELAY value can be adaptively retrained according to steps 4 to 7.
[0055] The present application also provides a multi-channel target security window adaptive adjustment system, the system comprising:
[0056] Data acquisition board, signal processing board, main control processing board, signal fusion board and motherboard;
[0057] Among them, each data acquisition board includes multiple ADs, FPGAs, LMK04828s and optical modules connected in sequence; ADs are used to sample and quantize intermediate frequency signals, FPGAs are used to receive sampled data and send them to the signal processing board through optical modules using the JESD204B protocol, and LMK04828s are used to receive the clock signal of the main control processing board to realize on-board clock distribution management;
[0058] The signal processing board includes multiple optical modules, FPGA and optical modules connected in sequence; the FPGA receives the sampled data from the data acquisition board through the optical module, and after completing channelization and signal detection, forms information such as pulse description words (PDW). The signal processing board sends the PDW information to the signal fusion board through the JESD204B protocol. LMK04828 is used to receive the clock signal of the main control processing board to realize on-board clock distribution management;
[0059] The structure of the signal fusion board is consistent with that of the signal processing board, and is used to receive the pre-processing information of the signal processing board to implement parameter fusion processing;
[0060] The main control board includes the chip LMK04828, CPU and FPGA; the main control board is used to control the system and provide external interfaces;
[0061] LMK04828LMK04828 is used to receive the clock signal of the main control processing board to realize the on-board clock distribution management, and generate clocks to distribute to the data acquisition board, signal processing board and signal fusion board respectively, so as to realize the homologous clock distribution management and control of the system;
[0062] The motherboard is used to complete the signal interconnection between various boards. There are multiple data acquisition board slots and multiple signal processing board slots on the motherboard, which are used to realize the interconnection between multiple data acquisition boards and multiple signal processing boards;
[0063] All high-speed data transmission in the system adopts the JESD204B transmission protocol.
[0064] The JESD204B between the data acquisition board and the signal processing board uses 6 lanes transmission.
[0065] Compared with the prior art, the present application has the following significant advantages:
[0066] (1) The multi-channel target safety window adaptive adjustment method and system used in this application has a simple algorithm and is easy to implement in engineering, solving the deterministic delay problem of the JESD204B high-speed data transmission link in a multi-channel signal processing system;
[0067] (2) The multi-channel target security window adaptive adjustment method and system used in this application has strong adaptive capability and can adaptively complete the retraining of the SYSREF DELAY value when the high-speed transmission link changes;
[0068] (3) The present application is flexible in design and highly automated. When the system detects a change in the target security window, the main control processing board can automatically train the SYSREF DELAY value.
[0069] The above-described embodiments of the present application do not constitute a limitation on the protection scope of the present application.
Claims
1. A multi-channel target security window adaptive adjustment method, characterized in that: The method comprises: Step 1: According to the JESD204B high-speed data transmission protocol, select the appropriate transmission line rate, multi-frame clock period, sysref and deviceclock, and determine the system clock management solution; where deviceclock is 1 / 40 of the serial transmission line rate. Step 2: According to the selected clock management scheme, determine the byte number MF of a multiframe; the byte number of a multiframe represents the product of the number of frames K in a multiframe and the number of frame bytes F, and the number of frames K in a multiframe must make MF not less than 32; Step 3: Determine the scope of the target security window TW; Perform steps 4 to 6 for all lanes in the system: Step 4: After the system is powered on and the JESD204B high-speed transmission links of all lanes are established, read the BUF_FILL register value of the JESD204B receiving core BUFFERADJUST; Step 5: Determine whether the BUF_FILL value of the receiving core falls within the target security window. If the BUF_FILL value is within the target security window, read and record the SYSREFDELAY value of the SYSREFHANDING register of the lane. If the BUF_FILL value is not within the target security window, execute step 6 to adjust the BUF_FILL value to fall within the target security window. Step 6. According to the position indicated by the current target security window, read the current value SYSREF DELAY of the SYSREFHANDING register, reduce the SYSREFDELAY value to move the target security window to the left, increase the SYSREFDELAY value to move the target security window to the right, modify the SYSREFDELAY value until the value of BUF_FILL falls within the security window, and record the SYSREF DELAY value of the lane at this time. Step 7: Perform steps 4 to 6 on all lanes in the system, so that the BUF_FILL values of all JESD204B receiving cores in the system fall within the target security window. The main control processing board stores the SYSREFDELAY values of all corresponding lanes and resets all JESD204B linked receiving cores in the system.
2. The method according to claim 1, characterized in that The number of bytes MF of a multiframe is determined as follows: MF=K*F(1) Where K represents the number of frames in a multiframe and F represents the number of frame bytes; MF ≥ 32.
3. The method according to claim 1, characterized in that The range of the target safety window TW satisfies the following conditions: min≤TW≤max(2) Where TW range is the target safety window range, min represents the minimum value of the target safety window, and max represents the maximum value of the target safety window.
4. A multi-channel target security window adaptive adjustment system, characterized in that: The system comprises: Data acquisition board, signal processing board, main control processing board, signal fusion board and motherboard; Among them, each data acquisition board includes multiple ADs, FPGAs, LMK04828s and optical modules connected in sequence; ADs are used to sample and quantize intermediate frequency signals, FPGAs are used to receive sampled data and send them to the signal processing board through optical modules using the JESD204B protocol, and LMK04828s are used to receive the clock signal of the main control processing board to realize on-board clock distribution management; The signal processing board includes multiple optical modules, FPGA and optical modules connected in sequence; the FPGA receives the sampled data from the data acquisition board through the optical module, and after completing channelization and signal detection, forms information such as pulse description words (PDW). The signal processing board sends the PDW information to the signal fusion board through the JESD204B protocol. LMK04828 is used to receive the clock signal of the main control processing board to realize on-board clock distribution management; The structure of the signal fusion board is consistent with that of the signal processing board, and is used to receive the pre-processing information of the signal processing board to implement parameter fusion processing; The main control board includes the chip LMK04828, CPU and FPGA; the main control board is used to control the system and provide external interfaces; LMK04828LMK04828 is used to receive the clock signal of the main control processing board to realize the on-board clock distribution management, and generate clocks to distribute to the data acquisition board, signal processing board and signal fusion board respectively, so as to realize the homologous clock distribution management and control of the system; The motherboard is used to complete the signal interconnection between various boards. There are multiple data acquisition board slots and multiple signal processing board slots on the motherboard, which are used to realize the interconnection between multiple data acquisition boards and multiple signal processing boards; All high-speed data transmission in the system adopts the JESD204B transmission protocol.
5. The system according to claim 4, characterized in that The JESD204B between the data acquisition board and the signal processing board uses 6 lanes transmission.
