Turbo coding method, Turbo encoder and unmanned aerial vehicle

文档序号:1549732 发布日期:2020-01-17 浏览:21次 中文

阅读说明:本技术 Turbo编码方法、Turbo编码器及无人机 (Turbo coding method, Turbo encoder and unmanned aerial vehicle ) 是由 刘瑛 翟春华 于 2018-05-15 设计创作,主要内容包括:一种Turbo编码方法、Turbo编码器及无人机,该方法通过获取用于Turbo编码的码块,将码块中的数据分块存储在多个并行的缓存中(101),从多个并行的缓存中获取并行数据进行Turbo编码(103)。从而实现了Turbo编码时数据的并行存储和并行读取,从而提高了Turbo编码的效率,并且与传统串行的方式相比,能够减少Turbo编码时,内交织产生的中间变量的数量,因而,能够降低Turbo编码器中特定用途集成电路(ASIC)的成本。(A Turbo coding method, a Turbo encoder and an unmanned aerial vehicle are provided, the method comprises the steps of obtaining a code block used for Turbo coding, storing data in the code block in a plurality of parallel caches in a blocking mode (101), and obtaining parallel data from the plurality of parallel caches to perform Turbo coding (103). Therefore, parallel storage and parallel reading of data during Turbo coding are realized, the efficiency of Turbo coding is improved, and compared with the traditional serial mode, the number of intermediate variables generated by internal interleaving during Turbo coding can be reduced, so that the cost of an Application Specific Integrated Circuit (ASIC) in a Turbo coder can be reduced.)

A Turbo encoding method, comprising:

obtaining a code block for Turbo coding;

storing the data blocks in the code block in a plurality of parallel caches;

and acquiring parallel data from the plurality of parallel caches to perform Turbo coding.

The method of claim 1, wherein the storing the data chunks in the code block in a plurality of parallel buffers comprises:

and storing the data in the code block in a plurality of parallel caches in a blocking mode based on a preset storage strategy.

The method of claim 2, wherein the storing the data blocks in the code block in a plurality of parallel buffers based on a preset storage policy comprises:

and storing the bit data in the code block in the corresponding buffer according to the sequence of the bit data in the code block based on the preset incidence relation between the bit sequence and the buffer.

The method of claim 3, wherein said retrieving parallel data from said plurality of parallel buffers for Turbo coding comprises:

acquiring bit data from the plurality of parallel caches, and reordering the acquired bit data based on the incidence relation between the bit ordering and the caches;

and performing Turbo coding based on the reordered bit data.

The method of claim 3, wherein performing Turbo coding based on the reordered bit data comprises:

reordering the reordered bit data based on a preset interleaving relation;

and performing Turbo coding based on the reordered bit data and the reordered bit data.

The method of claim 2, wherein the storing the data blocks in the code block in a plurality of parallel buffers based on a preset storage policy comprises:

partitioning the data in the code block based on the number of caches, so that each obtained data partition comprises the bit data of the number of caches;

and sequentially storing the bit data in the data blocks in the plurality of parallel caches based on the storage sequence of preset bit data in the plurality of caches.

The method according to claim 6, wherein the sequentially storing the bit data in the data blocks in the plurality of parallel caches based on a preset storage order of the bit data in the plurality of caches comprises:

and storing the bit data on each data bit in the data block at the same position of the corresponding cache based on the storage sequence of the preset bit data in the plurality of caches.

The method of claim 7, wherein said retrieving parallel data from said plurality of parallel buffers for Turbo coding comprises:

acquiring bit data from the same positions of the plurality of parallel caches, and reordering the acquired bit data based on the storage sequence;

and performing Turbo coding based on the reordered bit data.

The method of claim 8, wherein the retrieving bit data from the plurality of parallel buffers and reordering the retrieved bit data based on the storage order comprises:

determining a first sequence number of the bit data obtained from each cache based on the storage sequence;

sequencing the bit data based on the first sequencing serial number of the bit data to generate a first data stream;

determining a second sorting sequence number corresponding to the first sorting sequence number of the bit data obtained from each cache based on a preset interleaving relation, and sorting the bit data based on the second sorting sequence number of the bit data to generate a second data stream;

performing Turbo coding based on the reordered bit data, comprising:

performing Turbo coding based on the first data stream and the second data stream.

