The field of the present invention is receivers for communications systems. In a particular example, the invention relates to a baseband receiver process operating on a receiver for receiving a communication signal compliant with the 802.15.4 standard.
Receivers form an important part of any communications system. Receivers cooperate with a transmitting device to receive an information signal and decode the information from that signal. In practice, the receiver portion is often coupled with the transmitter portion to create a transmitter. Often, this transmitter is portable so that a wireless communication may be received irrespective of location. In its portable form, it is particularly desirable to have the receiver operate with low power and be implemented in a cost efficient manner. In this way, the portable device has an affordable initial cost, and may operated for extended periods of time using a portable energy source such as a battery. However, although low cost and low power usage are desirable characteristics, the primary demand on a portable receiver is to accurately and efficiently decode a received signal, and to remain compliant with the appropriate communication standard.
Most modern communication systems comply or are based upon one or many communications standards. These communications standards are promulgated by industry associations and groups to facilitate interoperability between devices. For example, the IEEE is an organization responsible for promulgating several communication standards. Each communication standard has particular strengths and goals, and also certain associated implementation costs. For example, communication standards operating at very high data rates tend to operate over the greatest distances, allow for the greatest number of users, and are the most expensive to implement. Other communication standards set a relatively low data rate, a relatively low number of users, and may be relatively inexpensive to implement. One standard, the 802.15.4 standard is intended to be a relatively low cost and low power wireless communication standard. With the relatively low data rate, 802.15.4 compliant devices are expected to be targeted to such markets as industrial sensors, commercial metering, consumer electronics, toys and games, and home automation. Each of these markets has a great cost sensitivity, and will expect that any portable device efficiently use its battery or other portable energy source.
The 802.15.4 specification operates at either 2.4 GHz or about 900 MHz, and uses a wireless transmission technology to dynamically configure and initialize a personal area network. The standard particularly sets out implementations and structures for the transmitter portion of the communication systems, but is far less detailed in describing receiver implementations.
Implementing a receiver for the 802.15.4 has been made particularly difficult due to the overall architecture of the 802.15.4 network. According to the standard, the transmitter does not provide a separate synchronization process to allow a receiver to synchronize to the transmission. Instead, 802.15.4 relies upon self-synchronization by the receiver. Self-synchronization can be a time consuming and processor intensive process, thereby using scarce power resources available at the portable receiver. Further, the standard allows the frequency of a transmission to vary as much as 60 parts per million (ppm) when operating at the 2.4 GHz band. Further, the magnitude of the frequency offset between devices may vary depending upon time, temperature, and will fluctuate substantially depending on which specific device is transmitting. Thus the standard permits the transmitter to introduce a substantial 60 ppm (about 150 kHz) frequency offset at each receiver, which is substantial, variable and unpredictable.
The 802.15.4 standard is also a channel architecture, with the usual adjacent channel interference, fading, and noise associated with such an architecture. The signal coming from an 802.15.4 transmitter, therefore suffers from degradation from a substantial frequency offset, adjacent channel interference, fading, noise, and possibly other degrading factors. In this way, the receiver needs to be constructed to properly self-synchronize and decode the incoming 802.15.4 signal, even when the signal is highly degraded.
As with many communication systems, the 802.15.4 communication system is a framed based system. As such, the transmitter assembles a data frame, encodes the data frame, modulates the data frame onto a carrier frequency, and transmits the modulated information signal to the receiver. The receiver is expected to detect the modulated signal, remove the carrier to generate a baseband signal, and synchronize with and decode the baseband signal. In the 802.15.4 standard, the frame has an 8-symbol preamble, which indicates the presence of a data frame. Accordingly, the 802.15.4 compliant receiver must synchronized to the baseband signal within only 8 symbols. The process of synchronizing to a degraded asynchronous baseband signal with only 8 symbols is typically accomplished by either providing for substantial parallel processing capability in the form of a complex gate configuration, or providing a relatively high speed processor for quickly performing algorithmic calculations. Either solution tends to use substantial power and be implemented with high end and relatively high cost parts. In this way, even though the 802.15.4 standard is intended to be a low power and low cost arrangement, the architectural constraints of the standard may hinder building such a low cost and low power receiver. Therefore it would be desirable to have a receiver process operating on a receiver that could reliably recover information from a highly degraded baseband signal, but yet realizable in a relatively low cost and relatively low power construction.
Briefly, the present invention provides a baseband process operating on a receiver in a communication system, such as an 802.15.4 communication system. The baseband process has a set of predefined reference signals, with each reference signal associated with a possible characteristic in the baseband signal. The baseband process receives a degraded baseband signal, and preprocesses the baseband signal to reduce or remove the effects of the degradation. The preprocessed baseband signal is correlated with reference signals from the set of predefined reference signals, and the reference signal with the best correlation is identified. By identifying the best correlating reference signal, the baseband process is able to identify a characteristic of the baseband signal. In one example of the baseband process, the baseband signal is preprocessed by auto-correlating the degraded baseband signal with a delayed version of the degraded baseband signal. The preprocessed baseband signal is then correlated against a set of sync reference signals to find a sync offset for the baseband signal. When synchronized with the baseband signal, the baseband process may be correlated against a set of symbol reference signals to decode sequential symbols in the baseband signal.
Advantageously, the disclosed baseband process provides a highly efficient method for synchronizing to a baseband signal and decoding symbol data from the baseband signal. In one example, the baseband process is able to synchronize to a degraded baseband signal, irrespective of the frequency offset in the transmitted RF signal. The synchronization is completed on the preamble portion of a data frame, and may be implemented in a relatively low cost and low power configuration. These and other advantages will become apparent by review of the figures and detail descriptions that follow.
a is a block diagram of a baseband process in accordance with the present invention;
b is a block diagram of another baseband process in accordance with the present invention;
Referring now to
Baseband process 10 provides a highly efficient method for first synchronizing to a baseband signal and then decoding symbol data from the baseband signal. The efficiency of the baseband process 10 enables a particularly efficient and low power receiver configuration. Accordingly, baseband process 10 is useful is the receiver portion of an 802.15.4 transceiver, where low power usage and low implementation costs are important considerations.
Baseband process 10 receives a baseband signal 12 from another portion of the receiver. The baseband signal 12 has been demodulated to remove the carrier frequency, however the effects due to a frequency offset, noise, interference, fading, and time shift are still present in the baseband signal 12. Since the carrier signal has been removed from the baseband signal 12, baseband signal 12 generally represents a waveform carrying pulse information. The shape of the pulses generally relate to a binary encoding, however, the pulse shape may be substantially deformed due to the frequency offset, noise, and other degrading influences. In block 16 the baseband signal is received and preprocessed. The preprocess block 16 efficiently removes the effects of frequency offset. The preprocess block 16 then forwards the improved baseband waveform into a correlator 27. A reference signal 14 is received into preprocess block 18. Preprocess block 18 maybe similar to preprocess block 16. However, it will be appreciated that preprocess block 18 may be simplified as reference signal 14 will not be subjected to unknown frequency offsets, noise and other such degrading influences. Instead, reference signal 14 is a waveform signal retrieved from a stored table. The stored tables hold predefined reference waveforms for use by the baseband process 10. In one example of the baseband process 10, a sync reference table 22 and a decode reference table 25 may be selected to provide the reference signal 14 that is input to the preprocess block 18.
In operation the baseband process 10 has a table select function 20 that selects if the reference signal 14 is provided from the sync reference table 22 or the decode reference table 25. In one sequence of events, the table select 20 first provides the reference signal 14 from the sync reference table 22. In this way, one of the sync reference waveforms 33 is input to the preprocess block 18, where the reference signal is processed and then passed to correlator 27. A baseband signal 12 is also received at the preprocess block 16 with the improved baseband waveform passed into the correlator 27. The correlator then provides an indication of the relative correlation between the preprocessed baseband signal and the preprocessed reference signal. For example, if the preprocessed baseband signal and preprocessed the reference signal have a high degree of correlation, then the correlator 27 will output an indicator of a high power level. However, if the preprocessed baseband signal and the preprocessed reference signal have a low lever of correlation, then the correlator 27 will output an indicator of a lower power level. Each of the reference signals 33 is passed through the baseband process 10 so that each of the preprocessed reference waveforms is correlated against the preprocessed baseband signal. The preprocessed reference signal having the highest level of correlation with the preprocessed baseband signal is an indicator that the desired characteristic has been located in the baseband signal. For example, when the preprocessed reference signals are received from the sync reference table 22, the preprocessed reference waveform 33 having the best correlation with the preprocessed baseband signal provides an indicator that the input baseband signal is synchronized with that preprocessed reference waveform. More particularly, the presence of the highest correlation may provide a synchronization offset value so that the receiver can be synchronized to the baseband signal. It will be appreciated that additional processing may be used to determine if the sync offset or other characteristic actually exists, or if the highest correlator result is a false indicator. For example, a threshold may be set so that the highest correlator result must be higher than the threshold to be considered a valid indicator.
Once the characteristic of the sync or sync offset has been found, the sync 29 may be used to synchronize the receiver, and also may instruct the table select 20 to now provide reference signals from the decode reference table 25. Since the receiver portion is now synchronized with the baseband signal, the baseband process 10 is now able to decode the baseband signal waveform into symbol or other data. In a process similar to the process used to find the synchronization offset, each of the waveforms in a set of decode reference waveforms 35 are input as the reference signal 14 to the preprocess 18. In this way, each of the decode reference waveforms 35 will be correlated against the synchronized baseband signal in correlator 27. The highest correlating decode reference waveform will indicate that an important characteristic in the baseband signal has been located. Here, each of the decode reference signals has an associated data symbol. Accordingly, when the highest correlating decode reference signal has been found, this indicates the associated symbol data has been identified in the baseband signal. The identified symbol data can then be output as symbol data 31. It will be appreciated that additional processing may be done on the symbol data to further decode the symbol, or to further verify the integrity of the symbol. The baseband process 10 may then repeated for each expected symbol cycle in the baseband signal.
Referring now to
Referring now to
Referring now to
Advantageously, the sync process 128 and the decode process 131 can share substantial algorithmic and structural processes. For illustration purposes, the shared processes 139 are shown in
When the receiver process 120 initializes, the receiver has not been synchronized with the network or the baseband signal 122. Accordingly, it is desirable to find a synchronization signal or indicator. More specifically, the sync process 128 is used to find a sync offset value which then is used to synchronized the receiver so the decode process 131 may be efficiently accomplished. The sync process 128 has a set of predefined reference waveforms 133. Since the sync process must be concluded within the preamble section of the data frame, and the preamble symbols are predefined in the communication standard, the reference waveforms 133 represent the expected preamble waveform at different sampling start positions. The sync reference table 133 is loaded into the reference table 137 for the shared process 139. The sync process 128 then passes the digitized baseband signal 151 to the shared process 139, where the shared process 139 then correlates the quantitized baseband waveform with each of the possible sync reference signals in the table. When the best correlating reference waveform has been found, then the shared process 139 passes the highest power level 142 and a sync offset 144 associated with that power level back to the sync process 128. The power level 142 is useful for determining the validity of the sync signal 144. For example, a high power indicator may mean that there is a high likelihood that the sync offset 144 is valid, while a low power reading may indicate an invalid reading, and the receiver may decide to repeat the sync process until a better correlation is found. Once a sync offset 144 is known by the sync process 128, the sync offset 144 may be used to adjust the receiver process so that the start point for each data symbol is known.
Once the sync offset has been located, the reference table 137 is then loaded with a symbol reference waveforms 135. Each symbol reference waveform represents an expected waveform for an individual symbol. For example, if the communication standard defines 16 possible symbols, then each of the 16 symbol reference waveforms in a table will be associated with a particular symbol. The decode process 131 then passes the digitized baseband signal 153 to the shared process 139 where each of the symbol reference waveforms 135 are correlated with the baseband signal. Once the best correlating pair is found, the correlation power level 146 and the symbol data 148 is passed back to the decode process 131. The power level 146 is useful for validating the result received from the shard process 139. For example, if the power level is relatively high, that may indicate the symbol data is valid data, while a relatively low power level may indicate a false symbol data. In the case of a possible false symbol data, the receiver may report to the MAC layer that an error has occurred and request a retransmission of the data. Once the symbol data has been confirmed to be valid, the symbol data may be easily converted into binary data for use by the receiving device.
Referring now to
Once the sync offset has been determined, the receiver process can be adjusted for the sync offset as shown in block 179. With the receiver and it's A to D converter synchronized with the incoming baseband signal, the receiver process is ready to decode each symbol sequentially. Since every allowable symbol is defined in the communication standard, the set of predetermined symbol reference waveforms may be constructed for the expected data symbols 185. These expected reference signals are then loaded into a reference table 196, and each of the reference signals is correlated with a baseband signal 198. The reference signal having the maximum correlation with baseband signal is identified 201, and the symbol associated with that reference signal is reported back as symbol data 203. Also, a power level may be reported associated with the symbol data for validation purposes.
Referring now to
Referring now to
Referring now to
Since the communication standard defines the allowed symbols and the encoding processes, an expected pattern 285 may be determined. For example, the preamble pattern in the 802.15.4 standard is a series of 8 “0” symbols. In another example, the chip pattern associated with each symbol is also defined in the standard. It will be appreciated that additional patterns may be defined, and other standards may allow for other patterns. The expected pattern 285 is passed through a preload process 283. The preload process shapes the pattern 285 into the form of an expected waveform. The possible expected waveforms 287 are then loaded into a reference table 281. In this way, the reference table 281 is loaded with a set of reference waveforms 287. Each of these waveforms may then be provided as a reference signal input 279. The reference signal 279 is passed through a preprocessing process similar to that performed on the baseband. The reference waveform 279 is correlated in correlator 299 with a version of the reference signal 296 that has been delayed using delay 292. Correlator 299 generates a processed reference signal 304. The processed reference signal 304 is then passed into correlator 306.
Correlator 306 then provides a result 308 that indicates the level of correlation between the processed baseband signal 302 and each processed reference signal 304. By correlating each of the reference signals in reference table 281, the reference signal having the best correlation may be found. Once the best correlating reference signal is found, an important characteristic of the baseband signal has been located. For example, the receiver process 275 may be used to locate a sync offset for an asynchronous baseband signal, or may be used to efficiently decode a baseband signal once synchronization has been found.
b shows another receiver process 310. The baseband portion 311 of receiver process 310 is similar to the process described with receiver process 275, so will not be described here in detail. However, receiver process 310 has a reference table 312 that is preloaded with reference signals already in the form for finally correlation. More specifically, each of the reference signals in reference table 312 is like one of the processed reference signals 304 described with reference to
Referring now to
The A to D converter 341 is operated at 4 times the frequency of the chips, which correspond to a frequency of 4 MHz. It will be appreciated that other sampling frequencies may be used consistent with this disclosure. Since the symbol 331 is 16 microseconds in duration, a 4 MHz sampling of a symbol will require 64 samples, each 250 nanoseconds 335 apart. In one example of the process, the A to D converter is a 1-bit A to D, which enables a particularly efficient synchronization process.
Once the expected waveform 327 has been sampled, then the reference table 342 can be loaded. For example, waveform R0357 would represent an expected waveform sampled from sample 0 through sample 63. The next reference signal, R1358 represents an expected waveform starting at sample 1 and continuing through sample 63 and ending with sample 0. In a similar way, reference signal R2359 represents an expected waveform sample starting at sample 2 and continuing through sample 63 and ending with sample 1. The pattern of loading the reference table continues through expected reference waveform R63361 which would represent an expected waveform if sampling started at sample 63 and then continues to sample 62. When the reference table 342 is fully loaded, the reference table contains 64 reference signals, with each reference signal representing an expected waveform depending on the possible starting points for sampling a “0” symbol.
Referring now to
The baseband signal 382 is received in an asynchronous manner, and is delayed 406 and correlated in 407. The correlation in 407 removes the effects of any frequency offset and other degrading influences from the baseband signal, with the resulting signal then passed into correlators 410, 411, 412, and 413, where the processed baseband signal is correlated with each of the reference signals. It will be appreciated that the correlation process may be done sequentially, or may include a multiplexing process which enables a parallel operation. An accumulator or maximizing circuit 415 detects which of the correlators provides the highest power output, which would correspond to the best correlation. Since each reference signal is associated with a different sample start time, the reference signal having the best correlation will indicate the sample offset for the A to D converter. This sample offset may be used as a sync offset for synchronizing the receiver to the start position for each symbol in the baseband signal. The power level 417 of the best correlation and the index for sync offset 419 is reported from the receiver portion 380. For example, if R2392 provided a power P2 into maximizer 415, and P2 was determined to be the highest power level, then the power level P2 would be recorded as power level 417, and the index “2” would be reported. In this way, the receiver now knows that a sync offset of 2 should be applied during the decoding process. With the sync offset known, a more efficient symbol decoding process is enable, such as the decode process illustrated in
Referring now to
The reference table 490 is then loaded with expected waveforms 493 for each of the symbols 513. For example, R0504 would include the A to D pattern corresponding to symbol “0”. In a similar manner, reference waveform R1506 would include the sample pattern corresponding to symbol “1” and reference waveform R2508 would correspond to the digitized pattern for symbol “2”. The table is continued to be loaded with each of the 16 symbols until R15511 is loaded, which corresponds to the digitized waveform for symbol “15”. Once the table has been loaded, it is now ready to be used in a baseband decoding process.
Referring now to
The baseband signal 522 is also delayed 547 and correlated 549. Delaying and correlating the baseband signal removes the effects of a frequency offset and other degrading influences. The processed baseband signal is then correlated with the set of reference signals in correlator 551,553, 555, and 557. Each correlator reports its power level to a maximizer or accumulator 561 where the maximum power level 563 and symbol data 566 is reported. For example, if R2533 provides the highest power correlation of any of the reference signals, then the maximizer 561 will report that power level 563 and also report that symbol data of “2” has been decoded. Once symbol data has been decoded, the process may be repeated to decode the next received symbol.
Referring now to
The synchronization process correlates the reference signals with the processed baseband signal, and identifies a sync index 589 for synchronizing the decode process 584 with the incoming baseband signal 577. Once the system has been synchronized, the reference table 587 is loaded with decoding reference waveforms. These decoding reference waveforms are then preprocessed 585 and passed to the decoding process 584. In the decoding process expected decoding waveforms are correlated with the processed baseband signal and the appropriate data symbol 591 identified. The decoding process is repeated to sequentially decoded symbols in the baseband signal.
While particular preferred and alternative embodiments of the present intention have been disclosed, it will be appreciated that many various modifications and extensions of the above described technology may be implemented using the teaching of this invention. All such modifications and extensions are intended to be included within the true spirit and scope of the appended claims.
This application claims benefit of priority to U.S. patent application No. 60/391,888 filed Jun. 27, 2002 and entitled “Demodulation Algorithm for the 802.15.4 Receiver”, and to U.S. provisional application______filed Sep. 13, 2002, entitled “A Kind of Low Complexity Receiver Structure for the Wireless Transceiver Based on IEEE 802.15.4 Standard at 2.4 GHz”, both of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60391888 | Jun 2002 | US |