CN107306166A - A kind of data communications method based on OFDM and dual binary turbo code - Google Patents

A kind of data communications method based on OFDM and dual binary turbo code Download PDF

Info

Publication number
CN107306166A
CN107306166A CN201610265654.6A CN201610265654A CN107306166A CN 107306166 A CN107306166 A CN 107306166A CN 201610265654 A CN201610265654 A CN 201610265654A CN 107306166 A CN107306166 A CN 107306166A
Authority
CN
China
Prior art keywords
mrow
mtd
sequence
msub
mtr
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.)
Pending
Application number
CN201610265654.6A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610265654.6A priority Critical patent/CN107306166A/en
Publication of CN107306166A publication Critical patent/CN107306166A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0059Convolutional codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0071Use of interleaving
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/26Systems using multi-frequency codes
    • H04L27/2601Multicarrier modulation systems
    • H04L27/2626Arrangements specific to the transmitter only
    • H04L27/2627Modulators
    • H04L27/2628Inverse Fourier transform modulators, e.g. inverse fast Fourier transform [IFFT] or inverse discrete Fourier transform [IDFT] modulators

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Error Detection And Correction (AREA)

Abstract

The invention discloses a kind of data communications method based on OFDM and dual binary turbo code.The transmitting terminal of data communication carries out dual binary turbo convolutional encoding, scrambling and channel interleaving to input data, into constellation point, then by fast discrete inverse Fourier transform (IFFT), takes real part to be transmitted;The receiving terminal of data communication carries out Fast Fourier Transform (FFT) (FFT) to the data that receive and enters constellation point inverse mapping, then is deinterleaved by channel, goes to disturb and recover initial data with dual binary turbo folding coding, realizes high-speed data communication.The present invention uses OFDM and dual binary turbo coding techniques, with reference to scrambling and channel interleaving technology, data communication is had high, the anti-interference availability of frequency spectrum, anti-multipath time delay, anti-channel fading, the features such as error correcting capability is strong;The present invention can stablize by carrying out above-mentioned steps processing to data and effectively and reliably transmit data, and primary signal can be recovered exactly when carrying out error-correcting decoding.

Description

