The present invention relates generally to digital communications. More specifically, the invention relates to a system in which data at a variable rate is transmitted and is received at a communications receiver where the variable rate data is decoded in an efficient, multichannel, multi-rate data decoder.
The most advanced communication technology today makes use of spread spectrum modulation or code divisional multiple access (CDMA) for point-to-multipoint telecommunications. Since the 1950s, CDMA has been used in military applications due to the difficulty in detecting and jamming the communications transmission. This attribute is due to a wireless communication technique that uses a modulated transmission bandwidth much greater than the information bandwidth of the transmitted signal.
A simplified CDMA communication scheme is shown in
At the receiver, the signal is despread by correlating the received broadband signal with an identical locally generated pseudorandom sequence to resolve the data from a plurality of data signals occupying the same transmission bandwidth. This collapses the signal back to its original bandwidth and also spreads any narrow band radio signals present within the occupied spectrum so that they now appear as noise to the receiver. By using many different pseudorandom code sequences, multiple users may be accommodated within the same transmission spectrum.
The same features that have enabled CDMA communication techniques to succeed in military applications also make CDMA communication systems, particularly Broadband Code Division Multiple Access™ or B-CDMA™ systems, compelling for efficient use of the crowded commercial radio frequency spectrum. Among the many attributes of the CDMA system is the virtual unlimited capacity of the system. Since each user in a CDMA communication system transmits and receives signals over the same transmission bandwidth, there are less stringent channelization and guardband requirements. Unlike FDMA and TDMA systems where the capacity is limited by the number of discrete channels, the capacity for CDMA systems is limited by interference. Therefore, the number of users able to communicate simultaneously over that given transmission bandwidth is significantly increased.
In addition to voice information, non-voice information alone or a combination of the two may be transmitted to the receiver. Certain communications standards such as the integrated services digital network (ISDN) require a much greater data rate than that of digitized voice. To optimize the communication system, various data rates are transmitted to increase the signal-to-noise ratio (SNR) to all receivers.
One measure of spread-spectrum performance is the system process gain, Gp, which is determined by the ratio of channel bit rate to information bit rate, Rc/Ri. The input and output signal to noise ratios are related as
It can be seen that the higher the data rate, the more interference is produced and the signal-to-noise ratio will suffer. The reduction of interference directly translates to a capacity increase.
Most CDMA telecommunications systems transmit variable rate data to keep the SNR as great as possible. To achieve this, the transmission data rate is either identified within the system level control message which is part of the signal channel or a given receiver must be able to detect the transmitted data rate.
Since many users share this same spectral transmission channel, interference can be induced from one user to another when there is not enough code isolation between the users. Moreover, the data rate must be known prior to convolutional error correction decoding in either the transmitter or receiver.
Most prior art receivers make use of independent, single-rate convolution decoders to properly reconstruct the digital data once received and despread. Since data rate information for each frame is transmitted, the receiver does not have to determine from the received frame of data the rate at which the data was encoded thereby lessening the complexity of the receiver and increasing overall system speed. However, the use of convolutional decoders dedicated to each transmitted data rate reduces overall processing efficiency and increases system costs.
Accordingly, there exists a need for an efficient, convolutional decoder that can handle variable data rates.
A plurality of data streams are convolutionally encoded. Each convolutionally encoded data stream has a particular data rate. The particular data rate of each data stream is adjusted so that an adjusted data rate of that data stream matches a data rate of a CDMA transmission. When the particular data rate of one of the data streams is below the data rate of the CDMA transmission, data of the one data stream is repeated to match the data rate of the CDMA transmission. The adjusted data rate data streams is transmitted as the CDMA transmission. The adjusted data streams are transmitted together in the CDMA transmission and the CDMA transmission is quadrature modulated.
a is the first section of a detailed block diagram of the preferred embodiment.
b is the second section of a detailed block diagram of the preferred embodiment.
a is the first section of a flow diagram of the add-compare-select sequencer.
b is the second section of a flow diagram of the add-compare-select sequencer.
a and 11b are flow diagrams of the bit-error-rate process.
The present invention is described with reference to the drawing figures where like numerals represent like elements throughout.
The multichannel, multi-rate Viterbi decoder made in accordance with the present invention is implemented within the context of a CDMA cellular telephone system 17. Such decoders are used in multichannel wireless communication stations with the reception of communication signals. The system 17 as shown in
The transmitter 19 includes a signal processor 23 which encodes voice and nonvoice data 25 into frames of various data rates, e.g., frame rates of 8 kbps, 16 kbps, 32 kbps, or 64 kbps. The signal processor 23 selects a rate in dependence upon the amount of voice activity, if voice data, or in response to a set data rate.
Two steps are involved in the generation of a transmitted signal in a multiple access environment. First, the input data 25 which can be considered a bi-phase modulated signal is encoded using forward error-correcting coding (FEC) 27. Since a R=½ convolution code is used, the single bi-phase modulated data signal becomes two bi-phase modulated signals. One signal is designated the in-phase channel I. The other signal is designated the quadrature channel Q. Bi-phase modulated I and Q signals are usually referred to as quadrature phase shift keying (QPSK). In the preferred embodiment, the tap generator polynomials 29, 31 for a constraint length of K=7 and a convolutional code rate of R=½ are:
G1=1718 and G2=1338.
In the second step, the two bi-phase modulated data or symbols 33a, 33b are spread with in-phase (I) 35a and quadrature (Q) 35b QPSK pseudorandom sequences. The resulting I 37a and Q 37b spread signals are mixed with a carrier frequency 43, combined 45 with other spread signals (channels) having different spreading codes and transmitted 47. The transmission 47 may contain a plurality of individual channels having different data rates.
The receiver 21 includes a demodulator 49a, 49b which mixes down the transmitted broadband signal 47 into an intermediate carrier frequency 51a, 51b. The QPSK signals are then filtered 53 and mixed 55a, 55b with the locally generated QPSK pseudorandom code 35a, 35b which matches the transmitted code. Only the original waveforms which were spread by the same code at the transmitter 19 will be effectively despread. Others will appear as noise to the receiver 21. The data 57a, 57b is then passed onto a signal processor 59 where FEC decoding is performed on the convolutionally encoded data.
The present invention 61 performs the decoding using an efficient multichannel, multi-rate Viterbi decoder 61 as shown in
In the preferred embodiment, any of the four channels (0, 1, 2, 3) within the decoder 61 can process a plurality of data rates: 8 kbps, 16 kbps, 32 kbps, or 64 kbps. Other data rates may be used in alternative embodiments. The lower data rates are achieved by enabling a time diversity combining function which operates on redundantly received symbols. This effectively increases the SNR of the time diversity received signals. For those symbols in frames corresponding to data rates less than the highest expected data rate, the symbol data is repeated to maintain a constant symbol rate for the frame.
For the 64 kbps data rate, 1 QPSK symbol is sent every 15.625 Φs. For the 32 kbps data rate, the corresponding QPSK symbol is sent twice through a channel. The symbols are still sent at the 64 kbps rate, but with double redundancy thereby effectively lowering the information rate to 32 kbps. For a 16 kbps data rate, the corresponding QPSK symbols are sent through the channel with 4 times diversity. For an 8 kbps data channel, 8 times diversity.
Referring to
The system architecture as shown implements the Viterbi algorithm and decodes the convolutionally encoded data. The tap generator polynomials corresponding for a constraint length of K=7 and a code rate of R=½ are G1=1718 (29) and G2=1338 (31). It should be understood, that other tap generator polynomials can be used in alternative embodiments depending on different constraint lengths and rate codes. For example, for a constraint length of K=9 and a code rate of R=½, the tap generator polynomials are G1=7538 and G2=5618. The use of tap generators is well known to those in the telecommunication arts and are used in the FEC encoder 27.
A global system architecture is shown in
The TCM 83 accepts an externally derived high frequency reference signal 103 for overall system timing. The TCM 83 uses the reference signal 103 and derives a high frequency dump 105 and Viterbi clock 107 signals. The TCM 83 also produces a global decoder reset 109.
The data rate of a particular channel is lowered by the microcontroller 81 by enabling the respective diversity combining signal 91a, 91b, 91c, 91d. For a 32 kbps data rate, two adjacent symbols are combined; for a 16 kbps data rate, four symbols are combined; and for a 8 kbps data rate, eight symbols are combined.
The preferred embodiment uses time diversity to process the multi-rate data. At a 64 kbps data rate each individual transmitted bit is used. However, at the lowest data rate, 8 kbps, each bit is duplicated by a factor of 8. When processing at the lowest data rate, the redundant symbols are simply added together.
As discussed in the background of the invention, every time a symbol is sent through a respective channel a certain gain and noise figure is received. Therefore, if the same signal is sent through the channel twice, the SNR has effectively doubled. The reason being that the redundant symbols are added coherently, whereas random noise introduced does not add coherently. From the highest data rate of 64 kbps to the lowest 8 kbps the signal gain is effectively multiplied by a factor of 8.
By lowering the data bit rate and using time diversity, the signal transmitting power can be lowered commensurately since the gain will be recovered when the diverse symbols are assembled. The use of diversity combining arrives at lower data rates without suffering detrimental effects to lower SNRs.
For the maximum data throughput of 64 kbps, the diversity combining function must be disabled. This is implemented by keeping the diversity combining signal 91a, 91b, 91c, 91d high for that particular channel. When the multichannel decoder 61 is operated at lower data rates, the diversity combining signal 91a, 91b, 91c, 91d controls which adjacent symbols are combined, when the decoder is enabled, and when the interface 63 is cleared for a new set of symbols.
As shown in
Within the Viterbi decoder interface 63, the time diversity combining is performed using binary two's compliment operations. All of the redundant I and Q samples are added when at the lower data rates. Similarly, saturating adders are used to eliminate sign change if there is an overflow. Rather than the diversity combining function residing in a separate DSP IC, the custom feature has been included on the ASIC. After the diversity combining function is performed, the results are output on lines 129I, 129Q, 131I, 131Q, 133I, 133Q, 135I, 135Q for channels 0-3 respectively. The saturating integrate dump circuits also control the Euclidean distance calculation engine 65 enables 137a, 137b, 137c, and 137d for channels 0-3 respectively.
Referring back to
All of the channels are coupled from the decoder interface 63 to the Euclidean distance calculation engine 65 on individual I and Q and enable lines as shown in
As shown in
The enabling mechanism used is based upon the transmitted data rate for a particular channel. A gain in overall processing efficiency is achieved since the calculations are only performed in the Euclidean distance engine 65 if a new I and Q symbol has been released to it and the geometry engine 65 has been properly enabled. Efficiency increases since it does not waste any calculations when processing lower rate data.
Referring back to
The present invention normalizes every symbol and computes the shortest trellis distance using saturating logic. Previous state metrics are added to each newly received transmitted symbol. Each individual data point per channel develops and updates the trellis. The state metric data is read from state metric memory 69. The ACS circuits 67a, 67b, 67c, 67d implement the Viterbi algorithm. The maximum likelihood decoder relies upon the trellis which is an infinite replication of a state diagram. Any code word of a convolutional code corresponds to the symbols along a path in the trellis diagram. At each state and at each level of the trellis involves an ACS operation. To implement a decoder based upon the Viterbi algorithm requires storage for two different sets of data. The first storage is for the path state or metric memory 69 updated for each successive level of the trellis. The second set of data represents the selections at each node or state in the trellis called path memory 73.
In the prior art, each respective decoder or ACS circuit would require individual storage for the two sets of data. In the present invention, both metric 69 and path memory 73 arrays are consolidated in one common memory for each channel in a novel manner to significantly reduce the size of the silicon area. Also, common addressing and data transfer is further combined increasing efficiency. The state metric data is written to 143a, 143b, 143c, 143d and read from 145a, 145b, 145c, 145d the state metric memory 69.
There are two possible trellis paths terminating into each state. A pruning operation in the ACS circuits 67a, 67b, 67c, 67d is performed where the best metric terminates into a given state. The best metric is determined by choosing the smallest accumulated trellis distance. The path chosen, upper or lower, is represented by a 0 or a 1 respectively. This information is written to the traceback memory 73 on lines 149a, 149b, 149c, 149d.
The trellis is assembled over many received symbols. The preferred embodiment requires 35 symbols in discrete time and is updated upon the reception of each clocked symbol. After 35 symbols have been accumulated, a determination finds the trellis path that has the smallest error. This method of decoding determines which QPSK symbol was sent. The trellis structure introduces redundancy and accumulates the past history.
One ACS circuit 67a for channel 0 is shown in
Normalization in the prior art is typically performed on a block basis or after many symbols of information have been processed. However, by post-normalizing after each metric is chosen, performance noticeably improves. Post-normalization does require saturating logic since the normalization process may result in overflow. If saturating logic is not employed, the number may ultimately overflow and the binary number may vary wildly from the desired value. The system cannot determine if the value is realistic. By using saturating logic, the value will ultimately plateau.
Since every node on the trellis has two paths terminating in it and two paths originating from it, the process must constantly prune. The trellis represents the metrics for two paths where a decision chooses one path which is based on the shorter distance. The better path or best metric is stored in the state metric memory 69 and the decision or path bit is stored in the traceback memory 149a, 149b, 149c, 149d.
At the start of a symbol, each ACS channel 67a, 67b, 67c, 67d will receive a decoder start signal 141a, 141b, 141c, 141d to initialize the channel. As discussed above, the winner of the pruning operation that was stored in memory is compared against the first, if the second winner is smaller than the first then that particular value is chosen as the best metric. This operation is similar for the remaining 63 outputs of the trellis.
The historical dependency upon symbols as they enter into a Viterbi decoder accumulates energy from the many symbols rendering tremendous gain. The gain in energy is based upon integrating the energy of over 35 symbols which in effect narrows the bandwidth.
The sequencing of the ACS 67a, 67b, 67c, 67d operation is controlled by the ACS sequencer 71 over lines 151a, 151b, 151c, 151d. A single ACS sequencer 71 is used to control the individual ACS circuits 67a, 67b, 67c, 67d for each channel being decoded. When a particular channel has not been enabled 141a, 141b, 141c, 141d, either because of a lower data rate or if the channel is vacant, the write operations to state metric-69 and path 73 memories for that particular channel are inhibited via lines 153a, 153b, 153c, 153d.
The ACS sequencer 71 controls the entire operation of the present invention. The function of the ACS sequencer 71 is similar to a state machine. However, rather than using a programmable device and download executable code normally seen in the prior art, the ACS sequencer 71 is executed strictly in hardware yielding unexpected efficiency.
The operation of the ACS sequencer 71 is similar to that of a counter driven by a counter and controls the four independent ACS circuits 67a, 67b, 67c, 67d in parallel with one common memory 69. The ACS sequencer 71 also functions as a bit slice array processor. A flow diagram for the ACS sequencer 71 is shown in
The state metric memory array 69 is 64 bits wide and arranged into a ping segment and pong segment. The first 32 bits is the ping and the second 32 bits of the 64 bit word is the pong segment. Each 8-bit segment out of the 32 bit segment represents a different channel (0, 1, 2, 3). When the ACS sequencer 71 is reading from the pong segment, it will be writing into the ping segment in sequence. The sequencer will read from ping and write to pong, and, with the next symbol, will read from pong and write to ping. This method of shared memory access is known to those familiar with this art.
The ACS sequencer 71 handles four channels that can be processing data at different data rates such that the sequencer 71 may be reading from ping for channel 0, reading from pong for channel 1, not performing any read or write for channel 2 and reading from ping for channel 3. This method of memory access is extremely flexible. This is accomplished by each channel having a devoted start signal 141a, 141b, 141c, 141d.
The ACS sequencer 71 accesses the state metric memory array 69 and each ACS circuit 67a, 67b, 67c, 67d by examining the base count (step 405) and observing the two least significant bits (LSB) of the base count (step 407). The first two states of the sequence are always read (step 413, 421) operations. The last two states of the sequence are the write (step 427, 431) operations. The write operations post the results to state metric memory 69.
As shown in
The state metric memory array 69 has sufficient storage for 64 state metrics per channel. To facilitate reading from 145a, 145b, 145c, 145d and writing to 143a, 143b, 143c, 143d the state metric memory array 69, the ping-pong organization for the memory facilitates both operations during the individual ACS operations coordinated by the ACS sequencer 71 over the ping-pong line 155 and address bus 157. The total capacity of the state metric memory SRAM array 69 is 4,096 bits.
The traceback memory array 73 is used to record which path was the survivor into every state for each decoded symbol. Since a trellis diagram is an infinite replication of a state diagram in theory, an infinite amount of memory would be necessary to record all information for every transmitted symbol. However, the traceback history is only maintained for 35 consecutive symbols and is overwritten from the ACS circuits 67a, 67b, 67c, 67d over lines 149a, 149b, 149c, 149d. The traceback memory 73 requires 8,960 bits of SRAM organized in a 32 by 280 array. The traceback is 35 symbols deep, therefore, before a decoded symbol is output, an accumulation of 35 symbols of information has taken place. The input symbol that produces a given output occurred 35 symbols earlier in time.
The traceback memory 73 is arranged as a circular buffer. Each time a new symbol is written to the traceback memory 73, all of the previously stored symbols are displaced, discarding the oldest symbol value. The memory required is based upon the rule of 5 times the constraint length, thereby 35 symbols worth of memory are necessary for a K=7 constraint length.
The traceback operation is shown in
Since four different data rates can be processed, the traceback memory 73 is consumed accordingly, i.e., if channel 0 is running at 64 kbps, after 35 symbols on channel 0 the traceback memory would be filled for that particular channel, however, if channel 2 is running half the rate, i.e., at 32 kbps, channel 2 would only fill up half the traceback memory 73.
The traceback memory 73 is allocated in sequence since one channel may be greatly delayed relative to another channel. The traceback process 75 is unique for each channel since the data that was encoded at the transmitter is unique. Therefore, the tracing back operation for each of the four channels will be unique. Additionally, the data rates between the four channels may be different.
The traceback process is serial and the processor 75 functions sequentially for channel 0, then channel 1, then channel 2, and finally channel 3 since the addresses are not common. The storage of the traceback information is address dependent requiring segregating each process for each channel in time. If all four channels are transmitted at the maximum rate, the memory would still require segregation since the data that was coded at the transmitter created a different trellis or traceback trajectory between each of the four channels. Processing them at different data rates further complicates the process.
Referring to the flow diagram in
The processor finds the trajectory that terminates in all of the 64 states with the minimum energy indicating the minimum error. The traceback memory stores the 35 trajectories associated with all 64 states with one bit indicating whether the trajectory is coming from above or below since there are only two paths into a given state. Therefore, a 0 or 1 indicates the path. The associated bit path for the local best metric is stored along with the byte address and the bit address. Since all of the information is stored in bytes, a decomposition is performed since there are 64 states, with 8 bytes, with 8 bits per byte. Since there are 8 bits within the first byte, the 8 bits would indicate states 0 through 7. This indicates which local best metric is pointing to these states. The next byte would be for states 8 through 15 and so on to the 63rd state.
The process always discards the least significant bit out of the 7-bit number. The 3 most significant bits as discussed earlier point to a particular byte address. The 3 bits following the 3 most significant bits point to a particular bit in the byte address. That is the path bit. The path bit is used to modify the local best metric.
The traceback process operates 512 times faster than the maximum throughput rate. The control of the address bus is coordinated between the ACS sequencer 71 and the traceback processor 75. During the ACS phase of the decoder operation, the ACS sequencer controls via lines 151a, 151b, 151c, 151d the address bus 159 of both the state metric and the traceback memories. After the ACS operation is completed, control of the traceback memory address bus is handed over to the traceback processor 75.
The traceback memory 73 is used in a procedure called “chaining back” or tracing back starting with the last node in the trellis, tracing the decision path backward from the last decision to the first. This process determines the decoded symbol to be released as an output 161a, 161b, 161c, 161d. The traceback process for the four channels cannot be performed in parallel within a common SRAM block 69, 75 since the addressing characteristics of the traceback process for the separate data channels are expected to be independent. It is necessary to sequence the traceback process for each individual channel. If a particular channel was not enabled for a particular symbol interval, the traceback process for that channel is skipped. The process requires a minimum of 35 clock cycles to perform the traceback process for a given channel.
The present invention also has a performance diagnostic feature that calculates the bit error rate. The Euclidean distance engine 65 outputs a hard decision 163 into the traceback processor 75. The hard decision is buffered in a 35 symbols first-in-first-out (FIFO) and then compared to the reconvolutionally encoded symbol output 161a, 161b, 161c, 161d which was released by the traceback processor 75. The bit differences between the two are accumulated. After 256 symbols, the accumulator in the traceback processor 75 is emptied 165 into a bit error rate output circuit 77 shown in
As shown in the flow diagrams in
The performance of the present invention is shown in
Rather than assembling a quad Viterbi decoder having four input channels, each having two pairs of I and Q signals, one distance calculation engine is used to throughput four channels and output 16 distances. The 16 distances are then coupled to ACS blocks. The outputs of the Euclidean distance calculation block are then apportioned per the individual ACS block on a per channel basis.
In an alternative embodiment, rather than having four discrete ACS blocks for each individual channel, a drastic reduction could be formed with a linear increase in clock speed. The ACS feature which incorporates the trellis operation can be reduced to two or even one ACS circuit by multiplexing the data input along with an increase in clock speed.
While specific embodiments of the present invention have been shown and described, many modifications and variations could be made by one skilled in the art without departing from the spirit and scope of the invention. The above description serves to illustrate and not limit the particular form in any way.
This application is a continuation of U.S. patent application Ser. No. 11/074,135, filed Mar. 7, 2005, which is a continuation of U.S. patent application Ser. No. 10/425,431, filed Apr. 29, 2003, now U.S. Pat. No. 6,865,217, which is a continuation of U.S. patent application Ser. No. 10/083,907, filed Feb. 27, 2002, now U.S. Pat. No. 6,577,673, which is a continuation of U.S. patent application Ser. No. 09/840,775, filed Apr. 24, 2001, now U.S. Pat. No. 6,404,828, which is a continuation of U.S. application Ser. No. 09/432,038, filed Nov. 1, 1999, now U.S. Pat. No. 6,256,339, which is a continuation of Ser. No. 08/871,008, filed Jun. 6, 1997, now U.S. Pat. No. 6,005,898, which claims priority from U.S. Provisional Application No. 60/040,477, filed Mar. 12, 1997, which applications are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60040477 | Mar 1997 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11074135 | Mar 2005 | US |
Child | 11495352 | Jul 2006 | US |
Parent | 10425431 | Apr 2003 | US |
Child | 11074135 | Mar 2005 | US |
Parent | 10083907 | Feb 2002 | US |
Child | 11074135 | Mar 2005 | US |
Parent | 09840775 | Apr 2001 | US |
Child | 10083907 | Feb 2002 | US |
Parent | 09432038 | Nov 1999 | US |
Child | 09840775 | Apr 2001 | US |
Parent | 08871008 | Jun 1997 | US |
Child | 09432038 | Nov 1999 | US |