[go: up one dir, main page]

CN1410780A - Radar video frequency data real time compression and decompression transmission method - Google Patents

Radar video frequency data real time compression and decompression transmission method Download PDF

Info

Publication number
CN1410780A
CN1410780A CN 02139471 CN02139471A CN1410780A CN 1410780 A CN1410780 A CN 1410780A CN 02139471 CN02139471 CN 02139471 CN 02139471 A CN02139471 A CN 02139471A CN 1410780 A CN1410780 A CN 1410780A
Authority
CN
China
Prior art keywords
data
communication
radar
communication controller
sram
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
CN 02139471
Other languages
Chinese (zh)
Other versions
CN1261770C (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.)
Xian Jiaotong University
Original Assignee
Xian Jiaotong University
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 Xian Jiaotong University filed Critical Xian Jiaotong University
Priority to CN 02139471 priority Critical patent/CN1261770C/en
Publication of CN1410780A publication Critical patent/CN1410780A/en
Application granted granted Critical
Publication of CN1261770C publication Critical patent/CN1261770C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Radar Systems Or Details Thereof (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

本发明公开了一种雷达视频数据实时压缩解压缩传输方法,将分别位于雷达车、指挥车上的编码板、解码板两部分,通过两个RS485口,以双绞线形式连接,雷达车、指挥车之间设有主信道和副信道;编码板对回波数据压缩后通过主信道传送给解码板进行解码,解码后的回波数据直接送给图形显示终端;两车之间的通讯通过副信道进行,雷达车向指挥车传送包含波束位置、量程、雷达工作状态等信息的波束属性码,指挥车向雷达车发送命令控制码,同时副信道在主信道出错时向解码板重传出错波束数据;主信道通讯采用单工方式,只发不收;传输协议为:标志+数据长度+波束数据+校验和;副信道采用半双工方式通讯,传输协议为:特征码+数据长度+传输内容+校验和。The invention discloses a method for real-time compression, decompression and transmission of radar video data. Two parts, the encoding board and the decoding board respectively located on the radar vehicle and the command vehicle, are connected in the form of twisted pair through two RS485 ports. The radar vehicle, There is a main channel and a sub-channel between the command vehicles; the encoding board compresses the echo data and transmits it to the decoding board through the main channel for decoding, and the decoded echo data is directly sent to the graphic display terminal; the communication between the two vehicles is through The sub-channel is carried out, the radar vehicle transmits the beam attribute code including beam position, range, radar working status and other information to the command vehicle, the command vehicle sends the command control code to the radar vehicle, and at the same time, the sub-channel retransmits the error to the decoder board when the main channel fails Beam data; the main channel communication adopts simplex mode, only sending but not receiving; the transmission protocol is: logo + data length + beam data + checksum; the secondary channel adopts half-duplex communication, and the transmission protocol is: feature code + data length +transmitted content+checksum.

Description

雷达视频数据实时压缩解压缩传输方法Real-time compression and decompression transmission method for radar video data

一.所属技术领域1. Technical field

本发明涉及雷达的传输,特别涉及一种用于雷达视频数据实时压缩解压缩传输方法。The invention relates to radar transmission, in particular to a real-time compression and decompression transmission method for radar video data.

二.背景技术2. Background technology

雷达作为一种超视距传感器,在国防、国土资源勘探等有着举足轻重的作用。雷达技术的发展过程中,雷达组网、数据融合技术已成为主要发展趋势,雷达数据的实时传输问题日益突出。传统的多根电缆传输方式存在着连接复杂、可靠性低、抗干扰能力差、传输损耗大等缺点[1][2]。光纤传输高速,但在实际应用中存在接线需要专用工具、费时费力、成本较高等问题[3]As an over-the-horizon sensor, radar plays an important role in national defense, land and resource exploration, etc. In the development of radar technology, radar networking and data fusion technology have become the main development trend, and the problem of real-time transmission of radar data has become increasingly prominent. The traditional multi-cable transmission method has disadvantages such as complex connection, low reliability, poor anti-interference ability, and large transmission loss [1][2] . Optical fiber transmission is high-speed, but in practical applications, there are problems such as the need for special tools for wiring, time-consuming and laborious, and high cost [3] .

三.发明内容3. Contents of the invention

根据上述现有技术存在的缺陷或不足,本发明的目的在于,提供一种雷达视频数据实时压缩解压缩传输方法,本发明采用军用被复双绞线完成雷达视频图像的实时传输,较好的解决了现有方法的不足。According to the defects or deficiencies in the above-mentioned prior art, the purpose of the present invention is to provide a real-time compression and decompression transmission method for radar video data. The present invention uses military-used twisted-pair wires to complete the real-time transmission of radar video images, preferably The shortcomings of the existing methods are solved.

本发明的雷达视频数据实时压缩解压缩传输方法,包括以下步骤:The radar video data real-time compression decompression transmission method of the present invention comprises the following steps:

1)将分别位于雷达车、指挥车上的编码板、解码板两部分,通过两个RS485口,以双绞线形式连接,雷达车、指挥车之间设有主信道和副信道;1) Connect the two parts of the encoding board and the decoding board respectively located on the radar vehicle and the command vehicle through two RS485 ports in the form of twisted pairs, and there are main channels and secondary channels between the radar vehicle and the command vehicle;

