RATE DETECTION IN DIRECT SEQUENCE CODE DIVISION MULTIPLE ACCESS SYSTEM

Abstract: A method of rate detection at a receiving end of a code division multiple access (CDMA) system, in which system the effective data rate is variably selected at the transmitting end from an applicable rate set including a full rate and lower rates, each lower rate being the full rate divided by a different integer, and encoded symbols are repeated for the lower rates to maintain a constant apparent bit or symbol transmission rate, in which the data rate is first determined by a coarse decision method employing symbol repetition characteristics before any Viterbi decoding of the data, the data is de-punctured and de-repeated where required, and first Viterbi decoded at the first determined data rate, and data available from or after the first Viterbi decoding, in particular a correlation first formed between the data entering the Viterbi decoding and a convolutional re-encoded output data from the Viterbi decoder, is evaluated to determine whether to select the data rate as equal to the first determined data rate. In the event, the evaluation is not passed, a fine decision method is applied utilizing data available from or after second Viterbi decoding, after any required de-puncturing and de-repetition, at each other of the possible data rates, in particular, correlations between data entering the second Viterbi decoding and convolutional re-encoded output from the second Viterbi decoding.

Description: Rate detection in direct sequence code division multiple access system. This application claims internal priority of the Provisional Application Number 60/104,652, filed October 16, 1998. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to methods of rate detection at a receiving end of a digital communications system, such as a code division multiple access (CDMA) system, in which system the information data rate is variably selected at the transmitting end from an applicable rate set including a full rate and lower rates, each lower rate being the full rate divided by a different integer, and data is repeated for the lower rates to maintain a constant apparent data transmission rate. In its particular aspects, the present invention relates to a rate detection method in which a rate determination or classification decision process uses measurements of repetition characteristics of data which has not been de-repeated. 2. Description of the Related Art Such a rate detection method is generally known from Edith Cohen and Hui- Ling Lou, "Multi-Rate Detection for the IS-95 CDMA Forward Traffic Channels, IEEE Global Telecommunications Conference 1995. In 1992, a direct sequence code division multiple access (DS-CDMA) system was adopted as Interim Standard 95 (IS-95) by the Telecommunications Industry Association (TIA) for deployment in the cellular band at 800MHz. After successful field tests and trial systems the IS-95 system is now operating with tens of millions of subscribers. CDMA is based on spread spectrum technology originally developed by the Allies during World War II to resist enemy radio jamming. Spread spectrum signals are characterized by a bandwidth W occupied by signals in a channel much greater than the information rate R of the signals in bit/s. Thus, a spread spectrum signal inherently contains a kind of redundancy which can be exploited for overcoming several kinds of interference (including signals from other users in the same band and self-interference in the sense of delayed multipath components) introduced by the channel. Another key property of spread spectrum signals is pseudo-randomness. Therefore, the signal appears to be similar to random noise, making it difficult to demodulate by receivers other than the intended ones. In CDMA systems, users share a common channel bandwidth and users are distinguished by different code sequences. In the case of IS-95 each communication with a user is modulated or scrambled by long and short Pseudo Noise (PN) sequences and also modulated by a specific one of a set of orthogonal sequences, known as Walsh codes, which is assigned to the user. The latter modulation is known as applying a Walsh cover. Thus, a particular receiver can recover a certain transmitted signal by applying the PN sequences, and also the Walsh sequence used by the corresponding transmitter for the particular receiver. In the IS-95 DS-CDMA system variable information data rates are used according to the voice activity detected by the voice encoder. This enables a reduction in transmitted power at the lower rates leading to a reduced average transmitted power per user and consequent increase in capacity of the system. Two sets of information data rates (Rate Sets 1 and 2) can be encoded, depending on the implemented voice encoder each set comprising full rate, and lower rates of half rate, quarter rate, and eighth rate. For the lower rates, symbols are repeated to achieve the same apparent symbol transmission rate as when full rate is used. In Rate Set 2, there are 50% more symbols in a frame than in Rate Set 1, but prior to transmission one third of the Rate Set 2 symbols are punctured so that in both rate sets the same number of symbols in a frame are transmitted. The information data rate can change from frame to frame, but information indicating the currently used data rate is not transmitted along with the speech data. Therefore, the receiver has to detect the data rate by hypothesis testing. The algorithm implemented by rate classification or decision logic which determines which of the possible information data rates is utilized for the current frame is called a Rate Detection Algorithm (RDA). In accordance with the known rate detection method utilizing repetition characteristics of data, prior to any de-repetition, measures are formed for Rate Set 1 which determine how well symbols match within successive groups of 2, 4, and 8 symbols. Such method, while requiring only a relatively small amount of computational resources, is not of sufficient reliability for an IS-95 DS-CDMA system that a rate decision could be based solely thereon. Further, such known method yields even poorer results when applied to Rate Set 2, because it does not take into account the effects of puncturing. Other information which could be used for rate detection includes CRC checking results (which in accordance with IS-95 are available for all data rates except quarter and eighth rates in Rate Set 1), Viterbi decoder survivor metrics, and correlations between re- encoded data and data entering the decoder for each possible data rate. The latter two methods, which utilize data available from or after the Viterbi decoding at each of the possible data rates, and for each data frame, are inherently more reliable, but are computationally intensive. The method employing such correlations makes particularly intensive use of computational resources since, each frame, for each of the possible data rates the data must not only be Viterbi decoded (after de-puncturing and de -repeating as required), but also convolutional re- encoded in order to form correlations between the re-encoded data and the data entering the Viterbi decoding for each possible data rate. Intensive use of computational resources is undesirable, particularly in wireless handsets, because battery life is generally reduced as the number of instructions per section required to be executed by a digital signal processor (DSP) within the handset increases. A significant power savings is gained when the DSP has a relatively high proportion of slack time, during which the DSP can go into an idle mode. OBJECTS AND SUMMARY OF THE INVENTION It is an object of the present invention to provide an improved method of rate detection at a receiving end of a digital communications system which is highly reliable but on average utilizes a relatively small amount of computational resources. It is a further object that the rate detection method take into account any pattern of puncturing used for an applicable rate set. These and other objects of the present invention are satisfied by such a method of rate detection wherein the data rate of received convolutional encoded data is first determined by a coarse decision method which is computationally simple because it is based on measures of the data computed before any Viterbi decoding ("pre-decoding" measures). Then, using data available from or after the Viterbi decoding at the first determined data rate to obtain or form a "post-decoding" measure, an evaluation is made whether the first determined data rate should be selected as the actual data rate, and preferably, also whether there is high or low confidence in this selection. Only when, the evaluation does not result in the selection of the first determined data rate as the actual data rate, is a more accurate but computationally intensive fine decision method resorted to, using post decoding measures obtained or calculated at one or more other data rates. In accordance with the invention, pre-decoding measures of repetition patterns in the data are calculated for each of the possible lower data rates, and the coarse rate decision is made using these measures and a first set of thresholds. In the calculation of the pre- decoding measures for Rate Set 2, it is taken into account that the data has been punctured according to a predetermined pattern. In order to evaluate the result of the coarse decision method, the convolutional encoded data is de -punctured and de -repeated where required, Viterbi decoded, and convolutional re-encoded, all with respect to the first determined data rate. Then there is first formed a correlation between the received convolutional encoded data after any de-puncturing and de-repetition at the first determined data rate and the convolutional re-encoded data, and this first formed correlation is compared with a predetermined threshold associated with the first determined data rate, this threshold being contained in a second set of thresholds. The actual data rate is selected as the first determined rate when the first formed correlation is greater than (or is equal to) this threshold. If on the other hand the first formed correlation is less than the threshold to which it is compared, the fine decision method is applied wherein the received convolutional encoded data is second Viterbi decoded in accordance with at least one other data rate of the rate set, after de-puncturing in the case of Rate Set 2, and de -repetition if the at least one other data rate is one of the lower rates, and the data rate is second determined utilizing data available from or after the second Viterbi decoding. Further, in accordance with the present invention, the fine decision method preferably uses correlations formed between the received convolutional encoded data, after any de-puncturing, and any de-repetition, and convolutional re-encoded data, at the full rate and each lower data rate in the applicable rate set, wherein data rates are considered beginning with the full rate, and the determined data rate is set equal to the considered rate when the correlation formed at the considered data rate satisfies a set of one or more conditions One of the conditions is the correlation formed at the considered data rate plus a second predetermined threshold associated with the considered data rate being greater than a largest of the correlations formed at the other data rates. A second condition is, when Cyclic Redundancy Code (CRC) checking is available for the considered data rate, that a CRC check with respect to the decoded received convolution encoded data for the considered data rate does not fail. If CRC checking is not available for the considered data rate, the second condition is the correlation formed for the considered data rate being greater than a third predetermined threshold associated with the considered data rate. Since the coarse decision method provides the correct rate decision most of the time, and the fine decision method need only be applied a small fraction of the time, the rate determination method of the present invention uses only slightly more computational resources than the coarse decision method but has the reliability of the fine decision method. Other objects, features and advantages of the present invention will become apparent upon perusal of the following detailed description when taken in conjunction with the appended drawing, wherein: BRIEF DESCRIPTION OF THE DRAWING Figure 1 is a basic functional schematic diagram of a DS-CDMA system including a transmitting end and a receiving end, the receiving end including a block performing de-puncturing, de-repetition and Viterbi decoding; Figure 2 is a functional schematic diagram of the de-puncturing, de-repetition and Viterbi decoding block in Figure 1 including a plurality of measure calculation blocks feeding a rate decision logic block; and Figure 3 is a flow chart of the operations performed by the calculation blocks rate classification logic block in Figure 2 for IS-95 Rate Set 1 in accordance with the principles of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring first to Figure 1 of the drawing, a wireless CDMA cellular type system 10 is shown including at least one base station 20 and at least one mobile station or handset 40, which at the level of detail shown, is conventional. For the sake of explanation, base station 20 is taken as the transmitting end and mobile station 40 is taken as the receiving end with respect to data flowing between them via a mobile channel 30. It should be understood that both base station 20 and mobile station 40 can transmit and receive, and each must perform a rate determination when functioning as a receiving end. Consequently, where the context permits for generality purposes, base station 20 is referred to as a transmitting end 20, and mobile station 40 is referred to as a receiving end 40. It should also be appreciated that the functional blocks shown are conceptual as viewed by persons of ordinary skill in the art, who are well aware that they are appropriately implemented by the combination of an RF section and a baseband section, the latter including a digital signal processor and/or microprocessor utilizing firmware together with an application specific integrated circuit (ASIC). At transmitting end 20, after analog-to-digital conversion of inputted analog human speech (not shown), the digitized speech is processed by a variable-rate speech O encoder 21, which pursuant to IS-95 may be based on the Qualcomm Code-Excited-Linear- Prediction (QCELP) voice encoding algorithm. The variable-rate feature forms an integral part of the Voice Activity Detection (VAD) approach employed in the considered system, wherein either Rate Set 1 or Rate Set 2 of IS-95 is used. As usual in digital communication models, source encoding is followed by channel encoding, which is realized as a convolutional encoder and symbol repeater 22, the output of which are frames containing a plurality of possibly repeated multibit symbols. In order to overcome the effects of noise and interference introduced into the signal during transmission through the channel, convolutional encoding adds, in a controlled manner, redundancy in the data sequence. The four rates of Rate Set I after convolutional encoding are 19.2 kbps (Full Rate), 9.6 kbps (Half Rate), 4.8 kbps (Quarter Rate) and 2.4 kbps (Eighth Rate). Rate Set 2 provides the four possible rates 28.8kbps, 14.4 kbps, 7.2 kbps and 3.6 kbps. An additional puncturing is performed in Rate Set 2 by deleting two symbols (the fourth and sixth) out of each six. In order to maintain a constant transmission rate of 19.2 kbps, the encoded symbols are repeated once, three times and seven times for Half Rate frames, Quarter Rate frames and Eighth Rate frames, respectively. The reliability of the information transmission using convolutional encoding will only increase when the errors caused by the channel are statistically independent. In fact, the mobile channel 30 is characterized by multipath and fading. Therefore, errors will appear in clusters. As an effective way for transforming a burst error channel into a channel having independent errors, interleaving of the coded data is employed. Block interleaver 23 permutes the sequence of symbols received from convolutional encoder and symbol repeater 22 by formatting them in a rectangular array and reading them out column-wise. The described procedure achieves time diversity in the data sequence which results in a "broken" channel memory. Next, a long code scrambler 24 combines the data sequence with a maximum length Pseudo Noise (PN) sequence (long code) of period 2 42 - 1 by using a modulo-2 addition (not shown). A unique offset of the long code for each forward traffic channel enables voice privacy. Walsh Cover block 25 combines the scrambled and coded symbols from long code scrambler 24 with a row of a dimension-64 Hadamard matrix. This process provides orthogonal channelization (in the absence of multipath) among all transmitted channels of one base station. In Quadrature BPSK/ PN Code Scrambler block 26, the data stream is again scrambled by the so-called PN short code (also pilot PN sequence), a PN code of period 2 15 - 1, by applying Binary Phase Shift Keying (BPSK) modulation with two separate PN short codes to two quadrature branches carrying the same signal. By using the short code, the mobile stations 40 can distinguish between base stations. The receiving end or mobile station 40 in general reverses the operations done at the transmitting end. As is well known, a cascade of a rake receiver/quadrature BPSK demodulation/PN code descrambler block 41, Walsh uncover block 42, long code descrambler 43, and block deinterleaver receive from mobile channel 30 plural versions of the transmitted signal which are relatively delayed due to multipath and recovers a sequence of symbols at an unknown data rate. Block deinterleaver 44 reverses the interleaving by formatting received symbols in a rectangular array and reading them out row-wise to produce the signal or series of multibit symbols y d nt - The data y e i nt is preferably four bits in length, and interpreted as indicating a double ended range of 15 possible levels, corresponding to the integer values ranging from -7 to +7. Next, the de-repetition and Viterbi decoding block 41 performs any needed de-puncturing (for rate set 2)) and de-repetition (for the lower data rates) and decodes the convolutional encoded data sequence to produce yi nf0 . As is well known, a Viterbi decoding process recursively finds the most likely state transition sequence in a trellis. In order to accomplish the decoding, block 41 must determine the data rate on a frame by frame basis. Lastly, the Viterbi decoded data yi nf0 at the determined data rate is applied to a variable rate speech decoder 46 which obtains a high quality digital voice signal that is applied to a digital to analog converter (not shown). De-Puncturing, de-repetition and Viterbi decoding block 45 is shown in more detail in Figure 2, and is seen to comprise a repetition measures calculation block 48, and four branches 50, 60, 70, and 80 to which the de-interleaved data or series of symbols y de int is applied. Repetition measures calculation block 48 calculates normalized pre-decoding measures of repetition patterns N HR , NQ R , and N ER corresponding to half, quarter and eighth rates, respectively, in the applicable rate set. The four branches 50, 60, 70, and 80 indicate the ability to compute scaled correlations C FR , C HR , C QR , and C ER between data entering the Viterbi decoder yderep.FR, Yderep.HR, yderep.QR, and yderep.ER and re-enCOded data y r e e nc,FR, Vreenc.HR, Y reen cQ R , and y reenc , ER for each of full rate, half rate, quarter rate, and eighth rate, respectively, in the applicable rate set, and CRC checking results F FR , F HR , FQ R , and F ER for all rates except quarter rate and eighth rate in IS-95 Rate Set 1. Thus, in branch 50 the de-interleaved data y de int (which for purposes of symmetry is defined as full rate de-punctured, in the case of Rate Set 2, and de-repeated data Yderep.FR) is applied to full rate Viterbi decoder 52 to produce decoded full rate data ydec.FR- The decoded full rate data y ec . FR is applied to full rate convolution encoder 53 to produce full rate o re-encoded data y re enc,FR and is also applied to full rate CRC decoder 54. In block 55, the correlation C FR between full rate re-encoded data y r eenc,FR and full rate de-repeated data y dere p. FR is calculated and the CRC checking result F FR is determined. In branch 60 the de-interleaved data y de in t is applied to de-puncturer and de- repeater 61 which after de-puncturing when the applicable rate set is Rate Set 2, extracts symbols from symbol pairs or 2-tuples to form half rate de-repeated data y dereP , H which is in turn applied to half rate Viterbi decoder 62 to produce decoded half rate data y dec . HR - The decoded half rate data ya ec . HR is applied to half rate convolution encoder 63 to produce half rate re-encoded data y re enc,HR and is also applied to half rate CRC decoder 64. In block 65, the correlation C HR between half rate re-encoded data y reenc , HR and half rate de-repeated data Y dere p, H R is calculated and the CRC checking result F HR is determined. In branch 70 the de-interleaved data y de i nt is applied to de-puncturer and de- repeater 71 which, after de-puncturing in the case of Rate Set 2, extracts symbols from 4- tuples to form quarter rate de-repeated data y dere p.Q R which is in turn applied to quarter rate Viterbi decoder 72 to produce decoded quarter rate data y dec .Q - The decoded quarter rate data Y e cQR is applied to quarter rate convolution encoder 73 to produce quarter rate re-encoded data yr eenc .Q R and, when the applicable rate set is Rate Set 2, is also applied to quarter rate CRC decoder 74. In block 75, the correlation CQ R between quarter rate re-encoded data y ree n c ,QR and quarter rate de-repeated data yderep.QR is calculated and, when the applicable rate set is rate set 2, the CRC checking result F QR is determined. Similarly, in branch 80 the de-interleaved data y eint is applied to de-puncturer and de-repeater 81 which, after de-puncturing in the case of Rate Set 2, extracts symbols from redundant 8-tuples to form eighth rate de-repeated data yderep.ER which is in turn applied to eighth rate Viterbi decoder 82 to produce decoded eighth rate data ydecER- The decoded eighth rate data y de c E R is applied to eighth rate convolution encoder 83 to produce eighth rate re- encoded data yr e en c .ER and, when the applicable rate set is Rate Set 2, is also applied to eighth rate CRC decoder 84. In block 85, the correlation C ER between eighth rate re-encoded data Yreenc.ER and eighth rate de-repeated data yderep.ER is calculated and, when the applicable rate set is Rate Set 2, the CRC checking result F ER is determined. Since the various computations are implemented on a DSP they are done as needed in order to conserve computational resources. Consequently, the parallel layout of block 48 and branches 50, 60, 70, and 80 merely signify the functional ability to compute and provide the pre-decoding measures of repetition patterns and the post-decoding correlations and available CRC checking results to rate decision or classification logic 90 which makes a rate decision Rdec, it being understood that the actual time sequence of these actions will be discussed shortly with respect to the flow chart shown in Figure 3. In response to rate decision Rdec a selector 94 selects the indicated decoded signal among ydec.FR, YdecHR, YdecQR, and y de ER as the output data yι nf0 from de-repetition and Viterbi decoder block 45. Referring to Figure 3, at the beginning step 102 the pre-decoding measures of repetition patterns N HR , N QR , and N ER are calculated using block 48 in Figure 2, and passed to rate decision logic block 90, which then attempts to make a coarse rate decision at step 104. If successful, step 106 is reached where, using the applicable one of branches 50, 60, 70, and 80, a post-decoding measure, namely a scaled correlation between data entering the Viterbi decoder and re-encoded data is calculated only at the data rate indicated by the coarse rate decision, and passed to rate decision logic 90. Then at step 107, an evaluation of this post- decoding measure is performed and it is determined whether it passes or fails the evaluation. If it passes, a reliability measure is also set at step 108, which measure can be taken into account in the rate decision in the subsequent frame, and at step 110 the actual rate decision R dec is set equal to the coarse rate decision. If the coarse rate decision at step 104 is unsuccessful, or in step 107 the post decoding measure fails the evaluation, then step 112 is reached, where post-decoding measures are formed at each data rates, using any post-decoding measure formed at step 106. Then, at step 114 a final rate decision is made using all the calculated post-decoding measures. The fine rate decision, if successful, yields the setting of the actual rate decision Rdec at step 110, or if unsuccessful, the determination at step 116 of a bad frame. In the calculation of the normalized measures of repetition patterns N HR , NQR, and N ER corresponding to half, quarter and eighth rates, respectively block 48 at step 51, the following equations (which are generally as indicated by the aforementioned article Edith Cohen and Hui-Ling Lou, "Multi-Rate Detection for the IS-95 CDMA Forward Traffic Channels", LEEE Global Telecommunications Conference 1995) are used for Rate Set 1: 191 95 M QR = Σ |y 4 i + y 4 i + ι + y 4 i + 2 + y 4i + 3 | i = 0 191 191 U HR = ∑(|y 2i |+|y 2i + 1 |) i = 0 M H R-LM HR IN HR UM HR " • LM HR 95 LM QR = Σ I|y4i + 4 i ♦ ι| - |y 4i ♦ 2 + y i + 3 || 95 UMQR = ∑ ( |y i + y 4i + 1| + |y 4i + 2 + y 4i+3 | ) i = 0 UM ER = M QR -LM QR QR " UM QR -LM QR M ER -LM N c ER ER _ UM ER -LM ER In the foregoing, the measures M HR , M ER , MQ R represent sums of absolute values of sums of successive sequences of two, four, and eight symbols, respectively. These measures are then normalized to form N HR , N ER , and N QR by using computed upper limits UM HR , UM QR , and UM ER , and lower limits LM HR , LM QR , and LM E R, respectively. For Rate Set 2, the equations for N HR , N QR , and N ER are the same as above, but M HR , M QR , M ER , LM HR , LM QR , LM ER , UM HR , UMQ R , and UMER are calculated as follows: 95 i = 0 7 M QR = ∑ (|y8i + y8 1+ ι + y8 i+ 2| + |y8 .3 + y8i +4 + y8 l+ 5l + |y8 1+ 6 + y 8l .7|) i = 0 95 i = 0 95 UM HR = ∑(|y 4l |+|y 4i + 1 |) i = 0 47 LM QR = ∑ (||y8i + y 8 , + ι|-|y8, + 2|| + l|y8i + 3|-|y8. + 4 + y 8l+ 5|| + ||y 8 t + 6| -|y 8 i + 7||) i = 0 47 UM QR = ∑ (|y 8 . + y 8 i + ι| + |y8t + 2| + |y 8 t + 3| + |y8i + 4 + y 8l+ 5| + |y8i + 6| + |y8t+7|) i = 0 In the above equations for Rate Set 2, a full rate frame prior to de-puncturing consists of 384 symbols. At the lower rates, the repetition patterns are effected by the puncturing of the fourth and sixth symbols of every six. At half rate, each series of six symbols prior to puncturing consisting of three 2-tuples, is reduced by puncturing the fourth and sixth symbols to a series of four symbols consisting of a 2-tuple followed by two different symbols. Thus, at half rate, only alternate pairs of symbols show a repetition. At quarter rate, each series of twelve symbols prior to puncturing consisting of three 4-tuples, is reduced by puncturing the fourth, sixth, tenth, and twelfth symbols to a series of eight symbols consisting of two 3-tuples followed by a 2-tuple. Similarly, at eighth rate, each series of twenty-four symbols prior to puncturing consisting of three 8-tuples, is reduced by puncturing the fourth, sixth, tenth, twelfth, sixteenth, eighteenth, twenty-second, and twenty-fourth symbols to a series of sixteen symbols consisting of a 6-tuple followed by two 5-tuples. It should be readily apparent from the foregoing equations that the measures M H R, M ER , and MQ R for Rate Set 2, as well as the upper limits UM HR , UM QR , and UM ER , and lower limits LM HR , LM QR , and LM ER , take into account the effect that puncturing has made on the repetition patterns. In making the coarse rate decision in step 104, the following classification logic applies for both Rate Sets 1 and 2 using a first predetermined set of three thresholds TI FR , TI HR , and T1 QR : if (N HR <T FR )&(N QR <T FR )&(N ER <T FR ) then R dec =FR else if { (NHR+THR)>(NQR+TQR))&((N H R+THR)>NER) then R dec =HR else if { (NQR+TQR)>(NHR+THR) }&{ (NQR+TQR)>NER} then R dec =QR else if { N E R>(NHR+THR) } & { (N E R>(NQR+NTR) } then R dec =ER else coarse rate decision unsuccessful The preferred values of the first set of thresholds have been fine tuned over expected values of noise and fading with the assumption of the following probabilities: 0.25 for full rate, 0.4 for half rate, .25 for quarter rate, and 0.1 for eighth rate; the values of the thresholds are set forth in the following table: The post-decoding measure calculated or obtained at step 106 corresponding to the successful coarsely determined data rate is preferably a scaled correlation C FR , C HR , CQ R , or C ER between data entering the Viterbi decoder and re-encoded data at the coarsely determined data rate and the applicable rate set. While survivor metrics SM FR , SM H R, SMQR, and SM ER are available from Viterbi decoding at full rate, half rate, quarter rate, and eighth rate, respectively, and could be used as the post-decoding measures, better results are obtained using the scaled correlations. If the applicable rate set is Rate Set 1, there are 384 symbols in a full rate frame, which after de-repeating are reduced to 192, 96, and 48 symbols for half, quarter, and eighth rates, respectively. The scaled correlations C FR , C HR , CQ R , or C ER corresponding to the coarsely determined rate is formed for the frame in accordance with the applicable one of following equations, wherein both the re-encoded symbols y re enc,FR, Yreen HR, Yreen c QR, and Yreen ER and the symbols y d ere P ,FR, Yderep.HR, Yderep.QR, and y de rep,ER entering the decoder have integer values ranging from -7 to +7: 3 8 3 rø = J yreenc.FR ^ 1 ) ' krφ.FK CO <=° 191 *-HR ~ ' 2_ yreenc.HR CO ' yderep.HR CO ι=0 95 *-QR ~ ^ ' l_ y r eenc.QR CO ' yderep.QR CO 1=0 *-ER = ° ' _j yr enc.ER CO " Vderep.ER CO ι=0 If the applicable rate set is Rate Set 2, the 384 transmitted symbols in a frame are increased by de-puncturing to 576 symbols, and then for the lower data rates are reduced by de -repeating to 288, 144, and 72 symbols for half, quarter, and eighth rates, respectively. The scaled correlations C FR , C HR , C QR , and C ER are formed for a frame in accordance with the following equations, again wherein both the re-encoded symbols y re encFR, Yreenc.HR, Yreenc.QR, and yreenc.ER and the symbols yderep.FR, Yderep.HR, Yderep.QR, and yderep.ER entering the decoder have integer values ranging from -7 to +7: 575 (- FR ~ _ j y r e nc,FR CO * yder p.FR CO ι=0 2 87 *" HR ~ ^ ' _j yre nc.HR CO ' yderep.HR CO 1=0 ι« ^ QR ~ ^ ' - 1 reenc.QR CO ' yd rep.QR C' ) i=0 71 C ER = 8 * Σ 3 .EΛ ( • y d erep.ER CO i=0 Then, the evaluation in step 107 is done by comparing the computed scaled correlation to a threshold contained in a second set of thresholds. If the threshold is exceeded, the evaluation is passed, resulting in the setting at step 110 of actually determined data rate as equal to the coarsely determined data rate. Also, if the threshold is exceeded a reliability or confidence measure may be set at step 108. For example, if the threshold is not exceeded by a margin equal a predetermined amount, the reliability measure may be set to 1 as a flag indicating that the rate decision is "not reliable", and otherwise it is set to 0, indicating that the rate decision is reliable. A measure of reliability of the rate determination in the last frame is useful in making the rate decision in the next frame, in view of the constraint pursuant to TIA96B, TIA733, and TIA127 that the data rate can only decrease by one rate per frame. The second set of thresholds for Rate Set 1 are shown in the following table: The thresholds for Rate Set 2 are similar to the above, and are easily determined without undue experimentation. When a coarsely determined rate is not adopted and step 122 is reached, all the not already calculated post-decoding measures from the current frame are calculated, so that C FR , C HR , C QR , and C ER are now available for the applicable rate set. For Rate Set 1, CRC checking results F FR and F HR are available only for full and half rates, whereas for Rate Set 2, CRC checking results F FR , F HR , F QR , and F ER are available for full, half, quarter, and eighth rates. If CRC checking fails, the CRC checking result is set to logical one; otherwise the CRC checking result has the value logical zero indicating that the CRC checking has not failed. The fine rate decision is then made at step 114 using the scaled correlations C FR , C HR , C QR , and C ER , the available CRC checking results FFR, FHR, and for Rate Set 2, F QR and F E R, a third set of four biasing thresholds T3FR, T3 HR , T3 QR , and T3 ER for the various possible rates in the applicable rate set, and for Rate Set 1, a fourth set of two further thresholds, T4Q R and T4 ER . The decision logic for Rate Set 1 appears below: if { (CFR+T3FR)>max [C H R,C Q R,C ER ] } & { F FR =0 } then R dec =FR else if { (C H +T3HR)>max[CFR,C Q R,C E R] }&{F HR =0 } then R dec =HR else if {(CQR+T3QR)>max[CFR,CHR,C E R]}&{CQR>T4Q R } then R dec =QR else if { (C ER +T3 E R)>max[CFR,CHR,C QR ] } & { C ER >T4 ER } then R dec =ER else bad frame The decision logic for Rate set 2 appears below: if {(C F R+T3 F R)>max[CHR,CQR,CER] }&{F F R=0} then R dec =FR else if { (C H R+T3HR)>max[CFR,CQ R ,C E R] }&{F HR =0 } then R dec =HR else if {(C QR +T3QR)>max[CFR,CHR,C ER ] }&{F QR =0} then R dec =QR else if {(C ER +T3ER)>max[CFR,C H R,CQR]}&{F E R=0} then R dec =ER else bad frame As appears from the above decision logic for both rate sets, two conditions are applied to test for each possible data rate, in descending rate order, beginning with the full rate. One condition is whether the correlation plus the biasing threshold for the considered rate is greater than or equal to the maximum of the correlations for the other rates. The other condition is that CRC checking, if available for the considered rate, has not failed, and if CRC checking is not available, whether the correlation is greater than or equal to the further threshold for the considered rate. It should also be appreciated that the various inequalities would work if the relationship "greater than" is used rather than "greater than or equal to" with a slight or no change in the actual predetermined values used for the thresholds. The threshold values for both rate sets are given in the table below and have been determined to provide good results under expected noise and fading conditions: As appears from the above table, in actuality biasing thresholds T1 HR and TI ER are set to zero for Rate Set 1, so effectively, they are not used. It has been determined by analysis that the coarse determination carried out in steps 102 through 107 of Figure 3 will detect the data rate 90% of the time, so that step 144, requiring Viterbi decoding at all data rates will only be reached approximately 10% of the time. It has been further determined that these coarse determination steps require about 40% of the number of instructions per second required by the fine determination steps 112 and 114. It should now be appreciated that the objects of the present invention have been satisfied. While the present invention has been described in particular detail, it should also be appreciated that numerous modifications are possible within the intended spirit and scope of the invention. In interpreting the appended claims it should be understood that: a) the word "comprising" does not exclude the presence of other elements or steps than those listed in a claim; b) the word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. c) any reference signs in the claims do not limit their scope; and d) several "means" may be represented by the same item of hardware or software implemented structure or function.

Claims: CLAIMS: 1. A method of rate detection at a receiving end of a digital communications system of a type wherein convolutional encoded digital data transmitted over a medium has an information data rate variably selected at a transmitting end from a rate set containing a full rate (FR) and one or more possible lower (HR,QR,ER) rates which equals the full rate divided by respective different integers k (2, 4, 8,) associated with the possible lower rates, the data being repeated for the lower rates to achieve the same apparent transmission rate as the full rate, said method comprising: first determining (102, 104) the data rate of received convolutional encoded data in accordance with a coarse decision method before any Viterbi decoding of the data; if the first determined data rate is one of the lower rates, first de-repeating (61, 71, or 81) the received convolutional encoded data in accordance with the first determined data rate; first Viterbi decoding (52, 62, 72, or 82) the received convolutional encoded data in accordance with the first determined data rate, after any de-repetition; and evaluating (106, 107, 108, 110) whether to select the data rate as equal to the first determined data rate utilizing data available from or after the first Viterbi decoding. 2. The method as claimed in Claim 1, wherein said evaluating comprises: first convolutional re-encoding (53, 63, 73, or 83) the Viterbi decoded data in accordance with the first determined data rate; first forming (106) a correlation (CF R , C HR , CQ R , or C ER ) between the received convolutional encoded data after any de-repetition at the first determined data rate and the convolutional re-encoded data; comparing (107) the first formed correlation (C FR , C HR , CQ R , or C ER ) with a first predetermined threshold (T2 FR , T2 HR , T2Q R , or T2 ER ) associated with the first determined data rate; and selecting (110) the date rate as equal to the first determined rate (C FR , C HR , C QR , or C ER ) when the first formed correlation is greater than or is equal to the first predetermined threshold (T2 FR , T2HR. T2QR, or T2ER) 3. The method as claimed in Claim 2, further comprising, when the first formed correlation (C FR , C HR , C QR, or C ER ) is less than the first predetermined threshold (T2 FR , T2 HR , second Viterbi decoding (52, 62, 72, or 82) the received convolutional encoded data in accordance with at least one other data rate of the rate set, after de-repetition (61, 71, or 81) if the at least one other data rate is one of the lower rates; and second determining (112, 114, 110) the data rate in accordance with a fine decision method from data available from or after the second Viterbi decoding. 4. The method as claimed in Claim 2, further comprising, when the first formed correlation (C FR , C HR , C QR, or C ER ) is less than the first predetermined threshold (T2 FR , T2 HR , T2 QR, or T2 ER ) associated with the first determined data rate, for each other data rate of the applicable rate set: second de-repeating (61, 71, and/or 81) the received convolutional encoded data in accordance with each other data rate which is one of the lower rates; second Viterbi (52, 62, 72, and/or 82) decoding the received convolutional encoded data in accordance with each other data rate, after any de-repetition; second convolutional (53, 63, 73 and/or 83) re-encoding the Viterbi decoded data in accordance with each other data rate; second forming (112) correlations (C FR, C HR , CQ R , and/or C ER ) between the received convolutional encoded data after any de-repetition and the convolutional re-encoded data at each other data rate; and second determining (114, 110) the data rate utilizing the first and second formed correlations (C FR , C HR , C QR, and C ER ) 5. The method as claimed in Claim 4 wherein said second determining comprises considering data rates beginning with the full rate, and selecting the data rate as equal to the considered rate when the correlation (C FR, C HR , C QR , or C ER ) formed at the considered data rate satisfies a set of one or more conditions. 6. The method as claimed in Claim 5, wherein one of the conditions is whether the correlation (C FR, C HR , C QR, or C ER ) formed at the considered data rate plus a second predetermined threshold (T3 FR, T3 HR, T3 QR , or T3 ER ) associated with the considered data rate is greater than a largest of the correlations formed at the other data rates. 7. The method as claimed in Claim 6, wherein a further one of the conditions is whether a Cyclic Redundancy Code check with respect to the decoded received convolution encoded data for the considered data rate does not fail (F FR , F HR , F QR , and F ER =0). 8. The method as claimed in Claim 6, wherein a (C QR , or C ER ) further one of the conditions is whether the correlation formed for the considered data rate is greater than a third predetermined threshold associated (T4 QR or T4 ER ) with the considered data rate. 9. The method as claimed in Claims 1-4, wherein said first determining (102, 104) includes the step of forming for each of the possible data rates, measures (M HR, M QR , M ER ) of the extent to which predetermined patterns of successive symbols in the convolutional encoded data match. 10. The method as claimed in Claim 9, wherein the predetermined patterns take into consideration puncturing of the data which has occurred prior to transmission. 11. Apparatus for rate detection at a receiving end of a digital communications system of a type wherein convolutional encoded digital data transmitted over a medium has an information data rate variably selected at a transmitting end from a rate set containing a full rate (FR) and one or more possible lower rates which equals the full rate divided by respective different integers k (2, 4, 8,) associated with the possible lower (HR, QR, ER,) rates, the data being repeated for the lower rates to achieve the same apparent transmission rate as the full rate, said apparatus comprising: rate decision means (90) configured for first determining (102, 104) the data rate of received convolutional encoded data in accordance with a coarse decision method before any Viterbi decoding of the data; means for (61, 71, 81,)first de-repeating the received convolutional encoded data in accordance with the first determined data rate, if the first determined data rate is one of the lower rates; means (52, 62, 72, 82)for first Viterbi decoding the received convolutional encoded data in accordance with the first determined data rate, after any de-repetition; and means for (53-55,63-65, 73-75, 83-85,90) evaluating whether to select the data rate as equal to the first determined data rate utilizing data available from or after the first Viterbi decoding (52, 62, 72 or 82). 12. The apparatus as claimed in Claim 11, wherein said means for evaluating comprises: means for first convolutional re-encoding (53, 63, 73, or 83) the Viterbi decoded data in accordance with the first determined data rate; first means for forming (55, 65, 75, 85) a correlation (C FR , C HR , C QR , or C ER ) between the received convolutional encoded data after any de-repetition at the first determined data rate (C FR , C HR , C QR, or C ER ) and the convolutional re-encoded data; and means implemented by the rate decision means (90) for comparing (107) the first formed correlation with a first predetermined threshold (T2 FR , T2 HR, T2 QR, or T2 ER ) associated with the first determined data rate, and for selecting the date rate as equal to the first determined rate when the first formed correlation (C FR , C HR , CQ R , or C ER ) is greater than or is equal to the first predetermined threshold (T2 FR , T2 HR , T2 QR , or T2 ER ). 13. The apparatus as claimed in Claim 12, further comprising, for when the first formed correlation is less than the first predetermined threshold: means for second Viterbi decoding (52, 62, 72 or 82) the received convolutional encoded data in accordance with at least one other data rate of the rate set, after de-repetition (61, 71 or 81) if the at least one other data rate is one of the lower rates; and means implemented by the rate decision (90)means for second determining (112, 114, 110) the data rate in accordance with a fine decision method from data available from or after the second Viterbi decoding.

Inventors: CHEN ALBERT, HELD INGOLF, CHEN, ALBERT, HELD, INGOLF
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 1999
Main classification: H04L1
IPC codes: H04B1, H04B3, H04L1