A kind of data communications method based on OFDM and dual binary turbo code
Technical field
It is more particularly to a kind of to be based on OFDM and double binary the present invention relates to digital coding and communication technical field The data communications method of Turbo code.
Background technology
Power line and wireless channel are with low cost as a kind of widely distributed communication media, easy to connect, each Individual field has advantageous advantage and immeasurable market potential;Signal can be by each during transmission Kind of interference and the intrinsic multidiameter delay of channel and frequency selectivity is weak all can carry out detrimental effect to signal transmission belt, It is always the emphasis and focus in data communication to solve these problems.
It is relatively low that high speed transmission data is decomposed into several transmission rates by OFDM (OFDM) technology Sub- bit stream, reuse these data and remove to modulate several carrier waves to realize multi-carrier transmission.OFDM technology has The advantages of anti-multipath time delay, anti-channel fading, the availability of frequency spectrum are high, hardware realizes simple, in mobile data communication With extensive research and application have been obtained in power line carrier, PLC.
Not only performance is very excellent under the conditions of the white Gaussian noise compared with low signal-to-noise ratio for Turbo code, and because symbol is handed over The introducing of device is knitted, the ability for making it be also equipped with stronger anti-interference and anti-channel deep fading, in channel circumstance more Possess very wide application space and prospect in severe wireless communication system.Double-binary convolutional Turbo code (DB-CTC) it is channel coding pattern that multiple wireless communication standards and broadband power line network standard are selected, is carrying The handling capacity of high channel error correcting capability and whole system has extremely important effect.
OFDM technology and dual binary turbo code are united and applied in data communication, high bit error can be efficiently solved The traffic rate occurred in channel in data communication process is low and the problems such as the high bit error rate, while data communication can be lifted Stability, validity and reliability.
The content of the invention
It is an object of the invention to propose a kind of stabilization effectively reliable high bit error channel (such as power line channel and wireless Channel) high-speed data communication method.The transmitting terminal of data communication carries out dual binary turbo convolution volume to input data Code, scrambling and channel interleaving, into constellation point, then by fast discrete inverse Fourier transform (IFFT), Real part is taken to be transmitted;The receiving terminal of data communication carries out Fast Fourier Transform (FFT) (FFT) to the data received and entered Enter constellation point inverse mapping, then deinterleaved by channel, go to disturb and recover original number with dual binary turbo folding coding According to realizing complete data communication process.
To achieve these goals, it is logical the invention provides a kind of data based on OFDM and dual binary turbo code Letter method, methods described includes transmitting terminal and receiving terminal, and receiving terminal is the inverse process of transmitting terminal, and receiving terminal is not done It is described in detail, transmitting terminal includes:
Step S1), coding parameter is set, including coded block size and code check size, wherein code block size are PB16 (128bits), PB136 (1088bits) and PB520 (4160bits), code check size are 1/2 and 16/18;
Step S2), every time read in coded block size input data In, carry out dual binary turbo convolutional encoding, By the sequence after coding by information bit preceding, the posterior mode of check bit is exported, and obtains Turbo convolutional encoded sequences;
Step S3), by step S2) coded sequence scrambled, obtain scrambler sequence;
Step S4), by step S3) obtained scrambler sequence carries out channel interleaving, obtains channel interleaving sequence;
Step S5), by step S4) obtained channel interleaving sequence carries out in QPSK (QPSK) mode Constellation point and N × 1024 (N=0,1,2...) point IFFT computings, obtain a series of sequence of complex numbers C;
Step S6), by step S5) obtained sequence of complex numbers C takes real part, obtain sending sequence;
In above-mentioned technical proposal, the step S2) specifically include:
Step S2-1), every time read in coded block size data In=(i0, i1..., ik..., i2N-1), by sequence of parity point Into two group information sequence U0=(u00, u01..., u0k..., u0N-1) and U1=(u10, u11..., u1k..., u1N-1);
Step S2-2), by step S2-1) obtained two group information sequence U0、U1Carry out precoding, register by Original state S0=[S0,1, S0,2, S0,3] become state SN=[S after precodingN, 1, SN, 2, SN, 3];
Step S2-3), by step S2-2) obtained buffer status SN tabled look-up rising when formally encoding Beginning buffer status S '0, using buffer status to two group information sequence U0、U1Carry out dual binary turbo convolution volume Code, obtains one group of check code X0=(x00, x01..., x0k..., x0N-1);
Step S2-4), by step S2-1) obtained two group information sequences carry out by searching Turbo intertextures mapping table Turbo interweaves, the information sequence U ' after being interweaved0With U '1
Step S2-5) by step S2-4) information sequence U ' after obtained two groups of intertextures0、U′1Precoding is carried out, is posted Storage is by original state S0 '=[S '0,1, S '0,2, S '0,3] become state SN '=[S ' after precodingN, 1, S 'N, 2, S 'N, 3];
Step S2-6), by step S2-5) obtained buffer status SN ' tabled look-up rising when formally encoding Beginning buffer status S "0, using buffer status to the information sequence U ' after two groups of intertextures0With U '1Carry out double binary Turbo convolutional encodings, obtain another set check code X1=(x10, x11..., x1k..., x1N-1);
Step S2-7), by step S2-3), step S2-6) two groups of check code X0、X1Entered according to code check parameter Row punching is handled, two groups of check code X ' after being punched0、X′1
Step S2-8), by step S2-1), step S2-3), step S2-7) two group information sequence U0、U1With Two groups of check code X '0、X′1According to U0、U1、X′0、X′1Sequential output, obtains Turbo convolutional encoded sequences;
In above-mentioned technical proposal, the step S3) specifically include:
Step S3-1), initialization one by 10 grades of shift registersThe motor synchronizing of composition Scrambler, initial register state is all 1;
Step S3-2), by step S2-8) Turbo convolution sequences 1 bit of input is added to scrambler every time Disturb, the sequence after being scrambled;
In above-mentioned technical proposal, the step S3-2) specifically include:
Step S3-2-1), often input 1 bit, shift register moves to left one, and lowest order is by the 10th of register Position and the 3rd XOR are obtained;
Step S3-2-2), by step S3-2-1) obtained register lowest order and 1 bit of input carry out XOR 1 bit after being scrambled;
In above-mentioned technical proposal, the step S4) specifically include:
Step S4-1), by step S3-2) obtained scrambler sequence is divided into two groups of sequence Inc according to information bit and check bit And Chc, its sequence length is respectively lc1And lc2
Step S4-2), by step S4-1) obtained information sequence Inc carries out information bit intertexture, after being interweaved Information sequence Inc ';
In above-mentioned technical proposal, the step S4-2) specifically include:
Step S4-2-1), information sequence column major order is written to 4 row lc1In the matrix memory space of/4 rows;
Step S4-2-2), by step S4-2-1) obtain the data in matrix memory space and exported by row, obtain Information sequence Inc ' after intertexture;
Step S4-3), by step S4-1) obtained verification sequence Chc carries out check bit intertexture, after being interweaved Verification sequence Chc ';
In above-mentioned technical proposal, the step S4-3) specifically include:
Step S4-3-1), verification sequence column major order is written to 4 row lc2In the matrix memory space of/4 rows;
Step S4-3-2), by step S4-3-1) obtain the data in matrix memory space and exported by row, obtain Verification sequence Chc ' after intertexture;
Step S4-4), by step S4-2), step S4-3) information sequence Inc ' after obtained intertexture and Chc ' enter Row joint interweaves;For 1/2 code check, preceding 4 bit of output is information bit, and then 4 bits are check bit, with this Analogize;It is 3 4bits information bit first for 16/18 code check, followed by 4bits check bit, it is finally 5 4bits information bit, repeats this pattern;Obtain the sequence after joint interweaves;
Step S4-5), by step S4-4) obtained joint interleaved sequence carries out nibble displacement, using 4bits for singly Position is shifted, using 10 units as a cycle.For the 1st and the 2nd two unit, without displacement;It is right In the 3rd and the 4th two unit, the left cyclic shift of progress 1;For the 5th and the 6th two unit, 2 are carried out The left cyclic shift of position;For the 7th and the 8th two unit, the left cyclic shift of progress 3;For the 9th He 10th two unit, the left cyclic shift of progress 4;Obtain the ultimate sequence after channel interleaving;
In above-mentioned technical proposal, the step S5) specifically include:
Step S5-1), by step S4-5) obtained every two of channel interleaving sequence is one group and carried out in QPSK modes Constellation point, obtains a series of sequence of complex numbers;
Step S5-2), by step S5-1) obtained sequence of complex numbers carries out power normalization, obtain after power normalization Sequence of complex numbers;
Step S5-3), by step S5-2) obtained every 511 plural numbers of sequence of complex numbers are unit, utilize progress of tabling look-up Phase shift, obtains the sequence of complex numbers after phase shift;
Step S5-4), by step S5-3) obtained review sequence carries out in units of 511 plural numbers N × 1024 (N=0,1,2...) point IFFT computings, obtain sequence of complex numbers C;
The method advantage of the present invention is:
1st, the present invention uses OFDM and dual binary turbo coding techniques, with reference to scrambling and channel interleaving technology, makes Data communication has high, the anti-interference availability of frequency spectrum, anti-multipath time delay, anti-channel fading, and error correcting capability waits by force special Point;
2nd, the present invention can stablize by carrying out above-mentioned steps processing to data and effectively and reliably transmit data, carry out Primary signal can be recovered during error-correcting decoding exactly.
Brief description of the drawings
Fig. 1 is general frame figure of the invention;
Fig. 2 is channel interleaving flow chart of the invention.
Embodiment
In conjunction with the drawings and specific embodiments, the present invention will be further described.
As shown in figure 1, a kind of data communications method based on OFDM and dual binary turbo code, methods described bag Include:
Step S1), coding parameter is set, including coded block size and code check size, wherein code block size are PB16 (128bits), PB136 (1088bits) and PB520 (4160bits), code check size are 1/2 and 16/18;
Step S2), every time read in coded block size input data In, carry out dual binary turbo convolutional encoding, By the sequence after coding by information bit preceding, the posterior mode of check bit is exported, and obtains Turbo convolutional encoded sequences; Specifically include:
Step S2-1), every time read in coded block size data In=(i0, i1..., ik..., i2N-1), by sequence of parity point Into two group information sequence U0=(u00, u01..., u0k..., u0N-1) and U1=(u10, u11..., u1k..., u1N-1);u0kAnd u1kMeter Calculate as follows:
Step S2-2), by step S2-1) obtained two group information sequence U0、U1Carry out precoding, register by Original state S0=[S0,1, S0,2, S0,3] become state SN=[S after precodingN, 1, SN, 2, SN, 3];In precoding process K time register state SK are calculated by following formula and obtained:
Step S2-3), by step S2-2) obtained buffer status SN tabled look-up rising when formally encoding Beginning buffer status S '0, using buffer status to two group information sequence U0、U1Carry out dual binary turbo convolution volume Code, obtains one group of check code X0=(x00, x01..., x0k..., x0N-1);Check code calculation formula is as follows:
Wherein, k=0,1 ... N-1, s 'K-1,3Represent the state of the 3rd register at the moment of kth -1 during formal coding.
Step S2-4), by step S2-1) obtained two group information sequences carry out by searching Turbo intertextures mapping table Turbo interweaves, the information sequence U ' after being interweaved0With U '1
Step S2-5), by step S2-4) information sequence U ' after obtained two groups of intertextures0、U′1Carry out precoding, Register is by original state S0 '=[S '01, S '02, S '03] become state SN '=[S ' after precodingN1, S 'N2, S 'N3];Computational methods With step S2-2);
Step S2-6), by step S2-5) obtained buffer status SN ' tabled look-up rising when formally encoding Beginning buffer status S "0, using buffer status to the information sequence U ' after two groups of intertextures0With U '1Carry out double binary Turbo convolutional encodings, obtain another set check code X1=(x10, x11..., x1k..., x1N-1);The same step of computational methods S2-3);
Step S2-7), by step S2-3), step S2-6) two groups of check code X0、X1Entered according to code check parameter Row punching is handled;If code check is 1/2, handled without punching;If code check is 16/18;Then by two groups of schools Test a yard X0、X1All punched by a unit of 8 bits, retain the 1st bit in each unit, its 7 bits of remaininging are deleted, two after being punched group check code X '0、X′1
Step S2-8), by step S2-1), step S2-3), step S2-7) two group information sequence U0、U1With Two groups of check code X '0、X′1According to U0、U1、X′0、X′1Sequential output, obtains Turbo convolutional encoded sequences;
Step S3), by step S2-8) coded sequence scrambled, obtain scrambler sequence;Specifically include:
Step S3-1), initialization one by 10 grades of shift registersThe motor synchronizing of composition Scrambler, initial register state is all 1;
Step S3-2), by step S2-8) Turbo convolution sequences 1 bit of input is added to scrambler every time Disturb, the sequence after being scrambled;Specifically include:
Step S3-2-1), often input 1 bit, shift register moves to left one, and lowest order is by the 10th of register Position and the 3rd XOR are obtained;State S (the X of kth time scramblerk) be calculated as follows:
Step S3-2-2), by step S3-2-1) obtained register lowest order and 1 bit of input carry out XOR 1 bit after being scrambled;
Step S4), to step S3-2) obtained scrambler sequence carries out channel interleaving, obtains channel interleaving sequence, Channel interleaving is as shown in Figure 2;Specifically include:
Step S4-1), by step S3-2) obtained scrambler sequence is divided into two groups of sequence Inc according to information bit and check bit And Chc, its sequence length is respectively lc1And lc2
Step S4-2), by step S4-1) obtained information sequence Inc carries out information bit intertexture, after being interweaved Information sequence Inc ';Specifically include:
In above-mentioned technical proposal, the step S4-2) specifically include:
Step S4-2-1), information sequence column major order is written to 4 row lc1In the matrix memory space of/4 rows;I.e. One is classified as the 1st to lc in information sequence Inc1/ 4 bits, second is classified as the lc in information sequence Inc1/ 4+1 is arrived lc1/ 2 bits, the 3rd is classified as the lc in information sequence Inc1/ 2+1 to 3 × lc1/ 4 bits, the 3rd is classified as information 3 × lc in sequence Inc1/ 4+1 to lc1Individual bits;
Step S4-2-2), by step S4-2-1) obtain the data in matrix memory space and exported by row, obtain Information sequence Inc ' after intertexture;Reading manner is:Since the 1st row, row when for the second time starting to read every time Location adds step-length StepSize1, passes throughAfter secondary reading, the first round runs through;Then next round is read, from second Row starts, and row address adds step-length StepSize1 when reading every time;The like, after being taken turns by StepSize1 Whole rows are all read;Wherein StepSize1 is tabled look-up according to code block size and code check size;
Step S4-3), by step S4-1) obtained verification sequence Chc carries out check bit intertexture, after being interweaved Verification sequence Chc ';Specifically include:
Step S4-3-1), verification sequence column major order is written to 4 row lc2In the matrix memory space of/4 rows;I.e. One is classified as the 1st to lc in verification sequence Chc2/ 4 bits, second is classified as the lc in information sequence Chc2/4+1 To lc2/ 2 bits, the 3rd is classified as the lc in information sequence Chc2/ 2+1 to 3 × lc2/ 4 bits, the 3rd is classified as 3 × lc in information sequence Chc2/ 4+1 to lc2Individual bits;
Step S4-3-2), by step S4-3-1) obtain the data in matrix memory space and exported by row, obtain Verification sequence Chc ' after intertexture;When being 1/2 for code check, since offset rows, start reading every time for the second time When row address plus step-length StepSize2 and to lc2Modulus, i.e., second row address be (offset+StepSize2)modlc2, pass throughAfter secondary reading, the first round runs through;Then next round is read, from Offset+1 rows start, and row address adds step-length StepSize2 when reading every time, the like, pass through Whole rows are all read after StepSize2 wheels;When being 16/18 for code check, since offset rows, open for the second time Row address is plus step-length StepSize2 and to lc when beginning to read every time2Modulus, i.e., second row address be (offset+StepSize2)modlc2, read lc2After secondary, whole rows are all read;Wherein offset and StepSize2 roots Tabled look-up according to code block size and code check size;
Step S4-4), by step S4-2), step S4-3) information sequence Inc ' after obtained intertexture and Chc ' enter Row joint interweaves;For 1/2 code check, preceding 4 bit of output is information bit, and then 4 bits are check bit, with this Analogize;It is 3 4bits information bit first for 16/18 code check, followed by 4bits check bit, it is finally 5 4bits information bit, repeats this pattern;Obtain the sequence after joint interweaves;
Step S4-5) by step S4-4) obtained joint interleaved sequence carries out nibble displacement, in units of 4bits Shifted, using 10 units as a cycle.For the 1st and the 2nd two unit, without displacement;For 3rd and the 4th two unit, the left cyclic shift of progress 1;For the 5th and the 6th two unit, 2 are carried out The left cyclic shift of position;For the 7th and the 8th two unit, the left cyclic shift of progress 3;For the 9th He 10th two unit, the left cyclic shift of progress 4;Obtain the ultimate sequence after channel interleaving;
Step S5), to step S4) obtained channel interleaving sequence carries out in QPSK (QPSK) mode Constellation point and 1024 point IFFT computings, obtain a series of sequence of complex numbers C;Specifically include:
Step S5-1), by step S4-5) obtained every two of channel interleaving sequence is one group and carried out in QPSK modes Constellation point, obtains a series of sequence of complex numbers;Mapping ruler is:(0,0) is mapped as 1+j, (0,1) mapping For 1-j, (1,0) is mapped as -1+j, and (1,1) is mapped as -1-j;
Step S5-2), by step S5-1) obtained sequence of complex numbers carries out power normalization, obtain after power normalization Sequence of complex numbers;I.e. to each CM with normalization factor
Step S5-3), by step S5-2) obtained every 511 plural numbers of sequence of complex numbers are unit, utilize progress of tabling look-up Phase shift, obtains the sequence of complex numbers after phase shift;I.e. each CM is with corresponding twiddle factor Cos (phase_map [i] * PI/4)+sin (phase_map [i] * PI/4), wherein phase_map [i] represent i-th Individual twiddle factor parameter, i=0,1 ... 510;
Step S5-4), by step S5-3) obtained review sequence carries out in units of 511 plural numbers N × 1024 (N=0,1,2...) point IFFT computings, obtain sequence of complex numbers C;
Step S6), to step S5) obtained sequence of complex numbers C takes real part, obtain sending sequence.
It should be noted last that, the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted.Although The present invention is described in detail with reference to embodiment, it will be understood by those within the art that, to the present invention Technical scheme modify or equivalent substitution, without departure from the spirit and scope of technical solution of the present invention, its is equal It should cover among scope of the presently claimed invention.

