Measuring the angle of arrival of the constant and / or predicted parts of a BLE packet

Receive Bluetooth signals through multiple antennas and calculate the phase angle, which solves the problem of unstable communication of traditional low-frequency signals over long distances, achieves reliable connection between vehicles and key fobs in a wider range, and enhances users’ long-distance communication The ability to use vehicle functions within the vehicle.

CN112470022BActive Publication Date: 2024-09-03DENSO INTERNATIONAL AMERICA INC +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980045840.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-07-08
Filing Date
2019-07-11
Publication Date
2024-09-03
Estimated Expiration
2039-07-11

AI Technical Summary

Technical Problem

Traditional passive entry/passive start systems use low-frequency signals to achieve reliable communication between the vehicle and the key fob over a distance of more than a few meters, making it difficult for users to use vehicle functions over longer distances.

Method used

The key fob's location and distance are determined by using multiple antennas to receive the Bluetooth Low Energy signal, generating and processing samples of the cosine and sine components of the signal, and calculating the phase angle to determine the angle of arrival.

Benefits of technology

This enables reliable vehicle-to-key fob communication over a wider range, enhancing users’ ability to use vehicle functions over long distances.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112470022B_ABST
    Figure CN112470022B_ABST
Patent Text Reader

Abstract

A system and method are disclosed and include receiving a wireless signal. The method includes generating a first set of digital data representing the wireless signal and a second set of digital data. The method includes obtaining first samples representing cosine components of a predicted portion of the first set and second samples representing sine components of the predicted portion of the first set, respectively. The method includes obtaining third samples representing cosine components of the predicted portion of the second set and fourth samples representing sine components of the predicted portion of the second set, respectively. The method includes determining a first phase angle value based on an amplitude of the first sample and an amplitude of the second sample and determining a second phase angle based on an amplitude of the third sample and an amplitude of the fourth sample. The method includes determining an angle of arrival based on a difference between the first phase angle value and the second phase angle value.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-references

[0002] This application claims the benefit of U.S. Provisional Application No. 62 / 697,650, filed on July 13, 2018, U.S. Provisional Application No. 62 / 826,179, filed on March 29, 2019, and U.S. Patent Application No. 16 / 504,488, filed on July 8, 2019. The entire disclosures of the above applications are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to systems and methods for measuring angle of arrival over a constant portion of a Bluetooth Low Energy (BLE) packet. Background Art

[0004] This section provides background information related to the present disclosure and is not necessarily prior art.

[0005] Conventionally, a passive entry / passive start (PEPS) system is a vehicle system that includes a keyless entry system that enables anyone who possesses a key fob that has been previously paired with the vehicle's central PEPS electronic control unit (ECU) to access the vehicle simply by grasping a door handle and to start the vehicle by pressing a button. In response to the button press, the central PEPS ECU authenticates the key fob to determine whether the key fob is authorized to access the vehicle and estimates the location of the key fob using signal strength indicated by multiple vehicle antennas. If the key fob is authenticated and is within an authorized area, the user is enabled to use the vehicle's functions (e.g., unlock the doors or start the vehicle).

[0006] Traditionally, PEPS systems have used a proprietary grade radio protocol that uses low frequency (LF) signals at approximately 125kHz. PEPS systems are also hampered by the physics of LF systems. LF was chosen by early PEPS systems because wave propagation allows relatively accurate estimates of range and location by using signal strength within a typical target activation range of 2 meters. However, due to the extremely long wavelength of LF signals compared to the size of actual vehicle antennas and key fob receivers, it is difficult to reliably communicate with a key fob using LF beyond a few meters within reasonable power consumption and safe transmit power levels. As a result, it is difficult for a user to use any of the vehicle's features when the key fob is located more than a few meters from the vehicle.

[0007] Therefore, the key fob is implemented by a smart device such as a smart phone and a wearable device, wherein the smart device is capable of communicating within a range greater than the activation range of the LF system. In this way, the smart device implements various vehicle functions and remote distance features, such as passive welcome lighting, distance limiting for remote parking applications, etc.

[0008] To estimate the range and location of a smart device, the PEPS system may be configured to measure the angle of arrival of a signal transmitted by the smart device. Summary of the invention

[0009] This section provides a general summary of the disclosure, and is not a complete, comprehensive disclosure of its full scope or its features.

[0010] A method is provided, the method comprising: receiving, using an antenna, a wireless signal including a packet, wherein the packet includes data having a pre-known portion; generating, using a transceiver and a microcontroller, (i) a first set of digital data representing the pre-known portion received using a first antenna of the antennas, and (ii) a second set of digital data representing the pre-known portion received using a second antenna of the antennas; obtaining, using the microcontroller, (i) a first sample representing a cosine component of the pre-known portion of the first set of digital data, and (ii) a second sample representing a sine component of the pre-known portion of the first set of digital data; obtaining, using the microcontroller, (i) a first sample representing a cosine component of the pre-known portion of the first set of digital data, and (ii) a second sample representing a sine component of the pre-known portion of the first set of digital data; obtaining, using the microcontroller, ) a third sample of a cosine component of a predicted portion of a second set of digital data, and (ii) a fourth sample of a sine component of a predicted portion of the second set of digital data; using a processor of the microcontroller to (i) determine a first phase angle value associated with the first antenna based on the amplitude of the first sample and the amplitude of the second sample, and (ii) determine a second phase angle value associated with the second antenna based on the amplitude of the third sample and the amplitude of the fourth sample, wherein the processor is configured to execute instructions stored in a non-transitory computer readable memory; and determine, using the processor, an angle of arrival based on a difference between the first phase angle value and the second phase angle value.

[0011] In other features, a system is provided, the system comprising: an antenna, a transceiver, and a microcontroller, the antenna being configured to receive a wireless signal including a packet, wherein the packet includes data having a pre-known portion. At least one of the transceiver and the microcontroller is configured to: generate (i) a first set of digital data representing the pre-known portion received using a first antenna of a plurality of antennas, and (ii) a second set of digital data representing the pre-known portion received using a second antenna of the plurality of antennas. The microcontroller is configured to: obtain (i) a first sample representing a cosine component of the pre-known portion of the first set of digital data, and (ii) a second sample representing a sine component of the pre-known portion of the first set of digital data; and obtain (i) a third sample representing the cosine component of the pre-known portion of the second set of digital data, and (ii) a fourth sample representing the sine component of the pre-known portion of the second set of digital data. The microcontroller includes a processor configured to execute instructions stored in a non-transitory computer readable memory, and wherein the instructions include: (i) determining a first phase angle value associated with a first antenna based on an amplitude of a first sample and an amplitude of a second sample, and (ii) determining a second phase angle value associated with a second antenna based on an amplitude of a third sample and an amplitude of a fourth sample; and determining an angle of arrival based on a difference between the first phase angle value and the second phase angle value.

[0012] A method is also disclosed, the method comprising receiving a wireless signal using multiple antennas. The method also comprises generating, using a microcontroller, (i) a first set of digital data representing a wireless signal received using a first antenna of the multiple antennas, and (ii) a second set of digital data representing a wireless signal received using a second antenna of the multiple antennas. The method also comprises obtaining, using the microcontroller, (i) a first sample of a cosine component representing a constant portion of the first set of digital data, and (ii) a second sample of a sine component representing a constant portion of the first set of digital data. The method also comprises obtaining, using the microcontroller, (i) a third sample of a cosine component representing a constant portion of the second set of digital data, and (ii) a fourth sample of a sine component representing a constant portion of the second set of digital data. The method also comprises determining, using a processor of the microcontroller, (i) a first phase angle value associated with the first antenna based on an amplitude of the first sample and an amplitude of the second sample, and (ii) a second phase angle value associated with the second antenna based on an amplitude of the third sample and an amplitude of the fourth sample, wherein the processor is configured to execute instructions stored in a non-transitory computer-readable memory. The method also includes determining, using a processor, an angle of arrival based on a difference between the first phase angle value and the second phase angle value.

[0013] In some embodiments, the wireless signal is a Bluetooth signal.

[0014] In some embodiments, the constant portion of the first set of digital data is an access address portion of the Bluetooth signal, and the constant portion of the second set of digital data is an access address portion of the Bluetooth signal.

[0015] In some embodiments, the constant portion of the first set of digital data is one of a preamble portion and a cyclic redundancy check portion of a Bluetooth signal, and the constant portion of the second set of digital data is one of a preamble portion and a cyclic redundancy check portion of a Bluetooth signal.

[0016] In some embodiments, the Bluetooth signal includes a preamble portion, an access address portion, a protocol data unit portion, and a cyclic redundancy check portion.

[0017] In some embodiments, the Bluetooth signal includes a constant waveform (CW) tone region.

[0018] In some implementations, the method further includes obtaining the first sample, the second sample, the third sample, and the fourth sample using an IQ generator of the microcontroller.

[0019] In some embodiments, the method further comprises coupling the first antenna to the microcontroller using a switch circuit. The method further comprises, in response to a sampling period passing: decoupling the first antenna from the microcontroller using the switch circuit; and coupling the second antenna to the microcontroller using the switch circuit.

