Summary of the invention
(1) technical problem that will solve
The technical problem to be solved in the present invention is: design deinterleaving method and device in a kind of ofdm system, make system obtain higher time, frequency, signal space diversity gain, the data throughput that maintenance is simultaneously higher and lower implementation complexity.
(2) technical scheme
For addressing the above problem, the invention provides the deinterleaving method in a kind of ofdm system, the method comprises the following steps:
S1, complex symbol sequence to be transmitted is divided into real part and imaginary part, i.e. homophase, orthogonal two-way symbol sebolic addressing;
S2, keep described homophase or positive cross-channel symbol sebolic addressing constant, another road symbol sebolic addressing is divided into many groups successively, every group interweaves in organizing;
S3, by the homophase not interweaving in step S2 or orthogonal symbols sequence with interweave after another road symbol sebolic addressing be reassembled into new complex symbol sequence, claim the first complex symbol sequence;
S4, described the first complex symbol sequence is carried out to symbol interleaving, obtain the second complex symbol sequence;
S5, described the second complex symbol sequence is carried out to OFDM modulation.
Preferably, in described step S2, every group code number is identical, interweaves in described group and adopts the identical pattern that interweaves.
Preferably, making described every group code number is even number, i.e. 2m, and the pattern that interweaves is [x
m, x
m+1..., x
2m, x
1, x
2..., x
m-1]; In the time that described every group code number is 4, the pattern that interweaves is [2,4,1,3], and even making the symbols before interweaving is x
1, x
2, x
3, x
4, the symbols after interweaving is x
2, x
4, x
1, x
3; In the time that described every group code number is 6, the pattern that interweaves is [3,5,6,2,3,1], and even making the symbols before interweaving is x
1, x
2, x
3, x
4, x
5, x
6, the symbols after interweaving is x
3, x
5, x
6, x
2, x
1, x
4.
Preferably, the symbol interleaving in described step S4 adopts the block interleaving of block interleaving or the capable cyclic shift of piecemeal.
Further, the block interleaving of the capable cyclic shift of described piecemeal comprises following steps:
S001, will treat that interleaved sequence x writes in symbol interleaver line by line, obtain the symbol sebolic addressing X of matrix form;
S002, described symbol sebolic addressing X is divided into multiple sub-blocks by row, wherein each sub-block is carried out the row cyclic shift of different side-play amounts, obtains the symbol sebolic addressing after row cyclic shift
S003, from above-mentioned symbol sebolic addressing
in read by column symbol, the symbol sebolic addressing after being interweaved
Preferably, in described step S002, each sub-block comprises an integer OFDM symbol, and the offset address of each sub-block is obeyed arithmetic sequence.
Preferably, described step S003 is specially: start down to read from offset row, read the first row after reading last column again, and read the previous row of offset row, the symbol sebolic addressing after being interweaved always
Preferably, the row cyclic shift amount f in described step S002
sbe set to the arithmetic progression of s, i.e. f
s=δ s, wherein δ is positive integer, 0≤s < S, the number that S is sub-block.
Preferably, in short interlace mode: symbol interleaver line number is 240, columns is 4096, in the time that OFDM sub-carrier number is 4096, and row cyclic shift amount f
s=2s, 0≤s < S, wherein S=16 represents sub-block number; In the time that OFDM sub-carrier number is 8192, f
s=4s, 0≤s < S, wherein sub-block is counted S=8; In the time that OFDM sub-carrier number is 32768, f
s=8s, 0≤s < S, S=2;
In long interlace mode: symbol interleaver line number is 480, columns is 4096, in the time that OFDM sub-carrier number is 4096, and row cyclic shift amount f
s=2s, 0≤s < S, wherein sub-block is counted S=32; In the time that OFDM sub-carrier number is 8192, f
s=4s, 0≤s < S, S=16; In the time that OFDM sub-carrier number is 32768, f
s=8s, 0≤s < S, S=4.
The present invention also provides the interlaced device in a kind of ofdm system, and this device comprises:
Inphase/orthogonal demultiplexer, for being divided into complex symbol sequence to be transmitted homophase, orthogonal two-way symbol sebolic addressing;
Single channel symbol sebolic addressing Block Interleaver, is connected with described inphase/orthogonal demultiplexer, and for above-mentioned homophase or orthogonal single channel symbol sebolic addressing are divided into many groups successively, every group interweaves in organizing;
Signal combiner, is connected with described single channel symbol sebolic addressing Block Interleaver, is reassembled into new complex symbol sequence for another road symbol sebolic addressing by the homophase not interweaving or orthogonal symbols sequence and after interweaving;
Symbol interleaver, is connected with described signal combiner, for the above-mentioned new complex symbol sequence being reassembled into is carried out to symbol interleaving.
(3) beneficial effect
The present invention has improved time, frequency and the signal space diversity gain of ofdm system, has kept higher throughput and lower implementation complexity simultaneously.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used for illustrating the present invention, but are not used for limiting the scope of the invention.
Fig. 1 is the flow chart of the inventive method, the invention provides the deinterleaving method in a kind of ofdm system, and its step is as follows:
S1, complex symbol sequence to be transmitted is divided into real part and imaginary part, i.e. homophase, orthogonal two-way symbol sebolic addressing;
S2, keep described homophase or positive cross-channel symbol sebolic addressing constant, another road symbol sebolic addressing is divided into many groups successively, every group interweaves in organizing;
S3, by the homophase not interweaving in step S2 or orthogonal symbols sequence with interweave after another road symbol sebolic addressing be reassembled into new complex symbol sequence, claim the first complex symbol sequence;
S4, described the first complex symbol sequence is carried out to symbol interleaving, obtain the second complex symbol sequence;
S5, described the second complex symbol sequence is carried out to OFDM modulation.
Preferably, in described step S2, every group code number is identical, interweaves in described group and adopts the identical pattern that interweaves.
Preferably, making described every group code number is even number, i.e. 2m, and the pattern that interweaves is [x
m, x
m+1..., x
2m, x
1, x
2..., x
m-1]; Especially, in the time that described every group code number is 4, the pattern that interweaves is [2,4,1,3], and even making the symbols before interweaving is x
1, x
2, x
3, x
4, the symbols after interweaving is x
2, x
4, x
1, x
3; In the time that described every group code number is 6, the pattern that interweaves is [3,5,6,2,3,1], and even making the symbols before interweaving is x
1, x
2, x
3, x
4, x
5, x
6, the symbols after interweaving is x
3, x
5, x
6, x
2, x
1, x
4.
Preferably, the symbol interleaving in described step S4 adopts the block interleaving of block interleaving or the capable cyclic shift of piecemeal.
Further, the block interleaving of the capable cyclic shift of described piecemeal comprises following steps:
S001, will treat that interleaved sequence x writes in symbol interleaver line by line, obtain the symbol sebolic addressing X of matrix form;
S002, described symbol sebolic addressing X is divided into multiple sub-blocks by row, wherein each sub-block is carried out the row cyclic shift of different side-play amounts, obtains the symbol sebolic addressing after row cyclic shift
S003, from above-mentioned symbol sebolic addressing
in read by column symbol, the symbol sebolic addressing after being interweaved
Preferably, in described step S002, each sub-block comprises an integer OFDM symbol, and the offset address of each sub-block is obeyed arithmetic sequence.
Preferably, described step S003 is specially: start down to read from offset row, read the first row after reading last column again, and read the previous row of offset row, the symbol sebolic addressing after being interweaved always
Preferably, the row cyclic shift amount f in described step S002
sbe set to the arithmetic progression of s, i.e. f
s=δ s, wherein δ is positive integer, 0≤s < S, the number that S is sub-block.
Preferably, in short interlace mode: symbol interleaver line number is 240, columns is 4096, in the time that OFDM sub-carrier number is 4096, and row cyclic shift amount f
s=2s, 0≤s < S, wherein S=16 represents sub-block number; In the time that OFDM sub-carrier number is 8192, f
s=4s, 0≤s < S, wherein sub-block is counted S=8; In the time that OFDM sub-carrier number is 32768, f
s=8s, 0≤s < S, S=2;
In long interlace mode: symbol interleaver line number is 480, columns is 4096, in the time that OFDM sub-carrier number is 4096, and row cyclic shift amount f
s=2s, 0≤s < S, wherein sub-block is counted S=32; In the time that OFDM sub-carrier number is 8192, f
s=4s, 0≤s < S, S=16; In the time that OFDM sub-carrier number is 32768, f
s=8s, 0≤s < S, S=4.
With specific embodiment, the present invention is set forth below:
As shown in Figure 2, a typical ofdm system comprises: information bit waiting for transmission is through forming symbol stream after chnnel coding, Bit Interleave, constellation mapping, symbol stream carries out OFDM modulation after symbol interleaving, then launches through molding filtration and up-conversion.The symbolic solution of symbol interleaving and receiving terminal thereof interweaves and played the part of key player in an ofdm system, be responsible for time/frequency piece decline in ofdm system to be dispersed as random fading, for chnnel coding is created required discrete memoryless condition, increase time/frequency diversity gain.The present invention has adopted signal space diversity technology simultaneously, compared with interweaving, has newly increased constellation mapping Hou I/Q road signal and has separated, interweave and reconfigure with conventional symbols, its objective is that further JiangI/Q road signal breaks up, and has increased signal space diversity gain.As shown in Figure 3, the overall procedure of an embodiment of the present invention is as follows:
S1, IQ separating step: complex symbol sequence to be transmitted is divided into real part and imaginary part, i.e. homophase (I), orthogonal (Q) two-way symbol sebolic addressing;
S2, single channel symbol sebolic addressing block interleaved step: keep I(or Q) road symbol sebolic addressing is constant, by Q(or I) road symbol sebolic addressing is divided into some groups successively, every group interweaves in organizing;
S3, IQ combining step: by the I(not interweaving in step S2 or Q) road symbol with interweave after Q(or I) road signal is reassembled into new complex symbol sequence, claims the first complex symbol sequence;
S4, the complex symbol sequence step that interweaves: the first complex symbol sequence of gained in S3 step is carried out to symbol interleaving, obtain the second complex symbol sequence;
S5, the second complex symbol sequence is carried out to OFDM modulation.
Wherein, in step S2, every group code number is identical, interweaves and adopt the identical pattern that interweaves in group.
Wherein, when every group code number is 4, the pattern that interweaves is [2,4,1,3], even I(or the Q of order before interweaving) road symbols is x
1, x
2, x
3, x
4, the symbols after interweaving is x
2, x
4, x
1, x
3.Fig. 3 has shown the effect of its IQ before and after interweaving.Symbol after constellation mapping flows every tetrad grouping, and making a certain group of signal is s=(s
1, s
2, s
3, s
4), s is separated into I/Q two paths of signals,
with
i road signal is remained unchanged, Q road signal from the flat [2,4,1,3] is interweaved, obtain
by I road signal
with interweave after Q road signal
be reassembled into
for follow-up symbol interleaving.
General, if IQ interweaves, every group code number is even number, is made as 2m, the pattern that preferably interweaves is [x
m, x
m+1..., x
2m, x
1, x
2..., x
m-1].
Symbol interleaving in step S4 adopts the block interleaving of block interleaving or the capable cyclic shift of piecemeal; The block interleaving of the capable cyclic shift of described piecemeal comprises following steps:
S001, write step line by line: the presequence x that will interweave writes in symbol interleaver line by line, obtains the symbol sebolic addressing X of matrix form;
Making the sequence that incoming symbol interweaves is x=(x
0, x
1..., x
m × N-1), write line by line, obtain matrix form X={X
i, j, wherein X
i, jthe element of the capable j row of representing matrix X i, 0≤i < M, 0≤j < N, thereby X
i, j=x
i × N+j; M represents the line number of symbol interleaver, and N represents the columns of symbol interleaver.
S002, the capable cyclic shift step of piecemeal: X is divided into some sub-blocks by row, and each sub-block is carried out the row cyclic shift of different side-play amounts, obtains the symbol sebolic addressing after row cyclic shift
Make M and N
oFDMleast common multiple be G, and M × G
1=N
oFDM× G
2=G, wherein G
1for the factor of N, G
2for the factor and the N/G of T
1=T/G
2=S, N
oFDMrepresent the effective sub-carrier number of OFDM; Matrix X is pressed to the every G of row
1row are divided into a submatrix, and always total S sub-matrix-block, is designated as X=[X
(0)..., X
(S-1)], wherein X
(s)be called sub-block, 0≤s < S; By sub-block X
(s)carry out cyclic shift by row, even
that length is G
1row vector, represent X
(s)i capable, 0≤i < M, X
(s)to descending cyclic shift f
sobtain
?
wherein j=mod (i+M-f
s, M), 0≤i < M,
represent
i capable, mod (a, b) represents to get the remainder of a mould b; Obtain the matrix after sub-block cyclic shift
wherein cyclic shift amount f
s, 0≤s < S is the value of setting in advance.
S003, reading step by column: successively from
in read by column, symbol sebolic addressing after being interweaved
By row from
in successively order read N
oFDMindividual symbol is for OFDM modulation.
Wherein, in step S002, each sub-block comprises an integer OFDM symbol.
Wherein, conventionally by side-play amount f
sbe set to the arithmetic progression of s, i.e. f
s=δ s, wherein δ is positive integer.
In short interlace mode: symbol interleaver line number is 240, columns is 4096, in the time that OFDM sub-carrier number is 4096, and row cyclic shift amount f
s=2s, 0≤s < S, wherein S=16 represents sub-block number; In the time that OFDM sub-carrier number is 8192, f
s=4s, 0≤s < S, wherein sub-block is counted S=8; In the time that OFDM sub-carrier number is 32768, f
s=8s, 0≤s < S, S=2;
In long interlace mode: symbol interleaver line number is 480, columns is 4096, in the time that OFDM sub-carrier number is 4096, and row cyclic shift amount f
s=2s, 0≤s < S, wherein sub-block is counted S=32; In the time that OFDM sub-carrier number is 8192, f
s=4s, 0≤s < S, S=16; In the time that OFDM sub-carrier number is 32768, f
s=8s, 0≤s < S, S=4.
Fig. 5 is the structure chart of interlaced device of the present invention, and the present invention also provides the interlaced device in a kind of ofdm system, and this device comprises:
Inphase/orthogonal demultiplexer, for being divided into complex symbol sequence to be transmitted homophase, orthogonal two-way symbol sebolic addressing;
Single channel symbol sebolic addressing Block Interleaver, is connected with described inphase/orthogonal demultiplexer, and for above-mentioned homophase or orthogonal single channel symbol sebolic addressing are divided into many groups successively, every group interweaves in organizing;
Signal combiner, is connected with described single channel symbol sebolic addressing Block Interleaver, is reassembled into new complex symbol sequence for another road symbol sebolic addressing by the homophase not interweaving or orthogonal symbols sequence and after interweaving;
Symbol interleaver, is connected with described signal combiner, for the above-mentioned new complex symbol sequence being reassembled into is carried out to symbol interleaving.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, do not departing under the prerequisite of the technology of the present invention principle; can also make some improvement and replacement, these improvement and replacement also should be considered as protection scope of the present invention.