Claims (8)

1. a kind of data communications method based on OFDM and dual binary turbo code, it is characterised in that including following Step:
Step S1), coding parameter is set, described coding parameter includes coded block size and code check size;Wherein code Block size is PB16, PB136 and PB520;Code check size is 1/2 and 16/18;
Step S2), every time read in coded block size input data In, carry out dual binary turbo convolutional encoding, By the sequence after coding by information bit preceding, the posterior mode of check bit is exported, and obtains Turbo convolutional encoded sequences;
Step S3), by step S2) coded sequence scrambled, obtain scrambler sequence;
Step S4), by step S3) obtained scrambler sequence carries out channel interleaving, obtains channel interleaving sequence;
Step S5), by step S4) obtained channel interleaving sequence carries out constellation point in QPSK mode and reflects Penetrate with N × 1024 (N=0,1,2...) point IFFT computings, obtain a series of sequence of complex numbers C;
Step S6), by step S5) obtained sequence of complex numbers C takes real part, obtain sending sequence.
2. the data communications method according to claim 1 based on OFDM and dual binary turbo code, it is special Levy and be, the step S2) specifically include:
Step S2-1), every time read in coded block size data In=(i0, i1..., ik..., i2N-1), by sequence of parity point Into two group information sequence U0=(u00, u01..., u0k..., u0N-1) and U1=(u10, u11..., u1k..., u1N-1);u0kAnd u1kMeter Calculate as follows:
<mrow> <mtable> <mtr> <mtd> <mrow> <msub> <mi>u</mi> <mrow> <mn>0</mn> <mi>k</mi> </mrow> </msub> <mo>=</mo> <msub> <mi>i</mi> <mrow> <mn>2</mn> <mi>k</mi> </mrow> </msub> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msub> <mi>u</mi> <mrow> <mn>1</mn> <mi>k</mi> </mrow> </msub> <mo>=</mo> <msub> <mi>i</mi> <mrow> <mn>2</mn> <mi>k</mi> <mo>+</mo> <mn>1</mn> </mrow> </msub> </mrow> </mtd> </mtr> </mtable> <mo>,</mo> <mi>k</mi> <mo>=</mo> <mn>0</mn> <mo>,</mo> <mn>1</mn> <mo>,</mo> <mo>...</mo> <mo>,</mo> <mi>N</mi> <mo>-</mo> <mn>1</mn> <mo>;</mo> </mrow>
Step S2-2), by step S2-1) obtained two group information sequence U0、U1Carry out precoding, register by Original state S0=[S0,1, S0,2, 80,3] become state SN=[S after precodingN, 1, SN, 2, SN, 3];In precoding process K time register state SK are calculated by following formula and obtained:
<mrow> <mtable> <mtr> <mtd> <mrow> <mi>S</mi> <mi>K</mi> <mo>=</mo> <mo>&amp;lsqb;</mo> <msub> <mi>S</mi> <mrow> <mi>K</mi> <mo>,</mo> <mn>1</mn> </mrow> </msub> <mo>,</mo> <msub> <mi>S</mi> <mrow> <mi>K</mi> <mo>,</mo> <mn>2</mn> </mrow> </msub> <mo>,</mo> <msub> <mi>S</mi> <mrow> <mi>K</mi> <mo>,</mo> <mn>3</mn> </mrow> </msub> <mo>&amp;rsqb;</mo> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>=</mo> <mo>&amp;lsqb;</mo> <mtable> <mtr> <mtd> <msub> <mi>S</mi> <mrow> <mi>K</mi> <mo>-</mo> <mn>1</mn> <mo>,</mo> <mn>1</mn> </mrow> </msub> </mtd> <mtd> <msub> <mi>S</mi> <mrow> <mi>K</mi> <mo>-</mo> <mn>1</mn> <mo>,</mo> <mn>2</mn> </mrow> </msub> </mtd> <mtd> <msub> <mi>S</mi> <mrow> <mi>K</mi> <mo>-</mo> <mn>1</mn> <mo>,</mo> <mn>3</mn> </mrow> </msub> </mtd> </mtr> </mtable> <mo>&amp;rsqb;</mo> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <mn>0</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mn>1</mn> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> </mtable> </mfenced> <mo>+</mo> <mo>&amp;lsqb;</mo> <mtable> <mtr> <mtd> <msub> <mi>u</mi> <mrow> <mn>0</mn> <mi>k</mi> </mrow> </msub> </mtd> <mtd> <msub> <mi>u</mi> <mrow> <mn>1</mn> <mi>k</mi> </mrow> </msub> </mtd> </mtr> </mtable> <mo>&amp;rsqb;</mo> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <mn>0</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> </mtable> </mfenced> </mrow> </mtd> </mtr> </mtable> <mo>;</mo> </mrow>
Step S2-3), by step S2-2) obtained buffer status SN tabled look-up rising when formally encoding Beginning buffer status S '0, using buffer status to two group information sequence U0、U1Carry out dual binary turbo convolution volume Code, obtains one group of check code X0=(x00, x01..., x0k..., x0N-1);Check code calculation formula is as follows:
<mrow> <msub> <mi>x</mi> <mrow> <mn>0</mn> <mi>k</mi> </mrow> </msub> <mo>=</mo> <msub> <mi>x</mi> <mrow> <mn>0</mn> <mi>k</mi> </mrow> </msub> <mo>&amp;CirclePlus;</mo> <msub> <mi>x</mi> <mrow> <mn>1</mn> <mi>k</mi> </mrow> </msub> <mo>&amp;CirclePlus;</mo> <msubsup> <mi>s</mi> <mrow> <mi>k</mi> <mo>-</mo> <mn>1</mn> <mo>,</mo> <mn>3</mn> </mrow> <mo>&amp;prime;</mo> </msubsup> </mrow>
Wherein, k=0,1 ... N-1, s 'K-1,3Represent the state of the 3rd register at the moment of kth -1 during formal coding.
Step S2-4), by step S2-1) obtained two group information sequences carry out by searching Turbo intertextures mapping table Turbo interweaves, the information sequence U ' after being interweaved0With U '1
Step S2-5), by step S2-4) information sequence U ' after obtained two groups of intertextures0、U′1Carry out precoding, Register is by original state S0 '=[S '01, S '02, S '03] become state SN '=[S ' after precodingN1, S 'N2, S 'N3];Computational methods With step S2-2);
Step S2-6), by step S2-5) obtained buffer status SN ' tabled look-up rising when formally encoding Beginning buffer status S "0, using buffer status to the information sequence U ' after two groups of intertextures0With U '1Carry out double binary Turbo convolutional encodings, obtain another set check code X1=(x10, x11..., x1k..., x1N-1);The same step of computational methods S2-3);
Step S2-7), by step S2-3), step S2-6) two groups of check code X0、X1Entered according to code check parameter Row punching is handled;If code check is 1/2, handled without punching;If code check is 16/18;Then by two groups of schools Test a yard X0、X1All punched by a unit of 8 bits, retain the 1st bit in each unit, its 7 bits of remaininging are deleted, two after being punched group check code X '0、X′1
Step S2-8), by step S2-1), step S2-3), step S2-7) two group information sequence U0、U1With Two groups of check code X '0、X′1According to U0、U1、X′0、X′1Sequential output, obtains Turbo convolutional encoded sequences.
3. the data communications method according to claim 1 based on OFDM and dual binary turbo code, it is special Levy and be, the step S3) specifically include:
Step S3-1), initialization one by 10 grades of shift registersThe motor synchronizing of composition Scrambler, initial register state is all 1;
Step S3-2), by step S2-8) Turbo convolution sequences 1 bit of input is added to scrambler every time Disturb, the sequence after being scrambled.
4. the data communications method according to claim 3 based on OFDM and dual binary turbo code, it is special Levy and be, the step S3-2) specifically include:
Step S3-2-1), often input 1 bit, shift register moves to left one, and lowest order is by the 10th of register Position and the 3rd XOR are obtained;State S (the X of kth time scramblerk) be calculated as follows:
<mrow> <mtable> <mtr> <mtd> <mrow> <mi>S</mi> <mrow> <mo>(</mo> <msub> <mi>X</mi> <mi>k</mi> </msub> <mo>)</mo> </mrow> <mo>=</mo> <mrow> <mo>(</mo> <msubsup> <mi>X</mi> <mrow> <mi>k</mi> <mo>-</mo> <mn>1</mn> </mrow> <mn>9</mn> </msubsup> <msubsup> <mi>X</mi> <mrow> <mi>k</mi> <mo>-</mo> <mn>1</mn> </mrow> <mn>8</mn> </msubsup> <mn>...</mn> <msubsup> <mi>X</mi> <mrow> <mi>k</mi> <mo>-</mo> <mn>1</mn> </mrow> <mn>0</mn> </msubsup> <msubsup> <mi>X</mi> <mi>k</mi> <mn>1</mn> </msubsup> <mo>)</mo> </mrow> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <msubsup> <mi>X</mi> <mi>k</mi> <mn>1</mn> </msubsup> <mo>=</mo> <msubsup> <mi>X</mi> <mrow> <mi>k</mi> <mo>-</mo> <mn>1</mn> </mrow> <mn>9</mn> </msubsup> <mo>&amp;CirclePlus;</mo> <msubsup> <mi>X</mi> <mrow> <mi>k</mi> <mo>-</mo> <mn>1</mn> </mrow> <mn>2</mn> </msubsup> </mrow> </mtd> </mtr> </mtable> <mo>;</mo> </mrow>
Step S3-2-2), by step S3-2-1) 1 bit of obtained register lowest order and input carries out XOR and obtains 1 bit after to scrambling.
5. the data communications method according to claim 1 based on OFDM and dual binary turbo code, it is special Levy and be, the step S4) specifically include:
Step S4-1), by step S3-2) obtained scrambler sequence is divided into two groups of sequence Inc according to information bit and check bit And Chc, its sequence length is respectively lc1And lc2
Step S4-2), by step S4-1) obtained information sequence Inc carries out information bit intertexture, after being interweaved Information sequence Inc ';;
Step S4-3), by step S4-1) obtained verification sequence Chc carries out check bit intertexture, after being interweaved Verification sequence Chc ';
Step S4-4), by step S4-2), step S4-3) information sequence Inc ' after obtained intertexture and Chc ' enter Row joint interweaves;For 1/2 code check, preceding 4 bit of output is information bit, and then 4 bits are check bit, with this Analogize;It is 3 4bits information bit first for 16/18 code check, followed by 4bits check bit, it is finally 5 4bits information bit, repeats this pattern;Obtain the sequence after joint interweaves;
Step S4-5), by step S4-4) obtained joint interleaved sequence carries out nibble displacement, using 4bits for singly Position is shifted, using 10 units as a cycle.For the 1st and the 2nd two unit, without displacement;It is right In the 3rd and the 4th two unit, the left cyclic shift of progress 1;For the 5th and the 6th two unit, 2 are carried out The left cyclic shift of position;For the 7th and the 8th two unit, the left cyclic shift of progress 3;For the 9th He 10th two unit, the left cyclic shift of progress 4;Obtain the ultimate sequence after channel interleaving.
6. the data communications method according to claim 5 based on OFDM and dual binary turbo code, it is special Levy and be, the step S4-2) specifically include:
Step S4-2-1), information sequence column major order is written to 4 row lc1In the matrix memory space of/4 rows;I.e. One is classified as the 1st to lc in information sequence Inc1/ 4 bits, second is classified as the lc in information sequence Inc1/ 4+1 is arrived lc1/ 2 bits, the 3rd is classified as the lc in information sequence Inc1/ 2+1 to 3 × lc1/ 4 bits, the 3rd is classified as information 3 × lc in sequence Inc1/ 4+1 to lc1Individual bits;
Step S4-2-2), by step S4-2-1) obtain the data in matrix memory space and exported by row, obtain Information sequence Inc ' after intertexture;Reading manner is:Since the 1st row, row when for the second time starting to read every time Location adds step-length StepSize1, passes throughAfter secondary reading, the first round runs through;Then next round is read, from second Row starts, and row address adds step-length StepSize1 when reading every time;The like, after being taken turns by StepSize1 Whole rows are all read;Wherein StepSize1 is tabled look-up according to code block size and code check size.
7. the data communications method according to claim 5 based on OFDM and dual binary turbo code, it is special Levy and be, the step S4-3) specifically include:
Step S4-3-1) verification sequence column major order is written to 4 row lc2In the matrix memory space of/4 rows;I.e. One is classified as the 1st to lc in verification sequence Chc2/ 4 bits, second is classified as the lc in information sequence Chc2/4+1 To lc2/ 2 bits, the 3rd is classified as the lc in information sequence Chc2/ 2+1 to 3 × lc2/ 4 bits, the 3rd is classified as 3 × lc in information sequence Chc2/ 4+1 to lc2Individual bits;
Step S4-3-2) by step S4-3-1) obtain the data in matrix memory space and exported by row, obtain Verification sequence Chc ' after intertexture;When being 1/2 for code check, since offset rows, start reading every time for the second time When row address plus step-length StepSize2 and to lc2Modulus, i.e., second row address be (offset+StepSize2)mod lc2, pass throughAfter secondary reading, the first round runs through;Then next round is read, from Offset+1 rows start, and row address adds step-length StepSize2 when reading every time, the like, pass through Whole rows are all read after StepSize2 wheels;When being 16/18 for code check, since offset rows, open for the second time Row address is plus step-length StepSize2 and to lc when beginning to read every time2Modulus, i.e., second row address be (offset+StepSize2)mod lc2, read lc2After secondary, whole rows are all read;Wherein offset and StepSize2 roots Tabled look-up according to code block size and code check size.
8. the data communications method according to claim 1 based on OFDM and dual binary turbo code, it is special Levy and be, the step S5) specifically include:
Step S5-1), by step S4-5) obtained every two of channel interleaving sequence is one group and carried out in QPSK modes Constellation point, obtains a series of sequence of complex numbers;Mapping ruler is:(0,0) is mapped as 1+j, (0,1) mapping For 1-j, (1,0) is mapped as -1+j, and (1,1) is mapped as -1-j;
Step S5-2), by step S5-1) obtained sequence of complex numbers carries out power normalization, obtain after power normalization Sequence of complex numbers;I.e. to each CM with normalization factor
Step S5-3), by step S5-2) obtained every 511 plural numbers of sequence of complex numbers are unit, utilize progress of tabling look-up Phase shift, obtains the sequence of complex numbers after phase shift;I.e. each CM is with corresponding twiddle factor Cos (phase_map [i] * PI/4)+sin (phase_map [i] * PI/4), wherein phase_map [i] represent i-th Individual twiddle factor parameter, i=0,1 ... 510;
Step S5-4), by step S5-3) obtained review sequence carries out in units of 511 plural numbers N × 1024 (N=0,1,2...) point IFFT computings, obtain sequence of complex numbers C.
CN201610265654.6A 2016-04-25 2016-04-25 A kind of data communications method based on OFDM and dual binary turbo code Pending CN107306166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610265654.6A CN107306166A (en) 2016-04-25 2016-04-25 A kind of data communications method based on OFDM and dual binary turbo code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610265654.6A CN107306166A (en) 2016-04-25 2016-04-25 A kind of data communications method based on OFDM and dual binary turbo code

