The present invention relates to digital communications and is particularly applicable but not limited to scrambler/descrambler systems for use in wireless communications devices.
The recent telecommunications revolution has led to an increased interest in wireless communications and, more specifically, to wireless applications in networking. This increased interest in wireless technology, coupled with the ever growing need for faster throughput speeds in networks, has put a premium on the radio electronics that are used to encode the data travelling between the different wireless nodes in a network. Part of every wireless device, be it a wireless telephone or a wireless transponder connected to a node in a wireless local area network (LAN), is a scrambler/descrambler device.
Scrambler/descrambler devices are quite well known and are currently in widespread use. They are used in wireless communications for not only security reasons but also for encoding the digital data to be transmitted. Internationally accepted design standards, such as the EEEE 802.11a standard for wireless communications, specify the polynomials to be used by compliant devices to help in standardizing wireless devices. However, the standards only provide a serial implementation of their scrambler/descrambler. Such an implementation is necessarily slow due to its serial nature.
Attempts have been made in the past to speed up the speed of such scrambler systems including increasing the clock speed of the circuit and using pseudo parallel methods. However, such attempts are fraught with drawbacks including increased power consumption, problems with thermal issues and synchronization issues.
Based on the above a truly parallel solution is required. Such a solution should not only provide the advantages of parallel circuits such as increased volume in output but should also provide easy scalability and adaptability to the differing implementations and standards.
It is therefore an object of the present invention to provide alternatives to the prior art which will, if not overcome, at least mitigate the drawbacks of the prior art.
The present invention relates to systems, methods and devices for scrambling/descrambling sets of data bits using subsets of a recurring sequence of scrambler bits. A self-synchronous scrambler, regardless of the generating polynomial being implemented, will generate repeating sequences of scrambler bits regardless of the initial stage of the scrambler. To implement a parallel scrambler, given a current state of the scrambler, the next n states of the scrambler are predicted based on the current state of the scrambler. The scrambling operation can then be performed using the values in the current state—parallel logic operations between preselected bits of the current state will yield the required values to be used in scrambling an incoming parallel data set. Once these required values are generated, a parallel logical operation between the required values and the incoming data set will result in the scrambled output data. The current state of the scrambler is then incremented by n+1 by performing a predetermined set of logical operations between the various bits of the current state such that each bit of the n+1 state is a result of a logical operation between selected and predetermined bits of the current state.
In a first aspect the present invention provides a system for processing a set of data bits using a subset of a recurring sequence of scrambler bits, the system comprising:
In a second aspect the present invention provides a digital scrambler/descrambler using a subset of a recurring sequence of scrambler bits, the scrambler/descrambler comprising:
In a third aspect the present invention provides a method of processing a plurality of data bits using a subset of a recurring sequence of scrambler bits, the method comprising:
A better understanding of the invention will be obtained by considering the detailed description below, with reference to the following drawings in which:
Referring to
It should be noted that scrambling/descrambling operations, especially for self-synchronous scrambling/descrambling systems, are essentially sequential or serial in nature. The current state of the scrambler/descrambler determines its immediate future state. However, this very feature leads to scrambling/descrambling bit sequences that are periodic or that repeat every set number of iterations. The system for scrambling/descrambling data in parallel works by taking advantage of this periodic or recurring nature of most scrambling bit sequences. By treating the scrambling bit sequence as a counter whose status/state can be predicted based on the current values, the bits required for scrambling further input bits can be predicted and generated. As an example, if SCR[0]n-SCR[6]n are taken as the bit states of bits 0 to 6 of a 7 bit scrambling sequence at iteration n, then these values are used in scrambling single bit input data IN[0]n. For serial operation, SCR[0]n+1-SCR[6]n+1 are then used to scramble input data IN[0]n+1 with SCR[0]n+1- SCR[6]n+1 being generated from SCR[0]n - SCR[6]n only.
The above serial operation can be parallelized by generating the bits required to scramble x input bits in parallel. Since the logical operation performed between the scrambling bits and the single input bits is known, parallel instances of the circuit for this logical operation may be implemented with each instance of the circuit receiving a different input bit and a different scrambling bit sequence. As noted above, the scrambling bit sequence is periodic and can be generated from the current state of the bit sequence. As such, generating in parallel the scrambling bit sequences n to n+x will allow parallel scambling of input bits n to n+x.
As an example of a generating polynomial for scrambling, the IEEE 802.11a specification (IEEE Std. 802.1b-1999) details a generating polynomial of x7+X4+1. This polynomial is taken to means that, for a 7 bit scrambling bit sequence, the 7th bit is XOR'd with the 5th bit and the incoming data bit to arrive at the output or scrambled bit. As noted in the standard, the polynomial will generate a repeating sequence when the all 1's initial state is used. This repeating sequence is the following:
Because the bit sequence being generated is recurring, the future states of the bit sequence can easily be generated by simply performing logical operations between the elements of the current bit sequence. This is illustrated below with reference to the polynomial used for the 802.11a standard.
For a given scrambling bit sequence of 7 bits, the following notation will be used:
x7=state of bit 6
x6=state of bit 5
x5=state of bit 4
x4=state of bit 3
x3=state of bit 2
x2=state of bit 1
x1=state of bit 0
Then using Out [n] being the nth output bit of the scrambler and IN[n] being the nth input bit, and assuming a generating polynomial of x7+x4+1, the output of the scrambler is given in terms of the bit sequence elements (N.B. ⊕ denotes an XOR operation):
Out[0]=x7⊕x4⊕In[0]
Out[1]=x6⊕x3⊕In[1]
Out[2]=x5⊕x2⊕In[2]
Out[3]=x4⊕x1⊕In[3]
Out[4]=x3⊕x7⊕x4⊕In[4]
Out[5]=x2⊕x6⊕x3⊕In[5]
Out[6]=x1⊕x2⊕x5⊕In[6]
The above equations can therefore be generated in parallel to provide 7 output bits per cycle as opposed to the serial method which only produces a single output bit per cycle.
Once the 7 output bits have been generated, the scrambling bit sequence has to be incremented to the next state. Effectively, this step advances the bit sequence by 7 iterations if one were to think of the bit sequence is such that the next state of each element in the bit sequence can be expressed in terms of the current state of the bit sequence elements. Using the Nxt[n] as the nth bit of the next state of the bit sequence, the equations for the next state are as follows:
Nxt[0]=x1⊕x2⊕x5
Nxt[1]=x2⊕x6⊕x3
Nxt[2]=x3⊕x7⊕x4
Nxt[3]=x4⊕x1
Nxt[4]=x5⊕x2
Nxt[5]=x6⊕x3
Nxt[6]=x7⊕x4
Again, these equations can be implemented in parallel with each equation being implemented by a single combinational logic circuit. If one wished to reduce the number of logic gates in the combinational circuit, the equations used to predict and generate the next state of the bit sequence may be simplified as:
Nxt[0]=x1⊕Nxt[4]
Nxt[1]=x2⊕Nxt[5]
Nxt[2]=x3⊕Nxt[6]
Nxt[4]=x5⊕x2
Nxt[5]=x6⊕x3
Nxt[6]=x7⊕x4
Returning to
From an initial state of the scramble bit sequence, the scramble register 20 and the scramble logic block 40 use this initial state to scramble the incoming data in parallel. Once the output has been produced, this initial state is then fed into the predict logic block 30. The predict logic block then produces or generates the next incremental state of the scramble bit sequence and loads this new state into the scramble register 20. The process then begins anew with another set of input data being received in parallel by the scrambler logic block 40. This bitwise parallel scrambling and generation of the next state of the scramble bit sequence can provide much greater throughput than the usual serial scrambler implementation.
It should be noted that the circuit in
For a serial data input stream, the circuit of
It should be noted that each logic block (scramble logic block 40 or predict logic block 30) can be implemented by using multiple parallel combinational logic sub-blocks. As can be seen in
It should be further be noted that while the above description and the attached diagrams illustrate and explain a 7 bit implementation, other bit widths may be used. Again using the generator polynomial x7+x4+1 of the 802.11a standard, a 6 bit implementation can be had by using equations similar to the above. For a 6 bit input and producing 6 bits of output, the equations are using the above notation:
OUT[0]=x7⊕x4⊕IN[0]
OUT[1]=x6⊕x3⊕IN[1]
OUT[2]=x5⊕x2⊕IN[2]
OUT[3]=x4⊕x1⊕IN[3]
OUT[4]=x3⊕x7⊕x4⊕IN[4]
OUT[5]=x2⊕x6⊕x3⊕IN[5]
To increment the scrambling bit sequence by 6 iterations (as opposed to the 7 iterations used above), the equations are as follows:
Nxt[0]=x2+x6+x3
Nxt[1]=x3+x3+x3
Nxt[2]=x4+x1
Nxt[3]=x5+x2
Nxt[4]=x6+x3
Nxt[5]=x7+x4
Nxt[6]=x1
A person understanding this invention may now conceive of alternative structures and embodiments or variations of the above all of which are intended to fall within the scope of the invention as defined in the claims that follow.
The present application claims priority on U.S. provisional application Ser. No. 60/411,343 filed Sep. 18, 2002.
Number | Name | Date | Kind |
---|---|---|---|
3784743 | Schroeder | Jan 1974 | A |
4744104 | Pospischil | May 1988 | A |
4807290 | Pospischil | Feb 1989 | A |
5231667 | Kojima | Jul 1993 | A |
5241602 | Lee et al. | Aug 1993 | A |
5267316 | Merino Gonzalez et al. | Nov 1993 | A |
5355415 | Lee et al. | Oct 1994 | A |
5377265 | Wettengel et al. | Dec 1994 | A |
5488661 | Matsui | Jan 1996 | A |
5530959 | Amrany | Jun 1996 | A |
5844989 | Nishida et al. | Dec 1998 | A |
5966447 | Nishida et al. | Oct 1999 | A |
5978486 | Nishida et al. | Nov 1999 | A |
6414957 | Kang et al. | Jul 2002 | B1 |
6888943 | Lam et al. | May 2005 | B1 |
7099469 | Kuhlman et al. | Aug 2006 | B2 |
7106859 | Myszne | Sep 2006 | B2 |
7133432 | Kuffner et al. | Nov 2006 | B2 |
20030145196 | Heegard et al. | Jul 2003 | A1 |
20040025104 | Amer | Feb 2004 | A1 |
Number | Date | Country |
---|---|---|
0397079 | Nov 1990 | EP |
0397079 | Nov 1990 | EP |
0535357 | Apr 1993 | EP |
0535357 | Apr 1993 | EP |
Number | Date | Country | |
---|---|---|---|
20040062397 A1 | Apr 2004 | US |
Number | Date | Country | |
---|---|---|---|
60411343 | Sep 2002 | US |