2)编码板对雷达视频数据压缩后通过主信道传送给解码板进行解码,解码后的回波数据直接送给图形显示终端;2) The encoder board compresses the radar video data and transmits it to the decoder board for decoding through the main channel, and the decoded echo data is directly sent to the graphic display terminal;

3)两车之间的信令通讯通过副信道进行,雷达车向指挥车传送包含波束位置、量程、雷达工作状态等重要信息的波束属性码,指挥车向雷达车发送命令控制码,同时副信道在主信道出错时向解码板重传出错波束数据;3) The signaling communication between the two vehicles is carried out through the secondary channel. The radar vehicle transmits the beam attribute code containing important information such as beam position, range, and radar working status to the command vehicle, and the command vehicle sends a command control code to the radar vehicle. The channel retransmits the erroneous beam data to the decoder board when the main channel is in error;

4)主信道通讯采用单工方式,只发不收;传输协议为:标志+数据长度+波束数据+校验和;与常用RS232的10位数据帧格式不同,此信道提出了独特的34位数据帧格式,并用FPGA实现了基于该种帧格式的异步收发驱动器;4) The main channel communication adopts a simplex mode, only sending but not receiving; the transmission protocol is: logo + data length + beam data + checksum; different from the 10-bit data frame format of commonly used RS232, this channel proposes a unique 34-bit Data frame format, and realize the asynchronous transceiver driver based on this frame format with FPGA;

标志用于区分首帧和差值,数据长度为波束数据压缩后的字节个数;发送方为编码板的编码器,接受方为解码板的解码器;接受方根据校验和判断传输过程是否出错。若出错,解码器立即以中断方式通知位于解码板的主通讯控制器,主通讯控制器向位于编码板上的通讯控制器请求重发该波束回波数据;编码器和通讯控制器之间设有RAM,用于备份波束数据;The flag is used to distinguish the first frame and the difference value, and the data length is the number of bytes after beam data compression; the sender is the encoder of the encoding board, and the receiver is the decoder of the decoding board; the receiver judges the transmission process according to the checksum Is there an error. If there is an error, the decoder immediately notifies the main communication controller on the decoding board in the form of an interruption, and the main communication controller requests the communication controller on the encoding board to resend the beam echo data; There is RAM for backing up beam data;

5)副信道采用半双工方式通讯,有甲、乙两个通讯控制器分别位于解码板和编码板上,两者之间收发角色通过令牌来协调编码板及解码器通讯请求;5) The sub-channel adopts half-duplex communication, and there are two communication controllers A and B respectively located on the decoding board and the encoding board, and the sending and receiving roles between the two coordinate the communication requests of the encoding board and the decoder through tokens;

副信道传输协议:特征码+数据长度+传输内容+校验和;由特征码来确定传输内容;Secondary channel transmission protocol: signature + data length + transmission content + checksum; the transmission content is determined by the signature;

对来自操控台的操作控制码单独设立接受方;解码板收到的回波数据出错时,甲通讯控制器向位于编码板上的乙通讯控制器请求重发数据;主信道的通讯并不因此而中断,解码器放弃出错波束数据,备份该波束属性数据,当一帧中其余波束数据处理完之后,处理经副信道重传的波束数据;Set up a separate receiver for the operation control code from the console; when the echo data received by the decoding board is wrong, communication controller A requests retransmission of data from communication controller B on the encoding board; the communication of the main channel does not And interrupt, the decoder discards the erroneous beam data, backs up the beam attribute data, and processes the beam data retransmitted through the sub-channel after processing the remaining beam data in a frame;

副信道传输内容:来自指挥车的操控码,波束属性码,出错波束数据。Secondary channel transmission content: control code from command vehicle, beam attribute code, error beam data.

本发明的另一特点是,所述主信道和副信道之间的关系是:Another feature of the present invention is that the relationship between the main channel and the secondary channel is:

(1)、在编码板上,编码器和乙通讯控制器之间设有用于存储备份波束数据的SRAM和总线控制器,编码器不断刷新SRAM内容,通讯控制器收到来自主通讯控制器的请求后,从SRAM获取备份波束数据。两者之间以握手信号通过总线控制器获得对SRAM的控制权;(1) On the encoder board, there is a SRAM and a bus controller for storing backup beam data between the encoder and the second communication controller. The encoder continuously refreshes the contents of the SRAM, and the communication controller receives a request from the main communication controller After that, get backup beam data from SRAM. The two obtain control over the SRAM through the bus controller with a handshake signal;

(2)、在解码板上,解码器和甲通讯控制器之间除了存储备份波束数据的SRAM和总线控制器之外,解码器还可以硬中断方式通知甲通讯控制器,请求重发出错波束数据;解码器仅在发出请求重发信号后才检测甲通讯控制器是否对SRAM刷新结束,若结束,立即以DMA方式从SRAM读取波束数据,两者之间以握手信号通过总线控制器获得对SRAM的控制权;(2) On the decoder board, in addition to the SRAM and the bus controller that store the backup beam data between the decoder and the communication controller A, the decoder can also notify the communication controller A to request to resend the wrong beam by means of hard interrupt Data; the decoder only detects whether A communication controller refreshes the SRAM after sending a request to resend the signal. If it finishes, it immediately reads the beam data from the SRAM by DMA, and obtains it through the bus controller with a handshake signal. Control over SRAM;

