M-ary direct sequence spread spectrum communication method

Disclosed is an M-ary direct sequence spread spectrum communication method. The method involves: filling a one-bit M-ary-number of code elements between two spread spectrum sequence codes; and during despreading, obtaining the number of code elements filled between the two spread spectrum sequence codes so as to obtain one-bit M-ary data. Provided is a spread spectrum communication method having high communication efficiency.

Skip to: Description  ·  Claims  ·  References Cited  · Patent History  ·  Patent History
Description
BACKGROUND OF THE PRESENT INVENTION Field of Invention

The present invention relates to the field of spread spectrum communication methods, in particularly to a multi-input direct sequence spread spectrum communication method.

Description of Related Arts

The working mode of Direct sequence spread spectrum (Direct Sequence Spread Spectrum) is referred to as Direct Spreading (DS). The spectrum of a signal is spread at a transmitter end by a high-speed spread spectrum sequence, and then de-spread at the receiving end by using the same spreading code sequence, and the spread spectrum signals are restored into original signals. The mode of direct sequence spread spectrum is used for modulating carrier wave by using a pseudo noise sequence, the data information to be transmitted needs to undergo channel coding processing, and then modulating with the pseudo noise sequence and generating a composite code to modulate carrier wave.

At present, direct sequence spread spectrum communication uses multi-bit spread spectrum code to represent one data bit, which can generate a certain spread spectrum gain and reduce the communication error rate. Meanwhile, since the data rate is reduced in direct sequence spread spectrum, a great loss to the communication efficiency is resulted.

SUMMARY OF THE PRESENT INVENTION

In view of the current inadequacy of direct sequence spread spectrum communication which has the problem of data loss, and a great loss in the communication efficiency, the present invention provides a M-ary direct sequence spread spectrum communication method.

According to the present invention, the technical solution used to achieve its purpose is: a M-ary direct sequence spread spectrum communication method, which includes a spectrum spreading method and a spectrum de-spreading method.

The spectrum spreading method comprises:

A1, label a single symbol as T, the symbol T is composed of t number of consecutive clock cycles; t is a natural number;

A2, take a direct sequence spreading code M, M is composed of m number of symbols T, m is a natural number;

A3, define a data sequence M0M1M2 . . . MnMn+1 . . . ; n is a natural number;

A4, encode a source signal to form data k of K-ary; k is 0, 1, 2, . . . K−1;

A5, insert j number of symbol T into bit intervals of M0M1M2 . . . MnMn+1 . . . , where j=ƒ(k), where j is a natural number,

0 j < K + 1 2 ,
ƒ(x) is a monotonically increasing function in the range 0 to

K + 1 2 ,
and the phase difference between Mn and Mn+1 is defined by ƒ(k).

The spectrum de-spreading method comprises:

B1, obtain a direct sequence spreading code Mn;

B2, obtain a direct sequence spreading code of the subsequent section Mn+1;

B3, determine the number j of the symbol T between intervals of the direct sequence spreading code Mn and the direct sequence spreading code of the subsequent section Mn+1;

B4, calculate k according to the inverse function k=ƒ′(j) of j=ƒ(k)j.

According to the present invention, the communication efficiency is relatively higher while partial gain of direct sequence spread spectrum is retained.

Furthermore, according to the above M-ary direct sequence spread spectrum communication method, the symbol T is a PSK modulation symbol.

Furthermore, according to the above M-ary direct sequence spread spectrum communication method, the phase change existed between consecutive symbols T in the direct sequence spreading code M is determined by the spreading code.

Furthermore, according to the above M-ary direct sequence spread spectrum communication method, in the step 5, the symbol T inserted into bit intervals of M0M1M2 . . . MnMn+1 . . . is a symbol with continuous phase.

Furthermore, according to the above M-ary direct sequence spread spectrum communication method, in the step B2, further comprises the following steps:

B201, select and take a direct sequence spreading code for the next subsequent section M;

