Vehicle key positioning method and device, electronic equipment and vehicle
By obtaining the reception duration and angle of the key and vehicle antenna, and using the angle-of-arrival positioning algorithm and geometric positioning method, the problem of inaccurate key positioning was solved, thus achieving accurate key functionality and improving positioning accuracy.
Patent Information
- Application Number
- CN202411739607.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-11-29
AI Technical Summary
In existing technologies, locating a key by signal strength is prone to inaccurate positioning, which can lead to the key not being able to perform its functions accurately.
By establishing a connection between the key and at least two antennas installed on the vehicle, the reception duration of the communication signal transmitted by the key received by each antenna is obtained. The transmission angle of the key relative to each antenna is determined based on the reception duration, and the target position of the key relative to the vehicle is determined based on at least two transmission angles. The angle of arrival positioning algorithm and geometric positioning method are used for precise positioning.
It achieves precise positioning of the key relative to the vehicle, avoiding inaccurate positioning issues, ensuring accurate key functionality, and improving positioning accuracy and user experience.
Smart Images

Figure CN119676648B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of vehicle control technology, and in particular to a method, device, electronic device, and vehicle for locating a vehicle key. Background Technology
[0002] With the development of the automotive industry, it has become possible to locate a key using the signal strength received by the vehicle. However, locating a key based on signal strength is prone to inaccurate positioning, which in turn leads to the key not functioning correctly.
[0003] Therefore, how to avoid inaccurate positioning due to signal strength as the key location method has become an urgent technical problem to be solved. Summary of the Invention
[0004] In view of this, the purpose of this disclosure is to provide a method, device, electronic device and vehicle for locating a vehicle key, so as to solve the problem that the existing technology of locating a key by means of signal strength is prone to inaccurate positioning.
[0005] To achieve the above objectives, the first aspect of this disclosure provides a method for locating a vehicle key, the method comprising:
[0006] In response to determining that the key has established a connection with at least two antennas installed on the vehicle, the reception duration of the communication signal transmitted by the key received by each antenna is obtained;
[0007] The transmission angle of the key relative to each antenna is determined based on the reception duration, and the target position of the key relative to the vehicle is determined based on at least two transmission angles.
[0008] Based on the same inventive concept, a second aspect of this disclosure proposes a vehicle key positioning device, comprising:
[0009] The acquisition module is configured to acquire the reception duration of the communication signal transmitted by the key received by each antenna in response to determining that the key has established a connection with at least two antennas installed on the vehicle;
[0010] The determination module is configured to determine the transmission angle of the key relative to each antenna based on the reception duration, and to determine the target position of the key relative to the vehicle based on at least two transmission angles.
[0011] Based on the same inventive concept, a third aspect of this disclosure proposes an electronic device including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method described above when executing the computer program.
[0012] Based on the same inventive concept, a fourth aspect of this disclosure proposes a vehicle, the vehicle including the vehicle key locating device described in the second aspect or the electronic device described in the third aspect.
[0013] As described above, this disclosure provides a vehicle key positioning method, device, electronic device, and vehicle. When the key establishes a connection with at least two antennas installed on the vehicle, the reception duration of the communication signal transmitted by the key received by each antenna is obtained. The transmission angle of the key relative to each antenna is determined based on the reception duration, and the target position of the key relative to the vehicle is determined based on the at least two transmission angles. Thus, the target position of the key relative to the vehicle is a precise position determined based on the transmission angles of the key relative to at least two antennas. This target position is more accurate than an estimated key position, avoiding the problem of inaccurate key positioning and ensuring the accurate implementation of the key's functions. Attached Figure Description
[0014] To more clearly illustrate the technical solutions in this disclosure or related technologies, the drawings to be used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1 This is a flowchart of a vehicle key positioning method according to an embodiment of the present disclosure;
[0016] Figure 2 This is a schematic diagram of the angle-of-arrival positioning algorithm according to an embodiment of the present disclosure;
[0017] Figure 3 This is a schematic diagram illustrating the positioning of a Bluetooth key based on two antennas on a vehicle, according to an embodiment of this disclosure.
[0018] Figure 4 This is a flowchart of a Bluetooth key positioning method based on angle of arrival, according to an embodiment of the present disclosure.
[0019] Figure 5 This is a schematic diagram of the structure of a vehicle key positioning device according to an embodiment of the present disclosure;
[0020] Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.
[0022] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this disclosure should have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in the embodiments of this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0023] Based on the background description, Bluetooth technology is currently the most widely used short-range, low-cost wireless connection technology. For vehicles equipped with mobile phone Bluetooth digital keys, the digital key is usually activated by a mobile application (APP) provided by the vehicle manufacturer. The vehicle's locking, unlocking, and starting functions are achieved through the mobile phone's Bluetooth Low Energy (BLE) communication capabilities. There are many different solutions for the module that implements the Bluetooth key function on the vehicle side. Among them, the Bluetooth positioning of multi-node Bluetooth key solutions, which uses Received Signal Strength Indication (RSSI), is a relatively common method.
[0024] In related technologies, Bluetooth Low Energy (BLE) positioning often uses RSSI (Resonance Signal Strength Indication) positioning. RSSI positioning is a method of estimating distance based on the attenuation of signal strength between two devices over transmission distance. Positioning accuracy is limited (1-5 meters), and it is highly sensitive to multipath propagation and interference. Furthermore, it is affected by factors such as phone model and vehicle environment, easily leading to positioning drift or inaccurate positioning, resulting in problems such as inability to unlock / lock, inability to start, and the ability to unlock / lock even at long distances (beyond the set unlocking area).
[0025] As mentioned above, how to avoid inaccurate positioning due to signal strength as the key location method has become an important research problem.
[0026] Based on the above description, such as Figure 1 As shown, the vehicle key location method proposed in this embodiment includes:
[0027] Step 101: In response to determining that the key has established a connection with at least two antennas installed on the vehicle, obtain the reception duration of the communication signal transmitted by the key received by each antenna.
[0028] In practice, a key is a vehicle accessory used to lock and unlock the vehicle. Keys include: physical keys, remote keys, Bluetooth digital keys, and mobile terminals. In this embodiment, the key is preferably a Bluetooth digital key. The vehicle is equipped with at least two Bluetooth antennas to receive communication signals from the Bluetooth digital key. The communication signal refers to the Bluetooth communication signal.
[0029] Specifically, when a communication connection is established between the Bluetooth digital key and at least two Bluetooth antennas installed on the vehicle, the reception duration of the Bluetooth communication signal transmitted by the Bluetooth digital key is obtained for each Bluetooth antenna.
[0030] For example, the vehicle may be equipped with at least two antennas, including a first antenna and a second antenna. When the key establishes a connection with the first and second antennas on the vehicle, the system acquires a first reception duration for the first antenna to receive the communication signal transmitted by the key, and a second reception duration for the second antenna to receive the communication signal transmitted by the key.
[0031] Step 102: Determine the transmission angle of the key relative to each antenna based on the reception duration, and determine the target position of the key relative to the vehicle based on at least two transmission angles.
[0032] In practice, the transmission angle of the key relative to each antenna is determined based on the reception duration of the communication signal transmitted by the key received by each antenna. The target position of the key relative to the vehicle is determined based on at least two transmission angles.
[0033] For example, the vehicle may be equipped with at least two antennas: a first antenna and a second antenna. A first transmission angle of the key relative to the first antenna is determined based on a first reception duration of the communication signal transmitted by the key received by the first antenna. A second transmission angle of the key relative to the second antenna is determined based on a second reception duration of the communication signal transmitted by the key received by the second antenna. Based on the first and second transmission angles, the target position of the key relative to the vehicle is determined.
[0034] Through the above embodiments, when the key establishes a connection with at least two antennas installed on the vehicle, the reception duration of the communication signal transmitted by the key received by each antenna is obtained. The transmission angle of the key relative to each antenna is determined based on the reception duration, and the target position of the key relative to the vehicle is determined based on the at least two transmission angles. In this way, the target position of the key relative to the vehicle is a precise position determined based on the transmission angles of the key relative to at least two antennas. This target position is more accurate than the estimated key position, avoiding the problem of inaccurate key positioning and ensuring the accurate implementation of the key's functions.
[0035] In some embodiments, step 102 includes:
[0036] Step 1021: Determine the phase difference of the communication signal based on the reception duration.
[0037] Step 1022: Determine the transmission angle of the key relative to each antenna based on the phase difference.
[0038] Step 1023: Determine the target position of the key relative to the vehicle based on at least two transmission angles and the distance between two adjacent antennas.
[0039] In practice, the phase difference of the communication signal is determined based on the reception time of the communication signal transmitted by the key received by each antenna. Using an angle-of-arrival (AOA) positioning algorithm, the transmission angle of the key relative to each antenna is determined based on the phase difference of the communication signal. The target position of the key relative to the vehicle is then determined based on the transmission angles of the key relative to at least two antennas.
[0040] For example, the vehicle may have at least two antennas: a first antenna and a second antenna. A first phase difference is determined based on a first reception duration, and a first transmission angle of the key relative to the first antenna is determined based on the first phase difference. A second phase difference is determined based on a second reception duration, and a second transmission angle of the key relative to the second antenna is determined based on the second phase difference. Based on the first transmission angle, the second transmission angle, and the distance between the first antenna and the second antenna, the target position of the key relative to the vehicle is determined.
[0041] Figure 2 This is a schematic diagram of the angle-of-arrival positioning algorithm according to an embodiment of this disclosure. Figure 2 As shown, the Angle of Arrival (AoA) algorithm is a method that uses antenna arrays and phase differences to estimate the angle of arrival. The transmitter uses a single antenna to transmit communication signals, while the receiver has at least two built-in antenna arrays. When the communication signal passes through, the angle will be different due to the different distances of the communication signal received by each antenna, resulting in a phase difference, and thus the direction of the communication signal can be calculated.
[0042] The Angle of Arrival (AoA) positioning algorithm identifies the direction of arrival of the transmitting node signal through the Bluetooth device, thereby calculating the relative angle or orientation between the receiver and the transmitter, improving the accuracy of the positioning function (theoretically within 1 meter), so as to better determine the correct key position and realize the corresponding unlocking or starting function.
[0043] The above scheme, using an angle-of-arrival (AOA) positioning algorithm, accurately determines the key's transmission angle relative to each antenna based on the phase difference of the communication signal. Compared to estimating the key's position based on signal strength, this method, based on at least two transmission angles and the distance between two adjacent antennas, precisely locates the key's target position relative to the vehicle. This ensures the accurate implementation of the key's functions and avoids problems such as inability to unlock or start the vehicle, or the inability to unlock or start the vehicle from a distance (beyond the set unlocking area), due to inaccurate key positioning.
[0044] In some embodiments, step 1021 includes:
[0045] Step 1021A: Determine the frequency of the communication signal.
[0046] Step 1021B: Determine the phase difference of the communication signal based on the reception duration and the frequency.
[0047] In practice, the phase difference of the communication signal is determined based on the reception duration and frequency, using the following formula:
[0048]
[0049] in, Let f be the phase difference of the communication signal, f be the frequency of the communication signal, and Δt be the reception duration of the communication signal transmitted by the key received by each antenna.
[0050] The phase difference of the communication signal is determined based on the reception duration and the frequency of the communication signal. The communication signal is a Bluetooth signal, and its frequency f is typically 2.45 GHz. The phase difference of the communication signal... The reception duration Δt is expressed in radians and is measured in nanoseconds (ns).
[0051] The above method, based on the reception duration and the frequency of the communication signal, makes the determined phase difference of the communication signal more accurate. By determining the phase difference of the communication signal, the transmission angle of the key relative to each antenna can be determined.
[0052] In some embodiments, step 1022 includes:
[0053] Step 1022A: Determine the wavelength of the communication signal.
[0054] Step 1022B: Determine the distance between two adjacent antennas of the at least two antennas.
[0055] Step 1022C: Determine the transmission angle of the key relative to each antenna based on the phase difference, the wavelength, and the distance between two adjacent antennas.
[0056] In practice, the transmission angle of the key relative to each antenna is determined based on the phase difference, wavelength, and distance between two adjacent antennas, using the following formula:
[0057]
[0058] Wherein, λ is the transmission angle of the key relative to each antenna, and λ is the wavelength of the communication signal. Let d be the phase difference of the communication signal, and d be the distance between the two adjacent antennas.
[0059] The angle-of-arrival (AOA) positioning algorithm determines the transmission angle of the key relative to each antenna based on the phase difference, wavelength, and distance between adjacent antennas of the communication signal. The transmission angle θ is the angle formed between the key and the antenna when the communication signal reaches the antenna. The wavelength λ of the communication signal is inversely proportional to its frequency f.
[0060] The above scheme, based on phase difference, wavelength, and the distance between adjacent antennas, makes the determined transmission angle of the key relative to each antenna more accurate. By determining the transmission angle, the target position of the key relative to the vehicle can be determined. The phase difference is determined based on the frequency of the communication signal, and this phase difference allows the determination of the transmission angle of the key relative to each antenna. Thus, after acquiring the frequency of the communication signal, the transmission angle of the key relative to each antenna can be determined based on the frequency, thereby determining the target position of the key relative to the vehicle. This eliminates the need to acquire large amounts of data for key positioning and reduces computational load.
[0061] In some embodiments, step 1023 includes:
[0062] Step 10231: Determine the antenna position coordinates of at least two antennas in the constructed coordinate system.
[0063] Step 10232: Based on the at least two transmission angles, the distance between the two adjacent antennas, and the antenna position coordinates, determine the key position coordinates in the coordinate system, and convert the key position coordinates into the target position of the key relative to the vehicle.
[0064] In practice, a geometric positioning method (e.g., triangulation) is used to determine the key's position coordinates in the coordinate system based on at least two transmission angles, the distance between two adjacent antennas, and the antenna position coordinates. Two antennas can be used to determine the key's two-dimensional target position relative to the vehicle, while three antennas can be used to determine the key's three-dimensional target position relative to the vehicle.
[0065] In practical applications, due to factors such as multipath effect and environmental interference, there may be errors in the measurement and calculation process. Therefore, signal processing and algorithm optimization can be used to improve the positioning accuracy of the key.
[0066] The above scheme, using the geometric positioning method, can accurately determine the key's position coordinates based on at least two transmission angles, the distance between two adjacent antennas, and the antenna position coordinates, thereby achieving precise key positioning and ensuring the accurate realization of the key's functions.
[0067] In some embodiments, the at least two antennas installed on the vehicle include: a first antenna and a second antenna; step 10232 includes:
[0068] Step 102321: Based on the first transmission angle of the key relative to the first antenna, the second transmission angle of the key relative to the second antenna, the distance between the first antenna and the second antenna, the position coordinates of the first antenna and the second antenna, the first two-dimensional key position coordinates in the first plane of the coordinate system are determined.
[0069] Step 102322: Convert the first two-dimensional key position coordinates into the two-dimensional target position of the key relative to the vehicle.
[0070] In practice, a coordinate system is constructed. On the first plane of this coordinate system, the position coordinates of the first antenna and the second antenna are determined. Assume the first two-dimensional key position coordinates are (x, y). A first key coordinate relationship is constructed based on the first antenna position coordinates and the first transmission angle. A second key coordinate relationship is constructed based on the second antenna position coordinates, the second transmission angle, and the distance between the first and second antennas. Solving the first and second key coordinate relationships yields the first two-dimensional key position coordinates in the first plane of the coordinate system. These first two-dimensional key position coordinates are then converted into a two-dimensional target position of the key relative to the vehicle.
[0071] Figure 3 This is a schematic diagram illustrating the positioning of a Bluetooth key based on two antennas on a vehicle, according to an embodiment of this disclosure. Figure 3 As shown, the vehicle is equipped with a first antenna A and a second antenna B. The coordinates of the first antenna A are (x... A ,y A)=(0,0), the second line position coordinates are (x B ,y B ) = (10,0), and assume the coordinates of the first two-dimensional key position are (x,y).
[0072] After receiving the communication signal from the key, the first antenna A and the second antenna B determine the first reception duration Δt1 of the first antenna A and the second reception duration Δt2 of the second antenna B. According to the formula... Calculate the first phase difference respectively Second phase difference According to the formula Calculate the first transmission angle θ1 and the second transmission angle θ2 respectively. The first transmission angle is the angle of the key relative to the first antenna. The second launch angle of the key relative to the second antenna
[0073]
[0074] The first key coordinate relationship is constructed based on the first antenna position coordinates and the first transmission angle.
[0075]
[0076] The second key coordinate relationship is constructed based on the second antenna position coordinates, the second transmission angle, and the distance between the first antenna and the second antenna.
[0077]
[0078] Solving the first key coordinate relationship and the second key coordinate relationship, we obtain the first two-dimensional key position coordinates (x,y)=(5,5) in the first plane of the coordinate system. The two-dimensional target position of the key relative to the vehicle is that the angle between the key and the first antenna on the vehicle is 45°, the lateral distance is 5m, and the longitudinal distance is 5m.
[0079] Using the above scheme, the two antennas on the vehicle, the first and second antennas, can accurately locate the two-dimensional target position of the key. A first key coordinate relationship is constructed based on the position coordinates of the first antenna and the first transmission angle. A second key coordinate relationship is constructed based on the position coordinates of the second antenna, the second transmission angle, and the distance between the first and second antennas. Based on these two key coordinate relationships, the first two-dimensional key position coordinates in the first plane can be accurately obtained.
[0080] In some embodiments, the at least two antennas mounted on the vehicle further include: a third antenna; and after step 102322, the method further includes:
[0081] Step 102322A: Based on the first transmission angle of the key relative to the first antenna, the third transmission angle of the key relative to the third antenna, the distance between the first antenna and the third antenna, the position coordinates of the first antenna and the third antenna, the position coordinates of the third antenna, determine the second two-dimensional key position coordinates in the second plane of the coordinate system; wherein, the first plane and the second plane are two mutually perpendicular planes.
[0082] Step 102322B: Based on the two-dimensional target position and the second two-dimensional key position coordinates, determine the three-dimensional target position of the key relative to the vehicle.
[0083] In practice, the first plane and the second plane are two mutually perpendicular planes. For example, the first plane is a horizontal plane, and the second plane is a vertical plane.
[0084] Specifically, the first and second two-dimensional key position coordinates are combined to obtain the three-dimensional key position coordinates. These three-dimensional key position coordinates are then converted into the three-dimensional target position of the key relative to the vehicle.
[0085] For example, the vehicle is equipped with a first antenna A, a second antenna B, and a third antenna C. The first two-dimensional key position coordinates (x, y) in the horizontal plane of the coordinate system are determined based on the first and second antennas. The second two-dimensional key position coordinates (x, z) in the vertical plane of the coordinate system are determined based on the first and third antennas. The first and second two-dimensional key position coordinates (x, y) are combined to obtain the three-dimensional key position coordinates (x, y, z). The three-dimensional key position coordinates are then converted into the three-dimensional target position of the key relative to the vehicle.
[0086] In addition, the third antenna can also be used to calibrate the coordinates of the first two-dimensional key position, making the obtained two-dimensional target position more accurate.
[0087] Specifically, the third two-dimensional key position coordinates (x1, y1) in the first plane of the coordinate system are determined based on the first and second antennas. The fourth two-dimensional key position coordinates (x2, y2) in the first plane of the coordinate system are determined based on the first and third antennas, and the fifth two-dimensional key position coordinates (x3, y3) in the first plane of the coordinate system are determined based on the second and third antennas. A first deviation coefficient is determined between the third and fourth two-dimensional key position coordinates (x1, y1) and (x2, y2), a second deviation coefficient is determined between the third and fifth two-dimensional key position coordinates (x3, y3), and a third deviation coefficient is determined between the fourth and fifth two-dimensional key position coordinates (x2, y2) and (x3, y3). The minimum deviation coefficient is determined from the first, second, and third deviation coefficients, and the two two-dimensional key position coordinates corresponding to the minimum deviation coefficient are averaged to obtain the target two-dimensional key position coordinates. The target two-dimensional key position coordinates are then converted into a two-dimensional target position of the key relative to the vehicle.
[0088] For example, if the first deviation coefficient is the minimum deviation coefficient, then the target two-dimensional key position coordinates are obtained by averaging the third two-dimensional key position coordinates (x1, y1) and the fourth two-dimensional key position coordinates (x2, y2), and then converted into a two-dimensional target position of the key relative to the vehicle. Alternatively, if the second deviation coefficient is the minimum deviation coefficient, then the target two-dimensional key position coordinates are obtained by averaging the third two-dimensional key position coordinates (x1, y1) and the fifth two-dimensional key position coordinates (x3, y3), and then converted into a two-dimensional target position of the key relative to the vehicle. Or, if the third deviation coefficient is the minimum deviation coefficient, then the target two-dimensional key position coordinates are obtained by averaging the fourth two-dimensional key position coordinates (x2, y2) and the fifth two-dimensional key position coordinates (x3, y3), and then converted into a two-dimensional target position of the key relative to the vehicle.
[0089] Using the above scheme, the three-dimensional target position of the key can be accurately located by utilizing the first, second, and third antennas on the vehicle. By comprehensively processing the first two-dimensional key position coordinates in the first plane and the second two-dimensional key position coordinates in the second plane, the three-dimensional key position coordinates can be accurately obtained. Furthermore, the third antenna on the vehicle can be used to calibrate the first two-dimensional key position coordinates, thus making the two-dimensional target position even more accurate.
[0090] Through the above embodiments, when the key establishes a connection with at least two antennas installed on the vehicle, the reception duration of the communication signal transmitted by the key received by each antenna is obtained. The transmission angle of the key relative to each antenna is determined based on the reception duration, and the target position of the key relative to the vehicle is determined based on the at least two transmission angles. In this way, the target position of the key relative to the vehicle is a precise position determined based on the transmission angles of the key relative to at least two antennas. This target position is more accurate than the estimated key position, avoiding the problem of inaccurate key positioning and ensuring the accurate implementation of the key's functions.
[0091] It should be noted that the embodiments of this disclosure can also be further described in the following ways:
[0092] Figure 4 This is a flowchart illustrating a Bluetooth key positioning method based on angle of arrival, according to an embodiment of this disclosure. Figure 4 As shown, the Bluetooth key positioning method based on the angle of arrival includes:
[0093] Step 201: The Bluetooth key establishes a secure connection.
[0094] Step 202: Bluetooth antenna array signal reception.
[0095] The receiver (vehicle-side) uses multiple Bluetooth antennas to simultaneously receive signals from the same transmitter (the mobile phone side of the Bluetooth digital key). Due to the different spatial arrangements of the antennas within the vehicle, the same signal will exhibit a time difference on the Bluetooth antennas. At least two (but usually more) receiving antennas are required, arranged in a specific geometric layout, which can be linear, circular, or more complex shapes. These antennas are used to capture different signals from the same signal source.
[0096] Step 203: Measure the time difference of arrival at different antennas and convert it into the phase difference of the signal.
[0097] Phase difference calculation formula:
[0098] in, Δt is the phase difference of the signal (in radians), f is the frequency of the signal (2.45 GHz), and Δt is the time difference (in ns) measured between different antennas.
[0099] Step 204: Calculate the signal arrival angle based on the phase difference.
[0100] The angle of arrival of the signal is calculated using trigonometric functions, as shown in the following formula:
[0101]
[0102] Where θ is the angle at which the signal arrives at the antenna, and d is the distance between adjacent antennas.
[0103] Step 205: After data correction, the location of the Bluetooth key is obtained.
[0104] Once the angles of the signals received by each antenna are known, geometric positioning methods (such as triangulation) can be used to determine the location of the signal source. Typically, at least two independent angle measurements are needed to calculate a two-dimensional position, and three or more angle measurements can calculate a three-dimensional position. In practical applications, due to multipath effects, environmental interference, and other factors, the measurement and calculation processes may contain errors. Therefore, various signal processing and algorithm optimization techniques are required to improve positioning accuracy.
[0105] Through the above embodiments, combined with user vehicle usage scenarios, the Bluetooth key positioning method is enhanced, improving positioning accuracy and thus improving the user's vehicle experience. This overcomes the limitations of relying solely on traditional RSSI signal strength for positioning, optimizing both the accuracy and user experience of Bluetooth key positioning. Furthermore, by measuring the angle of arrival, BLE AOA can achieve meter-level or even sub-meter-level positioning accuracy. Utilizing BLE technology, tags or mobile devices can operate in low-power mode, extending battery life. Compared to other high-precision positioning technologies, such as Ultra Wide Band (UWB), BLE AOA has lower hardware costs.
[0106] It should be noted that the method of this disclosure embodiment can be executed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method of this disclosure embodiment, and the multiple devices will interact with each other to complete the method described.
[0107] It should be noted that the above description describes some embodiments of this disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0108] Based on the same inventive concept, corresponding to any of the above embodiments, this disclosure also provides a vehicle key positioning device.
[0109] refer to Figure 5 The vehicle key positioning device includes:
[0110] The acquisition module 301 is configured to acquire the reception duration of the communication signal transmitted by the key received by each antenna in response to determining that the key has established a connection with at least two antennas installed on the vehicle.
[0111] The determining module 302 is configured to determine the transmission angle of the key relative to each antenna based on the reception duration, and to determine the target position of the key relative to the vehicle based on at least two transmission angles.
[0112] In some embodiments, the determining module 302 includes:
[0113] A phase difference determination unit is configured to determine the phase difference of the communication signal based on the reception duration;
[0114] The transmission angle determination unit is configured to determine the transmission angle of the key relative to each antenna based on the phase difference;
[0115] The target location determination unit is configured to determine the target location of the key relative to the vehicle based on at least two transmission angles and the distance between two adjacent antennas.
[0116] In some embodiments, the phase difference determination unit includes:
[0117] A frequency determination subunit is configured to determine the frequency of the communication signal;
[0118] A phase difference determination subunit is configured to determine the phase difference of the communication signal based on the reception duration and the frequency.
[0119] In some embodiments, the emission angle determination unit includes:
[0120] A wavelength determination subunit is configured to determine the wavelength of the communication signal;
[0121] A distance determination subunit is configured to determine the distance between two adjacent antennas of the at least two antennas;
[0122] The transmission angle determination subunit is configured to determine the transmission angle of the key relative to each antenna based on the phase difference, the wavelength, and the distance between two adjacent antennas.
[0123] In some embodiments, the target location determination unit includes:
[0124] The antenna position coordinate determination subunit is configured to determine the antenna position coordinates of at least two antennas in a constructed coordinate system;
[0125] The target location determination subunit is configured to determine the key position coordinates in the coordinate system based on the at least two transmission angles, the distance between the two adjacent antennas, and the antenna position coordinates, and convert the key position coordinates into the target position of the key relative to the vehicle.
[0126] In some embodiments, the at least two antennas provided on the vehicle include: a first antenna and a second antenna;
[0127] The target location determining subunit is specifically configured as follows:
[0128] Based on the first transmission angle of the key relative to the first antenna, the second transmission angle of the key relative to the second antenna, the distance between the first antenna and the second antenna, the position coordinates of the first antenna and the position coordinates of the second antenna, the first two-dimensional key position coordinates in the first plane of the coordinate system are determined;
[0129] The first two-dimensional key position coordinates are converted into the two-dimensional target position of the key relative to the vehicle.
[0130] In some embodiments, the at least two antennas provided on the vehicle further include: a third antenna;
[0131] After converting the first two-dimensional key position coordinates into the two-dimensional target position of the key relative to the vehicle, the target position determination subunit is further configured as follows:
[0132] Based on the first transmission angle of the key relative to the first antenna, the third transmission angle of the key relative to the third antenna, the distance between the first antenna and the third antenna, the position coordinates of the first antenna and the position coordinates of the third antenna, the second two-dimensional key position coordinates in the second plane of the coordinate system are determined; wherein, the first plane and the second plane are two mutually perpendicular planes;
[0133] Based on the two-dimensional target position and the second two-dimensional key position coordinates, the three-dimensional target position of the key relative to the vehicle is determined.
[0134] For ease of description, the above apparatus is described in terms of its functions, divided into various modules. Of course, in implementing this disclosure, the functions of each module can be implemented in one or more software and / or hardware.
[0135] The apparatus described above is used to implement the corresponding vehicle key positioning method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0136] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle key positioning method described in any of the above embodiments.
[0137] Figure 6 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.
[0138] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0139] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0140] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.
[0141] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB (Universal Serial Bus), network cable, etc.) or wireless means (such as mobile network, WIFI (Wireless Fidelity), etc.).
[0142] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.
[0143] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.
[0144] The electronic devices described above are used to implement the corresponding vehicle key positioning method in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0145] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the vehicle key positioning method as described in any of the above embodiments.
[0146] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0147] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the vehicle key positioning method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0148] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a vehicle, including a vehicle key positioning device, or electronic device, or storage medium as described in the above embodiments, wherein the vehicle device implements the vehicle key positioning method described in any of the above embodiments.
[0149] The vehicle described in the above embodiments is used to implement the vehicle key positioning method described in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0150] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this disclosure is limited to these examples; within the framework of this disclosure, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this disclosure as described above, which are not provided in detail for the sake of brevity.
[0151] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this disclosure, the provided drawings may or may not show well-known power / ground connections to integrated circuit (IC) chips and other components. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this disclosure, and this also takes into account the fact that the details of implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this disclosure will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuitry) have been set forth to describe exemplary embodiments of this disclosure, it will be apparent to those skilled in the art that the embodiments of this disclosure may be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0152] Although this disclosure has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.
[0153] This disclosure is intended to cover all such substitutions, modifications, and variations that fall within the broad scope of this disclosure. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the protection scope of this disclosure.
Claims
1. A method for locating a vehicle key, characterized in that, The method includes: In response to determining that the key has established a connection with at least two antennas installed on the vehicle, the reception duration of the communication signal transmitted by the key received by each antenna is obtained; The transmission angle of the key relative to each antenna is determined based on the reception duration, and the target position of the key relative to the vehicle is determined based on at least two transmission angles; The at least two antennas installed on the vehicle include: a first antenna, a second antenna, and a third antenna; Determining the target position of the key relative to the vehicle based on at least two launch angles includes: The third two-dimensional key position coordinates in the first plane of the coordinate system are determined based on the first antenna and the second antenna; the fourth two-dimensional key position coordinates in the first plane of the coordinate system are determined based on the first antenna and the third antenna; and the fifth two-dimensional key position coordinates in the first plane of the coordinate system are determined based on the second antenna and the third antenna. Determine the first deviation coefficient between the third and fourth two-dimensional key position coordinates, determine the second deviation coefficient between the third and fifth two-dimensional key position coordinates, and determine the third deviation coefficient between the fourth and fifth two-dimensional key position coordinates. The minimum deviation coefficient is determined from the first deviation coefficient, the second deviation coefficient, and the third deviation coefficient. The two two-dimensional key position coordinates corresponding to the minimum deviation coefficient are averaged to obtain the target two-dimensional key position coordinates. The target two-dimensional key position coordinates are then converted into the two-dimensional target position of the key relative to the vehicle.
2. The method according to claim 1, characterized in that, The step of determining the transmission angle of the key relative to each antenna based on the reception duration, and determining the target position of the key relative to the vehicle based on at least two transmission angles, includes: The phase difference of the communication signal is determined based on the reception duration; The transmission angle of the key relative to each antenna is determined based on the phase difference; The target position of the key relative to the vehicle is determined based on at least two transmission angles and the distance between two adjacent antennas.
3. The method according to claim 2, characterized in that, Determining the phase difference of the communication signal based on the reception duration includes: Determine the frequency of the communication signal; The phase difference of the communication signal is determined based on the reception duration and the frequency.
4. The method according to claim 2, characterized in that, Determining the transmission angle of the key relative to each antenna based on the phase difference includes: Determine the wavelength of the communication signal; Determine the distance between any two adjacent antennas in the at least two antennas; The transmission angle of the key relative to each antenna is determined based on the phase difference, the wavelength, and the distance between two adjacent antennas.
5. The method according to claim 2, characterized in that, Determining the target position of the key relative to the vehicle based on at least two transmission angles and the distance between two adjacent antennas includes: Determine the antenna position coordinates of at least two antennas in the constructed coordinate system; Based on the at least two transmission angles, the distance between the two adjacent antennas, and the antenna position coordinates, the key position coordinates in the coordinate system are determined, and the key position coordinates are converted into the target position of the key relative to the vehicle.
6. The method according to claim 5, characterized in that, The process of determining the key's position coordinates in a coordinate system based on the at least two transmission angles, the distance between two adjacent antennas, and the antenna position coordinates, and converting the key's position coordinates into the key's target position relative to the vehicle, includes: Based on the first transmission angle of the key relative to the first antenna, the second transmission angle of the key relative to the second antenna, the distance between the first antenna and the second antenna, the position coordinates of the first antenna and the position coordinates of the second antenna, the first two-dimensional key position coordinates in the first plane of the coordinate system are determined; The first two-dimensional key position coordinates are converted into the two-dimensional target position of the key relative to the vehicle.
7. The method according to claim 6, characterized in that, After converting the first two-dimensional key position coordinates into the two-dimensional target position of the key relative to the vehicle, the method further includes: Based on the first transmission angle of the key relative to the first antenna, the third transmission angle of the key relative to the third antenna, the distance between the first antenna and the third antenna, the position coordinates of the first antenna and the position coordinates of the third antenna, the second two-dimensional key position coordinates in the second plane of the coordinate system are determined; wherein, the first plane and the second plane are two mutually perpendicular planes; Based on the two-dimensional target position and the second two-dimensional key position coordinates, the three-dimensional target position of the key relative to the vehicle is determined.
8. A vehicle key positioning device, characterized in that, include: The acquisition module is configured to acquire the reception duration of the communication signal transmitted by the key received by each antenna in response to determining that the key has established a connection with at least two antennas installed on the vehicle; The determination module is configured to determine the transmission angle of the key relative to each antenna based on the reception duration, and to determine the target position of the key relative to the vehicle based on at least two transmission angles; The at least two antennas installed on the vehicle include: a first antenna, a second antenna, and a third antenna; The determining module is specifically configured as follows: The third two-dimensional key position coordinates in the first plane of the coordinate system are determined based on the first antenna and the second antenna; the fourth two-dimensional key position coordinates in the first plane of the coordinate system are determined based on the first antenna and the third antenna; and the fifth two-dimensional key position coordinates in the first plane of the coordinate system are determined based on the second antenna and the third antenna. Determine the first deviation coefficient between the third and fourth two-dimensional key position coordinates, determine the second deviation coefficient between the third and fifth two-dimensional key position coordinates, and determine the third deviation coefficient between the fourth and fifth two-dimensional key position coordinates. The minimum deviation coefficient is determined from the first deviation coefficient, the second deviation coefficient, and the third deviation coefficient. The two two-dimensional key position coordinates corresponding to the minimum deviation coefficient are averaged to obtain the target two-dimensional key position coordinates. The target two-dimensional key position coordinates are then converted into the two-dimensional target position of the key relative to the vehicle.
9. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor, when executing the program, implements the method as claimed in any one of claims 1 to 7.
10. A vehicle, characterized in that, This includes the vehicle key positioning device as described in claim 8 or the electronic device as described in claim 9.
Citation Information
Patent Citations
Simple AOA signal incoming wave angle calculation system and method thereof
CN113740799A
Intelligent key three-dimensional positioning method and device for vehicle
CN114415108A
Digital key positioning system based on Bluetooth AoA positioning and ranging time sequence synchronization
CN114827887A
Bluetooth key positioning method and system, storage medium, electronic equipment and vehicle
CN115866508A