(3)、甲通讯控制器还担负从操控台读取操控命令的任务。与操控台相连的接受方以并行数据方式向甲通讯控制器提供数据。(3), A communication controller is also responsible for the task of reading control commands from the console. The receiver connected to the console provides data to the communication controller A in parallel data mode.

四.附图说明4. Description of drawings

图1是本发明所采用的算法框图;Fig. 1 is the algorithm block diagram that the present invention adopts;

图2是基于EZW的无损图像编码框架;Figure 2 is a lossless image coding framework based on EZW;

图3是算术编码中的归一化示图;Fig. 3 is a normalization diagram in arithmetic coding;

图4是本发明的一个实施例的硬件平台框图;Fig. 4 is a hardware platform block diagram of an embodiment of the present invention;

图5是本发明实施例的四DSP分时工作时序图。FIG. 5 is a time sequence diagram of four DSPs working in time division according to the embodiment of the present invention.

五.具体实施方式5. Specific implementation

以下结合附图和发明人给出的具体实施例对本发明作进一步的详细描述。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments given by the inventor.

本发明的硬件系统包括分别位于雷达车、指挥车上的编码板、解码板两部分,通过两个RS485口,以双绞线形式连接,通讯距离最近为500m。雷达车、指挥车之间设有两个信道(以主信道、副信道区分)。编码板对回波数据压缩后通过主信道传送给解码板进行解码,解码后的回波数据直接送给图形显示终端。两车之间的通讯通过副信道进行,雷达车向指挥车传送包含波束位置、量程、雷达工作状态等重要信息的波束属性码,指挥车向雷达车发送命令控制码,同时副信道在主信道出错时向解码板重传出错波束数据。The hardware system of the present invention includes two parts, an encoding board and a decoding board respectively located on the radar vehicle and the command vehicle, connected in the form of twisted-pair wires through two RS485 ports, and the shortest communication distance is 500m. There are two channels between the radar vehicle and the command vehicle (distinguished by the main channel and the secondary channel). The encoding board compresses the echo data and transmits it to the decoding board through the main channel for decoding, and the decoded echo data is directly sent to the graphic display terminal. The communication between the two vehicles is carried out through the secondary channel. The radar vehicle transmits beam attribute codes containing important information such as beam position, range, and radar working status to the command vehicle. The command vehicle sends command control codes to the radar vehicle. At the same time, the secondary channel is in the main channel When an error occurs, retransmit the error beam data to the decoder board.

主信道通讯采用单工方式,只发不收。传输协议为:标志+数据长度+波束数据+校验和。标志用于区分首帧和差值,数据长度为波束数据压缩后的字节个数。发送方为编码板的编码器,接受方为解码板的解码器。接受方根据校验和判断传输过程是否出错。若出错,解码器立即以中断方式通知主通讯控制器(位于解码板),通讯主控制器向位于编码板上的通讯控制器请求重发该波束回波数据。编码器和通讯控制器之间设有RAM,用于备份波束数据。The main channel communication adopts simplex mode, only sending but not receiving. The transmission protocol is: flag + data length + beam data + checksum. The flag is used to distinguish the first frame and the difference value, and the data length is the number of bytes after beam data compression. The sender is the encoder of the encoding board, and the receiver is the decoder of the decoding board. The receiver judges whether there is an error in the transmission process based on the checksum. If an error occurs, the decoder immediately notifies the main communication controller (located on the decoding board) in an interrupt mode, and the communication main controller requests the communication controller located on the encoding board to resend the beam echo data. There is a RAM between the encoder and the communication controller for backing up the beam data.

副信道采用半双工方式通讯,有两个通讯控制器(AT89C55)分别位于解码板和编码板上(由甲、乙通讯控制器区分),两者之间收发角色通过令牌来协调编码板及解码器通讯请求。对来自操控台的操作控制码单独设立接受方。解码板收到的回波数据出错时,甲通讯控制器向位于编码板上的乙通讯控制器请求重发数据。主信道的通讯并不因此而中断,解码器放弃出错波束数据,备份该波束属性数据,当一帧中其余波束数据处理完之后,处理经副信道重传的波束数据。副信道传输协议:特征码+数据长度+传输内容+校验和。由特征码来确定传输内容。副信道传输内容:来自指挥车的操控码,波束属性码,出错波束数据(仅在主信道出错时才传)。The sub-channel adopts half-duplex communication, and there are two communication controllers (AT89C55) located on the decoding board and the encoding board (distinguished by A and B communication controllers), and the sending and receiving roles between the two coordinate the encoding board through tokens and decoder communication requests. Set up the receiver separately for the operation control code from the console. When the echo data received by the decoding board is wrong, communication controller A requests retransmission of data from communication controller B located on the encoding board. The communication of the main channel is not interrupted because of this, the decoder discards the erroneous beam data, backs up the beam attribute data, and processes the beam data retransmitted through the sub-channel after processing the rest of the beam data in a frame. Secondary channel transmission protocol: signature + data length + transmission content + checksum. The transmission content is determined by the characteristic code. Secondary channel transmission content: control code from the command vehicle, beam attribute code, error beam data (transmitted only when the main channel is in error).