B202, perform an entire phase comparison between the direct sequence spreading code for the next subsequent section M and the direct sequence spreading code Mn, record the phase difference P0;

B203, skip one PSK symbol T, then select a piece of spreading code M to compare the phase with the direct sequence spreading code Mn, record the phase difference P1;

B204, repeating the above step and recording the phase difference P2, P3, until PK;

B205, the median of the maximum value Pmax and the minimum value Pmin of the theoretical phase difference between Mn and Mn+1 is

P mid = P max + P min 2 ;
take the maximum deviation absolute value Pdif of P0P1P2 . . . PK which is relative to Pmid, the direct sequence spreading code M at this time is the direct sequence spreading code of the subsequent section Mn+1 of the direct sequence spreading code Mn; value which is corresponding to Pdif is Pj, where j is the number of inserted symbols T;

Furthermore, according to the above M-ary direct sequence spread spectrum communication method, in the step A5,

j = [ k 2 ] ,
where [ ] represents rounding operation; when k is an even number, make the phases of the two consecutive sequences Mn and Mn+1 the same, when k is an odd number, make the phases of the two consecutive sequences Mn and Mn+1 opposite to each other.

In the step B4, determine the phase difference between Mn and Mn+1, if the phases are the same, then corresponding to the minimum phase difference, the demodulated data is an even number k=2j, if the phases are opposite, then corresponding to the maximum phase difference, the demodulated data is an odd number k=2j+1.

The present invention will be described in detail below with reference to specific embodiments.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram showing a spectrum spreading method of the present invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Embodiment 1

This embodiment is a method for using a M-ary PSK direct sequence spread spectrum communication in power line carrier communication. This method can improve communication efficiency while retaining the partial gain of direct sequence spread spectrum.

Label a single symbol PSK as T, the symbol T consists of t consecutive clock cycles. t is a natural number. As shown in FIG. 1, the first line in the FIGURE indicates that the symbol is composed of m number of single PSK symbols T. Here, the single PSK symbol T is formed by an array of t number of clock sequence. In practice, the phase of each clock is set as needed. For example, in binary, each clock has two phases which is represented by “0” and “1” respectively. For example, a clock cycle which uses a pulse with ½ duty cycle, “0” means that the high level is first (0 phase), and “1” means that the high level is after (the reverse phase is 180 degrees). Of course, there are other ways. For a single PSK symbol T, t clock units can be defined as needed to determine its phase. For another symbol T, reverse phase or other manner can be used, thus a single PSK symbol T can be determined from its phase to represent “0” and “1”.

Take the direct sequence spreading code as M, M consists of m number of symbols T, T0 T1 . . . T(m−1), and the phase change existing between consecutive symbols T is determined by the spreading code. m is a natural number. Thus, the direct sequence spreading code M can be a set of binary codes.

In this embodiment, PSK M-ary direct sequence spread spectrum communication, such as K-ary, is used. The sender insert

[ k 2 ]
in the above M0 M1 M2 . . . Mn Mn+1 . . . bit interval to take the entire PSK symbol, (0≤k<K), where k is the M-ary data bit to be transmitted. Further, if k is an even number, the phases of the two M sequences before and after are kept continuous, and the phase difference is 0; if k is an odd number, the phases of the two M sequences before and after are opposite, and the phase difference is the largest.

When k==0, the transmission sequence is MnMn+1 and Mn and Mn+1 are in phase;

When k==1, the transmission sequence is MnMn+1 and Mn and Mn+1 are out of phase;

When 1<k<K and k is an even number, the transmission sequence is

M n T 1 T 2 T K 2 M n + 1 ,
and Mn and Mn+1 are in phase;

When 1<k<K and k is an odd number, the transmission sequence is and Mn and Mn+1 are out of phase;

M n T 1 T 2 T K 2 M n + 1 ,

As shown in FIG. 1, when a hexadecimal number is used, K=16, when k=8, insert T1, T2, T3, T4 between two adjacent M sequences, Mn and Mn+1 are in phase. When K=9, insert T1, T2, T3, T4 between two adjacent M sequences, Mn and Mn+1 are out of phase.