[0020] In some implementations, determining the first phase angle value further includes performing, using a processor, an inverse tangent function based on the magnitude of the first sample and the magnitude of the second sample.

[0021] In some implementations, determining the second phase angle value further includes performing, using the processor, an inverse tangent function based on the magnitude of the third sample and the magnitude of the fourth sample.

[0022] A system is also disclosed, the system including multiple antennas and a microcontroller, the multiple antennas are configured to receive wireless signals, the microcontroller is configured to: generate (i) a first set of digital data representing wireless signals received using a first antenna of the multiple antennas, and (ii) a second set of digital data representing wireless signals received using a second antenna of the multiple antennas. The microcontroller is also configured to obtain (i) a first sample of a cosine component representing a constant portion of the first set of digital data, and (ii) a second sample of a sine component representing a constant portion of the first set of digital data. The microcontroller is also configured to obtain (i) a third sample of a cosine component representing a constant portion of the second set of digital data, and (ii) a fourth sample of a sine component representing a constant portion of the second set of digital data. The microcontroller also includes a processor configured to execute instructions stored in a non-transitory computer-readable memory, and wherein the instructions include (i) determining a first phase angle value associated with the first antenna based on an amplitude of the first sample and an amplitude of the second sample, and (ii) determining a second phase angle value associated with the second antenna based on an amplitude of the third sample and an amplitude of the fourth sample. The instructions also include determining an angle of arrival based on a difference between the first phase angle value and the second phase angle value.

[0023] In some embodiments, the wireless signal is a Bluetooth signal.

[0024] In some embodiments, the constant portion of the first set of digital data is an access address portion of the Bluetooth signal, and the constant portion of the second set of digital data is an access address portion of the Bluetooth signal.

[0025] In some embodiments, the constant portion of the first set of digital data is one of a preamble portion and a cyclic redundancy check portion of a Bluetooth signal, and the constant portion of the second set of digital data is one of a preamble portion and a cyclic redundancy check portion of a Bluetooth signal.

[0026] In some embodiments, the Bluetooth signal includes a preamble portion, an access address portion, a protocol data unit portion, and a cyclic redundancy check portion.

[0027] In some embodiments, the Bluetooth signal includes a constant waveform (CW) tone field or tone byte.

[0028] In some implementations, the system further includes an IQ generator of the microcontroller, wherein the IQ generator is configured to obtain the first sample, the second sample, the third sample, and the fourth sample.

[0029] In some embodiments, the system further comprises a switch circuit configured to couple the first antenna to the microcontroller. The switch circuit is further configured to: decouple the first antenna from the microcontroller; and couple the second antenna to the microcontroller in response to a sampling period passing.

[0030] In some implementations, the processor is configured to determine the first phase angle value by performing an inverse tangent function based on a magnitude of the first sample and a magnitude of the second sample.

[0031] In some implementations, the processor is configured to determine the first phase angle value by performing an inverse tangent function based on the magnitude of the third sample and the magnitude of the fourth sample.

[0032] Further areas of applicability will become apparent from the description provided herein.The description and specific examples in this summary are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The drawings described herein are for illustrative purposes only of selected embodiments and not all possible implementations, and are not intended to limit the scope of the present disclosure.

[0034] Figure 1 is an illustration of a vehicle and a portable device according to the present disclosure.

[0035] Figure 2 is a functional block diagram of a vehicle and a portable device according to the present disclosure.

[0036] Figure 3 is a functional block diagram of a sensor of a vehicle according to the present disclosure.

[0037] Figure 4 is a functional block diagram of a communication gateway of a vehicle according to the present disclosure.

[0038] Figure 5A An example antenna transceiver system including a system-on-chip (SoC) receiver and a microcontroller according to the present disclosure is shown.

[0039] Figure 5B An example antenna transceiver system including a system-on-chip (SoC) receiver and a microcontroller according to the present disclosure is shown.

[0040] Figure 6 An example microcontroller for an antenna system according to the present disclosure is shown.

[0041] Fig. 7A Example message packetization according to the present disclosure is shown.

[0042] Figure 7BExample message packetization according to the present disclosure is shown.

[0043] Figure 8 A flow chart of an example control algorithm according to the present disclosure is shown.

[0044] Corresponding reference numerals indicate corresponding parts throughout the several views of the drawings. DETAILED DESCRIPTION

[0045] Example embodiments will now be described more fully with reference to the accompanying drawings.

[0046] The present disclosure relates to systems, methods, and architectures for implementing a positioning system (e.g., a PEPS system) using consumer-grade wireless protocols. Specifically, the present disclosure relates to a PEPS system that uses a wireless communication protocol (e.g., a Bluetooth Low Energy (BLE) communication protocol) for communication between a vehicle and a portable device (e.g., a smart phone or a wearable device). The PEPS system includes a sensor network that is configured to find an existing connection between the portable device and the vehicle and measure timing and signal characteristics of the communication between the portable device and the vehicle. Based on the timing and signal characteristics, the PEPS system can determine an angle of arrival between the portable device and the vehicle.

[0047] Reference Figure 1 to Figure 2 , the PEPS system 1 is disposed in a vehicle 30 and includes a communication gateway 29, sensors 31A to 31J (collectively referred to as sensors 31), and a control module 20. The communication gateway 29 may be configured or programmed to measure or exchange RSSI, angle-of departure-reception values, angle-of-arrival-transmission values, round-trip flight time values, and / or carrier phase-based ranging information. Figure 1 to Figure 2 Ten sensors 31A to 31J are shown, but any number of sensors may be used. Each of the sensors 31 may be configured or programmed to measure or exchange RSSI, departure receive angle values, arrival transmit angle values, round trip flight time values, and / or carrier phase based ranging information. Figure 2 One control module 20 is shown, but the PEPS system 1 may include one or more control modules 20 distributed throughout the vehicle 30 .

[0048] One or more control modules 20 and sensors 31 can communicate with each other using a vehicle interface 45. As an example, the vehicle interface 45 may include a controller area network (CAN) bus for communication between master modules. As another example, the vehicle interface 45 may include a local interconnect network (LIN) for lower data rate communication. In other embodiments, the vehicle interface 45 may include a clock extension peripheral interface (CXPI) bus. Additionally or alternatively, the vehicle interface 45 may include any combination of a CAN bus, a LIN, a CXPI, a radio frequency, and an electronic bus communication interface.

[0049] The control module 20 includes a communication gateway 29, which includes a wireless communication chipset (or transceiver) 21 connected to one or more antennas 19. For example, the wireless communication chipset 21 can be a Bluetooth Low Energy (BLE) communication chipset that utilizes a BLE communication protocol. Alternatively, other wireless communication protocols such as Wi-Fi or Wi-Fi Direct can be used. Figure 2 As shown, the antenna 19 may be located in the vehicle 30. Alternatively, the antenna 19 may be located outside the vehicle 30 or within the control module 20. The control module 20 may also include a link authentication module 22 that authenticates the portable device 10 communicating via the communication link 50. As an example, the link authentication module 22 may be configured to perform a challenge-response authentication or other cryptographic verification algorithm in order to authenticate the portable device 10.

[0050] A test device 35 may be included for performing at least some of the calibration operations described below. The test device 35 may be implemented as, for example, a computer or a test bench and have a processor 37, a memory 38, a transceiver 39, and an antenna 51 for communicating with the control module 20. The memory 38 may store calibration software and / or calibration information as described herein.

[0051] The control module 20 may further include a data management layer 23 for pushing data. As an example, the data management layer 23 is configured to obtain vehicle information obtained by any module (eg, location information obtained by a telematics module 26 ) and send the vehicle information to the portable device 10 .

[0052] The control module 20 may further include a connection information distribution module 24 configured to obtain information corresponding to a communication channel and a channel switching parameter of the communication link 50 and send the information to the sensor 31. In response to the sensor 31 receiving information from the connection information distribution module 24 via the vehicle interface 45 and the sensor 31 being synchronized with the communication gateway 29, the sensor 31 may locate and follow or eavesdrop on the communication link 50.

[0053] The control module 20 may further include a timing control module 25 that obtains timing information corresponding to the communication link 50 when the link authentication module 22 performs challenge-response authentication. In addition, the timing control module 25 is configured to provide timing information to the sensor 31 via the vehicle interface 45 .

[0054] The control module 20 may also include a telematics module 26 configured to generate location information and / or an error of location information associated with the vehicle 30. The telematics module 26 may be implemented by a global navigation satellite system (e.g., GPS), an inertial navigation system, a global system for mobile communications (GSM) system, or other positioning systems.

[0055] The control module 20 may also include a security filtering module 33 configured to detect violations of the physical layer and protocols and filter data accordingly before providing the information to the sensor processing and positioning module 32. The security filtering module 33 may also be configured to mark data as injected so that the sensor processing and positioning module 32 can discard the marked data and alert the PEPS system 1. Data from the sensor processing and positioning module 32 is provided to the PEPS module 27, which is configured to read vehicle status information from the sensor 31 in order to detect the user's intention to access vehicle functions and compare the location of the portable device 10 to a set of locations that authorize certain functions (e.g., unlocking the doors of the vehicle 30 and / or starting the vehicle 30).