主、副信道之间关系比较密切:The relationship between the main channel and the secondary channel is relatively close:

(1)、在编码板上,编码器和乙通讯控制器之间设有用于存储备份波束数据的SRAM和总线控制器,编码器不断刷新SRAM内容,通讯控制器收到来自主通讯控制器的请求后,从SRAM获取备份波束数据。两者之间以握手信号通过总线控制器获得对SRAM的控制权。(1) On the encoder board, there is a SRAM and a bus controller for storing backup beam data between the encoder and the second communication controller. The encoder continuously refreshes the contents of the SRAM, and the communication controller receives a request from the main communication controller After that, get backup beam data from SRAM. The two obtain control over the SRAM through the bus controller with a handshake signal.

(2)、在解码板上,解码器和甲通讯控制器之间除了存储备份波束数据的SRAM和总线控制器之外,解码器还可以硬中断方式通知甲通讯控制器,请求重发出错波束数据。解码器仅在发出请求重发信号后才检测甲通讯控制器是否对SRAM刷新结束,若结束,立即以DMA方式从SRAM读取波束数据。两者之间以握手信号通过总线控制器获得对SRAM的控制权。(2) On the decoder board, in addition to the SRAM and the bus controller that store the backup beam data between the decoder and the communication controller A, the decoder can also notify the communication controller A to request to resend the wrong beam by means of hard interrupt data. The decoder only detects whether communication controller A finishes refreshing the SRAM after sending out a retransmission request signal. If it finishes, it immediately reads the beam data from the SRAM by DMA. The two obtain control over the SRAM through the bus controller with a handshake signal.

(3)、甲通讯控制器还担负从操控台读取操控命令的任务。与操控台相连的接受方以并行数据方式向甲通讯控制器提供数据。(3), A communication controller is also responsible for the task of reading control commands from the console. The receiver connected to the console provides data to the communication controller A in parallel data mode.

算法基本原理:The basic principle of the algorithm:

雷达回波信号是一种非平稳的随机过程,其固有信息熵很大,单纯用无损压缩算法无法达到2倍以上的压缩比,因此引入可逆整数小波变换,采用基于可逆整数小波变换的有损压缩方案。算法框图参见图1。The radar echo signal is a non-stationary random process, and its inherent information entropy is very large. The compression ratio of more than 2 times cannot be achieved by using the lossless compression algorithm alone. Therefore, the reversible integer wavelet transform is introduced, and the lossy Compression scheme. See Figure 1 for the algorithm block diagram.

算法方案引入了可逆小波变换,小波变换对回波数据解相关,使得能量更为集中,提供了一种数据的多分辨率的紧凑表示。进行小波变换前,需要进行对称扩展,这是为了满足小波滤波器进行卷积运算时的需要。小波滤波器的选择对压缩算法的性能有着至关重要的影响。本算法选用计算复杂性、可重构性较好的5-3滤波器。嵌入式小波零树编码根据小波系数的重要性次序对其进行编码,这里小波系数的重要性由其对图像复现贡献的大小衡量。最后,熵编码充分利用了经过小波变换以后同一频带内和不同频带之间仍然存在的冗余,进一步提高了压缩效率。The algorithm scheme introduces the reversible wavelet transform, which decorrelates the echo data, makes the energy more concentrated, and provides a compact representation of multi-resolution data. Before performing wavelet transformation, symmetrical expansion is required, which is to meet the needs of wavelet filter for convolution operation. The choice of wavelet filter has a crucial impact on the performance of the compression algorithm. This algorithm chooses the 5-3 filter with good computational complexity and good reconfigurability. Embedded wavelet zerotree coding encodes wavelet coefficients according to their order of importance, where the importance of wavelet coefficients is measured by their contribution to image reproduction. Finally, entropy coding makes full use of the redundancy that still exists in the same frequency band and between different frequency bands after wavelet transform, and further improves the compression efficiency.

1).嵌入式小波零树编码1). Embedded wavelet zerotree coding

嵌入式小波零树框架对图像压缩问题提供了一种极好的解决方案。由Shapiro提出的嵌入式小波零树编码(EZW)及由Said和Pearlman对其改进而提出的分级树集合划分方法(SPIHT)均显示出基于小波压缩方案高的压缩比和较低的计算复杂性。The embedded wavelet zerotree framework provides an excellent solution to the image compression problem. The Embedded Wavelet Zero-Tree Coding (EZW) proposed by Shapiro and the Hierarchical Tree Set Partitioning Method (SPIHT) proposed by Said and Pearlman, both show high compression ratio and low computational complexity based on the wavelet compression scheme .

基于EZW的无损图像编码框架由三部分组成:1)可逆离散小波变化;2)小波系数的分级分类和选择;3)context-modeling-based.(算术)熵编码;如图2所示:The lossless image coding framework based on EZW consists of three parts: 1) Reversible discrete wavelet change; 2) Hierarchical classification and selection of wavelet coefficients; 3) context-modeling-based. (arithmetic) entropy coding; as shown in Figure 2:

从图2的框图不难看出,在每一部分都需要作出选择,1)第一步:选择小波滤波器;2)第二步:选择合适的小波系数分类方式;3)第三步:为熵编码器选择上下文模型。使用合适的小波滤波器可以最大程度的降低数据的相关性,对所产生的小波系数进行适当的分类和分类以及为算术编码选择合适的上下文模型都会提高压缩效率。对于图像压缩应用来说,三步模型的性能取决于所有三个模块。每一步必须与其他两步很好的结合才会产生最优、紧凑和可嵌入式码流。It is not difficult to see from the block diagram in Figure 2 that a choice needs to be made in each part, 1) the first step: select the wavelet filter; 2) the second step: select the appropriate wavelet coefficient classification method; 3) the third step: for the entropy The encoder selects the context model. Using a suitable wavelet filter can minimize the correlation of the data, properly sorting and classifying the generated wavelet coefficients and choosing a suitable context model for arithmetic coding will improve the compression efficiency. For image compression applications, the performance of the three-step model depends on all three modules. Each step must be well combined with the other two steps to produce an optimal, compact and embeddable bitstream.

第一步中,小波变换对图像数据解相关,使得能量集中,提供了一种图像多分辨率的紧凑表示。在这一步中,小波滤波器的选择对压缩算法的性能有着至关重要的影响。对于无损图像压缩来说,可逆整数小波变换由于能完成整数到整数的映射而得到比较广泛的应用。实验结果表明,在所选择的滤波器中,(5,3)滤波器整体性能最优。In the first step, the wavelet transform decorrelates the image data, which concentrates the energy and provides a compact representation of the image at multiple resolutions. In this step, the choice of wavelet filter has a crucial impact on the performance of the compression algorithm. For lossless image compression, the reversible integer wavelet transform is widely used because it can complete the mapping from integer to integer. Experimental results show that (5,3) filter has the best overall performance among the selected filters.

在第二步,根据小波系数的重要性次序对其进行编码,这里小波系数的重要性根据其对图像复现贡献的大小衡量。EZW和SPIHT都是根据小波系数的绝对值大小决定其重要性。在渐进传输应用中,选择准则决定逐次逼近的位分配策略,因此对重构图像的保真度具有非常重要的作用。在EZW中,Shapiro定义了重要性图。重要性图中,每一二进制数值表示其相应位置的系数对于给定阈值是否重要。对小波系数的逐次逼近是通过改变阈值产生重要性图而实现的。In the second step, the wavelet coefficients are encoded according to their order of importance, where the importance of wavelet coefficients is measured by their contribution to image reproduction. Both EZW and SPIHT determine their importance according to the absolute value of wavelet coefficients. In progressive transfer applications, the selection criterion determines the bit allocation strategy for successive approximation and thus plays a very important role in the fidelity of the reconstructed image. In EZW, Shapiro defines importance maps. In the importance map, each binary value indicates whether the coefficient at its corresponding position is important for a given threshold. The successive approximation of the wavelet coefficients is realized by changing the threshold to generate the importance map.

最后,熵编码充分利用经过小波变换以后同一频带内和不同频带之间仍然保持的关系。这种关系表现为相邻系数重要性数值及父和子重要性数值之间的统计依赖性。基于前文的算术编码方案使用了邻域上下文以利用高阶熵。Finally, entropy coding makes full use of the relationship between the same frequency band and between different frequency bands after wavelet transformation. This relationship manifests itself as a statistical dependence between the importance values of adjacent coefficients and between parent and child importance values. Arithmetic coding schemes based on the foregoing use neighborhood contexts to exploit high-order entropy.

2).熵编码器2). Entropy encoder

申请人采用算术编码算法作为熵编码器,其基本原理如下:编码器的状态用两个变量L(有界区间的低端点)和R(区间宽度)记录,为了便于讨论,假定L和R是实数,界于0与1之间。在具体实现时,可以时整数,不断被按2的幂缩放。The applicant adopts the arithmetic coding algorithm as the entropy coder, and its basic principle is as follows: the state of the coder is recorded with two variables L (the low endpoint of the bounded interval) and R (the width of the interval). For the convenience of discussion, it is assumed that L and R is a real number between 0 and 1. In the specific implementation, it can be an integer, which is constantly scaled by the power of 2.

①初始L=0,R=1。①Initial L=0, R=1.

假设P=[pi]是归一化的概率分布,有 Σ i = 1 n p t = 1 . 定义 low [ i ] = Σ j = 1 i - 1 p j , 信源字母表中i之前的所有字母的累计概率。同样定义low[n+1]=1。Assuming that P=[p i ] is a normalized probability distribution, we have Σ i = 1 no p t = 1 . definition low [ i ] = Σ j = 1 i - 1 p j , The cumulative probability of all letters preceding i in the source alphabet. Also define low[n+1]=1.

②L←L+R×low[i]②L←L+R×low[i]

③R←R×pi ③R←R×p i

④为了解决精度和溢出问题,必须加上这一步(重归一化)④In order to solve the problem of precision and overflow, this step must be added (renormalization)

while R<0.25dowhile R<0.25do

(a)if L+R<0.5 then bit_plus_follow(0)(a)if L+R<0.5 then bit_plus_follow(0)

(b)else if 0.5≤L then bit_plus_follow(1)(b) else if 0.5≤L then bit_plus_follow(1)

   Set L←L-0.5Set L←L-0.5

(c)Else(c)Else

   Set bits_outstanding← bits_outstanding+1Set bits_outstanding← bits_outstanding+1

   Set L←L-0.25Set L←L-0.25