The receiver needs to demodulate k to obtain the M-ary data transmitted from the sender.

The demodulation method is: after Mn, select the next spreading code M, then compare the phase with the entire Mn, record the phase difference P0. A method of entire phase comparison is preforming phase difference calculations and finding the sum of the two sequences for each corresponding clock cycle in chronological order. Then skip one PSK symbol and select a piece of spreading code M, and compare the phase with Mn, record the phase difference P1, then record the phase difference P2 . . . PJ and so on, where

J = K - 1 2 .

Take the median of the maximum value Pmax and the minimum value Pmin of the theoretical phase difference between Mn and Mn+1, the median of the maximum value Pmax and the minimum value Pmin is

P mid = P max + P min 2 .
In this embodiment, Pmin is 0, P0P1P2 . . . PK is relative to the maximum deviation absolute value Pdif of Pmid, record its position tj. At this time, the direct sequence spreading code M is the next direct sequence spreading code Mn+1 of the direct sequence spreading code Mn; the one which is corresponding to Pdif is Pj.

Due to the characteristics of the direct sequence spread spectrum code, if M is selected incorrectly which contains a section of

T 1 - T K 2 ,
then the phase difference between M and Mn will be significantly different from the phase difference between Mn and Mn+1.

If the phases are the same, Pdif is negative, which is corresponding to the minimum phase difference, the demodulated data is an even number k=2j; if the phase is opposite, Pdif is positive, which is corresponding to the maximum phase difference, the demodulated data is an odd number k=2j+1.

The above function ƒ(x) is rounded up by

[ x 2 ] ,
and there are other ways of function, such as ƒ(x)=x.

Here, when K is 2, k is 0 or 1, which is also a binary number.

When k==0, the transmission sequence is MnMn+1 and Mn and Mn+1 are in phase;

When k==1, the transmission sequence is MnMn+1 and Mn and Mn+1 are out of phase;

There is no T sequence between MnMn+1. This evident that the method of this embodiment is seen to be equivalent to ordinary binary spread spectrum under a binary system.

However, when the direct sequence spread code bit number M is much larger than the K of a K-ary system, such as if it is hex, K is 16, the method of the present invention has a higher communication efficiency. For example, for a 63-bit spreading code, in the transmission of 16-ary data, the worst efficiency is binary transmission (32*63)/((63+(16-1)/2)*8)=3.6 times, of which 32 is the number of bits in binary, 16 is a decimal number, and 8 is the number of bits corresponding to 16-ary. The worst efficiency corresponds to the case where 32-bit data is transmitted as 0xFFFFFFFF, and the average efficiency is higher under normal situation.

Claims

1. An improved direct sequence spread spectrum communication method, comprising a spectrum spreading method and a spectrum de-spreading method executed on a processor, wherein said spectrum spreading method comprises the steps of: 0 ≤ j < K + 1 2, ƒ(x) is a monotonically increasing function in the range 0 to K + 1 2, and the phase difference between Mn and Mn+1 is defined by ƒ(k);

A1, labeling a single symbol as T, the symbol T is composed of t number of consecutive clock cycles; t is a natural number;
A2, taking a direct sequence spreading code which is represented by M, M is composed of m number of symbols T, m is a natural number;
A3, defining a data sequence M0M1M2... MnMn+1...; n is a natural number;
A4, encoding a source signal to form data k of K-ary; k is 0, 1, 2,... K−1;
A5, inserting j number of symbol T into bit intervals of M0M1M2... MnMn+1..., where j=ƒ(k), where j is a natural number,
said spectrum de-spreading method comprises the steps of:
B1, obtaining a direct sequence spreading code Mn;
B2, obtaining a direct sequence spreading code of the subsequent section Mn+1;
B3, determining the number j of the symbol T between intervals of the direct sequence spreading code Mn and the direct sequence spreading code of the subsequent section Mn+1;
B4, calculating k according to an inverse function k=ƒ′(j) of j=ƒ(k)j.