[0056] In order to perform the above functions of the various modules described above, the control module 20 may also include one or more processors, which are configured to execute instructions stored in a non-transitory computer-readable medium such as a read-only memory (ROM) and / or a random access memory (RAM).

[0057] like Figure 1 and Figure 2As shown, the portable device 10 can communicate with the communication gateway 29 of the vehicle 30 via a communication link 50. Without limitation, the portable device 10 can be, for example, any Bluetooth-enabled communication device (e.g., a smart phone, a smart watch, a wearable electronic device, a key card, a tablet device, a Bluetooth transmitter device) or other devices associated with a user of the vehicle 30 (e.g., the owner, driver, passenger, and / or technician of the vehicle 30). Additionally or alternatively, the portable device 10 can be configured to communicate wirelessly via another wireless communication protocol (e.g., Wi-Fi and / or Wi-Fi Direct). The communication link 50 can be a Bluetooth communication link provided for and defined by the Bluetooth specification. As an example, the communication link 50 can be a BLE communication link. Alternatively, the communication link 50 can be a Wi-Fi or Wi-Fi Direct communication link.

[0058] The portable device 10 may include a wireless communication chipset 11 connected to an antenna 13. The wireless communication chipset 11 may be a BLE communication chipset. Alternatively, the wireless communication chipset 11 may be a Wi-Fi or Wi-Fi Direct communication chipset. The portable device 10 may also include an application code 12, which may be executed by a processor of the portable device 10 and stored in a non-transitory computer-readable medium such as a read-only memory (ROM) or a random access memory (RAM). Based on the application code 12 and using the wireless communication chipset 11 and the antenna 13, the portable device 10 may be configured to execute various instructions corresponding to the following processes: for example, authentication of the communication link 50, transmission of location information and / or speed information obtained by a global navigation satellite system (e.g., GPS) sensor or accelerometer of the portable device 10, and manual activation of vehicle functions.

[0059] The portable device 10 may also include a password verification module (CVM) 14, which may be implemented by an application code that is executable by a processor of the portable device 10 and stored in a non-transitory computer readable medium such as a read-only memory (ROM) or a random access memory (RAM). The CVM 14 may be configured to generate tone bytes (as shown below) and insert them into message packets to protect the communication link 50 from replay attacks. An example algorithm for generating tone bytes is described in detail in U.S. Patent Application No. 16 / 211,330, filed on December 6, 2018 and assigned to DENSO International America, the entire contents of which are incorporated herein by reference.

[0060] Reference Figure 3Each of the sensors 31 includes a wireless communication chipset 41 connected to an antenna (or antenna assembly) 43 that may include multiple antenna elements. Any number of antennas 43 may be included in each of the sensors 31. Figure 3 In FIG. 4 , three antennas 43a, 43b and 43c are shown. The wireless communication chipset 41 may be a BLE communication chipset. Alternatively, the wireless communication chipset 41 may be a Wi-Fi or Wi-Fi Direct communication chipset. Figure 3 As shown, antenna 43 may be located inside sensor 31. Alternatively, antenna 43 may be located outside sensor 31. Antenna 43 will be described below with reference to FIGS. Figure 6 Described in further detail.

[0061] The control module 20 (more specifically, the communication gateway 29) can establish a secure communication connection such as a communication link 50 with the portable device 10. For example, the control module 20 can establish a secure communication connection using the BLE communication protocol. Then, the control module 20 can transmit information about the secure communication connection, such as timing and synchronization information, to each of the sensors 31. For example, the control module 20 can transmit information about the secure communication connection, such as the timing of the next communication connection event, the timing interval between communication connection events, the communication channel of the next communication connection event, the channel mapping, the channel hopping interval or offset of the channel for calculating the subsequent communication connection event, the communication latency information, the communication jitter information, etc. The sensor 31 can then eavesdrop on the communication packets sent by the portable device to the control module 20, and can measure the signal information of the signal received from the portable device 10. For example, the sensor 31 can measure the received signal strength and determine the received signal strength indication (RSSI) value. Additionally or alternatively, the sensor 31 may determine other measurements of signals received from the portable device 10, such as angle of arrival, time difference of arrival, angle of departure, time difference of arrival, round trip time of flight distance, carrier phase based ranging distance, or the like.

[0062] The sensors 31 may then transmit the measured information to the control module 20, which may then determine the location of the portable device 10 or the distance to the portable device 10 based on the measurement information received from each of the sensors 31. For example, the control module 20 may determine the location of the portable device 10 based on, for example, the pattern of RSSI values ​​of various signals received from the portable device 10 by the various sensors 31. For example, a relatively strong RSSI generally indicates that the portable device 10 is closer, while a relatively weak RSSI generally indicates that the portable device 10 is farther away. By analyzing the RSSI of the communication signal transmitted by the portable device 10 using each of the sensors 31, the control module 20 may determine the location or distance of the portable device 10 relative to the vehicle 30. Additionally or alternatively, the control module 20 may also determine the location of the portable device 10 using an angle of arrival measurement or a time difference of arrival measurement of a signal transmitted by the portable device 10 and received by the sensors 31. Additionally or alternatively, the sensors 31 themselves may determine the location of the portable device 10 or the distance to the portable device 10 based on the measurement information, and may transmit the location or distance to the control module 20.

[0063] Based on the determined location or distance of the portable device 10 relative to the vehicle 30, the PEPS system 1 may then authorize or perform a vehicle function, such as unlocking the doors of the vehicle 30, unlocking the trunk of the vehicle 30, starting the vehicle 30, and / or allowing the vehicle 30 to start. For example, if the distance of the portable device 10 from the vehicle 30 is less than a first distance threshold, the PEPS system 1 may activate the interior lights or exterior lights of the vehicle 30. If the distance of the portable device 10 from the vehicle is less than a second distance threshold, the PEPS system 1 may unlock the doors or trunk of the vehicle 30. If the portable device 10 is located inside the vehicle 30, the PEPS system 1 may allow the vehicle 30 to start.

[0064] Continue to refer to Figure 3 When using the BLE communication protocol, the sensor 31 receives the BLE signal using the antenna 43, and specifically, receives the BLE physical layer message using the BLE physical layer (PHY) controller 46. The sensor 31 can be configured to observe the BLE physical layer message and use the channel map generated by the channel map reconstruction module 42 to obtain measurement results of the physical properties of the associated signal including, for example, a received signal strength indication (RSSI). Additionally or alternatively, the sensors 31 can communicate with each other and / or with the communication gateway 29 via the vehicle interface 45 to determine the arrival time difference, arrival time, or arrival angle data of the signals received by multiple sensors 31.

[0065] The timing synchronization module 44 is configured to accurately measure the reception time of the message on the vehicle interface 45 and pass the timing information to the wireless communication chipset 41. The wireless communication chipset 41 is configured to tune the PHY controller 46 to a specific channel at a specific time based on the channel mapping information and the timing signal. In addition, when using the BLE communication protocol, the wireless communication chipset 41 is configured to observe all physical layer messages and data that comply with the Bluetooth physical layer specification, including, for example, the normal data rate proposed or adopted in the Bluetooth specification version 5.0. Data, timestamps, and measured signal strengths can be reported to the various modules of the control module 20 via the vehicle interface 45 by the wireless communication chipset 41.

[0066] Reference Figure 4 , the communication gateway 29 includes a wireless communication chipset 41 connected to one or more antennas 19 (e.g., antennas 19A, 19B, and 19C shown) to receive BLE signals. When using the BLE communication protocol, the wireless communication chipset 41 implements, for example, a Bluetooth protocol stack 48 that complies with the BLE specification. The wireless communication chipset 41 may also include an application 47 implemented by an application code that may be executed by a processor of the wireless communication chipset 41. Additionally or alternatively, the application 47 may be executed by a processor of the control module 20 and may be stored in a non-transitory computer-readable medium of the control module 20.

[0067] The application 47 may include code corresponding to modifications outside the Bluetooth specification to enable the wireless communication chipset 41 to check the timestamp data sent and received by the wireless communication chipset 41, regardless of the validity of the data. For example, the application 47 enables the wireless communication chipset 41 to compare the sent and received data with the expectations. The communication gateway 29 is configured to send the actual sent and received data to the various modules of the control module 20 via the vehicle interface 45. Alternatively, the communication gateway 29 may be configured to receive data from each of the sensors 31 via the vehicle interface 45. The application 47 may also be configured to enable the wireless communication chipset 41 to confirm that each sensor 31 has received the correct data at the correct time.

[0068] The Bluetooth protocol stack 48 is configured to provide channel mapping, access identifiers, next channel, and time to next channel to the application 47. The Bluetooth protocol stack 48 is configured to output timing signals for timestamps of send events and receive events to the application 47 and / or the digital PIN output of the wireless communication chipset 41. The communication gateway 29 also includes a timing synchronization module 44 that is configured to accept the timing signals and work in conjunction with the vehicle interface 45 to create accurate timestamps for connection information messages and other communications.

[0069] Continue to refer to Figure 4 , the communication gateway 29 can provide the timing information and the channel mapping information to the timing control module 25, respectively. The communication gateway 29 can be configured to provide the information corresponding to the ongoing connection to the connection information distribution module 24, and provide the timing signal to the timing control module 25, so that the sensor 31 can discover and follow or eavesdrop on the communication link 50.