(d)Then,for all cases,Set L←2×L and R←2×R⑤To peeform bit_plus_follow(b)(d) Then, for all cases, Set L←2×L and R←2×R⑤To peeform bit_plus_follow(b)

(a)write_one_bit(b)(a) write_one_bit (b)

(b)Use write_one_bit(1-b)to output bits_outstanding bits ofthe opposite polarity(b)Use write_one_bit(1-b)to output bits_outstanding bits of the opposite polarity

(c)Set bits_outstanding←0.(c) Set bits_outstanding←0.

这种在每次编码一个符号之前保持R≥0.25使得L和R的精度只比概率pi的精度最多多两位。This maintenance of R ≥ 0.25 before encoding one symbol at a time makes the precision of L and R only at most two bits more than the precision of the probability pi .

图3对应于第4步中的(a)、(b)、(c),图(a)中,输出的比特显然为0,L和R相应得到调整。第二种情况(图(b)),输出1。特殊的是第三种情况,当R<0.25,同时L和L+R分别位于0.5的两侧,要输出的比特无法确定,它取决于要输入的下一个符号,然而我们可以知道,紧接着当前输出的比特的下一个比特必定与当前要输出的比特相反。所以在第三种情况下,并不输出,但仍然对L和R扩展,只是记录这种情况(用bits_outstanding)以在下一次额外输出与要输出比特相反的比特数。Figure 3 corresponds to (a), (b), and (c) in step 4. In Figure (a), the output bit is obviously 0, and L and R are adjusted accordingly. In the second case (Figure (b)), output 1. The special case is the third case, when R<0.25, while L and L+R are located on both sides of 0.5, the bit to be output cannot be determined, it depends on the next symbol to be input, but we can know that the next The bit next to the currently output bit must be the opposite of the currently output bit. So in the third case, it does not output, but still expands L and R, and just records this case (using bits_outstanding) to additionally output the number of bits opposite to the output bit next time.

解码器与此过程相反。给定一个码c,解码器必须确定产生码c的m个符号序列。假定V是进入c的当前窗口,与L和R精度相同。边界L和R分别重新初始化为0和1,在第一个符号之前,V必须初始化为比特流c的开始数个比特。Decoders are the inverse of this process. Given a code c, the decoder must determine the sequence of m symbols that produce code c. Assume V is the current window into c, with the same precision as L and R. Boundaries L and R are reinitialized to 0 and 1 respectively, and V must be initialized to the first few bits of bitstream c before the first symbol.

①确定i,使low[i]≤(V-L)/R<low[i+1]① Determine i so that low[i]≤(V-L)/R<low[i+1]

②L←L+R×low[i]②L←L+R×low[i]

③R←R×pi ③R←R×p i

④除L倍增之外,把V与编码器中的L同样对待,V的倍增通过从编码比特流中读取1位,把V左移后加入V的最低位。④ In addition to L multiplication, V is treated the same as L in the encoder. The multiplication of V reads 1 bit from the encoded bit stream, shifts V to the left and adds it to the lowest bit of V.

⑤输出符号i。⑤ Output the symbol i.

本发明所选用的硬件结构The selected hardware structure of the present invention

由于算法复杂性较高,单个DSP已无法胜任计算工作,同时考虑到以后的计算冗余,设计了含有四个DSP的硬件平台,采用流水线机制。编码板和解码板具有完全一样的硬件结构,减少了调试和制版的工作量。由于解码板与编码板具有相同的结构,因此不再单独画出。Due to the high complexity of the algorithm, a single DSP is no longer competent for the calculation work. At the same time, considering the redundancy of calculation in the future, a hardware platform with four DSPs is designed and a pipeline mechanism is adopted. The encoding board and the decoding board have exactly the same hardware structure, which reduces the workload of debugging and plate making. Since the decoding board and the encoding board have the same structure, they are not drawn separately.

硬件平台如图4所示,四片DSP芯片通过地址总线、数据总线互连,彼此可共享片内存储器。系统输入数据通过缓冲(BUF)进入双端口存储器,FPGA1根据时序信号完成双端口存储器的寻址和写入信号,并担任定时器的功能,送出四个决定DSP开始工作的触发信号,实现系统的流水线工作方式。收到工作指令的DSP从双端口存储器获得待处理的回波数据,开始编码。The hardware platform is shown in Figure 4. Four DSP chips are interconnected through address bus and data bus, and can share on-chip memory with each other. The input data of the system enters the dual-port memory through the buffer (BUF). FPGA1 completes the addressing and writing signals of the dual-port memory according to the timing signal, and acts as a timer, sending four trigger signals that determine the DSP to start working, realizing the system. Pipeline works. The DSP receiving the work order obtains the echo data to be processed from the dual-port memory and starts encoding.

四个处理器的工作时序如图5所示。完成编码任务的DSP通过其链路口数据送入FPGA2,FPGA2完成数据的并串转换,以异步串行方式将数据送出。解码板工作方式与编码板相同,这里不再赘述。The working sequence of the four processors is shown in Figure 5. The DSP that completes the encoding task sends the data into FPGA2 through its link port, and FPGA2 completes the parallel-to-serial conversion of the data, and sends the data out in an asynchronous serial manner. The working mode of the decoding board is the same as that of the encoding board, so I won't go into details here.