2. The improved direct sequence spread spectrum communication method according to claim 1, wherein the symbol T is a PSK modulation symbol.

3. The improved direct sequence spread spectrum communication method according to claim 2, wherein a phase change existed between consecutive symbols T in the direct sequence spreading code M is determined by the spreading code.

4. The improved direct sequence spread spectrum communication method according to claim 2, wherein in the step A5, the symbol T inserted into bit intervals of M0M1M2... MnMn+1... is a symbol with continuous phase.

5. The improved direct sequence spread spectrum communication method according to claim 1, wherein in the step B2, further comprising the following steps: P mid = P max + P min 2; take the maximum deviation absolute value Pdif of P0P1P2... PK which is relative to Pmid, the direct sequence spreading code M at this time is the direct sequence spreading code of the subsequent section Mn+1 of the direct sequence spreading code Mn; Pj is corresponding to Pdif, where j is the number of inserted symbols T.

B201, select and take a direct sequence spreading code for a next subsequent section M;
B202, perform an entire phase comparison between the direct sequence spreading code for the next subsequent section M and the direct sequence spreading code Mn, record a phase difference P0;
B203, skip one PSK symbol T, then select a piece of spreading code M to compare a phase with the direct sequence spreading code Mn, record the phase difference P1;
B204, repeating the above step and recording a phase difference P2, P3, until PK; and
B205, a median of the maximum value Pmax and the minimum value Pmin of a theoretical phase difference between Mn and Mn+1 is

6. The improved direct sequence spread spectrum communication method according to claim 2, wherein in the step B2, further comprising the following steps: P mid = P max + P min 2; take the maximum deviation absolute value Pdif of P0P1P2... PK which is relative to Pmid, the direct sequence spreading code M at this time is the direct sequence spreading code of the subsequent section Mn+1 of the direct sequence spreading code Mn; PJ is corresponding to Pdif, where j is the number of inserted symbols T.

B201, select and take a direct sequence spreading code for a next subsequent section M;
B202, perform an entire phase comparison between the direct sequence spreading code for the next subsequent section M and the direct sequence spreading code Mn, record a phase difference P0;
B203, skip one PSK symbol T, then select a piece of spreading code M to compare a phase with the direct sequence spreading code Mn, record the phase difference P1;
B204, repeating the above step and recording a phase difference P2, P3, until PK;
B205, a median of the maximum value Pmax and the minimum value Pmin of a theoretical phase difference between Mn and Mn+1 is

7. The improved direct sequence spread spectrum communication method according to claim 5, wherein in the step A5, j = [ k 2 ], where [ ] represents rounding operation; when k is an even number, make the phases of the two consecutive sequences Mn and Mn+1 the same, when k is an odd number, make the phases of the two consecutive sequences Mn and Mn+1 opposite to each other;

in the step B4, determine a phase difference between Mn and Mn+1, if the phases are the same, then corresponding to the minimum phase difference, the demodulated data is an even number k=2j, if the phases are opposite, then corresponding to the maximum phase difference, the demodulated data is an odd number k=2j+1.

8. The improved direct sequence spread spectrum communication method according to claim 3, wherein in the step B2, further comprising the following steps: P mid = P max + P min 2; take the maximum deviation absolute value Pdif of P0P1P2... PK which is relative to Pmid, the direct sequence spreading code M at this time is the direct sequence spreading code of the subsequent section Mn+1 of the direct sequence spreading code Mn; Pj is corresponding to Pdif, where j is the number of inserted symbols T.

B201, select and take a direct sequence spreading code for the next subsequent section M;
B202, perform an entire phase comparison between the direct sequence spreading code for the next subsequent section M and the direct sequence spreading code Mn, record a phase difference P0;
B203, skip one PSK symbol T, then select a piece of spreading code M to compare a phase with the direct sequence spreading code Mn, record the phase difference P1;
B204, repeating the above step and recording a phase difference P2, P3, until PK;
B205, a median of the maximum value Pmax and the minimum value Pmin of a theoretical phase difference between Mn and Mn+1 is