[0070] In addition, the wireless communication chipset 41 includes a phone as a key (PaaK) module 49, which is implemented by an application code that can be executed by a processor of the control module 20 and stored in a non-transitory computer readable medium such as a read-only memory (ROM) or a random access memory (RAM). The PaaK module 49 is configured to remove tone bytes (as shown below) from the message packet and reconstruct the message packet. An example algorithm for removing tone bytes and reconstructing message packets is described in U.S. Patent Application No. 16 / 211,330 filed on December 6, 2018 and assigned to DENSO International America, the entire contents of which are incorporated herein by reference.

[0071] Figure 5A and Figure 5B (collectively referred to as FIG. 5 ) shows a Figure 2 An example electronic system 4 for improving the angle of arrival of a communication link 50. The electronic system 4 may include, for example, antenna 43 and / or antennas 52-1, 52-2, 52-3 (collectively referred to as antenna 52), coupler circuits 56-1, 56-2, 56-3 (collectively referred to as coupler circuits 56), input filter circuits 58-1, 58-2, 58-3 (collectively referred to as input filter circuits 58), and switch circuits 60. In one embodiment, the coupler circuits 56, the input filter circuits 58, and the switch circuits 60 may be arranged on a printed circuit board (PCB).

[0072] Each of the antennas 52 is configured to receive the RF signal transmitted by the portable device 10 with various phases (0 degrees, 90 degrees, 180 degrees and 270 degrees, or 0 degrees, -90 degrees, -180 degrees and -270 degrees). In an example embodiment, the antenna 52 is implemented by a four-wire antenna. The antenna 52 can be electrically coupled to the ground 54 or the coupler circuit 56, and the coupler circuit 56 can be implemented by a 3dB 90 degree hybrid coupler. Each of the coupler circuits 56 is configured to combine the RF signals received from each antenna 52 and output a signal with, for example, a 90 degree phase difference. Reflections from signal mismatches can be provided to ground via the isolation port of the coupler circuit 56.

[0073] The antenna elements of each antenna in the antenna receive signals at different phases, respectively. As an example, antenna elements 70A, 72A, 74A, 76A can receive RF signals at corresponding phases of 0 degrees, -90 degrees, -180 degrees, and -270 degrees. The system 4 can include one or more (n) antenna elements per antenna, and the coupler circuit 56 has a phase input at a step size of 360 / n degrees. The sign of the phase and the definition of positive and negative phases and the right-handed habit relative to the left-handed habit can make the antennas 43 and 52 have a larger gain toward the top surface of the antenna and a smaller gain toward the bottom surface of the antenna.

[0074] In one embodiment, the paired antenna elements are connected to corresponding baluns and / or other impedance matching circuit elements, wherein each balun has two outputs; one output is connected to the ground plane and the other output is connected to a corresponding one of the outputs in the coupler circuit 56. Thus, each of the antennas 43, 52 can be connected to two baluns, wherein the two baluns have two outputs connected to the same coupler circuit. The coupler circuit 56 can be implemented by a 3dB 90 degree hybrid coupler. The coupler circuit 56 can include a hybrid device, such as a hybrid coupler and / or a hybrid splitter / combiner, such as a quadrature (90 degree) and 180 degree hybrid in a coaxial connectorized and surface mounted package. In one embodiment, the coupler circuit 56 includes a corresponding impedance matching circuit.

[0075] Each coupler circuit 56 is configured to combine the RF signals received from the corresponding antenna elements and output signals having a phase difference of, for example, 90 degrees. Reflections from signal mismatches may be provided to a ground plane via an isolation port of the coupler circuit 56 .

[0076] The coupler circuit 56 is configured to provide a signal to the switch circuit 60 via an input filter circuit 58, which can be configured to reject undesired signals from out-of-band frequency ranges associated with the antennas 43, 52. In one embodiment, the input filter circuit 58 can be implemented by one or more decoupling capacitors. In one embodiment, the coupler circuit 56 receives an input signal from each antenna element, phase shifts the input signal by a multiple of 360 / n degrees, where n is the number of elements, and additively combines the corresponding resulting radio frequency signals into a single output signal, which is provided to the input filter circuit 58.

[0077] In response to receiving a signal from each of the coupler circuits 56, the switch circuit 60 is configured to selectively output one of the signals. As an example, in response to providing a control signal (VCTRL ), the switch circuit 60 is configured to output a signal associated with the antenna 52-1 to the control module 20. In response to providing a control signal to the second control port of the switch circuit 60, the switch circuit 60 is configured to output a signal associated with the antenna 52-2 to the control module 20. Similarly, in response to providing a control signal to both the first control port and the second control port of the switch circuit 60, the switch circuit 60 is configured to output a signal associated with the antenna 52-3 to the control module 20. In order to provide a control signal to the control port of the switch circuit 60, a 2:3 transistor-transistor logic / complementary metal oxide semiconductor (2:3 TTL / CMOS) compatible decoder of the switch circuit 60 is configured to selectively activate two control ports of the switch circuit 60 that can be electrically coupled to the control voltage generator circuit. The transceiver 21 can be a superheterodyne receiver. The microprocessor configures the transceiver 21 and the switch so that the antennas 43, 52 receive an RF signal close to a phase-locked loop (PLL), such as PLL+250KHz.

[0078] In response to the control module 20 receiving one of the signals and sending the signal through an amplifier, 0 degree (in-phase (I)) and 90 degree (quadrature phase (Q)) mixers, a low pass filter, in-phase and quadrature phase analog-to-digital converters (ADCs), and processing circuitry to down-convert the intermediate frequency signal to a 0 Hz signal, the processor receives the IQ value of the +250 KHz sine wave.

[0079] The control module 20 is configured to determine the phase angle of the 0 Hz IF IQ signal of the corresponding one of the antennas 43, 52, and at least one phase angle difference between the 0 Hz IF IQ signals of at least one pair of antennas in the antenna system. The phase angle refers to the angle between the in-phase component and the quadrature-phase component of one of the signals received by the corresponding one of the antennas 43, 52 in the antenna system.

[0080] To determine the phase angle and at least one phase angle difference of the 0 Hz IF IQ signal, the control module 20 may include one or more processors configured to execute instructions in a non-transitory computer readable memory (e.g., RAM and / or ROM). In addition, the control module 20 may be configured to determine the angle of arrival based on at least one phase difference. The coupler circuit 56, the input filter circuit 58, and the switch circuit 60 may be arranged on a PCB.

[0081] The electronic system 4 generates a control signal (V CTRL), and includes a microcontroller 80 configured to determine the phase angle of the 0 Hz IF IQ signal of a corresponding one of the antennas 43, 52 and at least one phase angle difference of the antenna system. To determine the phase angle of the 0 Hz IF IQ signal and at least one phase angle difference, the microcontroller 80 may include one or more processors configured to execute instructions in a non-transitory computer readable memory (e.g., RAM and / or ROM). The instructions may include an algorithm, for example, for converting a signal (RF feed) received from the switching circuit 60 to a phase angle of the 0 Hz IF IQ signal and then determining at least one phase angle difference.

[0082] The electronic system 4 may also be configured to convert power received from a power source (e.g., a DC power source outputting 12V) into a voltage level suitable for the microcontroller 80. In one embodiment, the protection circuit 250 receives power from the power source, and the protection circuit 250 is configured to suppress high frequency signals and noise. As an example, the protection circuit 250 may include a ferrite bead and a bypass capacitor filter circuit.

[0083] The voltage regulator 260 receives the filtered power signal (V P ), the filtered power signal has a voltage value equal to the voltage value of the power supply. The voltage regulator 260 converts the filtered power signal into a second logic signal (V LOGIC ). The voltage regulator 260 may be implemented by, for example, a voltage regulator IC or a buck converter circuit.

[0084] The LIN bus transceiver 280 can be configured to receive phase angle measurements from the microcontroller 80 and send the phase angle measurements to the control module 20 via the LIN bus and the choke and capacitor network 290. Additionally or alternatively, the LIN bus transceiver 280 can be configured to receive at least one phase angle difference or at least one angle of arrival measurement from the microcontroller 80 and send them to the control module 20 via the LIN bus and the choke and capacitor network 290. As an example, the choke and capacitor network 290 can include at least one ferrite bead and bypass capacitor filter and a Zener diode electrically coupled in parallel to the at least one ferrite bead and bypass capacitor filter. Additionally, the LIN bus transceiver 280 receives a filtered power signal from the protection circuit 250, and the LIN bus transceiver 280 can include a device that converts the filtered power signal into a second logic signal (V LOGIC ) voltage regulator IC.

[0085] The choke network 300 and the electromagnetic interference (EMI) filter circuit 310 are configured to suppress noise present in signals received from and / or sent to the microcontroller 80. The choke network 300 may be implemented, for example, by a plurality of ferrite beads. The EMI filter circuit 310 may be implemented, for example, by an integrated circuit including an EMI filter array.