、参考文献,references

[1]田尔文,雷达信号传输与处理及其模块化应用,微电子学,1994年01期,第24卷第1期,p75-81。[1] Tian Erwen, Radar Signal Transmission and Processing and Its Modular Application, Microelectronics, Issue 01, 1994, Volume 24, Issue 1, p75-81.

[2]杨梅,机载PD火控雷达系统1553B总线驱动层与传输层软件界面分析,现代雷达,1994年4月,第2期。P50-56。[2] Yang Mei, Analysis of software interface between 1553B bus driver layer and transport layer of airborne PD fire control radar system, Modern Radar, April 1994, No. 2. P50-56.

[3]8mm雷达基于并口的高速数据传输研究,系统工程与电子技术,2001年第2期。第23卷2期。[3] Research on high-speed data transmission of 8mm radar based on parallel port, System Engineering and Electronic Technology, No. 2, 2001. Volume 23 Issue 2.

Claims (2)

1. the compressed and decompressed transmission method of radar video data in real time is characterized in that, may further comprise the steps:
1) will lay respectively at encoding board, decoding deck two parts on radar truck, the command car,, connect, be provided with main channel and subchannel between radar truck, the command car with the twisted-pair feeder form by two RS485 mouths;
2) send decoding deck to by main channel after encoding board compresses echo data and decode, decoded echo data is directly given graphic display terminal;
3) communication between two cars is undertaken by subchannel, radar truck transmits the beam properties sign indicating number that comprises important informations such as beam. position, range, radar duty to command car, command car sends the order control code to radar truck, and subchannel retransmits the beam data of makeing mistakes to decoding deck when main channel is made mistakes simultaneously;
4) simplex mode is adopted in the main channel communication, only sends out and does not receive; Host-host protocol is: sign+data length+beam data+verification and; Adopt 34 bit data frames forms, and realize asynchronous receiving-transmitting driver based on this kind frame format with FPGA;
Sign is used to distinguish first frame and difference, and data length is the byte number after the beam data compression; Transmit leg is the scrambler of encoding board, and reciever is the demoder of decoding deck; Reciever is according to verification and judge whether transmission course makes mistakes, if make mistakes, demoder is positioned at the main communication controller of decoding deck immediately with the interrupt mode notice, and main communication controller is to this wave beam echo data of communication controller request repeat that is positioned on the encoding board; Be provided with RAM between scrambler and the communication controller, be used to back up beam data;
5) subchannel adopts the half-duplex mode communication, has two communication controllers of first, second to lay respectively on decoding deck and the encoding board, receives and dispatches the role between the two and coordinates encoding board and demoder communication request by token;
The subchannel host-host protocol: condition code+data length+transmission content+verification and; Determine the transmission content by condition code;
Operation control code from operation bench is set up reciever separately; When the echo data that decoding deck is received was made mistakes, the first communication controller was to the second communication controller request repeat data that are positioned on the encoding board; Therefore the communication of main channel is not interrupted, and demoder is abandoned the beam data of makeing mistakes, and backs up this beam properties data, after all the other beam data are handled in the frame, handles the beam data that retransmits through subchannel;
Subchannel transmission content: from the sign indicating number of controlling of command car, beam properties sign indicating number, the beam data of makeing mistakes.
2. the compressed and decompressed transmission method of radar video data in real time as claimed in claim 1 is characterized in that the relation between described main channel and the subchannel is:
(1), on encoding board, be provided with SRAM and the bus controller that is used for the storage backup beam data between scrambler and the second communication controller, scrambler constantly refreshes the SRAM content, and communication controller obtains the backup beam data from SRAM after receiving the request of autonomous communication controller.Obtain control with handshake by bus controller between the two to SRAM;
(2), on decoding deck, except the SRAM and bus controller of storage backup beam data, demoder can also hard interrupt mode notice first communication controller between demoder and the first communication controller, the request repeat beam data of makeing mistakes; Demoder only just detects the first communication controller and whether SRAM is refreshed end after sending request repeat signal, if finish, read beam data with dma mode from SRAM immediately, obtains control to SRAM with handshake by bus controller between the two;
(3), the first communication controller is also undertaken from operation bench and is read the task of controlling order; The reciever that links to each other with operation bench provides data in the parallel data mode to the first communication controller.
CN 02139471 2002-10-16 2002-10-16 Real-time compression and decompression transmission method of radar video data Expired - Fee Related CN1261770C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02139471 CN1261770C (en) 2002-10-16 2002-10-16 Real-time compression and decompression transmission method of radar video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02139471 CN1261770C (en) 2002-10-16 2002-10-16 Real-time compression and decompression transmission method of radar video data

Publications (2)

Publication Number Publication Date
CN1410780A true CN1410780A (en) 2003-04-16
CN1261770C CN1261770C (en) 2006-06-28

Family

ID=4750099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02139471 Expired - Fee Related CN1261770C (en) 2002-10-16 2002-10-16 Real-time compression and decompression transmission method of radar video data

Country Status (1)

