Positioning circuit, positioning system and positioning method based on Bluetooth AOA communication
Through the positioning circuit based on Bluetooth AOA communication, using phase compensation and phase difference calculation of multiple antenna units, the problems of low accuracy and cumbersome steps of traditional positioning methods are solved, and the efficient and precise positioning of electronic devices is achieved, and it is suitable for a variety of industries. environment.
Patent Information
- Application Number
- CN201910993117.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-10-18
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2039-10-18
AI Technical Summary
The traditional positioning method has low positioning accuracy and efficiency for electronic equipment, and the operation steps are cumbersome, resulting in high cost and difficult to apply to different industrial environments.
The positioning circuit based on Bluetooth AOA communication is adopted, including the RF communication module, the switch switching module, the Bluetooth communication module, the calibration compensation module and the positioning control module. Through the phase compensation and phase difference calculation of multiple antenna units, the coordinates of the electronic device are directly obtained. Simplify positioning steps and improve accuracy.
It realizes accurate positioning of electronic equipment under preset coordinate systems, reduces positioning costs, improves positioning efficiency and accuracy, and is suitable for a variety of industrial environments.
Smart Images

Figure CN110740505B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of positioning technology, and in particular relates to a positioning circuit based on Bluetooth AOA communication, a positioning system based on Bluetooth AOA communication, and a positioning method based on Bluetooth AOA communication. Background Art
[0002] With the continuous improvement of modern industrial level, the positioning technology of electronic equipment has been widely used in various technical fields such as mobile maps, aircraft flight and vehicle-mounted equipment driving. By real-time tracking of electronic equipment, the specific location of electronic equipment in the external environment can be obtained in real time to meet people's location tracking needs; and by accurately positioning electronic equipment, electronic equipment can achieve safer and more comprehensive circuit functions, thereby improving the value of electronic equipment; therefore, accurate and rapid detection of the spatial position of electronic equipment has important practical significance for the application scope of electronic equipment.
[0003] However, the positioning methods in traditional technologies often involve dependent variables of multiple electronic devices. In order to obtain the position of the electronic device in space more accurately, traditional technologies need to perform complex and tedious conversion processing on the parameters collected by the electronic device. The parameter processing process will involve a large number of intermediate variables, and then obtain the precise position of the electronic device in space. This not only results in low positioning efficiency and compatibility for the electronic device, but also affects the positioning accuracy of the electronic device, increases the positioning cost, and the positioning steps are relatively complicated, which is difficult to meet the user's safety positioning needs, and brings great inconvenience to the user. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a positioning circuit based on Bluetooth AOA communication, a positioning system based on Bluetooth AOA communication and a positioning method based on Bluetooth AOA communication, aiming to solve the problems that traditional technical solutions have low positioning accuracy and efficiency for electronic devices, and their operation steps are cumbersome, resulting in high costs for traditional positioning methods and inability to be universally applicable to various industrial environments.
[0005] A first aspect of an embodiment of the present application provides a positioning circuit based on Bluetooth AOA communication, including:
[0006] A radio frequency communication module, used for inputting and detecting radio frequency signals;
[0007] A switch switching module, connected to the radio frequency communication module, the switch switching module is used to control at least one power supply branch to be turned on or off according to the control signal, and when the power supply branch is turned on, output a driving signal according to the radio frequency signal;
[0008] A Bluetooth communication module, connected to the switch switching module and connected to the device to be tested by Bluetooth, wherein the Bluetooth communication module includes at least four antenna units, at least four antenna units are connected to the switch switching module, at least four antenna units are distributed at preset positions in a preset coordinate system, and each antenna unit is used to receive a first Bluetooth communication signal emitted by the device to be tested according to the drive signal when receiving a drive signal;
[0009] A calibration compensation module is connected to the calibration device and the device to be tested, and the calibration compensation module is used to obtain the phase compensation value of each antenna unit according to the phase difference between the phase of the second Bluetooth communication signal sent by the calibration device and the phase of the preset communication signal received by each antenna unit; a positioning control module is connected to the Bluetooth communication module by Bluetooth and is connected to the device to be tested and the calibration compensation module, and the positioning control module is used to obtain the azimuth of the device to be tested relative to the coordinate origin of the preset coordinate system and obtain the relative distance between the device to be tested and the coordinate origin according to the phase compensation values of at least four antenna units and the phase difference between at least four first Bluetooth communication signals received by at least four antenna units.
[0010] In one embodiment, the switch switching module includes at least one single-pole 3-throw switch and / or a single-pole 4-throw switch.
[0011] In one embodiment, all of the antenna units are integrated into a Bluetooth chip, wherein the Bluetooth chip is disposed on a wiring layer of the circuit board.
[0012] In one embodiment, the phase of the preset communication signal is equal to the average value of the phases of at least four second Bluetooth communication signals received by at least four antenna units, and the distance between the verification device and each antenna unit is equal.
[0013] In one embodiment, the Bluetooth communication module includes: nine antenna units, and the nine antenna units are arranged in a square array of three rows and three columns on the wiring layer of the circuit board.
[0014] In one embodiment, the phase of the preset communication signal is equal to the phase of the second Bluetooth communication signal sent by the verification device received by the preset antenna unit;
[0015] The preset antenna unit refers to: among the nine antenna units, the antenna unit located in the central area of the square area surrounded by the square array of three rows and three columns.
[0016] In one embodiment, the Bluetooth communication module includes four antenna groups, each of which includes four antenna units, and the four antenna units in each antenna group are arranged in a square array of two rows and two columns on the wiring layer of the circuit board;
[0017] The positioning control module establishes a Bluetooth connection with any one of the antenna groups, and is specifically used to obtain the azimuth of the device to be tested relative to the coordinate origin and the relative distance between the device to be tested and the coordinate origin based on the phase compensation values of the four antenna units in the antenna group and the phase difference between the four received first Bluetooth communication signals.
[0018] In one embodiment, it also includes:
[0019] The control module is connected to the switch module, and is used to generate the control signal.
[0020] A second aspect of an embodiment of the present application provides a positioning system based on Bluetooth AOA communication, including:
[0021] The equipment under test; and
[0022] At least one base station, each of which comprises a positioning circuit as described above, and each of which is used to obtain the position of the device to be tested in a preset coordinate system.
[0023] A third aspect of an embodiment of the present application provides a positioning method based on Bluetooth AOA communication, including:
[0024] Input and detect radio frequency signals;
[0025] Controlling at least one power supply branch to be turned on or off according to the control signal, and when the power supply branch is turned on, outputting a driving signal according to the radio frequency signal;
[0026] According to the driving signal, an antenna unit is used to receive a first Bluetooth communication signal sent by the device to be tested;
[0027] Using a verification device to send a second Bluetooth communication signal, and obtaining a phase compensation value of each antenna unit according to a phase difference between a phase of the second Bluetooth communication signal received by each antenna unit and a phase of a preset communication signal;
[0028] According to the phase difference between at least four of the first Bluetooth communication signals received by at least four of the antenna units and the phase compensation values of at least four of the antenna units, the azimuth of the device to be tested relative to the coordinate origin of a preset coordinate system is obtained, and the relative distance between the device to be tested and the coordinate origin is obtained.
[0029] The above positioning circuit based on Bluetooth AOA communication can control the switch switching module to conduct at least one power supply branch through a control signal to output at least one driving signal. The calibration compensation module can perform real-time calibration on the Bluetooth communication states of multiple antenna units in a standard communication environment to overcome the positioning error caused by the error of the communication state of the multiple antenna units themselves, thereby ensuring the positioning accuracy of the positioning circuit for the device to be tested; the positioning control module can obtain the angle value and the distance value according to the phase difference between the multiple first Bluetooth communication signals received by the multiple antenna units under the compensated Bluetooth communication conditions, thereby obtaining the precise coordinates of the device to be tested in the preset coordinate system, and the positioning step is relatively simple. The positioning control module does not need to measure the angle value of the device to be tested in the preset coordinate system, thereby reducing the intermediate variables, and can directly obtain the actual position of the device to be tested according to the phase difference, thereby greatly simplifying the positioning step for the device to be tested, thereby saving the positioning measurement cost of the device to be tested; thus, the embodiment of the present application has a higher actual coordinate test efficiency for the device to be tested, avoiding the problem of position detection error caused by the system error of the Bluetooth communication itself, and the positioning circuit can be universally applicable to various different external environments to obtain the accurate position of the device to be tested in real time, with high practical value. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0031] Figure 1 A schematic diagram of the structure of a positioning circuit based on Bluetooth AOA communication provided in one embodiment of the present application;
[0032] Figure 2 A schematic diagram of the structure of a switch switching module provided in an embodiment of the present application;
[0033] Figure 3 A schematic diagram of the structure of a Bluetooth communication module provided in one embodiment of the present application;
[0034] Figure 4 Another structural schematic diagram of a Bluetooth communication module provided in one embodiment of the present application;
[0035] Figure 5 Another structural schematic diagram of a positioning circuit based on Bluetooth AOA communication provided in one embodiment of the present application;
[0036] Figure 6A schematic diagram of a preset coordinate system provided in an embodiment of the present application;
[0037] Figure 7 Another schematic diagram of a preset coordinate system provided in an embodiment of the present application;
[0038] Figure 8 A schematic diagram of the distribution of antenna groups provided in one embodiment of the present application;
[0039] Fig. 9 A schematic diagram of the structure of a positioning system based on Bluetooth AOA communication provided in one embodiment of the present application;
[0040] Fig.10 A detailed flow chart of a positioning method based on Bluetooth AOA communication provided in an embodiment of the present application;
[0041] Fig.11 An embodiment of the present application provides Fig.10 The specific flow chart of the positioning method S1005 based on Bluetooth AOA communication is shown. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] It should be noted that if it is necessary to determine the specific position of an object in a coordinate system, two parameters need to be confirmed: the distance value and the angle value. Only by combining the distance value and the angle value can the specific position of the object relative to the reference system be accurately determined. Based on this, the positioning circuit in the embodiment of the present application can accurately obtain the distance value and angle value of the device to be tested in the preset reference system, which not only reduces the intermediate variables in the positioning measurement process of the device to be tested, simplifies the positioning measurement steps of the device to be tested, but also can eliminate the positioning error of the device to be tested caused by the communication error of the circuit itself, greatly improving the positioning measurement accuracy of the device to be tested. Therefore, the positioning circuit has a wider range of applications.
[0044] It should be noted that the AOA (Angle Of Arrival) communication device obtains the position of an object by sensing the sending of a signal or the communication state of an arrival signal; therefore, the positioning circuit 10 in this article can realize the Bluetooth AOA communication function to accurately and quickly obtain the actual position of the object, and has a wide range of applications.
[0045] See also Figure 1, a schematic diagram of the structure of a positioning circuit 10 based on Bluetooth AOA communication provided in an embodiment of the present application, wherein the positioning circuit 10 is connected to the device to be tested 20 by Bluetooth, and then the positioning circuit 10 can receive the signal sent by the device to be tested 20 in the form of Bluetooth wireless transmission to realize the wireless positioning function of the device to be tested 20, wherein the Bluetooth communication method not only has high signal transmission accuracy, but also can be generally applied to various different communication environments, and has high communication compatibility; therefore, the positioning circuit 10 uses Bluetooth communication to realize accurate measurement of the device to be tested 20, which brings great convenience to the user; for the convenience of explanation, only the part related to this embodiment is shown, which is described in detail as follows:
[0046] The positioning circuit 10 comprises: a radio frequency communication module 101 , a switch module 102 , a Bluetooth communication module 103 , a calibration compensation module 104 and a positioning control module 105 .
[0047] The radio frequency communication module 101 is used to input and detect radio frequency signals.
[0048] The RF communication module 101 has a signal transmission function. Exemplarily, the RF communication module 101 can detect parameter information such as phase and frequency of the RF signal in real time; the RF communication function can be realized through the RF communication module 101, and the operating state of the electronic components can be changed according to the RF signal to start the positioning and measurement function of the positioning circuit 10 for the device to be tested 20. The RF communication module 101 has high communication efficiency and communication accuracy, which improves the positioning control efficiency of the positioning circuit 10, and then the positioning and measurement steps of the device to be tested 20 can be controlled by the RF signal, and the control steps are relatively simplified.
[0049] The switch switching module 102 is connected to the RF communication module 101, and is used to control at least one power supply branch to be turned on or off according to the control signal, and when the power supply branch is turned on, output a driving signal according to the RF signal.
[0050] The control signal has an on-off control function, and the control signal can change the on or off state of multiple power supply branches inside the switch switching module 102 in real time. The switch switching module 102 can output multiple drive signals according to the radio frequency signal, and the Bluetooth communication function can be realized based on the drive signal; therefore, the switch switching module 102 in this embodiment simultaneously accesses the control signal and the radio frequency signal, and controls multiple power supply branches to be turned on in real time through the control signal. When each power supply branch is turned on, the power supply branch realizes the power transmission function to output the drive signal; by combining multiple power supply branches, multiple drive signals can be synchronously output to realize the positioning test function for the device to be tested 20; therefore, the switch switching module 102 has high control accuracy and control efficiency, and utilizes the on state or off state of the power supply branch of the switch switching module 102 to realize the positioning drive function of the device to be tested 20, further simplifies the positioning control step of the device to be tested 20, improves the positioning control efficiency of the device to be tested 20, and is conducive to improving the application scope of the positioning circuit 10.
[0051] The Bluetooth communication module 103 is connected to the switch module 102, and the Bluetooth communication module 103 is connected to the device to be tested 20 by Bluetooth. The Bluetooth communication module 103 includes at least four antenna units ( Figure 1 Represented by 1031, 1032...103N, where N is a positive integer greater than 3), at least four antenna units are connected to the switch switching module 102, wherein at least four antenna units are distributed at preset positions in a preset coordinate system, and each antenna unit is used to receive a first Bluetooth communication signal emitted by the device to be tested 20 according to the driving signal when receiving a driving signal.
[0052] The Bluetooth communication module 103 can realize the function of Bluetooth communication, and the device to be tested 20 has a signal output function. A complete first Bluetooth communication signal is generated by the device to be tested 20, and then the Bluetooth communication module 103 can wirelessly receive multiple first Bluetooth communication signals. Since the device to be tested 20 and the Bluetooth communication module 103 are arranged relative to each other, each antenna unit can wirelessly receive the corresponding first Bluetooth communication signal, and the precise positioning of the device to be tested 20 is completed according to the first Bluetooth communication signals received by multiple antenna units, thereby improving the communication compatibility and stability of the Bluetooth communication module 103.
[0053] Specifically, the preset coordinate system is a pre-set reference coordinate system, through which the actual position of each object can be more conveniently described, so as to facilitate a more scientific and reasonable positioning and measurement function for the device to be tested 20; each antenna unit in the Bluetooth communication module 103 is located at a specific coordinate in the reference coordinate system, so that the device to be tested 20 and multiple antenna units maintain a specific relative position relationship, and then the multiple antenna units can maintain Bluetooth communication with the device to be tested 20 in a more comprehensive manner, so as to achieve accurate measurement of the device to be tested 20, and the positioning circuit 10 has high communication compatibility and stability; wherein, at least four antenna units are connected to at least four power supply branches in a one-to-one correspondence, and the power supply branches are controlled to be turned on or off to achieve switching between different antenna units, so as to obtain the phase difference of the first Bluetooth communication signal output by the device to be tested 20 to reach different antenna units, so as to reversely infer the distance difference, and then obtain the actual position of the device to be tested 20 in the preset coordinate system, so as to achieve the accurate positioning function of the device to be tested 20.
[0054] When a power supply branch is turned on, the corresponding antenna unit can be connected to the driving signal in real time, and the communication state of the antenna unit can be adjusted through the driving signal so that the antenna unit receives a first Bluetooth communication signal. The antenna unit has high communication compatibility and stability, and then the multiple antenna units in the preset coordinate system receive multiple first Bluetooth communication signals, and maintain real-time Bluetooth communication function with the device to be tested 20. The antenna unit has higher communication control accuracy and ease of operation. According to the multiple first Bluetooth communication signals received by the Bluetooth communication module 103, the precise positioning function of the device to be tested 20 can be achieved, and the operation is easy.
[0055] The calibration compensation module 104 is connected to the verification device 30 and the device under test 20. The calibration compensation module 104 is used to obtain the phase compensation value of each antenna unit based on the phase difference between the phase of the second Bluetooth communication signal sent by the verification device 30 received by each antenna unit and the phase of the preset communication signal.
[0056] When each antenna unit is performing wireless signal communication and each power supply branch is conducting, there will be large differences in the driving signals received by the antenna units, which will cause the communication status between the multiple antenna units to be unable to maintain standard consistency, resulting in positioning errors; since the phase difference caused by the communication status of the multiple antenna units themselves belongs to the system error in the positioning measurement process, this system error will cause a large measurement error in the positioning test of the device to be tested 20; therefore, this embodiment uses the verification device 30 to pre-implement the phase calibration function for the multiple antenna units to overcome the positioning error caused by the communication baking error of the multiple antenna units themselves.
[0057] Specifically, the preset communication signal is pre-set, and the preset communication signal represents a reference signal in the positioning measurement process of the device to be tested 20. Taking the phase of the preset communication signal as a reference, when the verification device 30 generates a second Bluetooth communication signal and sends the second Bluetooth communication signal to each antenna unit at the same time, the communication error degree of the antenna unit can be accurately evaluated according to the phase difference between the preset communication signal and each second Bluetooth communication signal received by the antenna unit. For example, the phase of the second Bluetooth communication signal received by the antenna unit lags behind or leads the phase of the preset communication signal, and then according to each second Bluetooth communication signal received by the antenna unit, the communication error degree of the antenna unit can be accurately evaluated. The phase difference between the phase of the signal and the preset communication signal can obtain the phase compensation value of the corresponding antenna unit in real time. The first Bluetooth communication signal received by the antenna unit is phase compensated according to the phase compensation value. The communication states of the multiple antenna units after phase compensation can remain completely consistent, and the transmission accuracy and transmission efficiency of the first Bluetooth communication signal are higher, so as to achieve a higher-precision positioning measurement function for the device to be tested 20, improve the accuracy of the positioning control of the positioning circuit 10, and effectively eliminate the positioning errors caused by the communication errors of the multiple antenna units themselves. The positioning measurement process of the positioning circuit 10 has higher communication anti-interference.
[0058] The positioning control module 105 is connected to the Bluetooth communication module 103 through Bluetooth, and is connected to the device to be tested 20 and the calibration compensation module 104. The positioning control module 105 is used to obtain the azimuth of the device to be tested 20 relative to the coordinate origin of the preset coordinate system based on the phase compensation values of at least four antenna units and the phase difference between at least four first Bluetooth communication signals received by at least four antenna units, and obtain the relative distance between the device to be tested 20 and the coordinate origin.
[0059] The positioning control module 105 has the function of position analysis and acquisition. The positioning control module 105 is connected to at least four antenna units. When the device to be tested 20 sends out a first Bluetooth communication signal, each antenna unit receives one channel of the first Bluetooth communication signal. Since there is a specific relative position relationship between the antenna unit and the device to be tested 20, the first Bluetooth communication signal received by each antenna unit has a specific phase. The positioning control module 105 can determine the specific coordinates of the device to be tested 20 in a preset coordinate system according to the first Bluetooth communication signal received by the antenna unit. Exemplarily, since the specific position of each antenna unit in the preset coordinate system is known in advance, when each antenna unit receives the first Bluetooth communication signal sent by the device to be tested 20, the position of the device to be tested 20 in the preset coordinate system can be obtained. Specifically, when the switch switching module 102 outputs one channel of driving signal at regular intervals, the driving signal drives one channel of the first Bluetooth communication signal. Each antenna unit receives a first Bluetooth communication signal, and the relative distance between the device to be tested 20 and the coordinate origin is obtained according to the phase difference between the first Bluetooth communication signals received by the antenna unit at regular intervals, and the distance distribution law of the device to be tested 20 can be determined according to the relative distance; the phases of the first Bluetooth communication signals received by the multiple antenna units are different, so after phase compensation is performed on the antenna units, the angle value of the device to be tested 20 in the preset coordinate system can be accurately determined according to the phase difference between the multiple first Bluetooth communication signals received by the multiple antenna units, so the angle value can be obtained according to the phase difference of the first Bluetooth communication signals received by the multiple antenna units, and there is no need to measure the angle value of the device to be tested 20 in the preset coordinate system, which saves intermediate variables, ensures the angle measurement accuracy and angle measurement efficiency of the device to be tested 20 in the preset coordinate system, and the positioning accuracy of the device to be tested 20 is high, and the practical value is extremely high.
[0060] Exemplarily, if two antenna units receive two first Bluetooth communication signals respectively, where the first first Bluetooth communication signal leads the second first Bluetooth communication signal by 180 degrees in phase, and the first antenna unit receives the first first Bluetooth communication signal, and the second antenna unit receives the second first Bluetooth communication signal, due to the communication difference between the first antenna unit and the second antenna unit, after calibration compensation, the phase compensation value of the first antenna unit is +30 degrees, and the phase compensation value of the second antenna unit is -30 degrees, then after phase compensation is performed on the first first Bluetooth communication signal and the second first Bluetooth communication signal respectively, the first first Bluetooth communication signal after phase compensation is A Bluetooth communication signal actually leads the phase of the second first Bluetooth communication signal by 120 degrees relative to the phase compensation; by analogy, when there are four antenna units, according to the four corresponding first Bluetooth communication signals received by the four antenna units, and after phase compensation is performed on each first Bluetooth communication signal, according to the phase difference between the four phase-compensated first Bluetooth communication signals, the actual angle value and actual distance value of the device to be tested 20 in the preset coordinate system can be accurately obtained, thereby avoiding the spatial positioning error of the device to be tested 20 caused by the communication state error between multiple antenna units, and greatly improving the positioning measurement accuracy and efficiency of the positioning circuit 10 for the device to be tested 20.
[0061] exist Figure 1In the structural schematic diagram of the positioning circuit 10, a multi-channel driving signal can be output through the switch switching module 102, and the multi-channel driving signal can enable multiple antenna units to realize the Bluetooth communication function, and the multiple antenna units can respectively receive multiple first Bluetooth communication signals to realize the wireless positioning function of the device to be tested 20; and the calibration compensation module 104 evaluates and measures the Bluetooth communication error of each antenna unit according to the preset communication signal, and obtains the phase compensation value of each antenna unit, and then the communication state error between the multiple antenna units can be compensated according to the phase compensation value, so as to realize the accurate phase measurement and positioning of the device to be tested 20, and eliminate the positioning error of the device to be tested 20 caused by the system error of the positioning circuit 10; after performing phase compensation on multiple antenna units, the angle value and distance value of the device to be tested 20 in the preset coordinate system are obtained according to the phase difference of the first Bluetooth communication signal received by at least four antenna units, and then the coordinates of the device to be tested 20 in the preset coordinate system can be accurately obtained in combination with the azimuth and relative distance, completing the positioning of the device to be tested. The present invention has the precise positioning function of the device 20, and has high practical value; the present embodiment adopts the phase difference after phase compensation to obtain the angle value and distance value of the device 20 to be tested, and there is no need to directly measure the angle value of the device 20 to be tested, which reduces the intermediate variables in the positioning test process of the device 20 to be tested, simplifies the positioning test steps of the device 20 to be tested, effectively reduces the positioning control cost of the positioning circuit 10, and brings great convenience to the user; thus, the positioning circuit 10 in the present embodiment has high positioning test accuracy and positioning test efficiency for the device 20 to be tested, can accurately obtain the specific coordinates of the device 20 to be tested in the preset coordinate system, has a small positioning error, and can be universally applicable to various different industrial and technical fields; effectively solves the technical problem that more intermediate variables will be generated in the process of positioning electronic equipment by traditional technology, which increases the complexity and cumbersomeness of the positioning test process, the positioning test cost of electronic equipment is high, the positioning accuracy and efficiency are low, it is difficult to be universally applicable to various different industrial and technical fields, and it brings great inconvenience to the user.
[0062] It should be noted that the "device to be tested 20" and "verification device 30" in this article are various types of mobile terminals in this field, which are not limited in this article; for example, the "device to be tested 20" and "verification device 30" are both mobile phones, etc.
[0063] As an optional implementation, the switch switching module 102 includes at least one single-pole 3-throw switch and / or a single-pole 4-throw switch; the single-pole 3-throw switch and / or the single-pole 4-throw switch has multiple signal output terminals, and then multiple output terminals of the single-pole 3-throw switch and / or the single-pole 4-throw switch are selected to be turned on according to the control signal, thereby forming multiple power supply branches and sending multiple drive signals to realize the positioning control function of the device to be tested 20. Therefore, the switch switching module 102 in this embodiment has higher switch control accuracy and switch control efficiency, thereby ensuring the control response accuracy during the positioning test process.
[0064] For example, Figure 2 The circuit structure of the switch switching module 102 provided in this embodiment is shown in FIG. Figure 2 The switch switching module 102 includes a single-pole 3-throw switch K1 and five single-pole 4-throw switches ( Figure 2 In the switch switching module 102, a cascaded single-pole 3-throw switch and a plurality of single-pole 4-throw switches are used. When the input end of the single-pole 3-throw switch is connected to a radio frequency signal, the single-pole 3-throw switch and the single-pole 4-throw switch are switched on according to the control signal to output a multi-channel drive signal, thereby achieving a precise positioning function for the device to be tested 20, and the operation is simple; and the single-pole 3-throw switch and the single-pole 4-throw switch have a high switching control efficiency, wherein the switching time of the single-pole 3-throw switch and the single-pole 4-throw switch is less than 2 microseconds. seconds; and then the switch switching module 102 can quickly turn on different power supply branches according to the control signal to realize the output function of the drive signal. Combined with the single-pole 3-throw switch and the single-pole 4-throw switch, the positioning test process of the device to be tested 20 can be accurately and real-time operated, which greatly improves the positioning control efficiency of the positioning circuit 10 and meets the user's positioning control time requirements; therefore, the switch switching module 102 in this embodiment has a more compatible and simplified circuit structure, realizes the precise positioning test function of the device to be tested 20, and has a high control response speed.
[0065] Exemplarily, each antenna unit includes an omnidirectional antenna, which can radiate uniformly in all directions around it to maintain the stability and compatibility of the Bluetooth communication of the antenna unit; therefore, the antenna unit in this embodiment has higher communication compatibility and communication stability to achieve the precise positioning function of the device to be tested 20, and the positioning circuit 10 has higher communication stability and signal transmission accuracy, and has extremely high practical value.
[0066] As an optional implementation, each antenna unit is wound by a wire, and when the antenna unit is connected to a driving signal, the antenna unit can realize the wireless signal receiving and sending function, thereby ensuring the Bluetooth communication efficiency of the antenna unit and simplifying the manufacturing cost and application cost of the Bluetooth communication module 103.
[0067] As an optional implementation, all antenna units in the Bluetooth communication module 103 are integrated into a Bluetooth chip, wherein the Bluetooth chip is disposed on a wiring layer of a circuit board.
[0068] The antenna unit has a Bluetooth communication function, and can receive the first Bluetooth communication signal emitted by the device to be tested 20 through the antenna unit to realize the wireless positioning function, and the communication compatibility is relatively high; therefore, in this embodiment, all antenna units are integrated with a Bluetooth chip, which ensures the integration and control simplicity of the internal electronic components of the Bluetooth communication module 103; the first Bluetooth communication signal can be received respectively through the Bluetooth chip, which ensures the positioning control efficiency of the device to be tested 20; at the same time, in this embodiment, all antenna units are sealed on the same PCB (Printed Circuit Board), and multiple antenna units on the PCB board receive the first Bluetooth communication signal in turn to realize the positioning function of the device to be tested 20, which greatly improves the efficiency and accuracy of Bluetooth communication, and reduces the space occupied by the positioning circuit 10, bringing users a better user experience, reducing the manufacturing cost and application cost of the positioning circuit 10, and having higher practical value.
[0069] As an optional implementation, the phase of the preset communication signal is equal to the average value of the phases of at least four second Bluetooth communication signals received by at least four antenna units, and the distance between the verification device 30 and each antenna unit is equal.
[0070] When the verification device 30 performs Bluetooth communication with the Bluetooth chip, since the spatial distance between the verification device 30 and each antenna unit is equal, if the second Bluetooth communication signals received by all antenna units are consistent and there is no error, then the phases of all second Bluetooth communication signals received by all antenna units will be the same and there will be no phase difference; on the contrary, if there is a phase difference between the second Bluetooth communication signals received by any two antenna units, then the phase difference at this time is caused by the difference in the communication states of the antenna units themselves, which will affect the positioning detection accuracy of the device to be tested 20; therefore, this embodiment uses the average value of the phases of all second Bluetooth communication signals received by the verification device 30 as the reference phase, and uses the reference phase to measure the phase error of the communication state of each antenna unit, thereby improving the accuracy of the positioning detection of the device to be tested 20. The detection accuracy and scientificity of the communication error of the antenna unit are improved; the phase compensation value of the corresponding antenna unit can be obtained according to the difference between the phase of the second Bluetooth communication signal received by each antenna unit and the average value, so in the process of positioning test on the device 20 to be tested, the multiple antenna units after phase compensation have a completely consistent communication state, and the angle value and distance value of the device 20 to be tested can be obtained in real time and accurately according to the phase difference between the multiple first Bluetooth communication signals after phase compensation received by the multiple antenna units, which ensures the positioning accuracy of the device 20 to be tested in the preset coordinate system, and eliminates the positioning error of the device 20 to be tested caused by the communication difference of the antenna unit itself; the positioning circuit 10 in this embodiment has higher anti-interference performance and compatibility, and has higher practical value.
[0071] As an optional implementation, Figure 3 The structure diagram of the Bluetooth communication module 103 provided in this embodiment is shown in FIG. Figure 3 , the Bluetooth communication module 103 includes: nine antenna units ( Figure 3 The nine antenna units are represented by ANT1, ANT2 ... ANT8, ANT9) and are arranged in a square array of three rows and three columns on the wiring layer of the circuit board 301.
[0072] Each antenna unit has a Bluetooth communication function, and when the single-pole 3-throw switch and / or the single-pole 4-throw switch are switched on according to the expenditure signal, the switch switching module 102 can form different power supply branches and output a drive signal. When each antenna unit is connected to the corresponding drive signal through the power supply branch, the antenna unit receives the corresponding first Bluetooth communication signal under the drive of the drive signal. The antenna unit in the Bluetooth communication module 103 has high communication control efficiency and communication control accuracy, thereby realizing an efficient positioning function for the device to be tested 20.
[0073] Therefore, this embodiment improves the Bluetooth communication efficiency of the Bluetooth communication module 103 by integrating nine antenna units to perform Bluetooth communication with the device to be tested 20, and has higher positioning test accuracy and stronger stability for the device to be tested 20; and the nine antenna units are regularly distributed on the circuit board 103, so the communication state of the antenna units has higher control efficiency and control accuracy; and multiple antenna units are arranged in an array on the circuit board 103, which will make the Bluetooth communication module 103 have higher Bluetooth communication efficiency and accuracy, and the antenna units on the circuit board 103 can stably receive the first Bluetooth communication signal emitted by the device to be tested 20, so as to realize the accurate and real-time positioning function of the device to be tested 20, thereby improving the compatibility and practical value of the positioning circuit 10.
[0074] As an optional implementation, the phase of the preset communication signal is equal to the phase of the second Bluetooth communication signal sent by the verification device 30 received by the preset antenna unit.
[0075] The preset antenna unit refers to an antenna unit located in the center area of a square area surrounded by a square array of three rows and three columns among the nine antenna units.
[0076] For example, Figure 3 , wherein the antenna unit ANT5 is a preset antenna unit in the Bluetooth communication module 103, wherein the antenna unit ANT5 is surrounded by the other eight antenna units, and the communication effect of the uniform distribution of the antenna is utilized, and the communication state between the antenna unit ANT5 and the device to be tested 20 has the best communication representativeness; therefore, according to the Bluetooth communication state between the preset antenna unit and the device to be tested 20 as a reference quantity, the phase difference between the phase of the second Bluetooth communication signal received by the preset antenna unit ANT5 and the phase of the second Bluetooth communication signal received by the remaining eight antenna units is compared, and the phase compensation values of the remaining eight antenna units can be accurately obtained, wherein the phase compensation value of the preset antenna unit ANT5 is 0; therefore, the detection step of the phase compensation value of the antenna unit in this embodiment is relatively simple, and the phase compensation value of each antenna unit can be used to perform phase compensation for the first Bluetooth communication signal received by each antenna unit, so that all antenna units can perform Bluetooth communication with the device to be tested 20 in a consistent communication environment, thereby improving the positioning test accuracy and efficiency of the device to be tested 20; and the scope of application is relatively wide.
[0077] As an optional implementation, Figure 4 Another schematic diagram of the structure of the Bluetooth communication module 103 in this embodiment is shown. Figure 4 , the Bluetooth communication module 103 includes four antenna groups ( Figure 4(denoted by 401, 402, 403 and 404), each antenna group includes four antenna units, and the four antenna units in each antenna group are arranged in a square array of two rows and two columns on the circuit board.
[0078] The positioning control module 105 establishes a Bluetooth connection with any antenna group. The positioning control module 105 is specifically used to obtain the azimuth of the device under test 20 relative to the coordinate origin and the relative distance between the device under test 20 and the coordinate origin based on the phase compensation values of the four antenna units in the antenna group and the phase difference between the four received first Bluetooth communication signals.
[0079] This embodiment can respectively communicate with the device to be tested 20 via Bluetooth through the antenna groups, so that the four first Bluetooth communication signals received by the antenna groups have higher accuracy and power; therefore, any antenna group selected on the circuit board 301 can realize the positioning test function for the device to be tested 20, and the distance value and angle value of the device to be tested 20 can be obtained according to the first Bluetooth communication signal sent by the device to be tested 20 received by the antenna group, which simplifies the circuit structure and circuit space layout of the Bluetooth communication module 301, and each antenna group has higher communication compatibility and flexibility; and please refer to Figure 4 Since the four antenna groups share the antenna unit ANT5, the number of antenna units and their wiring structure in the wiring layer of the circuit board 301 are greatly reduced, the positioning test cost of the device to be tested 20 is saved, and the positioning test steps are further simplified; therefore, in the wiring structure of the circuit board 301, the reuse of the antenna unit is realized, on the one hand, the utilization rate of the Bluetooth chip is improved and the space volume of the circuit board 301 is reduced; on the other hand, the four antenna units in the antenna group are combined to achieve high-precision positioning of the device to be tested 20, reduce positioning errors, and bring better user experience.
[0080] As an optional implementation, Figure 5 Another structural diagram of the positioning circuit 10 provided in this embodiment is shown. Figure 1 The structure of the positioning circuit 10 is shown in FIG. Figure 5 The positioning circuit 10 further includes a control module 106, wherein the control module 106 is connected to the switch module 102, and the control module 106 is used to generate a control signal.
[0081] Exemplarily, the control module 106 generates a control signal according to the user's key information, and the Bluetooth communication state of the positioning circuit 10 can be changed through the control signal. The control is simple, so that the positioning circuit 10 can locate the device to be tested 20 according to the user's actual positioning needs, giving the user a good user experience; therefore, this embodiment can change the on or off state of the internal power supply branch of the switch switching module 102 through the control module 106, so that multiple power supply branches can output drive signals in sequence, and the positioning circuit 10 starts the positioning test process for the device to be tested 20, thereby ensuring the communication control security and stability of the positioning circuit 10, and the positioning circuit 10 can be applicable to various different communication environments to realize the rapid positioning function of the device to be tested 20.
[0082] As an optional implementation, the positioning control module 105 includes a single-chip microcomputer chip. Exemplarily, the single-chip microcomputer chip is an STM32 series single-chip microcomputer chip. Furthermore, this embodiment uses the single-chip microcomputer chip to control different antenna units to switch, so that the actual coordinates of the device to be tested 20 in the preset coordinate system can be accurately obtained according to the phase of the first Bluetooth communication signal received by the antenna unit. The steps of the positioning test are relatively simplified, and the positioning accuracy is high, which effectively reduces the positioning control cost and control complexity of the positioning circuit 10 for the device to be tested 20.
[0083] Exemplarily, the specific circuit structure of the calibration compensation module 104 can be implemented using the electronic circuit structure in the traditional technology, thereby improving the circuit structure compatibility of the positioning circuit 10 .
[0084] In order to better illustrate the positioning test principle of the positioning circuit 10 for the device to be tested 20 in this embodiment, the following is combined with the attached Figure 1 To Attachment Figure 5 , the working steps of the positioning circuit 10 are explained through a specific example, as follows:
[0085] In order to more clearly illustrate the positioning test steps of the positioning circuit 10 for the device under test 20, this example implements the positioning function of the device under test 20 in different dimensional spaces.
[0086] 1. When the preset coordinate system is a two-dimensional plane, please refer to Figure 6 At this time, only two antenna units are needed to accurately locate the device to be tested 20 in two-dimensional space; points A and B are the coordinates of the two antenna units, and the coordinate of the device to be tested is C, where the coordinates of points A and B are preset and known quantities, and the coordinate of C is an unknown quantity.
[0087] The phases of the signal sent from point C to points A and B are different. After compensating the phases of the first Bluetooth communication signal received by the two antenna units, it can be directly considered that the phase difference is proportional to △L=AC-BC=λ*△φ / 2π(d<λ), where λ is a preset physical parameter, AC and BC are the distance differences from point C to points A and B, respectively, which are constants, and point C satisfies the hyperbolic equation as follows:
[0088]
[0089] When the distance between point C and points A and B is much greater than the distance d between points AB The coordinate of point C is very close to its asymptote, and the inverse tangent of its slope is the azimuth angle θ.
[0090] tanθ=b / a=sqrt(c*ca*a) / a=sqrt[4π*π*d*d / (λ*λ)-△φ*△φ] / △φ(2)
[0091] Therefore, in a two-dimensional coordinate system, the angle value of the device under test in the preset coordinate system is obtained according to the phase difference of the two first Bluetooth communication signals received by the device under test, and the positioning process is simple.
[0092] 2. When the preset coordinate system is 3D, please refer to Figure 7 , in the above Figure 6 Based on the argument of Figure 7 The coordinates of point C (device to be tested) satisfy the surface equation. This is equivalent to the right half of the double-leaf hyperboloid formed by rotating the hyperbola around the X-axis. Its solid angle is a conical surface formed by rotating the asymptote around the X-axis:
[0093] y 2 +z 2 =x 2 tan 2 θ (3)
[0094] The Bluetooth communication module 103 uses four antenna units to detect the coordinates of the device to be tested in a three-dimensional coordinate system. Figure 8 , Figure 8 The distribution diagram of the antenna group is shown. The antenna group includes four adjacent antenna units. In order to simplify the positioning test steps of the positioning circuit 10 for the device to be tested 20, the coordinate origin of the preset coordinate system is located in the middle of the square array formed by the four antenna units, where point H is the position of the device to be tested, and the difference in distance from point H to any two points A0, A1, A2 and A3 is a constant value, which can be expressed by the following formulas (4) to (6):
[0095]
[0096]
[0097]
[0098] From this we can get three sets of hyperbolic equations:
[0099]
[0100] In the above formula (7), i = 1, 2, 3, then the coordinates of point H are transformed into solving the hyperbolic equation, and the solution is as follows:
[0101] like Figure 8 As shown, the coordinates A of each antenna unit i (x i ,y i ,0), i=0,1,2,3, then the distances from point H to A0, A1, A2 and A3 are:
[0102]
[0103] If we square the equations on both sides of the equal sign in equation (8), we will have the following equation:
[0104]
[0105] Among them, HA i is the distance between the coordinates of the ith antenna unit and the coordinates of point H, HA j,0 It refers to the difference between the distance between the coordinates of the jth antenna unit and the coordinates of point H, and the distance between the coordinates of the first antenna unit (A0) and the coordinates of point H, where j is 1, 2, or 3; HA j,0 =HA j -HA0 can be obtained:
[0106] HA j 2 =(HA j,0 +HA0) 2 (10)
[0107] Combining the above equation (10) and equation (9), we can get:
[0108]
[0109] In the above formula (11), HA i,0It refers to the distance between the coordinates of the i-th antenna unit and the coordinates of point H, and the distance between the coordinates of the first antenna unit (A0) and the coordinates of point H. Since the coordinates of the antenna units are known, the coordinates of the four antenna units in the preset coordinate system are set as: A0 (-30, -30, 0), A1 (-30, 30, 0), A2 (30, 30, 0), A3 (30, -30, 0); in the above formula (9), when i = 0, it can be obtained:
[0110]
[0111] Combining equation (11) and equation (12) and subtracting them, we get
[0112] HA i,0 2 +2HA i,0 HA0=x i 2 +y i 2 -1800-(2x i +60)x-(2y i +60)y (13)
[0113] Setting up HA 1,0 =a,HA 2,0 =b,HA 3,0 =c, HA0 = l, and the coordinates (x i ,y i ,0) into the above formula (13), we can get:
[0114] a 2 +2al=-120y (14)
[0115] b 2 +2bl=-120x--120y (15)
[0116] c 2 +2cl=-120x (16)
[0117] Combining equations (14), (15), and (16), we can obtain:
[0118] b 2 -a 2 -c 2 +2(bac)l=0 (17)
[0119] Then we get Substituting l into the above formula (14) and formula (16), we can get:
[0120]
[0121]
[0122] Substituting the solutions of l, x, and y into the above formula (12) respectively, we have:
[0123]
[0124] Therefore, the coordinates of point H (device to be tested) are obtained by combining equations (18), (19) and (20).
[0125] According to the above example, it can be concluded that the positioning circuit 10 in this embodiment can still accurately obtain the precise coordinates of the device to be tested in the preset coordinate system without directly detecting the angle value of the device to be tested in the preset coordinate system, which greatly simplifies the positioning test steps of the device to be tested and reduces the positioning test cost.
[0126] Fig. 9 The structure of the positioning system 90 based on Bluetooth AOA communication provided in this embodiment is shown. Fig. 9 The positioning system 90 includes a device to be tested 20 and at least one base station ( Fig. 9 Represented by 901, ...90M, where M is a positive integer greater than or equal to 1), the base station and the device to be tested 20 implement Bluetooth communication, and the specific location of the device to be tested 20 can be accurately obtained through the base station.
[0127] Each base station includes the positioning circuit 10 as described above, and each base station is used to obtain the position of the device to be tested 20 in a preset coordinate system.
[0128] Please refer to the above Figures 1 to 8In a specific implementation manner, a first Bluetooth communication signal emitted by a device to be tested 20 can be received by a base station, and a distance value and an angle value of the device to be tested 20 in a preset coordinate system can be accurately obtained according to a phase difference between multiple first Bluetooth communication signals received by the base station, so as to realize a precise positioning function for the device to be tested 20; since the base station performs phase compensation for a signal transmission difference inside the base station according to a phase compensation value during positioning of the device to be tested 20, so as to avoid a positioning error of the device to be tested 20 caused by a communication system error of the base station, the positioning accuracy of the positioning system 90 is greatly guaranteed; according to the phase difference of multiple first Bluetooth communication signals received by the base station, and After phase compensation, the angle value and distance value of the device to be tested 20 in the preset coordinate system can be obtained; therefore, the positioning system 90 in this embodiment does not need to measure the angle value of the device to be tested 20, but only needs to determine the angle value and distance value of the device to be tested 20 through the phase difference, thereby reducing intermediate variables, further reducing the positioning test cost of the device to be tested 20, simplifying the positioning control steps, and the positioning system 90 has a higher scope of application and practical value; thereby effectively solving the technical problems of low accuracy of the positioning method in the traditional technology, too many intermediate variables involved in the positioning control steps, cumbersome operation steps, increased positioning cost of the object, and difficulty in universal application.
[0129] Optionally, M=1; therefore, this embodiment can realize the positioning function of the device to be tested 20 through one base station, which greatly simplifies the positioning steps and positioning costs of the device to be tested 20, and the internal circuit structure of the positioning system 90 is further simplified, achieving the effect of single base station positioning; and thus the base station in this embodiment can realize accurate positioning of the device to be tested 20, and can be universally applied to various different industrial technical fields to meet the actual needs of positioning.
[0130] Optionally, M>1; the positioning system 90 includes at least two base stations, and the at least two base stations are used to obtain at least two coordinates of the device to be tested 20 in the same preset coordinate system, and obtain an average value of the at least two coordinates.
[0131] When the positioning system 90 is applied to a wide range of environments and is used to position the device to be tested 20, the distance between the base station and the device to be tested 20 is relatively far, which may cause interference to the Bluetooth communication during long-distance transmission and signal loss. Therefore, the present embodiment simultaneously uses multiple base stations to respectively receive the first Bluetooth communication signal output by the device to be tested 20, so as to achieve full coverage of a large area. Multiple coordinates of the device to be tested 20 in the same preset coordinate system are obtained through multiple base stations, and then the average value is taken, and the average value is the precise coordinate of the device to be tested 20 in the preset coordinate system. This effectively eliminates the error caused by external environmental factors in the positioning measurement process of the positioning system 90, and ensures the positioning test accuracy of the positioning system 90. Therefore, the positioning system 90 in the present embodiment has high compatibility.
[0132] As an optional implementation, M>1, at least two base stations are regularly arranged in a preset environmental area. Since the external environment of the device to be tested 20 may change greatly during the positioning test of the device to be tested 20 through the base station, the base station has corresponding Bluetooth communication performance in different external environments. Therefore, in this embodiment, multiple base stations are positioned according to a preset arrangement to perform positioning tests, so that multiple base stations located in different geographical areas can perform all-round positioning tests on the device to be tested 20, thereby preventing base station positioning errors, reducing the interference of communication reflection errors in the external environment on the positioning test process of the device to be tested 20, and improving the positioning test accuracy and compatibility of the positioning system 90. Therefore, in this embodiment, multiple base stations are deployed in a map environment, and are arranged according to the pre-recommended The deployment positions of the multiple base stations are designed for location arrangement, which effectively covers all coordinate points in the external environment. When the device 20 to be tested is located in any type of external environment, the positions of the multiple base stations are scientifically arranged to achieve accurate positioning of the device 20 to be tested, thereby avoiding the problem of detection error caused by the device to be tested being located in the edge coordinate area. At the same time, by regularly arranging the multiple base stations, the space utilization rate of the preset external area can be improved, and then on the basis of ensuring the positioning test accuracy of the device 20 to be tested, the number of base stations arranged in the external environment can be reduced, thereby reducing the positioning error and positioning control cost of the positioning system 90. The positioning system 90 in this embodiment can realize the efficient positioning function of the device 20 to be tested, so as to meet the positioning test needs of users.
[0133] Fig.10 The specific operation flow of the positioning method based on Bluetooth AOA communication provided in this embodiment is shown. The positioning method can accurately and efficiently locate the device to be tested, and the operation is simple. Please refer to Fig.10 , the positioning method based on Bluetooth AOA communication specifically includes:
[0134] S1001: Input and detect radio frequency signals.
[0135] S1002: Control at least one power supply branch to be turned on or off according to the control signal, and when the power supply branch is turned on, output a driving signal according to the radio frequency signal.
[0136] Optionally, the phase of the radio frequency signal is analyzed to obtain a corresponding driving signal, and then the Bluetooth communication process can be controlled by the driving signal, which greatly improves the positioning control accuracy and positioning control efficiency of the device to be tested.
[0137] S1003: according to one driving signal, using an antenna unit to receive one first Bluetooth communication signal sent by the device to be tested.
[0138] Each of the power supply branches is used to output a driving signal, and the multiple power supply branches output driving signals in sequence according to a preset interval time under the drive of the control signal. After the signal form of the driving signal is converted, the communication state of the antenna unit can be activated, and the Bluetooth communication function can be realized according to the first Bluetooth communication signal, and then the multiple antenna units respectively receive multiple first Bluetooth communication signals. Since each first Bluetooth communication signal has a specific Bluetooth communication mode, the real-time positioning function of the device to be tested is realized according to the multiple first Bluetooth communication signals received by the multiple antenna units, thereby ensuring the accuracy of the positioning test.
[0139] S1004: Use the verification device to send a second Bluetooth communication signal, and obtain a phase compensation value of each antenna unit based on the phase difference between the phase of the second Bluetooth communication signal received by each antenna unit and the phase of the preset communication signal.
[0140] S1005: Obtain the azimuth of the device under test relative to the coordinate origin of a preset coordinate system according to the phase difference between at least four first Bluetooth communication signals received by at least four antenna units and the phase compensation values of at least four antenna units, and obtain the relative distance between the device under test and the coordinate origin.
[0141] When each antenna unit receives a first Bluetooth communication signal according to the driving signal, due to certain delays or errors in the signal conversion and signal transmission process, this will cause the transmission of multiple first Bluetooth communication signals to be inconsistent. Such communication control errors of multiple antenna units will affect the positioning accuracy and efficiency of the device to be tested. Therefore, this implementation eliminates the interference caused by the communication state error to the positioning test process after performing phase compensation on each first Bluetooth communication signal, and directly obtains the actual position of the device to be tested in the preset coordinate system according to the phase difference between different first Bluetooth communication signals received by multiple antenna units, thereby saving intermediate variables in the positioning test process, ensuring the positioning accuracy and efficiency of the device to be tested, and having high practical value.
[0142] It should be noted that Fig.10 The positioning method in Figure 1 Corresponding to the positioning circuit in Fig.10 The implementation method of the specific steps of the positioning method can refer to Figures 1 to 8 The embodiments of the present invention will not be described in detail here.
[0143] As an optional implementation, Fig.11 The specific implementation process of S1005 provided in this embodiment is shown. Fig.11 , S1005 includes:
[0144] S1101: Obtain a compensated first Bluetooth communication signal according to a phase of a first Bluetooth communication signal received by an antenna unit and a corresponding phase compensation value.
[0145] As described in S1004 above, the phase compensation value of the antenna unit can be obtained according to the phase difference between the phase of each second Bluetooth communication signal received by the antenna unit and the phase of the preset communication signal. When the antenna unit receives the corresponding first Bluetooth communication signal, each first Bluetooth communication signal has a phase compensation value corresponding to itself. According to each phase compensation value, the corresponding first Bluetooth communication signal can be phase compensated so that all first Bluetooth communication signals can be in a consistent signal receiving and sending environment, effectively avoiding the communication state error of each antenna unit itself from causing greater interference to the positioning process of the device to be tested.
[0146] S1102: Acquire the azimuth of the device under test relative to the coordinate origin according to the phase differences between at least four compensated first Bluetooth communication signals, and acquire the relative distance between the device under test and the coordinate origin.
[0147] By performing phase compensation on multiple first Bluetooth communication signals, the first Bluetooth communication signals after multi-channel compensation can be placed in a completely consistent Bluetooth communication environment. Then, according to the phase difference between the first Bluetooth communication signals after multi-channel compensation received by the device to be tested, the position characteristics of the device to be tested can be directly obtained, thereby realizing the precise positioning function of the device to be tested, greatly ensuring the positioning accuracy and efficiency of the device to be tested. The positioning method can be universally applicable to various external environments and has high compatibility. The coordinates of the device to be tested in a preset coordinate system can be directly obtained according to the phase difference between the multiple first Bluetooth communication signals. The operation is simple, the positioning steps of the device to be tested are simplified, and the positioning test cost of the device to be tested is reduced.
[0148] The positioning method in this embodiment can utilize the radio frequency signal to drive the Bluetooth communication process, and then control multiple power supply branches to be turned on or off respectively, and output multiple first Bluetooth communication signals to multiple antenna units in sequence, so that multiple antenna units can receive multiple first Bluetooth communication signals respectively, and perform phase compensation for each first Bluetooth communication signal to eliminate the interference of the communication control error of the antenna unit itself on the positioning test process; therefore, this embodiment directly determines the position of the device to be tested in the preset coordinate system according to the phase difference between the multiple first Bluetooth communication signals received by the device to be tested, which greatly reduces the intermediate variables in the positioning test process. The positioning method can quickly obtain the precise position of the device to be tested, ensure the positioning efficiency and positioning accuracy of the device to be tested, and meet the user's positioning test needs; it effectively solves the problem that the positioning method in the traditional technology needs to involve too many intermediate variables, resulting in high positioning costs and cumbersome positioning steps, which will affect the positioning efficiency and positioning accuracy, and the traditional positioning method is difficult to accurately obtain the actual position of the device to be tested, and the practical value is low.
[0149] To sum up, the positioning circuit in the embodiment of the present application can perform phase compensation for its own communication error to ensure the positioning accuracy of the device to be tested, and then the positioning circuit can be applicable to various different industrial environments, so that the device to be tested sends a first Bluetooth communication signal in a standard communication environment, and directly obtains the actual coordinates of the device to be tested in the preset coordinate system according to the phase difference between the multiple first Bluetooth communication signals received by the positioning circuit, and the positioning accuracy and efficiency are high; therefore, the present embodiment can directly obtain the angle value and distance value of the device to be tested according to the phase difference between at least four first Bluetooth communication signals, and can skip the intermediate variable of the angle value, which greatly reduces the intermediate variables in the positioning test process and reduces the positioning test cost; this will play a positive role in promoting the development of positioning technology in this field and produce important practical value.
[0150] Various embodiments are described herein for various devices, circuits, apparatuses, systems and / or methods. Many specific details are set forth to provide a thorough understanding of the overall structure, function, manufacture and use of the embodiments as described in the specification and shown in the drawings. However, those skilled in the art will appreciate that the embodiments may be implemented without such specific details. In other examples, well-known operations, parts and elements are described in detail so as not to make the embodiments in the specification difficult to understand. Those skilled in the art will appreciate that the embodiments herein and shown are non-limiting examples, and therefore it will be appreciated that the specific structural and functional details disclosed herein may be representative and do not necessarily limit the scope of the embodiments.
[0151] References to "various embodiments", "in an embodiment", "one embodiment", or "an embodiment" throughout the specification, etc., mean that a particular feature, structure, or characteristic described with respect to an embodiment is included in at least one embodiment. Therefore, the appearance of the phrases "in various embodiments", "in some embodiments", "in an embodiment", or "in an embodiment", etc., in appropriate places throughout the specification, do not necessarily refer to the same embodiment. In addition, particular features, structures, or characteristics may be combined in any appropriate manner in one or more embodiments. Therefore, a particular feature, structure, or characteristic shown or described with respect to one embodiment may be combined in whole or in part with features, structures, or characteristics of one or more other embodiments without assuming that such a combination is not an illogical or non-functional limitation. Any directional references (e.g., plus, minus, upper, lower, up, down, left, right, leftward, rightward, top, bottom, above, below, vertical, horizontal, clockwise, and counterclockwise) are used for identification purposes to help the reader understand the present disclosure, and do not create limitations, particularly with respect to the location, orientation, or use of the embodiments.
[0152] Although certain embodiments are described above with a certain degree of detail, those skilled in the art may make many changes to the disclosed embodiments without departing from the scope of the present disclosure. Connection references (e.g., attachment, coupling, connection, etc.) should be interpreted broadly and may include intermediate members between the connection of elements and relative motion between elements. Therefore, connection references do not necessarily imply that two elements are directly connected / coupled and are in a fixed relationship with each other. The use of "for example" throughout the specification should be interpreted broadly and used to provide non-limiting examples of embodiments of the present disclosure, and the present disclosure is not limited to such examples. It is intended that all matters included in the above description or shown in the accompanying drawings should be interpreted as merely illustrative rather than restrictive. Changes in details or structure may be made without departing from the present disclosure.
[0153] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A positioning circuit based on Bluetooth AOA communication, characterized in that: include: A radio frequency communication module, used for inputting and detecting radio frequency signals; A switch switching module, connected to the radio frequency communication module, the switch switching module is used to control at least one power supply branch to be turned on or off according to the control signal, and when the power supply branch is turned on, output a driving signal according to the radio frequency signal; A Bluetooth communication module, connected to the switch switching module and connected to the device to be tested by Bluetooth, wherein the Bluetooth communication module includes at least four antenna units, at least four antenna units are connected to the switch switching module, at least four antenna units are distributed at preset positions in a preset coordinate system, and each antenna unit is used to receive a first Bluetooth communication signal emitted by the device to be tested according to the drive signal when receiving a drive signal; A calibration compensation module connected to the calibration device and the device to be tested, the calibration compensation module is used to obtain a phase compensation value of each antenna unit according to a phase difference between a phase of a second Bluetooth communication signal sent by the calibration device and received by each antenna unit and a phase of a preset communication signal; A positioning control module, connected to the Bluetooth communication module by Bluetooth, and connected to the device to be tested and the calibration compensation module, the positioning control module being used to obtain the azimuth of the device to be tested relative to the coordinate origin of the preset coordinate system and the relative distance between the device to be tested and the coordinate origin according to the phase compensation values of at least four antenna units and the phase differences between at least four first Bluetooth communication signals received by at least four antenna units; The switch switching module includes at least one single-pole 3-throw switch and / or a single-pole 4-throw switch; All the antenna units are integrated into a Bluetooth chip, wherein the Bluetooth chip is arranged on a wiring layer of a circuit board.
2. The positioning circuit according to claim 1, characterized in that: The phase of the preset communication signal is equal to the average value of the phases of at least four second Bluetooth communication signals received by at least four antenna units, and the distance between the verification device and each antenna unit is equal.
3. The positioning circuit according to claim 1, characterized in that: The Bluetooth communication module includes: nine antenna units, and the nine antenna units are arranged in a square array of three rows and three columns on the wiring layer of the circuit board.
4. The positioning circuit according to claim 3, characterized in that: The phase of the preset communication signal is equal to the phase of the second Bluetooth communication signal sent by the verification device received by the preset antenna unit; The preset antenna unit refers to: among the nine antenna units, the antenna unit located in the central area of the square area surrounded by the square array of three rows and three columns.
5. The positioning circuit according to claim 4, characterized in that: The Bluetooth communication module includes four antenna groups, each of which includes four antenna units, and the four antenna units in each antenna group are arranged in a square array of two rows and two columns on the wiring layer of the circuit board; The positioning control module establishes a Bluetooth connection with any one of the antenna groups, and is specifically used to obtain the azimuth of the device to be tested relative to the coordinate origin and the relative distance between the device to be tested and the coordinate origin based on the phase compensation values of the four antenna units in the antenna group and the phase difference between the four received first Bluetooth communication signals.
6. The positioning circuit according to claim 1, characterized in that: Also includes: The control module is connected to the switch module, and is used to generate the control signal.
7. A positioning system based on Bluetooth AOA communication, characterized in that: include: Equipment to be tested; and At least one base station, each of the base stations comprises a positioning circuit as described in any one of claims 1-6, and each of the base stations is used to obtain the position of the device to be tested in a preset coordinate system.
8. A positioning method based on Bluetooth AOA communication, characterized in that: include: Input and detect radio frequency signals; Controlling at least one power supply branch to be turned on or off according to the control signal, and when the power supply branch is turned on, outputting a driving signal according to the radio frequency signal; According to the driving signal, an antenna unit is used to receive a first Bluetooth communication signal sent by the device to be tested; Using a verification device to send a second Bluetooth communication signal, and obtaining a phase compensation value of each antenna unit according to a phase difference between a phase of the second Bluetooth communication signal received by each antenna unit and a phase of a preset communication signal; According to the phase difference between at least four of the first Bluetooth communication signals received by at least four of the antenna units and the phase compensation values of at least four of the antenna units, the azimuth of the device to be tested relative to the coordinate origin of a preset coordinate system is obtained, and the relative distance between the device to be tested and the coordinate origin is obtained.
