A kind of method and system for realizing sound wave digital communication
Technical field
The present invention relates to sound wave digital communication technology field, particularly a kind of method for realizing sound wave digital communication and
System.
Background technology
Sound wave digital communication technology is the emerging technology that developed recently gets up, with traditional radio communication technology phase
Than, due in air acoustic communication be not take up wireless signal-path band width, not by electromagnetic interference, therefore have preferable application prospect.Can
Audio signal is carried on to be applied to data interaction between the mobile device with audio frequency apparatus, the mobile device reception with audio frequency apparatus
In the aspect such as digital information.The sound wave payment function of Alipay is namely based on the typical case that sound wave realizes data transfer
Son.
Different from common radio channel, the main of air Acoustic channel has the characteristics that:(1) propagation delay is big.(2)
Signal attenuation is big.Acoustic absorptivity in air increases as frequency of sound wave is raised, and propagation distance can be with atmosphere for sound wave
Frequency is raised and shortened.(3) multipath effect is serious.Because sound wave can occur sound wave in communication process at dielectric interface
Reflection and refraction, so as to cause multipath effect.Especially in closed room, dissipated because wall, furniture and human body etc. are multiple
The presence of beam or reflector, multipath effect is more serious.(4) Doppler effect is relatively serious.It is empty from from the perspective of communication
Acoustic channel is that one kind has strong intersymbol interference (ISI), the channel of strong noise in gas, and this channel causes to realize reliability in atmosphere
Sound wave digital communication is extremely difficult.This channel has certain similarity with underwater acoustic channel or other sound mediums.
Therefore in sound wave digital communication technology field, the subject matter that presently, there are be the communication reliability of Acoustic channel not
Foot.
The content of the invention
In view of this, the present invention provides a kind of method and system for realizing sound wave digital communication, it is possible to increase Acoustic channel
Communication reliability.
To achieve the above object, according to an aspect of the invention, there is provided a kind of method for realizing sound wave digital communication.
This method for realizing sound wave digital communication of the invention includes:Binary source data are carried out with modern channel volume
Code obtains binary code stream;Random interleaving is carried out to the binary code stream;The binary code after to random interleaving is flowed into
Row M units the parallel combined band spectrum modulation;Sound carrier modulation is carried out to the modulation symbol after M units the parallel combined band spectrum modulation and then is sent out
Send.
Alternatively, the modern channel coding includes following one kind:Turbo coding, LPDC yards, RA yards.
According to another aspect of the present invention, there is provided the method that another kind realizes sound wave digital communication.
This method for realizing sound wave digital communication of the invention includes:Receive voice carrier and then be demodulated, obtain
To spread spectrum acoustical signal, and synchronization and the channel estimation of acoustical signal are carried out simultaneously, obtain time and the Frequency Synchronization of acoustical signal, with
And channel multi-path number and position;Time and Frequency Synchronization and channel multi-path number and position according to the acoustical signal carry out M
First the parallel combined frequency expansion sequence detection, obtains all frequency expansion sequences and receives the correlation vector of signal;According to the correlation
Vector sum carries out MAP decodings as the spread symbol probability of feedback signal, and calculates the likelihood ratio of all possible code word bits
And code word bits external information is obtained, and the code word bits external information is carried out into solution random interleaving;The institute after random interleaving will be solved
State code word bits external information carries out MAP decodings by modern channel coding and decoding device, exceedes in output information bit log likelihood ratio pre-
If output information bit posterior probability likelihood ratio information is extremely adjudicated in the case that value or iterative decoding number of times reach preset times
Device makes decisions output, otherwise by the code word bits external information by carrying out bit log-likelihood ratio to spread spectrum after random interleaving
Symbol probability is changed, and is obtained spread symbol probability and is fed back as the feedback signal.
Alternatively, the M units the parallel combined frequency expansion sequence detection is used orthogonal pseudo-random sequence sets or accurate orthogonal puppet
Random sequence collection includes following one kind:Gold sequence, prime length Zadoff_Chu multiphase sequences.
According to another aspect of the invention, there is provided a kind of system for realizing sound wave digital communication.
This system for realizing sound wave digital communication of the invention includes:Modern channel encoder module, for entering to two
Information source data processed carry out modern channel coding and obtain binary code stream;Random interleaving module, for being flowed into the binary code
Row random interleaving and then output;M units the parallel combined spread spectrum module, M is carried out for the binary code stream after to random interleaving
First the parallel combined band spectrum modulation;Sound carrier modulation module, for being carried out to the modulation symbol after M units the parallel combined band spectrum modulation
Sound carrier modulation and then transmission.
Alternatively, following one kind of the modern channel encoder module application:Turbo coding, LPDC yards, RA yards.
According to another aspect of the invention, there is provided the system that another kind realizes sound wave digital communication.
This system for realizing sound wave digital communication of the invention, it is characterised in that including sound carrier demodulation module, together
Step and the first the parallel combined frequency expansion sequence detection module of channel estimation module, M, MAP decoding modules, solution random interleaving module, modern times
Channel coding and decoding device module, random interleaving module, bit log-likelihood ratio are to spread symbol probability modular converter and adjudicate
Device module, wherein:Sound carrier demodulation module, for receiving voice carrier and then being demodulated, obtains spreading acoustical signal;Together
Step and channel estimation module, synchronization and channel estimation for carrying out acoustical signal to the acoustical signal, obtain acoustical signal when
Between and Frequency Synchronization, and channel multi-path number and position;M units the parallel combined frequency expansion sequence detection module, for according to described
The time of acoustical signal and Frequency Synchronization and channel multi-path number and position carry out the parallel combined frequency expansion sequence detection of M units, obtain institute
There is frequency expansion sequence and receive the correlation vector of signal;MAP decoding modules, for according to the correlation vector sum as feedback
The spread symbol probability of signal carries out MAP decodings, and calculates the likelihood ratio of all possible code word bits and obtain code word bits
External information;Solution random interleaving module, for carrying out solution random interleaving to the code word bits external information;Modern channel coding and decoding
Device module, for the code word bits external information solved after random interleaving to be carried out into MAP decodings by modern channel coding and decoding device,
The output information in the case where output information bit log likelihood ratio exceedes preset value or iterative decoding number of times reaches preset times
Bit posterior probability likelihood ratio information to decision device module makes decisions output, otherwise by the code word bits external information send to
Random interleaving module;Random interleaving module, for the code word bits external information to be carried out into random interleaving, is then sent to bit
Log-likelihood ratio is to spread symbol probability modular converter;Bit log-likelihood ratio to spread symbol probability modular converter, for right
The information that the random interleaving module is sent carries out bit log-likelihood ratio to spread symbol probability, and to be converted to spread symbol general
Rate, then as the feedback signal back to the MAP decoding modules.
Alternatively, M unit the parallel combined frequency expansion sequence detection module is used orthogonal pseudo-random sequence sets or standard are just
Handing over pseudo-random sequence collection includes following one kind:Gold sequence, prime length Zadoff_Chu multiphase sequences.
Technology according to the present invention scheme, realizes signal detection and follow-up modern times channel in M units the parallel combined spread spectrum
The cascaded iteration decoding of coding, such that it is able to make full use of the superperformance of modern channel coding, reaches signal detection and decoding
Joint optimal processing, realize sound wave reliable digital communications in air.The inventive method can be equally used under water or other
Sound wave digital communication in acoustic medium.
Brief description of the drawings
Accompanying drawing does not constitute inappropriate limitation of the present invention for more fully understanding the present invention.Wherein:
Fig. 1 is the schematic diagram that transmitting terminal according to embodiments of the present invention realizes flow;
Fig. 2 is the schematic diagram that receiving terminal according to embodiments of the present invention realizes flow.
Specific embodiment
One exemplary embodiment of the invention is explained below in conjunction with accompanying drawing, including the various of the embodiment of the present invention
They should be thought only exemplary by details to help understanding.Therefore, those of ordinary skill in the art should recognize
Arrive, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together
Sample, for clarity and conciseness, eliminates the description to known function and structure in description below.
In the embodiment of the present invention, the system of transmitting terminal mainly include modern channel encoder module, random interleaving module,
M unit's the parallel combined spread spectrum modules and sound carrier modulation module, shown in Figure 1, Fig. 1 is hair according to embodiments of the present invention
Penetrate the schematic diagram that flow is realized at end.Arrow represents that signal is flowed in figure.Modern channel encoder module is used for binary source
Data carry out modern channel coding and obtain binary code stream;Random interleaving module is used to carry out random interleaving to the binary code stream
Then export;M units the parallel combined spread spectrum module is used to carry out the binary code stream after random interleaving M units the parallel combined spread spectrum tune
System;Sound carrier modulation module, for carrying out sound carrier modulation then to the modulation symbol after M units the parallel combined band spectrum modulation
Send.
Fig. 2 is the schematic diagram that receiving terminal according to embodiments of the present invention realizes flow.Fig. 2 also show receiving terminal system
Modules, mainly have:Sound carrier demodulation module, for receiving voice carrier and then being demodulated, obtains spread spectrum sound
Signal;Synchronization and channel estimation module, synchronization and channel estimation for carrying out acoustical signal to the acoustical signal obtain sound letter
Number time and Frequency Synchronization, and channel multi-path number and position;M units the parallel combined frequency expansion sequence detection module, for root
M units the parallel combined frequency expansion sequence is carried out according to the time of the acoustical signal and Frequency Synchronization and channel multi-path number and position to detect,
Obtain all frequency expansion sequences and receive the correlation vector of signal;MAP decoding modules, for being made according to above-mentioned correlation vector sum
For the spread symbol probability of feedback signal carries out MAP decodings, and calculate the likelihood ratio of all possible code word bits and obtain code
Word bit external information;Solution random interleaving module, for carrying out solution random interleaving to above-mentioned code word bits external information;Modern channel is compiled
Code decoder module, for the above-mentioned code word bits external information solved after random interleaving to be carried out by modern channel coding and decoding device
MAP is decoded, in the case where output information bit log likelihood ratio exceedes preset value or iterative decoding number of times reaches preset times
Output information bit posterior probability likelihood ratio information to decision device makes decisions output, otherwise sends out above-mentioned code word bits external information
Deliver to random interleaving module;Random interleaving module, for above-mentioned code word bits external information to be carried out into random interleaving, is then sent to
, to spread symbol probability modular converter, further according to the rule of iterative decoding, the result of random interleaving is anti-for bit log-likelihood ratio
Solution random interleaving module input is fed to, the numeral bit external information of MAP decoding modules output is obtained;Bit log-likelihood ratio is extremely
Spread symbol probability modular converter, the information for being sent to random interleaving module carries out bit log-likelihood ratio to spread symbol
Probability is converted to spread symbol probability, then as above-mentioned feedback signal back to MAP decoding modules.
The transmitting terminal in the embodiment of the present invention and receiving terminal processing method are made into one with reference to a numerical example
Step explanation.In the numerical example, the parallel combined frequency expansion sequence set of M units uses 9 rank Gold sequence (preferred pair proper polynomials
It is 1041 and 1151), has 512 frequency expansion sequences, i.e. M=512.K=2 frequency expansion sequence of parallel transmission, i.e., one expansion
Frequency symbol includes 2 frequency expansion sequences.One spread symbol can transmit log2(C5 2 12The bit information of)=16.Random interleaver is adopted
S random interleavers are used, S=12, interleaver size is 1024.Modern channel coding uses the parallel concatenated turbo codes of 1/2 code check
(PCCC, Parallel Concatenated Convolutional Code) encoder:It is 3 that two component codes all use constraint length, octal system generator polynomial for (7,
5) RSC (recursive system) convolutional code;Turbo code encoder interleaver is also adopted by S random interleavers, S=6.Sound carrier
Using 19kHz, service band is 18kHz-20kHz.Sound carrier modulation is modulated using BPSK (biphase phase shift keying), spreading code
Piece is molded using raised cosine roll off, and rolloff-factor is 0.25, and spreading rate is 1.6kchip/s, and the spread symbol cycle is
319.375ms.Total system data transmission rate is 50bps.
Transmitting terminal handling process is as follows:
1st, binary source data carry out channel coding, after output channel coding two by modern channel encoder module
System code stream;
2nd, the binary code stream after channel coding carries out random interleaving by random interleaving module, upsets two after original coding
The order of system code stream;
3rd, the binary code stream of random interleaving module output carries out the parallel combined expansion of M units by M units the parallel combined spread spectrum module
Frequency modulation system;
4th, the modulation symbol after M units the parallel combined band spectrum modulation is carried out the tune of sound carrier by sound carrier modulation module
System, by spread-spectrum signal modulation to the voice signal of previously selected frequency range.
Receiving terminal processing method specific steps include:
1st, sound carrier demodulation module receives voice carrier and demodulates, and spread spectrum sound is taken out from corresponding band acoustical signal
Signal.Meanwhile, synchronous and channel estimation module carries out synchronization and the channel estimation of acoustical signal to the acoustical signal, obtains acoustical signal
Time and Frequency Synchronization, estimate channel multi-path number and position.
2nd, the parallel combined frequency expansion sequence detection of M units is carried out according to synchronization and channel estimation structure, merges non-using square-law
Relevant detection algorithm, obtains all frequency expansion sequences and receives the correlation vector W of signal.
3rd, MAP decoding modules are accorded with according to correlation vector W and from the spread spectrum of modern channel coding and decoding device module feedback
Number prior probability P (Xi) carries out MAP decodings, calculates the likelihood ratio of all possible code word bits and obtains the outer letter of code word bits
Breath, reverts to order when channel encoder is exported after solving random interleaving module.
4th, the code word bits external information of input is carried out MAP and translates by modern channel coding and decoding device module using bcjr algorithm
Code, the direct output information if output information bit log likelihood ratio exceedes certain value or iterative decoding number of times reaches certain number of times
Bit posterior probability likelihood ratio information makes decisions to decision device;Otherwise, by external information Loe (u) of code word bits by random
Bit log-likelihood ratio to spread symbol probability modular converter is fed back to after interleaving block, is made so as to be converted to spread symbol probability
For priori is supplied to MAP decoding modules, step 3 is then transferred to.
(standard) the orthogonal pseudo-random sequence sets that M units the parallel combined spread spectrum in the present embodiment is used can be arbitrarily with good
The pseudo-random sequence collection of good cross correlation, including but not limited to GOLD sequences, prime length Zadoff_Chu multiphase sequences.
Technical scheme according to embodiments of the present invention, realizes signal detection and follow-up existing in M units the parallel combined spread spectrum
For the cascaded iteration decoding of channel coding, such that it is able to make full use of the superperformance of modern channel coding, signal detection is reached
With the joint optimal processing of decoding, sound wave reliable digital communications in air are realized.
Above-mentioned specific embodiment, does not constitute limiting the scope of the invention.Those skilled in the art should be bright
It is white, depending on design requirement and other factors, various modifications, combination, sub-portfolio and replacement can occur.It is any
Modification, equivalent and improvement for being made within the spirit and principles in the present invention etc., should be included in the scope of the present invention
Within.