Background of the Invention
The present invention relates generally to data signal detectors, and more particularly to an improved method and apparatus for the detection of a data signal including repreated data words transmitted on a noisy communication channel, such as the radio channels found in some mobile and portable radiotelephone communication systems.
Prior communication systems have typically assigned separate communication channels to accommodate data signals and voice signals. However, in newer high-capacity mobile and portable radiotelephone communication systems (HCMTS), it is necessary to transmit data signals on voice communication channels in order to relay critical supervisory control information. For example, it is sometimes necessary to direct a mobile station of such an HCMTS system to switch from one voice channel to another. One such occasion necessitating voice channel switching results when a mobile or portable station moves from one cellular coverage area to another. Radiotelephone communication systems having these characteristics are described in a number of publications and patents, including, for example, U.S. Pat. Nos. 3,663,762, 3,819,872, 4,029,900 and 3,906,166. In these HCMTS systems, data is communicated over voice channels to an individual mobile or portable unit by briefly blanking the voice signals and sending a data signal during the blanking interval. Since the data signal is transmitted at a relatively high speed, for example, 10 KBPS, the subscriber hears only a momentary clock in the voice signal.
However, substantial difficulty is encountered in the mobile and portable stations in such HCMTS systems in recovering data signals transmitted on noisy voice channels. Therefore, it is desirable to utilize various techniques for enhancing reception of the data signal by the mobile and portable stations. For example, the information may be repeated a number of times within the data signal. Furthermore, each repeated information word may be preceded by a one-zero dotting pattern and a synchronization word, such as, a so-called Barker sequence, for increasing the probability of detection of the data signal by the mobile and portable stations. One such signalling scheme utilizing repeated information is described in the aforementioned U.S. Pat. No. 4,029,900. One format for the data signal described in this patent is illustrated herein in FIG. 2. The data signal of FIG. 2 includes eleven repeats of a data word, each preceded by a Barker word and a bit synchronization word.
According to a prior detection technique, the presence of the data signal may be determined by a tone detector that is tuned to the frequency of the dotting pattern in the bit synchronization signal. For example, if the bit frequency of the data signal is 10 KHz, the tone detector may be tuned to 5 KHz for detecting the one-zero dotting pattern of the bit synchronization signal. After detection of the bit synchronization signal, the following data words may be located by searching for the preceding Barker word. However, such a scheme is subject to falsing caused by interferring signals on the communication channel if the initial or following Barker words are not detected in sequence. For example, the Barker sequence may occur in the voice signal itself or may occur in the data words of the data signal. If the initial Barker word is missed, and a Barker sequence imbedded in a data word is detected, the entire data signal may not be detected, and as a result, may be totally ignored. Thus, the foregoing prior art detection technique may result in the loss of important supervisory control information when utilized to detect a data signal on a noisey voice channel of radio communication systems.
Summary of the Invention
Accordingly, it is a general object of the present invention to provide an improved method and apparatus for detecting a data signal including repeated data words.
It is another object of the present invention to provide an improved method and apparatus for detecting a data signal including repeated data words, that utilizes time correlation techniques for providing reliable detection of the repeated data words.
In practicing the present invention, an improved method and apparatus is provided for receiving a data signal, including at least three data words each preceded by a synchronization word. The data signal is transmitted on a communication channel to a remote station, such as a mobile or portable station of a radio communication system. Each remote station includes circuitry for receiving the data signal, for detecting the synchronization word before each data word thereof, and for providing a synchronization indication signal upon detection of each snchronization word. The data signal receiving apparatus of the present invention further includes circuitry for storing a received data word in response to the synchronization indication signal; circuitry for measuring the time interval between a previously received data word and the presently received data word and storing the measured time interval for the presently received data word; circuitry for adding the measured time interval to the stored time interval for each previously received data word; circuitry for rejecting stored data words whose stored time interval is greater than a predetermined maximum time interval; and circuitry for correlating the stored time intervals corresponding to each stored data word with predetermined time interval ranges and providing a correlation indication signal if the stored time intervals for at least three stored data words occur within the predetermined time interval ranges. The data signal receiving apparatus of the present invention may include further circuitry for performing a bit-by-bit majority vote between the correlated data words to provide an output data word, which may then be decoded and acted upon accordingly. The data signal receiving apparatus of the present invention may be advantageously utilized in mobile and portable stations of a mobile radio communication channel, where the data signal includes as many as eleven repeated data words. Thus, if at least three of the repeated data words have corresponding stored time intervals occurring within predetermined time interval ranges, the data signal receiving apparatus of the present invention provides a correlation indication signal regardless of the order in which the three correlated data words are received.
Brief Description of the Drawings
FIG. 1 is a block diagram of a data signal receiver embodying the present invention.
FIG. 2 illustrates a prior art format of a data signal which may be advantageously utilized in practicing the present invention.
FIG. 3 is a flow chart of an interrupt subroutine that may be stored in the read-only memory in FIG. 1.
FIG. 4 is a flow chart of a correlation routine that may be stored in the read-only memory in FIG. 1.
FIG. 5 is a flow chart of a decode subroutine that may be stored in the read-only memory in FIG. 1.
FIG. 6 is a block diagram of a radio communication system which may advantageously utilize the data signal receiver in FIG. 1.
Detailed Description of the Preferred Embodiment
In FIG. 1, there is illustrated a data signal receiver embodying the present invention. The data signal receiver includes a microcomputer 103 comprised of a microprocessor (MPU) 104, a read-only memory (ROM) 108 for storing a control program, a random-access memory (RAM) 110 for storing constants and variables, a peripheral interface adapter (PIA) 106 for interfacing MPU 104 to external data and interrupt signals, and clock oscillator 102 for providing a clock signal for MPU 104. The microcomputer 103 may be any of a number of conventional microcomputers, such as the Motorola type M6800 microcomputer. In the preferred embodiment, microcomputer 103 is a Motorola type M6800 microcomputer, where MPU 104 is a Motorola type MC6800, ROM 108 is a Motorola type MCM6830, RAM 110 is a Motorola type MCM6810, PIA 106 is a Motorola type MC6821 and clock oscillator is a Motorola type MC6875 together with a crystal oscillator.
The data signal receiver 100 further includes synchronization unit 114 and shift register 112 for receiving the data signals transmitted on a voice communication channel. The synchronization unit 114 activates the CA1 input of PIA 106 for interrupting the microcomputer 103 whenever eight bits (hereinafter referred to as a "byte") of received data are present in shift register 112. The data signal receiver 100 also includes a one millisecond clock oscillator 116 for providing a one millisecond clock signal that is coupled to the CB1 input of PIA 106 for interrupting the microcomputer 103 at one millisecond intervals. The interrupts at one millisecond intervals are utilized by the microcomputer 103 for timing the periods between reception of successive data words.
The data signal receiver 100 of the present invention is particularly well adapted to receive data signals including at least three repeated data words, such as that illustrated in FIG. 2. Referring to FIG. 2, each data word 206, 212 and 276 is preceded by a Barker word 204, 210 and 274 and a bit synchronization signal 202, 208 and 272 having a one-zero dotting pattern. The logical state of the bits of the data signal are preferably coded according to a type of phase-shift keying commonly referred to as the "Manchester" coding format by those skilled in the art. In the preferred embodiment, the data words are repeated eleven times in the data signal which is trasmitted at a 10 KHz bit rate on a voice channel to a remote station, such as a mobile or portable station of a radio communication system. Further details of the format for such a data signal are provided in the aforementioned U.S. Pat. No. 4,029,900.
According to the general operation of the data signal receiver 100, the microcomputer 103 in FIG. 1 is interrupted via the CA1 input of PIA 106 by the synchronization unit 114 when a byte of a data word has been shifted into shift register 112. The microcomputer 103, under control of the interrupt subroutine stored in ROM 108, stores each byte of a data word received by the PIA 106 into the data word buffers, BUF1-BUF5, in RAM 110. In addition, the microcomputer 103 also measures the elapsed time interval between successive data words, by means of one millisecond interrupts provided by one millisecond clock oscillator 116, and stores cumulative elapsed time intervals in time interval buffers, T1-T5 in RAM 110 for each data word buffer, BUF1-BUF5. Data words are continually stored in the data buffers in RAM 110 until five data words have been received and stored. Once five data words have been received and stored, control of the microcomputer 103 is then transferred to the correlation routine stored in ROM 108 for correlating the cumulative elaspsed time intervals of each received data word with the time interval ranges stored in RAM 110. In accordance with the present invention, if at least three of the data words stored in the data word buffers in RAM 110 have cumulative elaspsed time intervals occurring within the time interval ranges in RAM 110, control of the microcomputer may then be transferred to a decode subroutine in ROM 108 for further processing of the stored data words. Even though in the preferred embodiment of the present invention at least five data words are stored and five data words are correlated before entering the decode subroutine, as few as three data words or as many as eleven data words may be desired to be received and correlated before entering the decode subroutine. Furthermore, if the number of repeats of the data words in the data signal is increased to be greater than eleven, the number of correlated data words necessary for entering the decode subroutine may likewise be adapted to accommodate the particular signalling format and desired system performance.
The synchronization unit 114 of the data signal receiver 100 is coupled to the particular communication channel carrying the data and voice signals. The synchronization unit 114 may be bit synchronized to the data signal by the one-zero dotting pattern of the bit synchronization signal 202 which precedes each data word of the data signal, as shown in FIG. 2. The synchronization unit 114 recognizes the particular pattern of the selected Barker word 204 in FIG. 2 that precedes each data word in order to identify the beginning of the following data word. Upon detection of the Barker word 204, 210 and 274, the synchronization unit 114 then serially clocks the following forty bit data word into shift register 112. When each byte of a data word has been shifted into shift register 112, the synchronization unit 114 then provides an interrupt signal to the CA1 input of PIA 106 for interrupting microcomputer 103. Thus, the synchronization unit 114 provides five interrupts for the five bytes of each forty bit data word. The functions of the synchronization unit 114 are well known in the art, and exemplary embodiments of such a synchronization unit are provided in the instant assignee's co-pending application, Ser. No. 119,350, entitled "Phase Encoded Data Detector", invented by Michael McClaughry and John P. Byrns and filed the same date as the instant application, in the aforementioned U.S. Pat. No. 4,029,900, and in U.S. Pat. 3,766,316.
The data word bytes from shift register 112 and the interrupt signal from synchronization unit 114 are coupled to the A-side inputs of PIA 106. Thus, each byte of a data word from shift register 112 is stored in the A-data register of PIA 106, which has been assigned address 9000 (all addresses herein are expressed in hexidecimal), and the interrupt signal from synchronization unit 114 is stored in the A-control register of PIA 106, which has been assigned address 9001. Similarly, the interrupt clock signal from one millisecond clock oscillator 116 is stored in the B-control register of PIA 106, which has been assigned address 9003. Both the interrupt signals coupled to the CA1 and CB1 inputs of PIA 106 are buffered therein and directly coupled to outputs IRQA and IRQB, which may be wire-ORed and coupled to the interrupt input of MPU 104. Since the interrupt signals from synchronization unit 114 and one millisecond clock oscillator 116 are directly coupled to the interrupt input of MPU 104, control of the MPU 104 is transferred essentially immediately to the interrupt subroutine stored in ROM 108 in response to these interrupt signals. Such direct interrupt operation of the microcomputer 103 is necessary since the data signal bit rate, which is 10 KHZ in the preferred embodiment of the present invention, is relatively high, when compared to conventional supervisory signalling bit rates, requiring that the processing of interrupt signal be as fast as reasonably possible.
Referring to FIG. 3, there is illustrated a flow chart for the interrupt subroutine which is stored in locations 40E2-417B in ROM 108 in FIG. 1. A detailed program listing of the particular instructions stored in ROM 108 for the interrupt subroutine is provided in Table I, and a corresponding description of the program listing is provided in Table II, hereinbelow. The program listing of Table I provides both mnemonic instructions and machine language equivalent instructions suitable for execution by a Motorola type MC6800 microprocessor.
Referring to FIG. 3, the microcomputer 103 may be interrupted in response to the synchronization unit 114 or the one millisecond clock oscillator 116 in FIG. 1. If interrupted by the one millisecond clock oscillator 116, program control transfers from decision block 302 to block 304 where an elapsed time counter, labelled TIM1 in the program listing, is decremented by one. The program time counter is initialized to 89, corresponding to 89 milliseconds, and is decremented by one for each interrupt generated by the one millisecond clock oscillator 116. After executing block 304, program control returns from the interrupt subroutine at block 306.
If the microcomputer 103 has been interrupted by the synchronization unit 114, program control is transferred from decision block 302 to block 308 where a received byte of a data word is transferred from the A-data register of PIA 106 to the appropriate data word buffer in RAM 110. Next, at decision block 310, a check is made to see if the receive byte is the first byte of a data word. If the received byte is the first byte of a data word, program control is transferred from decision block 310 to block 312 where the time indicated by the elapsed time counter is subtracted from 89 milliseconds to obtain the elapsed time interval. Next, at block 314, the elapsed time interval determined in block 312 is added to the stored elapsed time interval for each previously received data word. Then, at block 315, any data word which has a cumulative elapsed time interval exceeding the maximum allowable time of 89 milliseconds is dropped from the data word buffer as being too old. The transmission time for each 88 bit repeat of a data word is 8.8 milliseconds. Thus, the elapsed time between the first data word and the eleventh data word of a data signal is 88 milliseconds. Because the elapsed time interval of the most recently received data word is always added to the stored elapsed time interval for the previously received data words, the oldest received data word has the largest cumulative elapsed time interval. When the cumulative elapsed time interval for any received data word exceeds 89 milliseconds, which would be the maximum cumulative elapsed time interval for the first of eleven consecutively received data words, it is dropped from the data word buffer since any data word having a cumulative elapsed time interval greater than 89 milliseconds is not from the current data signal. After checking for data words which have a cumulative elapsed time interval exceeding 89 milliseconds, program control returns from the interrupt subroutine at block 322.
Referring back to decision block 310, if the presently received byte is the second, third, fourth or fifth byte of a data word, program control transfers to decision block 316 where it is determined if the received byte is the last byte of a data word. If the received byte is not the last byte of a data word, program control returns from the interrupt subroutine at block 322. Otherwise, program control transfers from block 316 to block 318, where it is determined whether five data words have been received. If five data words have not been received, program control transfers from block 318 to block 319, where an empty data buffer is located, and a pointer, labelled CPNTB, is set to identify the empty data buffer for storing the next received data word, after which program control returns from the interrupt subroutine at block 322. Otherwise, program control proceeds from decision block 318 to block 320 where the correlate flag, labelled TCORR, is set to a logical high state so that program control will proceed to the correlation routine for correlating the five received data words. Proceeding from block 320, program control returns from the interrupt subroutine at block 322.
In summary, the interrupt subroutine of FIG. 3 is utilized to receive data words on byte-by-byte basis and to determine the cumulative elapsed time intervals for all received data words. Successive data words and their corresponding cumulative elapsed time intervals are store until five data words have been received and stored. Then, when five data words and their corresponding cumulative elapsed time intervals have been received and stored, the correlate flag, labelled TCORR, is set for correlating the cumulative elapsed time intervals of the five received data words with the time interval ranges stored in RAM 110 in FIG. 1.
Referring to FIG. 4, there is illustrated, the correlation routine stored in the address locations 40E2-417B in ROM 108 in FIG. 1. The program instructions for the correlation routine utilized in the preferred embodiment of the present invention are included in the program listing in Table I, and a corresponding description of the program listing is included in Table II, hereinbelow. In accordance with the present invention, the correlation routine is utilized to correlate the cumulative elapsed time intervals of each data word with the predetermined time interval ranges stored in RAM 110 in FIG. 1. The correlation is performed when five data words have been received, although any suitable number of data words greater than three may be utilized in practicing the present invention. Once the stored time intervals of five data words have been correlated, program control may proceed to the decode subroutine of FIG. 5 for decoding the timewise correlated data words.
Referring to decision block 402 of FIG. 4, correlation of the stored time intervals of five data words will not proceed until the correlate flag, labelled TCORR, is set. If the correlate flag is set, program control proceeds from decision block 402 to block 406 where the stored time intervals of five data words are checked to see if any of them correlate with the time interval ranges of 0-1, 8-9, 17-18, 26-27, 35-36, 44-45, 52-53, 61-62, 70-71, 79-80, 88-89 and 96-97 milliseconds stored in RAM 110 in FIG. 1. Next, at decision block 408, if at least three of the stored time intervals do not correlate with the time interval ranges in RAM 110, program control proceeds to block 410 where each of the stored time intervals for the five data words is shifted by adding one millisecond to it. Then, program control proceeds by way of decision block 412 back to block 406 to repeat the correlation with the shifted stored time intervals. The stored time intervals are shifted seven times to accommodate any possible skew with respect to the time interval ranges in RAM 110. For example, stored time intervals of 58, 68 and 76 correlate with time interval ranges of 61-62, 70-71 and 79-80 at a skew of 3 milliseconds. If the correlation has been repeated seven times, all possible shifted stored time intervals for the five data words have been checked with all of the time interval ranges in RAM 110 without finding at least three correlated stored time intervals, and program control proceeds from decision block 412 to block 418 where the oldest data word having the largest cumulative time interval is dropped from the data word buffer. Program control then proceeds back to decision block 402 to wait until additional data words have been received.
Referring back to decision block 408, if at least three words have been found to have stored time intervals which correlate with the time interval ranges in RAM 110, program control proceeds to block 414 where words having stored time intervals outside the expected time interval ranges are dropped from the data word buffer in RAM 110 in FIG. 1. Next, at decision block 416, if five correlated data words are left, program control proceeds to the decode subroutine of FIG. 5 for decoding the five data words. Otherwise, program control proceeds back to decision block 402 to wait until additional data words have been received. Depending on the degree of system reliability desired, decision block 416 may transfer program control to the decode subroutine of FIG. 5 when any desired number of data words greater than three have been found to be timewise correlated. In the preferred embodiment of the present invention, the data words are repeated eleven times in the data signal, such that it is highly probably that five timewise correlated data words may be reliably detected with a very low probability of falsing.
In summary, the correlation routine of FIG. 4 continues to search for timewise correlated data words, while eliminating those data words which are not correlated, until at least five of the possible eleven data words in a data signal have been found to be correlated. According to an important feature of the present invention, the five timewise correlated data words need not be consecutive, and could be any five of the possible eleven data words which are found to be correlated with any of the time interval ranges stored in RAM 110 of FIG. 1. For example, it may be determined by the correlation routine that the 2nd, 3rd, 6th, 9th and 11th data words are correlated with the time interval ranges in RAM 110 in FIG. 1.
Furthermore, the correlation routine of the present invention is not likely to be falsed on Barker sequences embedded within the data word, since the cumulative elapsed time interval resulting from such embedded Barker sequences will not correlate with the time interval ranges in RAM 110 which correlated with the cumulative elapsed time intervals of valid data words. Moreover, if the Barker word for a data word is missed entirely, the elapsed time interval counter continues to decrement resulting in a longer elapsed time interval, and longer elapsed time intervals have no effect other than causing data words having cumulative elapsed time intervals greater than 89 milliseconds to be discarded. Similarly, a false detection of a Barker word due to noise or voice signals will not interfere with a following data signal, since the invalid data word due to the false Barker word detection will most likely be discarded either as too old or as not being timewise correlated with succeeding data words from the data signal.
Once five data words have been timewise correlated, program control may be transferred from the correlation routine of FIG. 4 to the decode subroutine of FIG. 5. The decode subroutine may include any suitable conventional techniques for validating the correlated data words. Referring to FIG. 5, at block 502, an output data word may be formed by taking a bit-by-bit majority vote between the five correlated data words. Thus the bits of at least three of the five correlated data words will determine the individual bits of the output data word. Next, at block 504, the output data word may be error corrected according to a conventional error correcting code, which has been pre-selected for encoding the data words. If the particular signalling format utilized does not include an error correcting code, error correcting of the output data word will be unnecessary. Finally, at block 506, the error-corrected output data word may be decoded according to conventional techniques to determine the appropriate action that is to be taken at the receiving station. For example, the decoded output data word may command a mobile or portable station to switch from one radio channel to another as the mobile or portable station passes from one cellular radio coverage area to another. Depending on the particular communication system utilizing the present invention, the output data word may be advantageously utilized for any desired supervisory functions.
Referring to Table I, there is provided a program listing for implementing the flow charts in FIGS. 3 and 4. A description of the operation of the instructions in the program listing is provided in Table II. The program listings in Table I are illustrative of the preferred embodiment of the present invention which utilizes the Motorola type M6800 microcomputer. Similar program listings for other conventional microcomputers can be readily coded by one skilled in the programming art, utilizing these program listings, the flow charts of FIGS. 3 and 4 and the description therefor provided hereinabove.
In summary, an improved method and apparatus for detecting a data signal including repeated data words has been described which is particularly well adapted for use on noisy channels of communication systems. The inventive data signal detecting method and apparatus may be advantageously utilized for detecting data signals transmitted on a voice channel to mobile and portable stations of a radio communication system. The data signal may include any number of repeated data words greater than three which are each preceded by a synchronization word. When the reception of at least three data words are timewise correlated with one another, the inventive method and apparatus of the present invention provide a correlation indication signal to indicate that valid data words have been received. Since the inventive data signal detecting method and apparatus are not dependent on detection of consecutive data words, correlation will not be impaired nor falsed by the false detection, or non-detection, of synchronization words.