9. The improved direct sequence spread spectrum communication method according to claim 4, wherein in the step B2, further comprising the following steps: P mid = P max + P min 2; take the maximum deviation absolute value Pdif of P0P1P2... PK which is relative to Pmid, the direct sequence spreading code M at this time is the direct sequence spreading code of the subsequent section Mn+1 of the direct sequence spreading code Mn; Pj is corresponding to Pdif, where j is the number of inserted symbols T.

B201, select and take a direct sequence spreading code for a next subsequent section M;
B202, perform an entire phase comparison between the direct sequence spreading code for the next subsequent section M and the direct sequence spreading code Mn, record a phase difference P0;
B203, skip one PSK symbol T, then select a piece of spreading code M to compare a phase with the direct sequence spreading code Mn, record the phase difference P1;
B204, repeating the above step and recording a phase difference P2, P3, until PK; and
B205, a median of the maximum value Pmax and the minimum value Pmin of a theoretical phase difference between Mn and Mn+1 is

10. The improved direct sequence spread spectrum communication method according to claim 6, wherein in the step A5, j = [ k 2 ], where [ ] represents rounding operation; when k is an even number, make the phases of the two consecutive sequences Mn and Mn+1 the same, when k is an odd number, make the phases of the two consecutive sequences Mn and Mn+1 opposite to each other;

in the step B4, determine a phase difference between Mn and Mn+1, if the phases are the same, then corresponding to the minimum phase difference, a demodulated data is an even number k=2j, if the phases are opposite, then corresponding to the maximum phase difference, the demodulated data is an odd number k=2j+1.

11. The M-ary direct sequence spread spectrum communication method according to claim 8, wherein in the step A5, j = [ k 2 ], where [ ] represents rounding operation; when k is an even number, make the phases of the two consecutive sequences Mn and Mn+1 the same, when k is an odd number, make the phases of the two consecutive sequences Mn and Mn+1 opposite to each other;

in the step B4, determine a phase difference between Mn and Mn+1, if the phases are the same, then corresponding to the minimum phase difference, a demodulated data is an even number k=2j, if the phases are opposite, then corresponding to the maximum phase difference, the demodulated data is an odd number k=2j+1.

12. The improved direct sequence spread spectrum communication method according to claim 9, wherein in the step A5, j = [ k 2 ], where [ ] represents rounding operation; when k is an even number, make the phases of the two consecutive sequences Mn and Mn+1 the same, when k is an odd number, make the phases of the two consecutive sequences Mn and Mn+1 opposite to each other;

in the step B4, determine a phase difference between Mn and Mn+1, if the phases are the same, then corresponding to the minimum phase difference, a demodulated data is an even number k=2j, if the phases are opposite, then corresponding to the maximum phase difference, the demodulated data is an odd number k=2j+1.
Referenced Cited
U.S. Patent Documents
9853742 December 26, 2017 Radosevic
20090290660 November 26, 2009 Neugebauer
20100124269 May 20, 2010 Lee et al.
20100290506 November 18, 2010 Kerr
20140171030 June 19, 2014 Karabinis
20140233527 August 21, 2014 Gehring
Foreign Patent Documents
101414850 April 2009 CN
101547020 September 2009 CN
103152074 June 2013 CN
105406897 March 2016 CN
Patent History
Patent number: 10651888
Type: Grant
Filed: Dec 7, 2016
Date of Patent: May 12, 2020
Patent Publication Number: 20190363751
Inventors: Wenwen Zhu (Shenzhen), Jian Ma (Shenzhen), Minghui Zeng (Shenzhen)
Primary Examiner: Eva Y Puente
Application Number: 16/461,756
Classifications
Current U.S. Class: Particular Pulse Demodulator Or Detector (375/340)
International Classification: H04W 84/18 (20090101); H04B 1/707 (20110101); H04L 27/18 (20060101);