Publications (1)

Publication Number Publication Date
CN107306166A true CN107306166A (en) 2017-10-31

Family

ID=60150706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610265654.6A Pending CN107306166A (en) 2016-04-25 2016-04-25 A kind of data communications method based on OFDM and dual binary turbo code

Country Status (1)

Country Link
CN (1) CN107306166A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108183729A (en) * 2018-03-19 2018-06-19 西安电子科技大学 The channel interleaving method and system of power line carrier communication based on FPGA
CN110557220A (en) * 2018-05-30 2019-12-10 上海矽久微电子有限公司 Physical layer channel coding and decoding method
CN110830052A (en) * 2018-08-07 2020-02-21 黎光洁 Ultra-low code rate internal interleaving convolutional coding and decoding method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108183729A (en) * 2018-03-19 2018-06-19 西安电子科技大学 The channel interleaving method and system of power line carrier communication based on FPGA
CN110557220A (en) * 2018-05-30 2019-12-10 上海矽久微电子有限公司 Physical layer channel coding and decoding method
CN110830052A (en) * 2018-08-07 2020-02-21 黎光洁 Ultra-low code rate internal interleaving convolutional coding and decoding method
CN110830052B (en) * 2018-08-07 2023-06-23 黎光洁 Ultra-low code rate internal interleaving convolution coding and decoding method

