Data interlacing method in the digital television transfer
Technical field
The invention belongs to digital signal transmission field, particularly data are carried out interweaving method in the digital television transfer.
Background technology
Typical digital transmission system comprises transmitter and receiver.Digital modulation technique adds necessary supplementary more often with encoding digital signals, as: synchronizing signal, pilot signal etc.Digital signal behind the coding forms baseband signal through behind the channel filtering.This baseband signal sends after being modulated onto frequency band corresponding through upconverter.At receiving terminal, tuner transforms to base band after analog to digital converter obtains digital signal with high-frequency signal.This digital signal is resumed the information consistent with transmitting terminal after treatment.For the impact noise (Impulse Noise) that tackles in the channel disturbs, and cooperate chnnel coding, digital television and broadcasting transinission system to want the capable factually interleaving treatment of logarithm.Useful to encoding though interweave, interweaving does not participate in cataloged procedure.Usually, data interlacing adopts the convolutional interleave algorithm.Convolutional interleave is upset continuous byte collection by the byte of varying number in the separate data structure effectively, and burst error is spread out, so that recover correct data with error correction decoding, corresponding reverse process is carried out in deinterleaving.Data interlacing relates to three important parameters, i.e. Yu Qi maximum impact noise length L
N, the RS decoder can error correction error code word joint number L and the big or small L of RS piece
RSIn view of the above, designed interleave depth L
MAt least should reach L
N=L
N* L
RS/ L.If interleave depth is too little, avoid the effect of impact noise just poor.But, it is excessive that interleave depth can not design, otherwise coding side interweave and the deinterleaving process of decoding end can produce big system transmissions and postpones, this point can cause the restriction in the application for the broadcast system that possesses the two-way alternate communication requirement (especially wired broadcast system).
Summary of the invention
The objective of the invention is to design corresponding data interlacing method,, simplify the structure that realizes circuit simultaneously so that avoid the impact noise in the channel to disturb effectively for the digital television transmission system that the while compliant stream is mixed and modulating mode mixes.
The present invention is that each group data is inserted a synchronizing signal in transfer of data; Each synchronizing signal is made up of 288 bits of synchronization information, comprising 3 bits interweaving information; The B parameter and the M of this 3 bits interweaving information indication interleaver, wherein B is the number of branches of convolutional deinterleaver, M is the byte number of each memory cell; The TS stream of input or packet data streams are sent into interleaver through the RS coding through (208,188) after the randomization; Interleaver adopts the mode of convolutional interleave to carry out data interlacing; Interleaver is synchronized with packet synchronization signal; When multiple various flows is used identical modulating mode, use same interleaver; Under single modulating mode, all TS streams or packet data streams use same interleaver through mixing the back; Under the hybrid modulation pattern, use separately interleaver respectively corresponding to the packet data streams of each modulating mode, the output of different interleaving device is carried out time division multiplexing according to modulation system, is sent to mapper then and carries out sign map.
3 bits interweaving information are 000 o'clock, B=104, M=1; Be 001 o'clock, B=52, M=2; Be 010 o'clock, B=52, M=1; Interweaving information keeps during for other, can do the function expansion later on.
The present invention can select different interleaving modes according to the different demands of various flows, and receiver can be discerned interleaving mode automatically, has guaranteed the flexibility of the multiple stream of system transmissions.
Description of drawings
Fig. 1 is the transmission system block diagram;
Fig. 2 is the structure chart of interleaver.
Embodiment
As shown in Figure 1, the stream of input is through after mixing, and carries out scrambler, RS encode, interweaves, shine upon, and the data after the mapping are inserted synchronizing information by MUX MUX, carry out the QAM modulation then, after IF export after amplifying.Wherein the collaborative work of whole system is finished by control unit.
As shown in Figure 2, the present invention inserts a synchronizing signal with each group transmission data, and each synchronizing signal is made up of 288 bits of synchronization information, comprising 3 bits interweaving information.The B parameter (B=104) and the M (M=1) of interweaving information indication interleaver, wherein B is the number of branches of convolutional deinterleaver, M is the byte number of each memory cell.Enter interleaver behind the RS coding through (208,188) after the stream randomization of input.Interleaver adopts the mode of convolutional interleave to carry out data interlacing.Interleaver is synchronized with packet synchronization signal.Under single modulating mode, the data of each stream are used same interleaver; Under the hybrid modulation pattern, use separately interleaver respectively corresponding to the mixed flow of each modulating mode, the output of different interleaving device is carried out multiplexing according to modulation system, be sent to mapper then and carry out sign map.