[0086] The debug circuit 320 is configured to enable an operator to test the functionality of various circuits of the PCB, such as the microcontroller 80. In addition, the operator can update and / or load the software of the microcontroller 80 via the debug circuit 320. The debug circuit 320 may include various interfaces for enabling the operator to test functionality or update the software of the microcontroller 80, such as a Joint Test Action Group (JTAG) standard interface or a Serial Wire Debug (SWD) standard interface.

[0087] The microcontroller 80 may be configured to receive logic signals (V LOGIC ), the capacitor network 330 can be configured to prevent noise of logic signals from damaging the microcontroller 80.

[0088] In some implementations, the microcontroller 80 may include Bluetooth transceiver circuitry that enables the microcontroller 80 to communicate with peripheral devices via a Bluetooth communications link.

[0089] The microcontroller 80 may be configured to provide a control signal to the switch circuit 60 via the EMI filter circuit 340, which may be implemented by, for example, an integrated circuit including an EMI filter array. In response to receiving one of the control signals, the switch circuit 60 is configured to selectively output one of the signals received via the coupler circuit 56, as described above. As an example, in response to a first control signal being provided to the switch circuit 60, the switch circuit 60 is configured to output a signal associated with the antenna 52-1 to the microcontroller 80. In response to a second control signal being provided to the switch circuit 60, the switch circuit 60 is configured to output a signal associated with the antenna 52-2 to the microcontroller 80. Similarly, in response to a third control signal being provided to the switch circuit 60, the switch circuit 60 is configured to output a signal associated with the antenna 52-3 to the microcontroller 80.

[0090] In response to microcontroller 80 receiving one of the signals, microcontroller 80 is configured to determine the phase angle of the 0 Hz IF IQ signal for the corresponding antenna 43, 52 and at least one phase angle difference of the antenna system. In addition, microcontroller 80 may be configured to determine an angle of arrival based on at least one phase difference.

[0091] Reference Figure 6 , shows an example functional block diagram of an antenna transceiver system 70 including a switching circuit 60, a system-on-chip (SoC) receiver 72, and a microcontroller 80. As described in further detail below, the microcontroller 80 is configured to determine the angle of arrival of the antenna system based on one of the signals selectively output by the switching circuit 60. In one embodiment, the SoC receiver 72 may include one or more receive paths, wherein each receive path has a corresponding amplifier 82, a mixer 84, a filter and amplifier 88, and an in-phase or quadrature-phase analog-to-digital converter 90. In the example shown, two receive paths are provided for the two antenna outputs of the switching circuit 60. The switching circuit 60 can have any number of antenna outputs. Each antenna output can be connected to Figure 5A The SoC receiver 72 and the microcontroller 80 may be implemented in the SoC receiver 72, the microcontroller 80, or may be separate as shown. The microcontroller 80 may include a phase difference determination module 405 and a calibration curve generator module 410. Figure 2 The control module 20 or the processor 37 may include a phase angle difference limit determination module 420, a calibration index 430 and an arrival angle determination module 440. In one embodiment, the phase angle difference limit determination module 420, the calibration index 430 and the arrival angle determination module 440 are implemented by the microcontroller 80.

[0092] The IQ ADC 90, the 0 Hz IF converter 92, the phase difference determination module 405, the calibration curve generator module 410, the phase angle difference limit determination module 420 and the arrival angle determination module 440 may be implemented by one or more processors configured to execute instructions stored in a non-transitory computer readable medium (e.g., RAM and / or ROM).

[0093] The amplifier 82 is configured to amplify the signal and can be implemented by, for example, an operational amplifier. The mixer 84 is configured to receive the amplified signal from the amplifier 82 and the mixed signal from the local oscillator 86 so as to change the amplified signal into a new intermediate signal. The filter and amplifier 88 can be configured to generate an analysis signal by amplifying the intermediate signal and limiting the frequency of the intermediate signal to a specific bandwidth. In one embodiment, the filter and amplifier 88 is implemented by an operational amplifier and a bandpass filter or a lowpass filter. In another embodiment, the filter and amplifier 88 passes an intermediate frequency or a set of frequencies when implemented as a bandpass filter. The filter and amplifier 88 can pass a low frequency or a set of frequencies when implemented as a lowpass filter.

[0094] As an example, the mixer 84 receives the amplified signal, which has a frequency of, for example, 2.4 GHz to 2.4835 GHz. The mixer 84 receives the mixing signal from the local oscillator 86, which can be implemented by a phase-locked loop circuit, and mixes the amplified signal and the mixing signal to generate an intermediate signal. Subsequently, the filter and amplifier 88 can generate an analysis signal by amplifying the intermediate signal and limiting the frequency of the intermediate signal to a specific bandwidth (e.g., 250 kHz).

[0095] The IQ ADC 90 is configured to convert the intermediate signal from an analog signal to a digital analysis signal. The 0 Hz IF converter 92 is configured to obtain the cosine component (i.e., in-phase component) and the sine component (i.e., quadrature phase component) of the digital analysis signal. Subsequently, the phase angle difference determination module 405 is configured to determine the phase angle of the 0 Hz IF IQ signal of the antenna 43, 52 based on the cosine component (I or in-phase component) and the sine component (Q or quadrature phase component). As a specific example, the phase angle difference determination module 405 can determine the phase angle by performing an inverse tangent function of the amplitude of the sine component and the amplitude of the cosine component. In addition, the phase angle difference determination module 405 can be configured to determine the phase angle difference between the antenna pairs of the antenna system based on the phase angle of each antenna in the antenna pair. As a more specific example, the IQ converter 92 is configured to obtain the cosine component and the sine component of the digital data representing the constant part of the BLE packet (e.g., the access address part, the preamble part, the cyclic redundancy check part, or the part of the protocol data unit). The constant portion may be a pre-known portion of a packet that is known prior to receiving the packet. FIG. 7A to FIG. 7B BLE packets are described in more detail. In addition, the IQ converter 92 may be configured to obtain the cosine component and the sine component within a predetermined sampling period, which may be associated with the switching rate of the switching circuit 60. In one embodiment, the sampling period may be 4 μs.

[0096] The phase angle difference determination module 405 is configured to determine the phase angle difference between the antenna pairs of the antenna system for various positions of the portable device 10 (e.g., the phase angle difference between the external pairs of antennas such as antennas 52-1 and 52-3). As an example, the phase angle difference determination module 405 is configured to determine the phase angle difference between the antenna pairs for each azimuth angle (i.e., 0 degrees to 360 degrees) between the antenna system and the portable device 10.

[0097] Furthermore, the phase angle difference determination module 405 is configured to determine the phase angle difference between antenna pairs of the antenna system for each communication channel of the portable device 10. As an example, the phase angle difference determination module 405 is configured to determine the phase angle difference between antenna pairs for each BLE communication channel.

[0098] The calibration curve generator module 410 is configured to generate multiple reference curves based on the information obtained by the phase difference determination module 405. As an example, the calibration curve generator 410 can be configured to generate a first reference curve associated with a first BLE communication channel, and the first reference curve can represent the measured phase angle difference of the antenna pair for each azimuth. In addition, the calibration curve generator 410 can generate a reference curve for each BLE communication channel, wherein each of the additional reference curves represents the measured phase angle difference value of the antenna pair for each azimuth. In addition, the calibration curve generator module 410 is configured to generate a calibration curve based on the first reference curve and at least one additional reference curve.

[0099] Phase difference limit determination module 420 is configured to generate phase angle difference limit for each communication channel. As an example, phase angle difference limit can be associated with the predefined distance from the bore sight of the antenna system (e.g., the phase angle difference limit for a specific communication channel is defined as the phase angle difference at + / -80 degrees from the bore sight on the calibration curve). As another example, the phase angle difference limit can be determined based on the geometry of the reference curve of the specific communication channel. More specifically, the phase angle difference limit can be associated with the position of the derivative change of the reference curve on the reference curve by a predetermined amount. The phase angle difference limit can be the same for each communication channel. In other embodiments, each communication channel can have different phase angle difference limits.

[0100] The calibration curve generator module 410 and the phase angle difference limit determination module 420 are configured to store the calibration curve and the phase angle difference limit, respectively, in the calibration index 430. Using the calibration index 430 and the antenna pair phase angle difference, the arrival angle determination module 440 is configured to determine the position of the portable device 10 by referring to the calibration curve and / or the phase angle difference limit of the corresponding channel. Using the phase angle difference and the communication channel, the corresponding arrival angle determination module 440 can refer to the calibration curve and / or the phase angle difference limit associated with the first communication channel, and determine the azimuth between the portable device 10 and each antenna 43. Using each of the azimuths obtained by each of the antennas 43, the control module 20 can be configured to determine the position of the portable device 10 relative to the vehicle 30.

[0101] Based on the phase angle difference between the at least one pair of antennas 52, the angle of arrival determination module 96 is configured to determine the angle of arrival (AoA) of the wireless signal. Using the AoA measurements obtained by the multiple antenna systems 43, the control module 20 is configured to determine the position of the portable device 10 relative to the vehicle 30.