Country Link
CN (1) CN1261770C (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100464589C (en) * 2006-02-07 2009-02-25 中国船舶重工集团公司第七○九研究所 Full radar video composite technology
CN100547960C (en) * 2005-03-18 2009-10-07 中国科学院自动化研究所 Asymmetric high-speed half-duplex communication system and communication method
US7911625B2 (en) 2004-10-15 2011-03-22 Fujifilm Dimatrix, Inc. Printing system software architecture
CN102062855A (en) * 2010-11-03 2011-05-18 安徽四创电子股份有限公司 Radar echo compression/decompression algorithm based on run-length difference coding
CN102096066A (en) * 2010-12-02 2011-06-15 南京莱斯信息技术股份有限公司 Method for showing radar initial video in real time
US8068245B2 (en) 2004-10-15 2011-11-29 Fujifilm Dimatix, Inc. Printing device communication protocol
US8085428B2 (en) 2004-10-15 2011-12-27 Fujifilm Dimatix, Inc. Print systems and techniques
US8199342B2 (en) 2004-10-29 2012-06-12 Fujifilm Dimatix, Inc. Tailoring image data packets to properties of print heads
US8251471B2 (en) 2003-08-18 2012-08-28 Fujifilm Dimatix, Inc. Individual jet voltage trimming circuitry
US8259334B2 (en) 2004-10-15 2012-09-04 Fujifilm Dimatix, Inc. Data pump for printing
CN105872498A (en) * 2016-04-08 2016-08-17 北京航天计量测试技术研究所 Fiber optic transmission system integrating infrared digital video image and communication control
CN110224804A (en) * 2018-03-01 2019-09-10 国民技术股份有限公司 Data transfer control method, terminal, base station and computer storage medium

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8251471B2 (en) 2003-08-18 2012-08-28 Fujifilm Dimatix, Inc. Individual jet voltage trimming circuitry
US7911625B2 (en) 2004-10-15 2011-03-22 Fujifilm Dimatrix, Inc. Printing system software architecture
US8068245B2 (en) 2004-10-15 2011-11-29 Fujifilm Dimatix, Inc. Printing device communication protocol
US8085428B2 (en) 2004-10-15 2011-12-27 Fujifilm Dimatix, Inc. Print systems and techniques
US8259334B2 (en) 2004-10-15 2012-09-04 Fujifilm Dimatix, Inc. Data pump for printing
US8199342B2 (en) 2004-10-29 2012-06-12 Fujifilm Dimatix, Inc. Tailoring image data packets to properties of print heads
CN100547960C (en) * 2005-03-18 2009-10-07 中国科学院自动化研究所 Asymmetric high-speed half-duplex communication system and communication method
CN100464589C (en) * 2006-02-07 2009-02-25 中国船舶重工集团公司第七○九研究所 Full radar video composite technology
CN102062855A (en) * 2010-11-03 2011-05-18 安徽四创电子股份有限公司 Radar echo compression/decompression algorithm based on run-length difference coding
CN102096066A (en) * 2010-12-02 2011-06-15 南京莱斯信息技术股份有限公司 Method for showing radar initial video in real time
CN105872498A (en) * 2016-04-08 2016-08-17 北京航天计量测试技术研究所 Fiber optic transmission system integrating infrared digital video image and communication control
CN110224804A (en) * 2018-03-01 2019-09-10 国民技术股份有限公司 Data transfer control method, terminal, base station and computer storage medium

Also Published As

Publication number Publication date
CN1261770C (en) 2006-06-28

Similar Documents

Publication Publication Date Title
CN1261770C (en) Real-time compression and decompression transmission method of radar video data
CN1236579C (en) Method and apparatus for data recovery in ARQ systems
CN101365138B (en) A JPEG2000 image compression processing system
CN102694636B (en) Adopt sending, receiving method and the system of the HARQ technology of fountain codes
CN1238075A (en) An Error Detection Scheme for Automatic Repeat Request System
CN101478373A (en) Signal source and channel combined optimized adaptive error control method
CN1348645A (en) Device and method for sending/receiving bit stream in network
CN1192537C (en) Apparatus and method for transmitting punctured or repeated data
CN1234249C (en) Embedded image processor
CN113810061A (en) Polar code encoding method, Polar code decoding method and device thereof
CN101783940A (en) Joint source-channel coding method based on wavelet frame transform
CN1949670A (en) Data compression and decompression method
CN1411198A (en) Method and system for detecting and recovering data loss in wireless communication
CN107181576A (en) A kind of IR HARQ transmission methods of the LDPC code suitable for 5G
CN1509544A (en) Apparatus and method for encoding and decoding data in a wireless network
CN1747568A (en) Classification and Combination Transmission Method of Multi-user Feedback Information in Base Station
CN1433183A (en) Hybrid automatic request retransmission technology
CN109963125A (en) A hybrid digital-analog transmission method for vehicle surveillance video based on enhancement layer retransmission
CN103944689A (en) Flow line transmission method suitable for physical layer rateless coding transmission
CN104158641B (en) Wireless sensor network data based on many bag decodings retransmits compressing method
CN102118217B (en) A kind of method for parallel processing of rate-matched and device
CN1770741A (en) Broadcast information transmission
CN204189162U (en) A kind of DFTI bus coding-decoding circuit
CN103647621A (en) Method and device for processing data coding
CN102594490B (en) Method and device for degradation rate matching

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060628

Termination date: 20121016