Similar Documents

Publication Publication Date Title
CN101795257B (en) Method for offset-modulation orthogonal frequency division multiplexing transmission with cyclic prefix
Paterson et al. On the existence and construction of good codes with low peak-to-average power ratios
CN101889399B (en) Method and apparatus for interleaving data in mobile communication system
CN101621490B (en) Method for modulation diversity joint codes of OFDM system
CN112532351B (en) Interleaving transmission method for weighted fractional Fourier transform frequency domain two-component signal
CN104541466B (en) The method and apparatus for the intertexture that inter-carrier interference in the wireless communication system being limited for phase noise suppresses
CN101425871B (en) Multi-element error correcting code transmitting and receiving apparatus, data communication system and related method
CN104009826B (en) Frequency hopping anti-interference method based on error correction and erasure correction RS-Turbo concatenated codes
CN103841065A (en) Non-orthogonal multi-user access and sending and combined receiving, demodulation and coding system and method
CN102007747A (en) An improved dual carrier modulation precoding
CN102684828A (en) Multidimensional constellations for coded transmission
CN110061808B (en) Underwater anti-interference transmission method based on prime number interleaving and spinal code coding
CN101562458A (en) Transmission device, communication system, transmission method and program
CN102916923A (en) Information transmission method capable of reducing PAPR of multicarrier system
CN103843275B (en) Processing device, processing method and communication system of bit streams
US20170019289A1 (en) Multi-element code modulation mapping method, device and computer storage medium
CN107306166A (en) A kind of data communications method based on OFDM and dual binary turbo code
CN104579613B (en) A kind of combined coding modulation method based on no-rate codes and V OFDM
CN107070838A (en) One kind is based on G3 PLC frequency domain ROBO coded modulation demodulation methods
Adiono et al. Design of an OFDM System for VLC with a Viterbi Decoder
TW200915768A (en) System and method for frequency diversity
CN107819718A (en) LDPC Y COFDM method of controlling security and system based on the mapping of anti-Gray code
CN101015151B (en) Mb-ofdm transmitter and receiver and signal processing method thereof
CN109842460A (en) Data transmission method, device, storage medium and processor
CN102882654B (en) Encoding constraint and probability calculation based encoding and decoding synchronization method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Li Songbin

Document name: Notification of Publication of the Application for Invention

WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171031