[0102] Reference FIG. 7A to FIG. 7B, shows an example diagram of a message packet 100. In some embodiments, the message packet 100 may include a preamble portion 102, an access address portion 104, a protocol data unit (PDU) portion 106, and a cyclic redundancy check (CRC) portion 108. The PDU 106 may include a header portion 110, which includes a logical link identifier (LLID) bit, a next expected sequence number (NESN) bit, a sequence number (SN) bit, a more data (MD) bit, a length bit, and a bit reserved for future use (RFU). The LLID bit may indicate whether the message packet 100 includes data or a control message. The NESN bit and the SN bit may represent a sequence number used for acknowledgment and flow control. The MD bit may indicate whether the portable device 10 intends to send additional message packets 100 while the portable device 10 and the communication gateway 29 communicate via the communication link 50. The length bit may indicate the length of the payload 120 of the PDU 106.

[0103] In one embodiment, the tone bytes 122 and / or the continuous wave (CW) tone 124 may be randomly inserted at various locations in the payload 120. As an example and as Fig. 7A As shown, the tone byte 122 may be located between the CW tones 124 (e.g., CW tones each having a Gaussian frequency shift keying value of binary 1) and the random number byte. In other embodiments, the tone byte 122 and / or the CW tones 124 may be located at any other location in the payload 120.

[0104] As another example, Figure 7B As shown, the CW tone 124 may be located outside of the PDU 106 and after the CRC 108. In other embodiments, the CW tone 124 may be located before the preamble portion 102; between the preamble portion 102 and the access address portion 104; between the access address portion 104 and the PDU 106; or between the PDU 106 and the CRC 108.

[0105] Reference Figure 8 , a flow chart of a control algorithm 800 for calculating the angle of arrival of a message packet 100 is shown. For example, when the portable device 10 is connected to the communication gateway 29 and is authorized to connect to the communication gateway 29, the control algorithm 800 starts at 804. As an example, in response to the link authentication module 22 successfully performing a password-response authentication, the portable device 10 may be authorized to connect to the communication gateway 29. At 808, the control algorithm 800 receives a BLE signal using the antenna system 43. At 812, the control algorithm 800 selects the first antenna 52 of the antenna system 43 using the switch circuit 60.

[0106] In some embodiments, a corresponding antenna transceiver system 70 includes a switch circuit 60 with an antenna output and a radio receiver with multiple amplifiers, intermediate frequency filters and amplifiers, IQ ADCs, and IQ converters that allow multiple IQ streams to be received simultaneously from multiple antennas, each antenna being referenced to the same local oscillator. This enables the phase angles of simultaneous IQ samples from different antennas to be subtracted, resulting in a difference representing the time difference of arrival. Although a single microcontroller 80 is shown, the microcontroller 80 can be implemented for each receive path.

[0107] At 816, the control algorithm 800 uses the microcontroller 80 to generate an analysis signal based on the BLE signal including the tone byte (122) or the CW tone (124). At 820, the control algorithm 800 uses the ADC 90 to convert the analysis signal into digital data representing the BLE signal. At 824, the control algorithm 800 uses the microcontroller 80 to obtain the cosine component and the sine component of the digital data representing the constant and / or predicted portion (e.g., the access address portion 104) of the BLE signal based on the analysis signal. At 832, the control algorithm 800 uses the microcontroller 80 to determine whether the sampling period has passed. If so, the control algorithm 800 proceeds to 836; otherwise, the control algorithm 800 proceeds to 824.

[0108] At 836, the control algorithm 800 determines, using the microcontroller 80, whether amplitude samples for each antenna 52 of the antenna system 43 are obtained. If so, the control algorithm 800 proceeds to 844; otherwise, the control algorithm 800 proceeds to 840, where the control algorithm 800 selects the next antenna 52 of the antenna system 43 and then proceeds to 816. At 844, the control algorithm 800 determines, using the microcontroller 80, a phase angle based on the amplitude of the sine component and the amplitude of the corresponding cosine component. As an example, the microcontroller 80 can determine the phase angle by performing an inverse tangent function of the amplitude of the sine component and the amplitude of the corresponding cosine component.

[0109] At 848, the control algorithm 800 determines at least one phase angle difference based on the corresponding phase angles for at least one pair of antennas of the antenna system 43 and using the microcontroller 80 or the control module 20. As an example, during the sampling period and for the first antenna 52-1, the microcontroller 80 can obtain a set of samples of the amplitude of the sine component (e.g., eight samples or other predetermined number of samples) and a set of samples of the amplitude of the cosine component (e.g., eight samples or other predetermined number of samples), and using these samples, the phase angle difference determination module 94 can determine eight phase angles, as described above. Subsequently, the microcontroller 80 repeats these steps to obtain eight phase angles for the second antenna 52-2 and / or the third antenna 52-3 and eight additional phase angles for the first antenna 52-1. Based on the difference between the corresponding phase angle samples of the pairs of antennas 52 (i.e., the first sample of the first iteration of the phase angle of antenna 52-1, the first sample of the first iteration of the phase angle of antenna 52-2 or antenna 52-3, and the first sample of the second iteration of the phase angle of antenna 52-1), the distance separating the corresponding pairs of antennas 52, and / or the number of samples obtained during each iteration, the phase angle difference determination module 94 can determine the phase angle difference between the corresponding pairs of antennas. In some embodiments, the phase angle difference determination module 94 can perform a phase unwrapping algorithm to improve the accuracy of the phase angle difference determination.

[0110] Furthermore, at 848, when the analysis signal based on the BLE signal is sent to create a constant (identical) Gaussian frequency shift keying sequence of "1" or "0" symbols of a constant tone, it is apparent that all frequency shifts (also phase shifts captured as phase angle differences) can be attributed to the different arrival times of the phase at the antennas caused primarily by antenna selection and due to the geometry of the antennas and transmitters, and have a constant residual frequency at 92A or 92B. If the antennas are not switched, a constant residual frequency is received. This is the difference in instantaneous frequency between the carrier frequency generated by 86 and 84A or 84B and the frequency of the Gaussian frequency shift keying constant symbols that constitute the constant transmitted tone. This is the predicted residual frequency sequence without switching antennas. When 848 calculates the phase difference, it is based on the time at which the IQ samples are taken minus the predicted residual frequency sequence (also called residual phase change).

[0111] In addition, at 848, when the analysis signal based on the BLE signal is based on a predicted portion of one or more predicted tone bytes, the residual signal has a predicted changing residual frequency (also called residual phase change) at 92A or 92B, and the one or more predicted tone bytes contain a predicted sequence of Gaussian frequency shift keyed "1" or "0" signals that create a Gaussian frequency shift keyed changing analysis signal. If the antenna is not switched, the residual signal is received. This is the difference in instantaneous frequency between the carrier and the changing analysis signal. Again, this is the predicted residual frequency sequence without antenna switching. Similarly, when 848 calculates the phase difference, it is based on the time when the IQ samples are taken minus the predicted residual frequency sequence (also called residual phase change).

[0112] Due to the variations from part to part, frequency to frequency, temperature to temperature, and voltage to voltage when transmitting and receiving an analysis signal with a varying residual frequency. The control algorithm can record the IQ samples at 92A or 92B for the 1-to-0 transitions and 0-to-1 transitions of the analysis signal at a given frequency and temperature without switching antennas, and use these samples to construct a predicted residual frequency sequence without antenna switching. In addition, when 848 calculates the phase difference, it is based on the time at which the IQ sample was taken minus the residual frequency (also called the residual phase change).

[0113] At 852, the control algorithm 800 determines the angle of arrival of the BLE signal based on an average phase angle difference of the phase angle differences of the corresponding at least one pair of antennas 52 of the antenna system 43 and using the microcontroller 80 and the phase angle differences from step 848 and the distance separating the corresponding pair of antennas 52. At 856, the control algorithm 800 ends.

[0114] In addition, the control algorithm 800 may determine the position of the portable device 10 and / or the distance between the portable device 10 and the vehicle 30 based on the angle of arrival obtained by at least one antenna in the antenna system 43 of each sensor 31. As an example, the control algorithm 800 may determine that the portable device 10 is located at the intersection of a first line representing the angle of arrival at the first sensor 31A and a second line representing the angle of arrival at the second sensor 31B.

[0115] The control algorithm 800 can use the microcontroller 80 to determine the angle of arrival of the portable device 10 based on (i) the determined phase angle difference and (ii) the calibration curve or the corresponding phase angle difference limit. As an example, the microcontroller 80 can determine the angle of arrival by identifying the azimuth angle associated with the determined phase angle difference on the calibration curve. Alternatively, the microcontroller 80 can determine the angle of arrival by identifying the azimuth angle associated with the phase angle difference limit on the calibration curve, which is associated with the determined phase angle difference and the communication channel of the communication link 50. The angle of arrival is based on the determined azimuth angle, equal to the determined azimuth angle, and / or directly related to the determined azimuth angle. The control algorithm 800 can use the control module 20 to determine the position of the portable device 10 relative to the vehicle 30 based on each of the angles of arrival obtained by the sensor 31.

[0116] The control module 20 may unlock the doors, provide access to a vehicle (eg, vehicle 30 ), open a window, allow starting of the vehicle, and / or perform some other task based on or in response to the determined location of the portable device 10 .

