Communication Apparatus and ID Packet Recognition Method Thereof
A communication apparatus is provided. The communication apparatus includes an RF module and a scan module coupled to the RF module. The RF module receives an RF signal and generates an intermediary signal corresponding to the RF signal. The scan module recognizes a time-domain pattern corresponding to the intermediary signal, and determines whether the RF signal comprises an ID packet according to the recognized time-domain pattern.
Latest MEDIATEK INC. Patents:
- Video encoder with motion compensated temporal filtering
- Antenna for multi-broadband and multi-polarization communication
- Dynamic frame rate adjustment mechanism
- METHOD FOR ADJUSTING TIME-AVERAGED PARAMETERS OF TRANSMITTING POWER OF RADIO MODULE AND ASSOCIATED RADIO MODULE
- Memory Inline Cypher Engine with Confidentiality, Integrity, and Anti-Replay for Artificial Intelligence or Machine Learning Accelerator
This application claims the benefit of U.S. Provisional Application No. 61/324,340, filed on Apr. 15, 2010, the entirety of which is incorporated by reference herein.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention is related to a communication apparatus, and more particularly to a communication apparatus for recognizing an ID packet comprised in an RF signal.
2. Description of the Related Art
Bluetooth wireless technology is a short-range communications technology, which is able to replace cables which connect portable and/or fixed devices for communications while maintaining high levels of security. The key features of Bluetooth technology are robustness, low power, and low cost. The Bluetooth specification defines a uniform structure for a wide range of devices to connect and communicate with each other.
All Bluetooth devices default to a standby mode. In a standby mode, unconnected devices periodically listen for messages. This procedure is called scanning which is divided into two types: page scan and inquiry scan. A page scan is defined as a connection sub-state in which a device listens for its own device access code (DAC) (via a “page”) for a scan window duration (11.25 ms) every 1.28 seconds in order to set up an actual connection between devices. An inquiry scan is very similar to a page scan except that in this sub-state the receiving device scans for the inquiry access code (IAC) (via an “inquiry”). The inquiry scan is used to discover which devices are in a range and addresses and clocks of devices in the range. Therefore, a normal scan procedure is typically performed during the scan window (11.25 ms) for a Bluetooth device.
A page sub-state is used by a master Bluetooth device to activate and connect to a slave Bluetooth device which periodically wakes up in the page scan sub-state. The master Bluetooth device tries to capture the slave Bluetooth device by repeatedly transmitting the slave's device access code (DAC) in different hop channels. In the page sub-state, the master Bluetooth device transmits the device access code (ID packet) corresponding to the targeted slave Bluetooth device for connection, rapidly on a large number of different hop frequencies. Since the ID packet is a very short packet, the hop rate can be increased from 1600 hops/s to 3200 hops/s. Since the Bluetooth clocks of the master and the slave Bluetooth devices may not be synchronized, in this case, the master Bluetooth device would not precisely know when the slave Bluetooth device has waken up and which hop frequency the slave Bluetooth device is on. Therefore, the master Bluetooth device transmits a train of identical DACs at different hop frequencies, and listens in between the transmitted intervals until the master Bluetooth device receives a response from the slave Bluetooth device.
However, when in standby mode, a Bluetooth device will consume power due to the inquiry scan and the page scan. This can be undesirable in that considerable battery power is consumed even while the Bluetooth device is unconnected.
Therefore, a communication apparatus and a Bluetooth ID packet recognition method thereof are desired to reduce power consumption of the communication apparatus when in a standby mode.
BRIEF SUMMARY OF THE INVENTIONA communication apparatus for recognizing an ID packet comprised in an RF signal and a method thereof are provided. An embodiment of a communication apparatus is provided. The communication apparatus comprises an RF module and a scan module coupled to the RF module. The RF module receives an RF signal and generates an intermediary signal corresponding to the RF signal. The scan module recognizes a time-domain pattern corresponding to the intermediary signal, and determines whether the RF signal comprises an ID packet according to the recognized time-domain pattern.
Furthermore, another embodiment of a communication apparatus is provided. The communication apparatus comprises an RF module and a scan module. The RF module receives an RF signal. The scan module is coupled to the RF module and has at least two scan modes comprising a fast scan mode and a normal scan mode, wherein when operating in the fast scan mode, the scan module recognizes a time-domain pattern corresponding to the RF signal and determines whether the RF signal comprises an ID packet according to the recognized time-domain pattern.
Moreover, an embodiment of a method for recognizing an ID packet comprised in an RF signal is provided. An RF signal is received and an intermediary signal corresponding to the RF signal is generated. A fast scan procedure is performed by recognizing a time-domain pattern corresponding to the intermediary signal, and determining whether the RF signal comprises an ID packet according to the recognized time-domain pattern.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
In one embodiment, the communication apparatus 200 may further comprise a down converter coupled between the RF module 210 and the scan module 230 (as shown in
While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Claims
1. A communication apparatus, comprising:
- an RF module, for receiving an RF signal and generating an intermediary signal corresponding to the RF signal; and
- a scan module, coupled to the RF module, for recognizing a time-domain pattern corresponding to the intermediary signal, and determining whether the RF signal comprises an ID packet according to the recognized time-domain pattern.
2. The communication apparatus as claimed in claim 1, wherein the scan module compares the recognized time-domain pattern with a predefined ID pattern, and determines that the RF signal comprises the ID packet when the comparison result indicates that the recognized time-domain pattern matches the predefined ID pattern.
3. The communication apparatus as claimed in claim 1, wherein the time-domain pattern comprises a power distribution pattern of the intermediary signal, and the scan module comprises:
- a power detection unit, coupled to the RF module, for detecting power level of the intermediary signal during a specific time period to generate the power distribution pattern of the intermediary signal; and
- a packet recognition unit, coupled to the power detection unit, for determining whether the RF signal comprises the ID packet according to the power distribution pattern.
4. The communication apparatus as claimed in claim 3, wherein the power distribution pattern comprises N bits, the specific time period comprises N sub-periods, and each of the N bits indicates the power level of the intermediary signal during a corresponding sub-period within the specific time period.
5. The communication apparatus as claimed in claim 4, wherein each bit with a first logic level is used to indicate that the power level of the intermediary signal during the corresponding sub-period has exceeded a threshold value, and each bit with a second logic level different to the first logic level is used to indicate that the power level of the intermediary signal during the corresponding sub-period has not exceeded the threshold value.
6. The communication apparatus as claimed in claim 5, wherein the power distribution pattern matches a predefined Bluetooth ID pattern when two bits with the first logic level of the power distribution pattern are separated by a time interval close to 312.5 μs or 937.5 μs.
7. The communication apparatus as claimed in claim 5, wherein the power distribution pattern does not match a predefined Bluetooth ID pattern when the number of continuous bits with the first logic level of the power distribution pattern is larger than or equal to a specific value.
8. The communication apparatus as claimed in claim 5, wherein the power distribution pattern does not match a predefined Bluetooth ID pattern when the number of continuous separation groups of the power distribution pattern is larger than or equal to a specific value, wherein each of the separation groups is composed of a first bit with the first logic level and one or more second bits with the second logic level which is/are subsequent to the first bit.
9. The communication apparatus as claimed in claim 3, further comprising:
- an analog-to-digital converter, coupled between the power detection unit and the packet recognition unit, for sampling the power distribution pattern of the intermediary signal to generate a plurality of sampling results;
- wherein the packet recognition unit determines whether the RF signal comprises the ID packet according to the plurality of sampling results.
10. The communication apparatus as claimed in claim 1, further comprising:
- an analog-to-digital converter, coupled between the RF module and the scan module, for sampling the intermediary signal to generate a plurality of sampling results;
- wherein the scan module recognizes the time-domain pattern corresponding to the intermediary signal based on the plurality of sampling results.
11. The communication apparatus as claimed in claim 1, implemented to recognize a Bluetooth ID packet, and when the scan module determines that the RF signal comprises an ID packet sent by a peer Bluetooth apparatus, the communication apparatus is configured to establish a link with the peer Bluetooth apparatus based on the ID packet.
12. A communication apparatus, comprising:
- an RF module, for receiving an RF signal; and
- a scan module, coupled to the RF module and having at least two scan modes comprising a fast scan mode and a normal scan mode, wherein when operating in the fast scan mode, the scan module recognizes a time-domain pattern corresponding to the RF signal and determines whether the RF signal comprises an ID packet according to the recognized time-domain pattern.
13. The communication apparatus as claimed in claim 12, wherein the scan module compares the recognized time-domain pattern with a predefined ID pattern, and determines that the RF signal comprises the ID packet when the comparison result indicates that the recognized time-domain pattern matches the predefined ID pattern.
14. The communication apparatus as claimed in claim 12, wherein the scan module switches from the fast scan mode to the normal scan mode when the time-domain pattern corresponding to the RF signal indicates that no power or low power level has been detected for a given time period.
15. The communication apparatus as claimed in claim 12, wherein the scan module switches from the fast scan mode to the normal scan mode when the time-domain pattern corresponding to the RF signal indicates that high power level or interference has been detected for a given time period.
16. A method for recognizing an ID packet comprised in an RF signal, comprising:
- receiving an RF signal and generating an intermediary signal corresponding to the RF signal; and
- performing a fast scan procedure, comprising: recognizing a time-domain pattern corresponding to the intermediary signal; and determining whether the RF signal comprises an ID packet according to the recognized time-domain pattern.
17. The method as claimed in claim 16, wherein the determining step comprises:
- comparing the recognized time-domain pattern with a predefined ID pattern; and
- determining that the RF signal comprises the ID packet when the comparison result indicates that the recognized time-domain pattern matches the predefined ID pattern.
18. The method as claimed in claim 16, wherein the time-domain pattern comprises a power distribution pattern of the intermediary signal, the step of recognizing the time-domain pattern corresponding to the intermediary signal comprises: and the step of determining whether the RF signal comprises the ID packet comprises:
- detecting the power level of the intermediary signal during a specific time period to generate the power distribution pattern of the intermediary signal;
- determining whether the RF signal comprises the ID packet according to the power distribution pattern.
19. The method as claimed in claim 18, wherein the power distribution pattern comprises N bits, the specific time period comprises N sub-periods, and each of the N bits indicates the power level of the intermediary signal during a corresponding sub-period within the specific time period.
20. The method as claimed in claim 16, further comprising:
- performing a normal scan procedure when the recognized time-domain pattern corresponding to the intermediary signal indicates that no power or low power level has been detected for a given time period.
21. The method as claimed in claim 16, further comprising:
- performing a normal scan procedure when the recognized time-domain pattern corresponding to the intermediary signal indicates that high power level or interference has been detected for a given time period.
Type: Application
Filed: Dec 28, 2010
Publication Date: Oct 20, 2011
Applicant: MEDIATEK INC. (Hsin-Chu)
Inventors: Yuan Chen (Hsinchu City), Ting-Che Tseng (Hsinchu City), Wen-Ying Chien (Hsinchu City)
Application Number: 12/980,245
International Classification: H04J 99/00 (20090101);