A Turbo encoder, comprising: the system comprises a communication interface, one or more processors, a plurality of parallel caches, a first branch encoder, a second branch encoder and an internal interleaver;

the one or more processors work independently or cooperatively, the communication interface is connected with the processor, the communication interface is connected with the plurality of parallel buffers, the plurality of parallel buffers are respectively connected with the first branch encoder and the inner interleaver, and the inner interleaver is connected with the second branch encoder;

the communication interface is to: obtaining a code block for Turbo coding;

the processor is configured to: control the communication interface to store data chunks in the code block in the plurality of parallel caches;

the first constituent encoder is configured to: acquiring parallel data from the plurality of parallel caches to perform Turbo coding;

the second constituent encoder is configured to: and acquiring parallel data from the plurality of parallel buffers through the inner interleaver for Turbo coding.

The Turbo encoder of claim 10, wherein the processor is configured to, when controlling the communication interface to store the data blocks in the code block in the plurality of parallel buffers, specifically:

and storing the data in the code block in a plurality of parallel caches in a blocking mode based on a preset storage strategy.

The Turbo encoder of claim 11, wherein the processor, when storing the data blocks in the code block in a plurality of parallel buffers based on a preset storage policy, is specifically configured to:

and storing the bit data in the code block in the corresponding buffer according to the sequence of the bit data in the code block based on the preset incidence relation between the bit sequence and the buffer.

The Turbo encoder of claim 12, wherein the first constituent encoder, when acquiring parallel data from the plurality of parallel buffers for Turbo encoding, is specifically configured to: obtaining bit data from the plurality of parallel caches;

the processor is configured to: reordering the bit data obtained by the first branch encoder based on the incidence relation between the bit ordering and the cache;

the first constituent encoder performs Turbo encoding based on the reordered bit data.

The Turbo encoder of claim 13, wherein when the second constituent encoder performs Turbo encoding by obtaining parallel data from the plurality of parallel buffers through the inner interleaver, the inner interleaver is specifically configured to: reordering the reordered bit data based on a preset interleaving relation;

and the second branch encoder is used for carrying out Turbo encoding based on the bit data after the reordering.

The Turbo encoder of claim 11, wherein the processor, when storing the data blocks in the code block in a plurality of parallel buffers based on a preset storage policy, is specifically configured to:

partitioning the data in the code block based on the number of the caches, so that each obtained data partition comprises the bit data of the number of the caches;

and sequentially storing the bit data in the data blocks in the plurality of parallel caches based on the storage sequence of preset bit data in the plurality of caches.

The Turbo encoder according to claim 15, wherein the processor, when sequentially storing the bit data in the data blocks in the plurality of parallel buffers based on a preset storage order of the bit data in the plurality of buffers, is specifically configured to:

and storing the bit data on each data bit in the data block at the same position of the corresponding cache based on the storage sequence of the preset bit data in the plurality of caches.

The Turbo encoder of claim 16, wherein the first constituent encoder, when acquiring parallel data from the plurality of parallel buffers for Turbo encoding, is specifically configured to: acquiring bit data from the same position of the plurality of parallel caches;

the processor is configured to: reordering the acquired bit data based on the storage order;

the first constituent encoder performs Turbo encoding based on the reordered bit data.

The Turbo encoder according to claim 17, wherein the processor, when reordering the acquired bit data based on the storage order, is specifically configured to:

determining a first sequence number of the bit data obtained from each cache based on the storage sequence;

and sequencing the bit data based on the first sequencing sequence number of the bit data to generate a first data stream.

The Turbo encoder of claim 18, wherein when the second constituent encoder performs Turbo encoding by obtaining parallel data from the plurality of parallel buffers through the inner interleaver, the inner interleaver is specifically configured to: determining a second sorting sequence number corresponding to the first sorting sequence number of the bit data obtained from each cache based on a preset interleaving relation, and sorting the bit data based on the second sorting sequence number of the bit data to generate a second data stream;

the second branch encoder is specifically configured to: performing Turbo coding based on the second data stream.

An unmanned aerial vehicle, comprising:

a body;

a wireless communication device mounted on the body for performing wireless communication;

the power system is arranged on the machine body and used for providing power;

and the Turbo encoder of any of claims 10 to 19.

The drone of claim 20, wherein the drone comprises an unmanned aerial vehicle or an unmanned vehicle.

A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1-9.

1页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:序列检测

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类