[0117] According to the present teachings, a method includes receiving a wireless signal including a packet using multiple antennas, wherein the packet includes data having a predicted portion. The method also includes generating, using at least one of a transceiver or a microcontroller, (i) a first set of digital data representing the predicted portion received using a first antenna of the multiple antennas, and (ii) a second set of digital data representing the predicted portion received using a second antenna of the multiple antennas. The method also includes obtaining, using the microcontroller, (i) a first sample of a cosine component representing the predicted portion of the first set of digital data, and (ii) a second sample of a sine component representing the predicted portion of the first set of digital data. The method also includes obtaining, using the microcontroller, (i) a third sample of a cosine component representing the predicted portion of the second set of digital data, and (ii) a fourth sample of a sine component representing the predicted portion of the second set of digital data. The method also includes using a processor of the microcontroller to (i) determine a first phase angle value associated with the first antenna based on the amplitude of the first sample and the amplitude of the second sample, and (ii) determine a second phase angle value associated with the second antenna based on the amplitude of the third sample and the amplitude of the fourth sample, wherein the processor is configured to execute instructions stored in the non-transitory computer readable memory. The method also includes using the processor to determine an angle of arrival based on a difference between the first phase angle value and the second phase angle value.

[0118] In other features, the wireless signal is a Bluetooth signal.

[0119] In other features, the foreknown portion of the first set of digital data is an access address portion of the Bluetooth signal and the foreknown portion of the second set of digital data is an access address portion of the Bluetooth signal.

[0120] In other features, the foreknown portion of the first set of digital data is one of a preamble portion and a cyclic redundancy check portion of the Bluetooth signal, and the foreknown portion of the second set of digital data is one of a preamble portion and a cyclic redundancy check portion of the Bluetooth signal.

[0121] In other features, the Bluetooth signal includes a preamble portion, an access address portion, a protocol data unit portion, and a cyclic redundancy check portion.

[0122] Among other features, the Bluetooth signal includes a constant waveform (CW) tone region.

[0123] In other features, the method includes obtaining the first sample, the second sample, the third sample, and the fourth sample using an IQ generator of the microcontroller.

[0124] In other features, the method includes coupling the first antenna to the microcontroller using the switching circuit, and in response to the sampling period passing, decoupling the first antenna from the microcontroller using the switching circuit and coupling the second antenna to the microcontroller using the switching circuit.

[0125] In other features, the method includes determining a first phase angle value and further includes performing, using a processor, an inverse tangent function based on a magnitude of the first sample and a magnitude of the second sample.

[0126] In other features, the method includes determining a second phase angle value and further includes performing, using the processor, an inverse tangent function based on the magnitude of the third sample and the magnitude of the fourth sample.

[0127] In other features, generating includes simultaneously using multiple receive paths and one or more microcontrollers to receive (i) a first set of digital data representing a predicted portion received using a first antenna of the multiple antennas, and (ii) a second set of digital data representing a predicted portion received using a second antenna of the multiple antennas.

[0128] According to the present teachings, a system includes multiple antennas configured to receive a wireless signal including a packet, wherein the packet includes data having a pre-known portion. The system also includes a transceiver configured to generate (i) a first set of digital data representing the pre-known portion received using a first antenna of the multiple antennas, and (ii) a second set of digital data representing the pre-known portion received using a second antenna of the multiple antennas. The system also includes a microcontroller configured to obtain (i) a first sample of a cosine component representing the pre-known portion of the first set of digital data, and (ii) a second sample of a sine component representing the pre-known portion of the first set of digital data; and obtain (i) a third sample of a cosine component representing the pre-known portion of the second set of digital data, and (ii) a fourth sample of a sine component representing the pre-known portion of the second set of digital data. The microcontroller includes a processor configured to execute instructions stored in a non-transitory computer readable memory, and wherein the instructions include (i) determining a first phase angle value associated with a first antenna based on an amplitude of a first sample and an amplitude of a second sample, and (ii) determining a second phase angle value associated with a second antenna based on an amplitude of a third sample and an amplitude of a fourth sample, and determining an angle of arrival based on a difference between the first phase angle value and the second phase angle value.

[0129] In other features, the wireless signal is a Bluetooth signal.

[0130] In other features, the foreknown portion of the first set of digital data is an access address portion of the Bluetooth signal and the foreknown portion of the second set of digital data is an access address portion of the Bluetooth signal.

[0131] In other features, the foreknown portion of the first set of digital data is one of a preamble portion and a cyclic redundancy check portion of the Bluetooth signal, and the foreknown portion of the second set of digital data is one of a preamble portion and a cyclic redundancy check portion of the Bluetooth signal.

[0132] In other features, the Bluetooth signal includes a preamble portion, an access address portion, a protocol data unit portion, and a cyclic redundancy check portion.

[0133] Among other features, the Bluetooth signal includes a constant waveform (CW) tone region.

[0134] In other features, the system further comprises an IQ generator of the microcontroller, wherein the IQ generator is configured to obtain the first sample, the second sample, the third sample, and the fourth sample.

[0135] In other features, the system further includes a switch circuit configured to couple the first antenna to the microcontroller and, in response to a sampling period passing, decouple the first antenna from the microcontroller and couple the second antenna to the microcontroller.

[0136] In other features, the processor is configured to determine the first phase angle value by performing an inverse tangent function based on a magnitude of the first sample and a magnitude of the second sample.

[0137] In other features, the processor is configured to determine the first phase angle value by performing an inverse tangent function based on a magnitude of the third sample and a magnitude of the fourth sample.

[0138] In other features, generating includes simultaneously using multiple receive paths and one or more microcontrollers to receive (i) a first set of digital data representing a predicted portion received using a first antenna of the multiple antennas, and (ii) a second set of digital data representing a predicted portion received using a second antenna of the multiple antennas.

[0139] The foregoing description is essentially only illustrative, and is in no way intended to limit the present disclosure, its application or use. The broad teachings of the present disclosure can be implemented in various forms. Therefore, although the present disclosure includes specific examples, the true scope of the present disclosure should not be limited thereto, because other modifications will become apparent when studying the drawings, the specification and the appended claims. It should be understood that, without changing the principle of the present disclosure, one or more steps in the method can be performed in different orders (or simultaneously). In addition, although each of the embodiments is described as having certain features above, any one or more of those features described in any embodiment of the present disclosure can be implemented in the features of any other embodiment and / or combined with any other embodiment, even if the combination is not clearly described. In other words, the described embodiments are not mutually exclusive, and the mutual replacement of one or more embodiments is retained within the scope of the present disclosure.

[0140] Various terms including "connected," "engaged," "coupled," "adjacent," "next to," "on top," "above," "below," and "arranged" are used to describe spatial and functional relationships between elements (e.g., between modules, circuit elements, semiconductor layers, etc.). Unless explicitly described as "directly," when describing a relationship between a first element and a second element in the above disclosure, the relationship may be a direct relationship in which no other intervening elements exist between the first element and the second element, but may also be an indirect relationship in which one or more intervening elements exist (spatially or functionally) between the first element and the second element. As used herein, the phrase at least one of A, B, and C should be interpreted as representing a logical (A or B or C) using a non-exclusive logical "or," and should not be interpreted as representing "at least one of A, at least one of B, and at least one of C."

[0141] In the drawings, the direction of the arrows, as indicated by the arrow clusters, generally shows the flow of information (e.g., data or instructions) that is important to the description. For example, when element A and element B exchange various information, but the information sent from element A to element B is relevant to the illustration, the arrow may point from element A to element B. This unidirectional arrow does not mean that no other information is sent from element B to element A. In addition, for information sent from element A to element B, element B may send a request for the information or a confirmation of receipt of the information to element A.

[0142] In this application, including the definitions below, the term "module" or the term "controller" may be replaced with the term "circuit". The term "module" may refer to, be part of, or include: an application specific integrated circuit (ASIC); a digital, analog, or mixed analog / digital discrete circuit; a digital, analog, or mixed analog / digital integrated circuit; a combinational logic circuit; a field programmable gate array (FPGA); a processor circuit (shared, dedicated, or group) that executes code; a memory circuit (shared, dedicated, or group) that stores code executed by the processor circuit; other suitable hardware components that provide the described functionality; or a combination of some or all of the above, such as in a system on a chip.

[0143] Module can include one or more interface circuits.In some examples, interface circuit can include wired interface or wireless interface connected to local area network (LAN), Internet, wide area network (WAN) or its combination.The function of any given module of the present disclosure can be distributed among multiple modules connected via interface circuit.For example, multiple modules can allow load balancing.In another example, server (also referred to as remote or cloud) module can implement some functions on behalf of client module.

[0144] The term code used above may include software, firmware, and / or microcode, and may refer to a program, a routine, a function, a class, a data structure, and / or an object. The term shared processor circuit includes a single processor circuit that executes some or all of the code from multiple modules. The term group processor circuit includes a processor circuit that executes some or all of the code from one or more modules in conjunction with additional processor circuits. References to multiple processor circuits include multiple processor circuits on discrete chips, multiple processor circuits on a single chip, multiple cores of a single processor circuit, multiple threads of a single processor circuit, or a combination of the above. The term shared memory circuit includes a single memory circuit that stores some or all of the code from multiple modules. The term group memory circuit includes a memory circuit that stores some or all of the code from one or more modules in conjunction with additional memory.

[0145] The term memory circuit is a subset of the term computer-readable medium. The term computer-readable medium as used herein does not include transient electrical or electromagnetic signals propagated through a medium (e.g., on a carrier wave); the term computer-readable medium may therefore be considered to be tangible and non-transient. Non-limiting examples of non-transient tangible computer-readable media are non-volatile memory circuits (e.g., flash memory circuits, erasable programmable read-only memory circuits, or mask read-only memory circuits), volatile memory circuits (e.g., static random access memory circuits or dynamic random access memory circuits), magnetic storage media (e.g., analog or digital tapes or hard drives), and optical storage media (e.g., CDs, DVDs, or Blu-ray discs).

[0146] The apparatus and methods described in this application can be partially or completely implemented by a special-purpose computer created by configuring a general-purpose computer to perform one or more specific functions implemented in a computer program. The functional blocks and flow chart elements described above are used as software specifications, which can be compiled into a computer program by the routine work of a skilled technician or programmer.

[0147] The computer program includes processor executable instructions stored on at least one non-transitory, tangible computer readable medium. The computer program may also include or rely on stored data. The computer program may include a basic input / output system (BIOS) that interacts with the hardware of the special-purpose computer, device drivers that interact with specific devices of the special-purpose computer, one or more operating systems, user applications, background services, background applications, etc.

[0148] A computer program may include: (i) a descriptive text to be parsed, such as HTML (Hypertext Markup Language) or XML (Extensible Markup Language), (ii) assembly code, (iii) object code generated by a compiler from a source code, (iv) source code for execution by an interpreter, (v) source code for compilation and execution by a just-in-time compiler, etc. By way of example only, source code may be written according to a syntax including the following languages: C, C++, C#, Objective C, Swift, Haskell, Go, SQL, R, Lisp, Java (registered trademark), Fortran, Perl, Pascal, Curl, OCaml, Javascript (registered trademark), HTML5 (fifth edition of Hypertext Markup Language), Ada, ASP (Active Server Pages), PHP (PHP: Hypertext Preprocessor), Scala, Eiffel, Smalltalk, Erlang, Ruby, Flash (registered trademark), Visual Basis (registered trademark), Lua, MATLAB, SIMULINK, and Python (registered trademark).

[0149] The foregoing description of the embodiments has been provided for the purpose of illustration and description. These descriptions are not intended to be exhaustive or to limit the present disclosure. Each element or feature of a particular embodiment is generally not limited to the particular embodiment, but is interchangeable and can be used in the selected embodiment where applicable, even if not specifically shown or described. Each element or feature of a particular embodiment can also be varied in many aspects. Such a modification is not considered to be out of the present disclosure, and all such modifications are intended to be included within the scope of the present disclosure.

Claims

1. A method comprising: receiving a wireless signal including a packet using a plurality of antennas (43, 52), wherein the packet includes data having a foreknown portion, and wherein the foreknown portion of the packet is known prior to receiving the packet; generating, using at least one of a transceiver (72) or a microcontroller (80), (i) a first set of digital data representing a pre-known portion received using a first antenna of the plurality of antennas, and (ii) a second set of digital data representing a pre-known portion received using a second antenna of the plurality of antennas; obtaining, using the microcontroller, (i) a first sample representing a cosine component of a foreknown portion of the first set of digital data, and (ii) a second sample representing a sine component of a foreknown portion of the first set of digital data; obtaining, using the microcontroller, (i) a third sample representing a cosine component of a foreknown portion of the second set of digital data, and (ii) a fourth sample representing a sine component of a foreknown portion of the second set of digital data; using a processor of the microcontroller to (i) determine a first phase angle value associated with the first antenna based on the amplitude of the first sample and the amplitude of the second sample, and (ii) determine a second phase angle value associated with the second antenna based on the amplitude of the third sample and the amplitude of the fourth sample, wherein the processor is configured to execute instructions stored in a non-transitory computer readable memory; and An angle of arrival is determined using the processor based on a difference between the first phase angle value and the second phase angle value.

2. The method according to claim 1, wherein: The wireless signal is a Bluetooth signal.

3. The method according to claim 2, wherein: the foreknown portion of the first set of digital data is an access address portion of the Bluetooth signal; and The foreknown portion of the second set of digital data is the access address portion of the Bluetooth signal.

4. The method according to claim 2, wherein: The predicted portion of the first set of digital data is one of a preamble portion and a cyclic redundancy check portion of the Bluetooth signal; and The predicted portion of the second set of digital data is one of a preamble portion and a cyclic redundancy check portion of the Bluetooth signal.

5. The method according to claim 2, wherein: The Bluetooth signal includes a preamble part, an access address part, a protocol data unit part and a cyclic redundancy check part.

6. The method according to claim 5, wherein: The Bluetooth signal includes a constant waveform tone region.

7. The method of any one of claims 1 to 6, further comprising obtaining the first sample, the second sample, the third sample and the fourth sample using an IQ generator of the microcontroller.

8. The method according to any one of claims 1 to 6, further comprising: coupling the first antenna to the microcontroller using a switch circuit (60); as well as In response to the sampling period, decoupling the first antenna from the microcontroller using the switch circuit, and The second antenna is coupled to the microcontroller using the switching circuit.

9. The method according to any one of claims 1 to 6, wherein: Determining the first phase angle value further includes performing, using the processor, an inverse tangent function based on the magnitude of the first sample and the magnitude of the second sample.

10. The method according to any one of claims 1 to 6, wherein: Determining the second phase angle value further includes performing, using the processor, an inverse tangent function based on the magnitude of the third sample and the magnitude of the fourth sample.

11. The method according to claim 1, wherein: The generating includes: simultaneously using multiple receive paths and one or more microcontrollers to receive (i) a first set of the digital data representing a predicted portion received using the first antenna of the multiple antennas, and (ii) a second set of the digital data representing a predicted portion received using the second antenna of the multiple antennas.

12. A system comprising: a plurality of antennas (43, 52) configured to receive a wireless signal comprising a packet, wherein the packet comprises data having a foreknown portion, and wherein the foreknown portion of the packet is known prior to receiving the packet; a transceiver (72) configured to generate (i) a first set of digital data representing a pre-known portion received using a first antenna of the plurality of antennas, and (ii) a second set of digital data representing a pre-known portion received using a second antenna of the plurality of antennas; and A microcontroller (80) configured to obtaining (i) first samples representing a cosine component of a predicted portion of the first set of digital data, and (ii) second samples representing a sine component of a predicted portion of the first set of digital data; and obtaining (i) a third sample representing a cosine component of a foreknown portion of the second set of digital data, and (ii) a fourth sample representing a sine component of a foreknown portion of the second set of digital data, wherein the microcontroller comprises a processor configured to execute instructions stored in a non-transitory computer readable memory, and wherein the instructions comprise (i) determining a first phase angle value associated with the first antenna based on the amplitude of the first sample and the amplitude of the second sample, and (ii) determining a second phase angle value associated with the second antenna based on the amplitude of the third sample and the amplitude of the fourth sample, and An angle of arrival is determined based on a difference between the first phase angle value and the second phase angle value.

13. The system according to claim 12, wherein: The wireless signal is a Bluetooth signal.

14. The system of claim 13, wherein: the foreknown portion of the first set of digital data is an access address portion of the Bluetooth signal; and The foreknown portion of the second set of digital data is the access address portion of the Bluetooth signal.

15. The system of claim 13, wherein: The predicted portion of the first set of digital data is one of a preamble portion and a cyclic redundancy check portion of the Bluetooth signal; and The predicted portion of the second set of digital data is one of a preamble portion and a cyclic redundancy check portion of the Bluetooth signal.

16. The system of claim 13, wherein: The Bluetooth signal includes a preamble part, an access address part, a protocol data unit part and a cyclic redundancy check part.

17. The system of claim 16, wherein: The Bluetooth signal includes a constant waveform tone region.

18. The system according to any one of claims 12 to 17, further comprising an IQ generator of the microcontroller, wherein: The IQ generator is configured to obtain the first sample, the second sample, the third sample, and the fourth sample.

19. The system according to any one of claims 12 to 17, further comprising a switching circuit (60), wherein the switching circuit (60) is configured to: coupling the first antenna to the microcontroller; and In response to the sampling period, decoupling the first antenna from the microcontroller, and The second antenna is coupled to the microcontroller.

20. The system according to any one of claims 12 to 17, wherein: The processor is configured to determine the first phase angle value by performing an inverse tangent function based on a magnitude of the first sample and a magnitude of the second sample.

21. The system of any one of claims 12 to 17, the processor configured to determine the second phase angle value by performing an inverse tangent function based on the amplitude of the third sample and the amplitude of the fourth sample.

22. The system of claim 12, wherein: The generating includes: simultaneously using multiple receive paths and one or more microcontrollers to receive (i) a first set of the digital data representing a predicted portion received using the first antenna of the multiple antennas, and (ii) a second set of the digital data representing a predicted portion received using the second antenna of the multiple antennas.