CN102608579A - SAR (synthetic aperture radar) data receiving and processing system and method - Google Patents

SAR (synthetic aperture radar) data receiving and processing system and method Download PDF

Info

Publication number
CN102608579A
CN102608579A CN2012100517447A CN201210051744A CN102608579A CN 102608579 A CN102608579 A CN 102608579A CN 2012100517447 A CN2012100517447 A CN 2012100517447A CN 201210051744 A CN201210051744 A CN 201210051744A CN 102608579 A CN102608579 A CN 102608579A
Authority
CN
China
Prior art keywords
data
frame
compressed
code stream
unit
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.)
Granted
Application number
CN2012100517447A
Other languages
Chinese (zh)
Other versions
CN102608579B (en
Inventor
程亚娟
孙文方
邵应昭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Space Technology CAST
Original Assignee
China Academy of Space Technology CAST
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 China Academy of Space Technology CAST filed Critical China Academy of Space Technology CAST
Priority to CN201210051744.7A priority Critical patent/CN102608579B/en
Publication of CN102608579A publication Critical patent/CN102608579A/en
Application granted granted Critical
Publication of CN102608579B publication Critical patent/CN102608579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

本发明公开了一种SAR数据接收处理系统及方法,在一片FPGA芯片上实现;包括解格式处理模块、压缩码流缓存单元、8路解压缩处理模块、乒乓缓存模块和接口缓存单元;其中每路解压缩处理模块包括串并/并串单元、解压缩单元和串并单元;在一SAR数据帧的正程内将该帧压缩数据写入所述压缩码流缓存单元,在当前SAR数据帧的逆程内从压缩码流缓存单元读出压缩数据,然后通过8路解压缩处理模块对该帧数据进行处理,通过乒乓缓存模块拼接成一帧恢复数据;在下一个SAR数据帧的逆程内进行下一个SAR数据帧的处理。本发明能够合理利用硬件资源,实时性强。

The invention discloses a SAR data receiving and processing system and method, which are implemented on an FPGA chip; it includes a format decompression processing module, a compressed code stream buffer unit, an 8-way decompression processing module, a ping-pong buffer module and an interface buffer unit; wherein each The road decompression processing module includes a serial/parallel unit, a decompression unit, and a serial-parallel unit; write the frame compressed data into the compressed code stream buffer unit in the main course of a SAR data frame, and write the compressed code stream buffer unit in the current SAR data frame Read the compressed data from the compressed code stream buffer unit in the inverse process, and then process the frame data through the 8-way decompression processing module, and splicing it into a frame recovery data through the ping-pong buffer module; in the inverse process of the next SAR data frame Processing of the next SAR data frame. The invention can rationally utilize hardware resources and has strong real-time performance.

Description

一种SAR数据接收处理系统及方法A system and method for receiving and processing SAR data

技术领域 technical field

本发明涉及一种SAR数据接收处理系统及方法。The invention relates to a system and method for receiving and processing SAR data.

背景技术 Background technique

合成孔径雷达是一种具有全天时、全天候成像能力的科学仪器,如何在星载遥感应用中充分有效的应用这种仪器,越来越得到世界各国的重视。Synthetic aperture radar is a scientific instrument with all-weather and all-weather imaging capabilities. How to fully and effectively apply this instrument in spaceborne remote sensing applications has attracted more and more attention from all over the world.

实时高效的SAR(合成孔径雷达)原始数据发送接收处理器是现代星载SAR系统中一个关键的分机。其中包括SAR数据压缩、分包打格式、解包解格式和解压缩等技术。因为SAR系统具有较大的测绘带宽和系统动态范围,其回波信号采样、存储与传输具有相当大的数据量和数据率。数传系统所提供的数据传输能力往往不能满足对数据的实时传输要求,导致卫星到地面的高数据传输瓶颈成为发展星载合成孔径雷达所必须解决的一个关键问题。The real-time and high-efficiency SAR (Synthetic Aperture Radar) raw data sending and receiving processor is a key extension in the modern spaceborne SAR system. These include technologies such as SAR data compression, packetization and formatting, unpacking and decompression, and decompression. Because the SAR system has a large mapping bandwidth and system dynamic range, its echo signal sampling, storage and transmission have a considerable amount of data and data rate. The data transmission capability provided by the digital transmission system often cannot meet the requirements for real-time data transmission, resulting in a high data transmission bottleneck from the satellite to the ground, which has become a key problem that must be solved in the development of spaceborne synthetic aperture radar.

SAR数据接收处理器是数传系统中关键的分机之一。在数传系统中,因为接收处理是数据的恢复处理,实时性不强,具体包括数据解格式和解压缩两个部分。为了提高系统的实时性,一般是在解格式后并行进行多路数据的解压缩处理。由于SAR原始数据可近似为具有未知方差的零均值高斯分布,所以可以把整个SAR数据集沿方位和距离向分成若干小块,每一小块数据可以认为是具有稳态特性的零均值高斯分布,并且其分布可由其均方根σ唯一确定。常用的SAR数据压缩算法是把一帧SAR数据分成32x 32的小块,然后在这些小块中进行压缩的,不同的SAR校飞模式,其帧数据幅宽是变化的,最大到96000*32,对于I,Q两路,也就是要对6000个32*32的压缩后小块数据进行解压缩。如果采用全并行方案,控制时序是简单,但是在单片FPGA芯片上实现,资源是远远不够的。如果采用串行方案,实时性会很差。The SAR data receiving processor is one of the key extensions in the data transmission system. In the digital transmission system, because the receiving process is the recovery process of data, the real-time performance is not strong, and it specifically includes two parts: data deformatting and decompression. In order to improve the real-time performance of the system, the multi-channel data decompression process is generally carried out in parallel after the deformatting. Since the original SAR data can be approximated as a zero-mean Gaussian distribution with unknown variance, the entire SAR data set can be divided into several small blocks along the azimuth and distance directions, and each small block of data can be considered as a zero-mean Gaussian distribution with steady-state characteristics , and its distribution can be uniquely determined by its root mean square σ. The commonly used SAR data compression algorithm is to divide a frame of SAR data into small blocks of 32x 32, and then compress them in these small blocks. Different SAR flight calibration modes, the frame data width varies, up to 96000*32 , for I, Q two-way, that is to decompress 6000 32*32 compressed small blocks of data. If a full-parallel solution is adopted, it is simple to control the timing, but if it is implemented on a single FPGA chip, the resources are far from enough. If a serial solution is adopted, the real-time performance will be poor.

发明内容Contents of the invention

本发明所要解决的技术问题是:针对现有技术的不足,提供一种能够合理利用硬件资源、实时高速的SAR数据接收处理系统及方法。The technical problem to be solved by the present invention is to provide a real-time and high-speed SAR data receiving and processing system and method that can rationally utilize hardware resources in view of the deficiencies of the prior art.

本发明包括如下技术方案:The present invention includes following technical solutions:

一种SAR数据接收处理系统,所述SAR数据接收处理系统在一片FPGA芯片上实现;包括解格式处理模块、压缩码流缓存单元、8路解压缩处理模块、乒乓缓存模块和接口缓存单元;其中每路解压缩处理模块包括串并/并串单元、解压缩单元和串并单元;解格式处理模块用于对接收的格式帧提取格式帧头和带压缩帧头的压缩码流,并将压缩码流写入压缩码流缓存单元,通过控制压缩码流缓存单元的读操作将压缩码流分成8路均值数据和块压缩数据;每路解压缩处理模块接收相应的均值数据和块压缩数据;串并/并串单元对块压缩数据进行串并和并串转换处理;解压缩单元对转换后的压缩数据和经过延时处理的均值数据按照解压缩处理算法进行解压缩得到小块的恢复数据;串并单元对恢复数据进行串并变换,并将其写入到乒乓缓存模块中;乒乓缓存模块对小块的恢复数据进行拼接,形成一帧数据后缓存到SRAM中,通过对SRAM的乒乓操作,连续的将恢复数据送到接口缓存单元中。A SAR data receiving and processing system, the SAR data receiving and processing system is implemented on an FPGA chip; including a format decompression processing module, a compressed code stream buffer unit, an 8-way decompression processing module, a ping-pong buffer module and an interface buffer unit; wherein Each decompression processing module includes a serial/parallel unit, a decompression unit, and a serial-parallel unit; the deformat processing module is used to extract the format frame header and the compressed code stream with the compressed frame header from the received format frame, and compress The code stream is written into the compressed code stream buffer unit, and the compressed code stream is divided into 8 paths of mean value data and block compressed data by controlling the read operation of the compressed code stream buffer unit; each path of decompression processing module receives corresponding mean value data and block compressed data; The serial-parallel/parallel-serial unit performs serial-parallel and parallel-serial conversion processing on the block compressed data; the decompression unit decompresses the converted compressed data and the delayed average data according to the decompression processing algorithm to obtain small block recovery data ; The serial-to-parallel unit performs serial-to-parallel conversion on the recovered data, and writes it into the ping-pong buffer module; operation, and continuously send the restored data to the interface cache unit.

在一SAR数据帧的正程内将该帧压缩数据写入所述压缩码流缓存单元,在当前SAR数据帧的逆程内从压缩码流缓存单元读出压缩数据,然后通过8路解压缩处理模块对该帧数据进行处理,通过乒乓缓存模块拼接成一帧恢复数据;在下一个SAR数据帧的逆程内进行下一个SAR数据帧的处理。Write the frame compressed data into the compressed code stream buffer unit in the forward process of a SAR data frame, read the compressed data from the compressed code stream buffer unit in the reverse process of the current SAR data frame, and then decompress it through 8 channels The processing module processes the data of the frame, and splicing it into one frame to recover data through the ping-pong buffer module; the processing of the next SAR data frame is carried out in the reverse process of the next SAR data frame.

所述解压缩处理算法采用3bit块自适应量化算法。The decompression processing algorithm adopts a 3-bit block adaptive quantization algorithm.

本发明与现有技术相比具有如下优点:Compared with the prior art, the present invention has the following advantages:

由于硬件资源和规模的限制,对于不同的校飞模式,有192到6000个32*32的小块SAR数据进行解压缩,这是不可能在一片XC5VSX95T芯片中实现的。如果串行对这些小块的进行解压缩,实时性根本无法满足。本发明选择8路解压缩并行处理,是上述全并行和全串行处理的折中,能够合理利用硬件资源,实时性强。Due to the limitation of hardware resources and scale, for different school flight modes, there are 192 to 6000 32*32 small pieces of SAR data to be decompressed, which is impossible to realize in one XC5VSX95T chip. If these small blocks are decompressed serially, the real-time performance cannot be satisfied at all. The present invention chooses 8-way decompression parallel processing, which is a compromise between the above-mentioned full parallel and full serial processing, can rationally utilize hardware resources, and has strong real-time performance.

附图说明 Description of drawings

图1为本发明的SAR数据接收处理系统框图;Fig. 1 is a block diagram of the SAR data receiving and processing system of the present invention;

图2为本发明的SAR数据输出时序图;Fig. 2 is the SAR data output timing diagram of the present invention;

图3为SAR恢复数据拼接框图;Fig. 3 is a splicing block diagram of SAR recovery data;

图4为SRAM读写数据示意图;Figure 4 is a schematic diagram of SRAM read and write data;

图5为本发明的SAR数据接收处理时序图。FIG. 5 is a sequence diagram of SAR data receiving processing in the present invention.

具体实施方式 Detailed ways

下面就结合附图对本发明做进一步介绍。The present invention will be further introduced below in conjunction with the accompanying drawings.

SAR数据发送接收处理中的关键模块是SAR数据的压缩和解压缩算法设计。分析表明,SAR回波信号的实部和虚部都可近似为具有未知方差的零均值高斯分布,且回波信号功率是距离和脉冲的慢变化函数,所以充分利用SAR回波信号的这种统计特性,可以把整个回波数据集沿方位和距离向分成若干小块,从而每一小块数据可以认为是具有稳态特性的零均值高斯分布,并且其分布可由其均方根σ唯一确定。块大小的选择应遵循以下原则:块必须足够小以保证每一小块中SAR数据的σ恒定,同时块又必须足够大以保证能有效估计出每一块的σ。具体块大小要根据有关系统参数确定。本发明选择32*32的块作为压缩处理块,并采用3bit块自适应量化算法进行数据的压缩和解压缩。The key module in the processing of SAR data transmission and reception is the algorithm design of SAR data compression and decompression. The analysis shows that both the real and imaginary parts of the SAR echo signal can be approximated as a zero-mean Gaussian distribution with unknown variance, and the echo signal power is a slow-varying function of distance and pulse, so making full use of this SAR echo signal Statistical properties, the entire echo data set can be divided into several small blocks along the azimuth and distance, so that each small block of data can be considered as a zero-mean Gaussian distribution with steady-state characteristics, and its distribution can be uniquely determined by its root mean square σ . The selection of the block size should follow the following principles: the block must be small enough to ensure that the σ of the SAR data in each small block is constant, and at the same time, the block must be large enough to ensure that the σ of each block can be effectively estimated. The specific block size should be determined according to the relevant system parameters. The present invention selects a 32*32 block as a compression processing block, and uses a 3-bit block self-adaptive quantization algorithm to perform data compression and decompression.

压缩算法的原理性实现步骤如下:(1)将原始数据分成若干小块,估算这个小块内的样本标准差;(2)应用这个标准差将块内数据归一化,使之符合均值为零,方差为1的标准高斯分布;(3)以(0,1)高斯分布为基础,预先计算好判决电平以及量化电平;(4)将归一化的数据与判决电平比较得到量化后的码字。具体可以参考如下文献:崔嵬等,3bit块自适应量化算法的FPGA实现,北京理工大学学报,Vol.25,No.2,Feb.2005。上述压缩算法在每一个32*32小块中将8bit的数据压缩成3bit,对于一个32*32小块,压缩完后数据量为(32*32)*3/8=384字节。The principle implementation steps of the compression algorithm are as follows: (1) divide the original data into several small blocks, and estimate the sample standard deviation in this small block; (2) use this standard deviation to normalize the data in the block, so that it conforms to the mean zero, the standard Gaussian distribution with a variance of 1; (3) Based on the (0, 1) Gaussian distribution, pre-calculate the decision level and quantization level; (4) compare the normalized data with the decision level to get Quantized codewords. For details, please refer to the following documents: Cui Wei et al., FPGA Realization of 3bit Block Adaptive Quantization Algorithm, Journal of Beijing Institute of Technology, Vol.25, No.2, Feb.2005. The above compression algorithm compresses 8-bit data into 3 bits in each 32*32 small block. For a 32*32 small block, the data volume after compression is (32*32)*3/8=384 bytes.

相应的接收处理中解压缩算法实现步骤如下:(1)接收压缩码流数据,分离各数据块码流数据、和均值数据;(2)根据码流数据查找对应的输出量化电平;(3)将均值数据与输出量化电平计算得到恢复后的数据;(4)将恢复后的各小块数据进行拼接,形成一帧恢复SAR数据。另外,上述解压缩算法也可以用方差数据代替均值数据进行处理。The decompression algorithm implementation steps in the corresponding receiving process are as follows: (1) receive the compressed code stream data, separate the code stream data and mean data of each data block; (2) search for the corresponding output quantization level according to the code stream data; (3 ) Calculating the average value data and the output quantization level to obtain the restored data; (4) Splicing the restored small blocks of data to form a frame of restored SAR data. In addition, the above decompression algorithm can also use variance data instead of mean data for processing.

本发明的SAR数据接收处理系统如图1所示,其是在一片FPGA芯片XC5VSX95T上实现的,功能包括数据解格式、解压缩、数据拼接和与DSP的接口通信等。由于接收到的是帧长为1024字节的AOS(高级在轨系统)格式帧,首先必须进行解格式处理,提取出带压缩帧头的有效数据,再按照解压缩算法实现步骤进行解压缩处理,最后对恢复数据进行拼接,并送到后端的SAR成像DSP模块中。The SAR data receiving and processing system of the present invention is shown in Figure 1, and it is realized on one FPGA chip XC5VSX95T, and function includes data deformatting, decompression, data splicing and interface communication with DSP etc. Since the received AOS (Advanced On Orbit System) format frame with a frame length of 1024 bytes must first be deformatted to extract valid data with a compressed frame header, and then perform decompression processing according to the implementation steps of the decompression algorithm , and finally splice the restored data and send it to the back-end SAR imaging DSP module.

对于一帧原始数据,卫星发送处理过程中将其分成32x32小块进行压缩,而且一帧数据传输的逆程时间比较长。利用这一特点,经过时序分析和计算,考虑FPGA芯片的资源利用率,选择8个32x 32小块并行解压缩的方案进行处理,最后再对小块的恢复数据进行拼接,形成一帧数据后缓存到SRAM中,通过对SRAM的乒乓操作,连续的将恢复数据送到与SAR成像DSP模块接口缓存中,供后续的SAR成像处理。SAR数据接收处理系统与SAR成像DSP模块是通过在FPGA中分配缓存单元,控制缓存单元的读写握手信号,运用EMIFA方式进行通信的。具体的硬件实现框图如图1所示。For one frame of original data, it is divided into 32x32 small blocks for compression during the satellite transmission process, and the reverse journey time of one frame of data transmission is relatively long. Taking advantage of this feature, after timing analysis and calculation, considering the resource utilization rate of the FPGA chip, select 8 32x 32 small block parallel decompression schemes for processing, and finally splicing the restored data of the small blocks to form a frame of data Cache into the SRAM, through the ping-pong operation of the SRAM, continuously send the recovered data to the interface cache with the SAR imaging DSP module for subsequent SAR imaging processing. The SAR data receiving and processing system and the SAR imaging DSP module communicate with each other by allocating buffer units in the FPGA, controlling the read and write handshake signals of the buffer units, and using EMIFA. The specific hardware implementation block diagram is shown in Figure 1.

首先接收卫星发送的输入时钟和8bit并行压缩后打包数据,解格式处理模块对数据进行2次帧同步处理。第一次是提取AOS格式帧头处理,第二次是提取压缩帧头处理。由于压缩编码是把一帧压缩码流数据打包成1024字节长度的AOS帧格式输出,对于一帧SAR压缩码流数据,会打包成几百甚至上千个AOS格式帧,这些帧有固定的帧头数据1ACFFC1D和格式,当检测到帧头数据后,就认为其后是有效压缩码流数据并接收,最终连续的将这些数据传给下个功能模块。解格式处理模块对每个1024字节的格式帧解析出有效的压缩码流数据后,并检测这些数据中是否有压缩帧头数据,如果有,就认为是一帧有效码流数据的开始,并连续的接收下这帧数据,存储在内部FI FO中,也就是压缩码流缓存单元。考虑后端的8路并行解压缩处理模块输入要求,从FIFO中读出数据时,每次只读出8倍的数据量,并用计数器分离出8路有效的块压缩数据和均值数据,输出到解压缩处理模块中。具体方法如下:FIFO有读写使能端口,从接收一帧码流数据开始,到下一帧数据到来这段时间内,写使能一直有效。写完一帧数据以后,读数据开始,对于本发明,就是每次用8倍的输入时钟从压缩码流缓存单元读出数据,计数器计数。由于码流数据存放是按照先存一个字节的均值,再连续存放一个32*32小块压缩数据的,当计数器等于1时就读出第一个小块的均值数据,等于2到385时,就读出这个小块的压缩数据,并将该块的均值数据和码流数据送到第一路解压缩处理模块中;当计数器等于386时读出第二个小块的均值数据;等于387到770时,读出第二个小块的压缩数据,并送到第二路解压缩单元中,依次类推,分离出8路块压缩数据和均值数据,输出到解压缩处理模块中。Firstly, it receives the input clock sent by the satellite and the 8bit parallel compressed packaged data, and the deformat processing module performs frame synchronization processing on the data twice. The first time is to extract the frame header of AOS format, and the second time is to extract the compressed frame header. Since compression coding is to pack a frame of compressed code stream data into AOS frame format output with a length of 1024 bytes, for a frame of SAR compressed code stream data, it will be packed into hundreds or even thousands of AOS format frames, and these frames have fixed Frame header data 1ACFFC1D and format, when the frame header data is detected, it is considered to be effective compressed code stream data and received, and finally these data are continuously passed to the next function module. After the format frame of 1024 bytes is parsed into valid compressed code stream data by the deformat processing module, and whether there is compressed frame header data in these data, if there is, it is considered as the beginning of a frame of valid code stream data, And continuously receive this frame of data and store it in the internal FIFO, that is, the compressed code stream buffer unit. Considering the input requirements of the 8-way parallel decompression processing module at the back end, when reading data from the FIFO, only 8 times the amount of data is read each time, and the 8-way effective block compressed data and average data are separated by a counter, and output to the solution In the compression processing module. The specific method is as follows: FIFO has a read-write enable port, and the write enable is always valid from the time of receiving a frame of code stream data to the arrival of the next frame of data. After writing a frame of data, the data reading begins. For the present invention, the data is read out from the compressed code stream buffer unit with 8 times the input clock at a time, and the counter counts. Since the code stream data is stored according to the average value of one byte first, and then a 32*32 small block of compressed data is stored continuously, when the counter is equal to 1, the average value data of the first small block is read out, and when it is equal to 2 to 385, Just read the compressed data of this small block, and send the average value data and code stream data of this block to the first decompression processing module; when the counter is equal to 386, read the average value data of the second small block; it is equal to 387 to At 770, read the compressed data of the second small block and send it to the second decompression unit, and so on, separate the compressed data and average data of the 8-channel block, and output them to the decompression processing module.

8路块压缩数据和均值数据分别送到8个独立的解压缩处理模块中,这8个解压缩处理模块功能相同。解压缩处理模块包括串并/并串单元、解压缩单元和串并单元;串并/并串单元对压缩数据进行串并/并串处理,包括8bit并成48bit,48bit串成3bit;解压缩单元对这3bit压缩数据和经过延迟处理后的均值数据按照上述的解压缩处理算法中的实现步骤(2)和(3)进行处理。处理完成后,恢复数据是8bit,为了节约处理时间,串并单元对这8路8bit的恢复数据进行串并变换,最后,并成2路32bit数据(32bit数据是后端DSP成像单元要求的数据格式)输出到后端的乒乓缓存模块。The 8-way block compressed data and average value data are respectively sent to 8 independent decompression processing modules, and these 8 decompression processing modules have the same function. The decompression processing module includes a serial/parallel unit, a decompression unit and a serial/parallel unit; the serial/parallel unit performs serial/parallel processing on the compressed data, including 8bit parallel into 48bit, 48bit into 3bit; decompression The unit processes the 3-bit compressed data and the delayed average data according to the implementation steps (2) and (3) in the above-mentioned decompression processing algorithm. After the processing is completed, the restored data is 8bit. In order to save processing time, the serial-parallel unit performs serial-parallel conversion on the 8-way 8-bit restored data, and finally, merges them into 2-way 32bit data (32bit data is the data required by the back-end DSP imaging unit format) output to the back-end ping-pong cache module.

FPGA是在一个个时钟节拍下完成数据的处理。因为星上压缩单元是把每3bit的压缩数据拼接成8bit进行数据传输,所以在本发明的SAR数据接收处理系统的解压缩模块就得把这8bit数据还原成3bit数据送到解压缩单元中。数字电路的时钟必须是整数的,要把8bit数据还原成3bit数据,就得取3和8的公约数,比如24,48等。对于串并转换功能,相当于要对输入时钟进行6分频,也就是对8bit数据移位并成48bit,在分频钟下输出,硬件是可行的;对于并串转换功能,要在输入时钟节拍下从48bit输出3bit,就需要16次的移位寄存,串成3比特数据输出。FPGA completes the data processing in one clock beat. Because the compression unit on the star splices every 3-bit compressed data into 8 bits for data transmission, so the decompression module of the SAR data receiving and processing system of the present invention must restore the 8-bit data to 3-bit data and send it to the decompression unit. The clock of a digital circuit must be an integer. To restore 8-bit data to 3-bit data, you must take the common divisor of 3 and 8, such as 24, 48, etc. For the serial-to-parallel conversion function, it is equivalent to divide the input clock by 6, that is, shift the 8-bit data into 48 bits, and output it under the frequency-divided clock, the hardware is feasible; To output 3 bits from 48 bits under the beat, 16 shift registers are required to string 3-bit data output.

乒乓缓存模块包括两个SRAM:SRAM1和SRAM2,乒乓缓存模块的功能是把恢复数据拼接成一帧数据,并乒乓存储在SRAM中。由于解压缩后每个块同步正程的32*32个数据在实际SAR二维数据位置如下图3所示按照从左到右、从上到下排列,其中,根据不同的校飞模式,Ns的范围为3072-96000。因此需要把每8个并行解压缩处理后的若干个块按照图3所示,从左到右拼接为一帧数据。具体是控制SRAM的读写使能和读写地址,将恢复数据顺序的写入SRAM中,按照图3所示像素在图像中的位置,用C语言生成读出时的地址,就可以将这些小块的恢复数据拼接成一帧数据,高速的输出到与接口缓存单元。图4为恢复数据在SRAM中的读写操作示意图。写数据是按照压缩码流帧格式定义的顺序写入,即I1、Q1、I2、Q2、......INs/32、QNs/32,图示中的I1(0-1023)代表I1块数据在SRAM中的存放地址是从0到1023,Q1(1024-2047)代表Q1块数据在SRAM中的存放地址是从1024到2047,依次类推。读出的时候,是先全部读出I路的数据,再读出Q路的数据,即读出数据按照I1、I2、...、INs/32、Q1、Q2、...、QNs/32。The ping-pong buffer module includes two SRAMs: SRAM1 and SRAM2. The function of the ping-pong buffer module is to stitch the recovered data into a frame of data and store them in the SRAM in a ping-pong manner. After decompression, the 32*32 data of each block synchronous process are arranged from left to right and from top to bottom in the actual SAR two-dimensional data position as shown in Figure 3 below. Among them, according to different flight calibration modes, Ns The range is 3072-96000. Therefore, it is necessary to stitch each of the eight parallel decompressed blocks into one frame of data from left to right as shown in FIG. 3 . Specifically, it is to control the read-write enable and read-write address of the SRAM, write the recovery data into the SRAM in sequence, and generate the read-out address in C language according to the position of the pixel in the image shown in Figure 3, and then these Small pieces of restored data are spliced into a frame of data, and output to the interface cache unit at high speed. FIG. 4 is a schematic diagram of read and write operations of restored data in the SRAM. Write data is written in the order defined by the frame format of the compressed code stream, that is, I1, Q1, I2, Q2, ... INs/32, QNs/32, and I1 (0-1023) in the illustration represents I1 The storage address of block data in SRAM is from 0 to 1023, Q1 (1024-2047) means that the storage address of Q1 block data in SRAM is from 1024 to 2047, and so on. When reading, all the data of the I channel is read first, and then the data of the Q channel is read out, that is, the read data is in accordance with I1, I2,..., INs/32, Q1, Q2,..., QNs/ 32.

根据图1的硬件实现方法,本发明的SAR数据接收处理系统输出的时序图如图2所示。其中,帧同步信号高电平对应有效数据,为帧正程;低电平对应无效数据,为帧逆程。帧正程根据SAR数据不同应用模式,从3072到96000个时钟变化,帧逆程可变。每个帧正程范围内包括一路I或Q路的块同步信号,块同步信号个数从3072/32=96到96000/32=3000变化,其中块同步信号中,高电平对应32*32个有效数据,低电平对应无效数据。辅助数据使能与帧同步信号上升沿对齐,可以延后,使能高电平对应有效的辅助数据,共90个时钟。According to the hardware implementation method in FIG. 1 , the timing diagram output by the SAR data receiving and processing system of the present invention is shown in FIG. 2 . Among them, the high level of the frame synchronization signal corresponds to valid data, which is the forward process of the frame; the low level corresponds to invalid data, which is the backward process of the frame. According to the different application modes of SAR data, the forward stroke of the frame varies from 3072 to 96000 clocks, and the backward stroke of the frame is variable. Each frame contains one block synchronization signal of I or Q channel within the normal range, and the number of block synchronization signals changes from 3072/32=96 to 96000/32=3000, among which the high level of the block synchronization signal corresponds to 32*32 valid data, low level corresponds to invalid data. The auxiliary data enable is aligned with the rising edge of the frame synchronization signal, which can be delayed, and the enable high level corresponds to the effective auxiliary data, a total of 90 clocks.

现有的接收处理系统是在帧同步信号正程内写入帧1压缩数据后,一般是在下一个帧同步信号上升沿来临后,即在写帧2压缩数据这段时间内完成帧1的接收处理,时延很大,实时性很差。考虑SAR数据传输时序,由于一帧数据的逆程时间比较长,可以充分利用这一特点,如图5所示,本发明是在帧正程内写完一帧压缩数据后,在帧逆程内就对该帧进行处理,在下一个帧逆程内进行下一帧的接收处理。具体实现过程是,在帧1正程时间内,将帧1压缩码流数据写入压缩码流缓存单元中,在帧1逆程时间内,从压缩码流缓存单元读出帧1压缩码流数据并处理,将处理结果写入SRAM1中;在帧2正程时间内,将帧2压缩码流数据写入压缩码流缓存单元中,在帧2逆程时间内,读出帧2压缩数据并处理,将处理结果写入SRAM2中,同时从SRAM1中读出帧1恢复数据;在帧3正程时间内,将帧3压缩码流数据写入压缩数据缓存中,在帧3逆程时间内,读出帧3压缩数据并处理,结果写入SRAM1中,同时从SRAM2中读出帧2恢复数据,SRAM1和SRAM2按照这种乒乓交互方式,连续的将每帧恢复数据送到接口缓存单元中。SRAM的读写操作过程中,写钟用8倍高速钟,读钟同输入时钟,最终实时连续的将恢复数据送到成接口缓存单元中。The existing receiving and processing system writes the frame 1 compressed data in the frame synchronization signal process, generally after the rising edge of the next frame synchronization signal, that is, completes the frame 1 reception within the period of writing the frame 2 compressed data Processing, the delay is very large, and the real-time performance is poor. Considering the timing sequence of SAR data transmission, since the retrace time of one frame of data is relatively long, this feature can be fully utilized. The frame is processed within the frame, and the receiving process of the next frame is performed within the next frame retracement. The specific implementation process is to write the compressed code stream data of frame 1 into the compressed code stream buffer unit during the forward travel time of frame 1, and read the compressed code stream data of frame 1 from the compressed code stream buffer unit during the reverse travel time of frame 1 The data is processed together, and the processing result is written into SRAM1; during the forward time of frame 2, the compressed code stream data of frame 2 is written into the compressed code stream buffer unit, and the compressed data of frame 2 is read out during the reverse travel time of frame 2 And process it, write the processing result into SRAM2, and read out frame 1 recovery data from SRAM1 at the same time; write frame 3 compressed stream data into the compressed data cache during frame 3 forward time, and write frame 3 compressed code stream data into compressed data cache during frame 3 reverse Inside, read the compressed data of frame 3 and process it, write the result into SRAM1, and read the restored data of frame 2 from SRAM2 at the same time, SRAM1 and SRAM2 continuously send the restored data of each frame to the interface cache unit according to this ping-pong interaction mode middle. During the read and write operations of the SRAM, an 8-times high-speed clock is used for writing the clock, and the input clock is used for reading the clock, and finally the restored data is sent to the interface cache unit in real time and continuously.

本发明的SAR数据接收处理系统与DSP成像模块中的通信接口是通过在FPGA中采用FIFO缓存(接口缓存单元)来实现的。FPGA和DSP共同控制FIFO的读写使能。如果FPGA端口上的数据已准备好,就发出读指示,DSP取走数据;如果DSP已经处理完数据,就发出写指示,FPGA送出数据,两者通过控制接口缓存单元的读写信号,运用DSP的EMIFA方式进行交互通信。The communication interface between the SAR data receiving and processing system of the present invention and the DSP imaging module is realized by using FIFO buffer (interface buffer unit) in FPGA. FPGA and DSP jointly control the read and write enable of FIFO. If the data on the FPGA port is ready, a read instruction is issued, and the DSP takes the data; if the DSP has processed the data, a write instruction is issued, and the FPGA sends the data. The EMIFA method for interactive communication.

本发明未详细说明部分属本领域技术人员公知常识。Parts not described in detail in the present invention belong to the common knowledge of those skilled in the art.

Claims (3)

1.一种SAR数据接收处理系统,其特征在于:所述SAR数据接收处理系统在一片FPGA芯片上实现;包括解格式处理模块、压缩码流缓存单元、8路解压缩处理模块、乒乓缓存模块和接口缓存单元;其中每路解压缩处理模块包括串并/并串单元、解压缩单元和串并单元;1. A SAR data receiving and processing system is characterized in that: said SAR data receiving and processing system is realized on a slice of FPGA chip; Comprises solution format processing module, compressed stream buffer unit, 8 road decompression processing modules, ping-pong buffer module and an interface cache unit; wherein each decompression processing module includes a serial/parallel unit, a decompression unit and a serial unit; 解格式处理模块用于对接收的格式帧提取格式帧头和带压缩帧头的压缩码流,并将压缩码流写入压缩码流缓存单元,通过控制压缩码流缓存单元的读操作将压缩码流分成8路均值数据和块压缩数据;The deformat processing module is used to extract the format frame header and the compressed code stream with the compressed frame header from the received format frame, and write the compressed code stream into the compressed code stream buffer unit, and compress the code stream by controlling the read operation of the compressed code stream buffer unit. The code stream is divided into 8-way average data and block compressed data; 每路解压缩处理模块接收相应的均值数据和块压缩数据;串并/并串单元对块压缩数据进行串并和并串转换处理;解压缩单元对转换后的压缩数据和经过延时处理的均值数据按照解压缩处理算法进行解压缩得到小块的恢复数据;串并单元对恢复数据进行串并变换,并将其写入到乒乓缓存模块中;Each decompression processing module receives the corresponding average value data and block compressed data; the serial/parallel/parallel unit performs serial and parallel conversion processing on the block compressed data; the decompression unit converts the converted compressed data and the delayed processed The average value data is decompressed according to the decompression processing algorithm to obtain the restored data of the small block; the serial-parallel unit performs serial-parallel conversion on the restored data, and writes it into the ping-pong cache module; 乒乓缓存模块对小块的恢复数据进行拼接,形成一帧数据后缓存到SRAM中,通过对SRAM的乒乓操作,连续的将恢复数据送到接口缓存单元中。The ping-pong cache module splices the recovery data of small blocks to form a frame of data and caches it in the SRAM. Through the ping-pong operation of the SRAM, the recovery data is continuously sent to the interface cache unit. 2.采用权利要求1所述的SAR数据接收处理系统进行SAR数据接收处理的方法,其特征在于:在一SAR数据帧的正程内将该帧压缩数据写入所述压缩码流缓存单元,在当前SAR数据帧的逆程内从压缩码流缓存单元读出压缩数据,然后通过8路解压缩处理模块对该帧数据进行处理,通过乒乓缓存模块拼接成一帧恢复数据;在下一个SAR数据帧的逆程内进行下一个SAR数据帧的处理。2. The method for receiving and processing SAR data by adopting the SAR data receiving and processing system as claimed in claim 1 is characterized in that: the frame compressed data is written into the compressed code stream buffer unit in the normal course of a SAR data frame, Read the compressed data from the compressed code stream buffer unit in the inverse process of the current SAR data frame, and then process the frame data through the 8-way decompression processing module, and splicing it into a frame recovery data through the ping-pong buffer module; in the next SAR data frame The processing of the next SAR data frame is carried out in the inverse process. 3.如权利要求2所述的方法,其特在在于:所述解压缩处理算法采用3bit块自适应量化算法。3. The method according to claim 2, characterized in that: said decompression processing algorithm adopts a 3-bit block adaptive quantization algorithm.
CN201210051744.7A 2012-02-29 2012-02-29 SAR (synthetic aperture radar) data receiving and processing system and method Active CN102608579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210051744.7A CN102608579B (en) 2012-02-29 2012-02-29 SAR (synthetic aperture radar) data receiving and processing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210051744.7A CN102608579B (en) 2012-02-29 2012-02-29 SAR (synthetic aperture radar) data receiving and processing system and method

Publications (2)

Publication Number Publication Date
CN102608579A true CN102608579A (en) 2012-07-25
CN102608579B CN102608579B (en) 2014-04-02

Family

ID=46526090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210051744.7A Active CN102608579B (en) 2012-02-29 2012-02-29 SAR (synthetic aperture radar) data receiving and processing system and method

Country Status (1)

Country Link
CN (1) CN102608579B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150703A (en) * 2012-11-15 2013-06-12 长沙景嘉微电子股份有限公司 Hardware implementation for frame storage data transfer module applied to image processing
CN103941236A (en) * 2014-05-12 2014-07-23 中国船舶重工集团公司第七二四研究所 Multi-parameter rasterizing sliding signal statistic screening processing method
CN105426903A (en) * 2015-10-27 2016-03-23 航天恒星科技有限公司 Cloud determination method and system for remote sensing satellite images
CN108038830A (en) * 2017-12-18 2018-05-15 北京理工雷科电子信息技术有限公司 Software cache technologies are used for the method for SAR image geometric correction
CN108351406A (en) * 2015-11-12 2018-07-31 德州仪器公司 Buffer samples size for can be changed chirp radar controls
CN110018457A (en) * 2019-04-11 2019-07-16 上海卫星工程研究所 Satellite-borne SAR echo data frame head identifier detection function modularity
CN114928433A (en) * 2022-01-12 2022-08-19 中国电子科技集团公司第十研究所 Low data overhead frame synchronizer

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441271A (en) * 2008-12-05 2009-05-27 航天恒星科技有限公司 SAR real time imaging processing device based on GPU

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441271A (en) * 2008-12-05 2009-05-27 航天恒星科技有限公司 SAR real time imaging processing device based on GPU

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
崔嵬 等: "3bit块自适应量化算法的FPGA实现", 《北京理工大学学报》, vol. 25, no. 2, 28 February 2005 (2005-02-28), pages 139 - 142 *
彭涛 等: "一种FBAQ解压缩系统的实现", 《微计算机信息(测控自动化)》, vol. 26, no. 121, 31 December 2010 (2010-12-31), pages 246 *
高俊峰 等: "分块自适应量化算法的FPGA实现", 《数据采集与处理》, vol. 21, no. 1, 31 March 2006 (2006-03-31), pages 103 - 106 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150703A (en) * 2012-11-15 2013-06-12 长沙景嘉微电子股份有限公司 Hardware implementation for frame storage data transfer module applied to image processing
CN103941236A (en) * 2014-05-12 2014-07-23 中国船舶重工集团公司第七二四研究所 Multi-parameter rasterizing sliding signal statistic screening processing method
CN103941236B (en) * 2014-05-12 2016-01-20 中国船舶重工集团公司第七二四研究所 Multiparameter rasterizing slip signals statistics Screening Treatment method
CN105426903A (en) * 2015-10-27 2016-03-23 航天恒星科技有限公司 Cloud determination method and system for remote sensing satellite images
CN108351406A (en) * 2015-11-12 2018-07-31 德州仪器公司 Buffer samples size for can be changed chirp radar controls
CN108351406B (en) * 2015-11-12 2022-08-16 德州仪器公司 Buffer sample size control for variable chirp radar
CN108038830A (en) * 2017-12-18 2018-05-15 北京理工雷科电子信息技术有限公司 Software cache technologies are used for the method for SAR image geometric correction
CN108038830B (en) * 2017-12-18 2021-05-07 北京理工雷科电子信息技术有限公司 Method for SAR image geometric correction by software cache technology
CN110018457A (en) * 2019-04-11 2019-07-16 上海卫星工程研究所 Satellite-borne SAR echo data frame head identifier detection function modularity
CN110018457B (en) * 2019-04-11 2023-05-16 上海卫星工程研究所 Method for designing satellite-borne SAR echo data frame header identifier detection functional module
CN114928433A (en) * 2022-01-12 2022-08-19 中国电子科技集团公司第十研究所 Low data overhead frame synchronizer
CN114928433B (en) * 2022-01-12 2023-06-13 中国电子科技集团公司第十研究所 Low data overhead frame synchronizer

Also Published As

Publication number Publication date
CN102608579B (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN102608579A (en) SAR (synthetic aperture radar) data receiving and processing system and method
CN104378114B (en) A kind of method for realizing that multipath A/D converter is synchronous
CN107249101A (en) A kind of sample of high-resolution image and processing unit
CN103024306B (en) Multi-channel high-speed line frequency variable linear array CCD image data transmission method
CN106231224A (en) A kind of integrated image processing system for video moonlet load
CN108988991A (en) The serial data transmission system of bandwidth self-adaption
CN113946297A (en) Optical fiber data acquisition and storage system and method based on FPGA and PCIe
CN111601078A (en) Satellite-borne video compression system and method for video data direct transmission to ground
CN102819006A (en) Broadband direction finding control method based on frequency domain correlation interferometer
CN102075758A (en) Motion joint photographic experts group (MJPEG) video coding and decoding system based on system on chip (SOC) and method thereof
CN117573619A (en) Optical remote sensing data streaming segmented scene cataloging method, device, equipment and media
CN108134912B (en) Video stream conversion method
CN111526317B (en) Low-delay image acquisition method, device and system
CN106998472B (en) A kind of compression method and system for keeping target information
CN105446699A (en) Data frame queue management method
CN113986192B (en) Method for converting CoaXPress interface data and Cameralink interface data
CN103888227B (en) Data frame receiving and analyzing device and method based on VL
CN113204505B (en) FPGA-based interface conversion method with different rates
CN112543025B (en) High-speed serial AD sampling and data processing system and method based on matrixing
CN103078667A (en) Low voltage differential signaling (LVDS) high-speed data transmission method based on cat-5
CN103428496A (en) Device for real-time transmission, compression and storage of images of space TDICCD (Time Delay and Integration Charge Coupled Device) camera
CN204258949U (en) A kind of IMAQ playback board
CN203435079U (en) SDI relay line
WO2020077625A1 (en) Data processing method and apparatus
CN110688083B (en) DDR 3-based high-speed data stream long-delay frequency storage forwarding method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant