WO2022267232A1 - Information source orientation method, system, apparatus and terminal device, and readable storage medium - Google Patents

Information source orientation method, system, apparatus and terminal device, and readable storage medium Download PDF

Info

Publication number
WO2022267232A1
WO2022267232A1 PCT/CN2021/117561 CN2021117561W WO2022267232A1 WO 2022267232 A1 WO2022267232 A1 WO 2022267232A1 CN 2021117561 W CN2021117561 W CN 2021117561W WO 2022267232 A1 WO2022267232 A1 WO 2022267232A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
source
array element
source signal
received
Prior art date
Application number
PCT/CN2021/117561
Other languages
French (fr)
Chinese (zh)
Inventor
赵瑞祥
尹作彪
张西洋
Original Assignee
蓝色创源(北京)科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 蓝色创源(北京)科技有限公司 filed Critical 蓝色创源(北京)科技有限公司
Publication of WO2022267232A1 publication Critical patent/WO2022267232A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers
    • H04B17/27Monitoring; Testing of receivers for locating or positioning the transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection

Definitions

  • the present application relates to the technical field of orientation, and in particular, relates to a source orientation method, system, device, terminal equipment, and readable storage medium.
  • Radio frequency directional equipment generally requires multi-antenna joint multi-channel IQ acquisition for positioning, and uses special equipment and frequency bands. Therefore, the cost and failure rate are high, and the orientation efficiency is low.
  • the embodiment of the present application provides a source-orientation method, the method comprising:
  • the first signal includes a source signal received by the first array element and sent by the source;
  • the second signal includes the source signal received by the second array element
  • a first judgment value of the information source signal is obtained according to the first signal and the second signal, and a first direction of the information source is obtained according to the first judgment value.
  • the method also includes:
  • the third signal includes the source signal received by the first array element
  • the fourth signal includes the source signal received by another second array element
  • a third direction of the information source is obtained according to the first direction and the second direction.
  • the method also includes:
  • the fifth signal includes the source signal received by the third array element
  • a fifth direction of the information source is obtained according to the first direction and the fourth direction.
  • the second signal before acquiring the second signal, it also includes:
  • the array element receiving the source signal After receiving the first time length of the flag bit of the first signal, the array element receiving the source signal is switched from the first array element to the second array element; the first time length It is equal to the sum of the time from the flag bit to the start position of the directional bit stream and the duration of one symbol.
  • the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
  • an embodiment of the present application provides a system for source orientation, and the system includes a first acquisition module, a second acquisition module, and a first calculation module.
  • the first acquisition module is configured to acquire a first signal, where the first signal includes the source signal received by the first array element and sent by the source;
  • a second acquisition module configured to acquire a second signal, where the second signal includes the source signal received by the second array element
  • a first calculating module configured to obtain a first judgment value of the information source signal according to the first signal and the second signal, and determine a first direction of the information source according to the first judgment value.
  • the system further includes a third acquisition module, a fourth acquisition module, a second calculation module and a third calculation module.
  • a third acquisition module configured to acquire a third signal, where the third signal includes the source signal received by the first array element
  • a fourth acquisition module configured to acquire a fourth signal, where the fourth signal includes the source signal received by another second array element
  • a second calculation module configured to obtain a second decision value of the source signal according to the third signal and the fourth signal, and determine a second direction of the source signal according to the second decision value
  • a third calculating module configured to determine a third direction of the information source according to the first direction and the second direction.
  • the system further includes a fifth acquisition module, a fourth calculation module and a fifth calculation module.
  • a fifth acquisition module configured to acquire a fifth signal, where the fifth signal includes the source signal received by the third array element
  • a fourth calculation module configured to obtain a third decision value of the source signal according to the second signal and the fifth signal, and obtain a fourth direction of the source signal according to the third decision value
  • a fifth calculation module configured to obtain a fifth direction of the information source according to the first direction and the fourth direction.
  • the system further includes a switching module.
  • a switching module configured to switch the array element receiving the source signal from the first array element to the second array element after receiving the first time length of the flag bit of the first signal;
  • the first time length is equal to the sum of the time from the flag bit to the start position of the directional bit stream and the duration of one symbol.
  • the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
  • an embodiment of the present application provides a source directional device, where the source directional device includes an antenna array and a programmable logic device.
  • the antenna array includes a first array element and a second array element; the programmable logic device is used to execute the steps of the above-mentioned source orientation method.
  • the second array element includes at least two array elements, and the distance between the first array element and each of the second array elements is equal.
  • the source directional device further includes an antenna switching module, the antenna switching module switches the antenna element receiving the source signal sent by the source according to the control signal sent by the programmable logic device.
  • the first array element is electrically connected to the receiving chip through the first microstrip line
  • the second array element is electrically connected to the receiving chip through the second microstrip line
  • the first microstrip line is connected to the receiving chip.
  • ⁇ w is the length difference between the first microstrip line and the second microstrip line
  • n is an integer
  • the distance between the first array element and the second array element satisfies the following formula:
  • d is the distance between the first array element and the second array element
  • is the wavelength in air of the cell signal sent by the signal source.
  • an embodiment of the present application provides a source-oriented terminal device, including a first memory, a first processor, and a computer program stored in the first memory and operable on the first processor When the first processor executes the computer program, the steps of the above-mentioned source-orientation method are implemented.
  • the embodiment of the present application provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the above information source directional method are implemented.
  • the embodiment of the present application provides a method for sending a source signal, including:
  • the source signal is used to be received by the first array element and the second array element in turn, and the source signal received by the first array element is used to communicate with the second array element Combine the received source signals to obtain a first judgment value of the source signal, and the first judgment value is used to judge a first sending direction of the source signal.
  • the second array element after the second array element receives the source signal, it further includes:
  • the source signal is sequentially received by the first array element and another second array element, and the source signal received by the first array element is used for all signals received by the other second array element.
  • the source signal is combined to obtain a second judgment value of the source signal, the second judgment value is used to judge the second sending direction of the source signal, and the second sending direction is used to communicate with the first A sending direction is combined to obtain a third sending direction of the source signal.
  • the second array element after the second array element receives the source signal, it further includes:
  • the source signal is received by a third array element, and the source signal received by the third array element is used to combine with the source signal received by the second array element to obtain the source signal
  • the third judgment value, the third judgment value is used to judge the fourth transmission direction of the source signal, and the fourth transmission direction is used to combine with the first transmission direction to obtain the source signal Fifth sending direction.
  • the source signal includes a flag bit for triggering array element switching
  • the array element switching includes:
  • the array element receiving the source signal After receiving the first time length of the flag bit, the array element receiving the source signal is switched from the current array element to another array element, and the first time length is equal to the flag bit to the directional bit stream The sum of the time at the start position and the duration of one symbol.
  • the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
  • the embodiment of the present application provides a source signal sending device, including a source signal generating module and a source signal sending module.
  • a source signal generating module configured to generate a source signal
  • a source signal sending module configured to send the source signal, the source signal is used to be sequentially received by the first array element and the second array element, and the source signal received by the first array element, It is used to combine with the source signal received by the second array element to obtain a first judgment value of the source signal, and the first judgment value is used to judge a first sending direction of the source signal.
  • the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
  • the embodiment of the present application provides a source signal transmission terminal device, including a second memory, a second processor, and a computer stored in the second memory and operable on the second processor program, when the second processor executes the computer program, it implements the steps of the above method for sending a signal source signal.
  • the embodiment of the present application provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the above method for sending a signal source are implemented.
  • the present application links the switching of the antenna elements with the decision result by switching the antenna element receiving the source signal in the antenna array, and uses the decision result to judge the incoming wave direction. Therefore, there is no need to combine multiple IQ acquisitions for positioning, and there is no need to collect IQ chips, and ordinary Bluetooth chips can be used to work, which can effectively reduce the cost and failure rate of orientation equipment, and can improve the efficiency of orientation.
  • FIG. 1 is a schematic structural diagram of a source directional device provided in an embodiment of the present application
  • Fig. 2 is the waveform diagram of the signal after GFSK modulation described in the embodiment of the present application.
  • Fig. 3 is a schematic diagram of the processing flow of data sending and receiving described in the embodiment of the present application.
  • Fig. 4 is a schematic diagram of the relationship between the bit source and the sampling phase described in the embodiment of the present application.
  • Fig. 5 is a schematic diagram of the relationship between antenna element switching and phase described in the embodiment of the present application.
  • FIG. 6 is a schematic diagram of the relationship between the antenna element spacing and the length of the microstrip line described in the embodiment of the present application;
  • Fig. 7 is on the unit circle described in the embodiment of the present application Schematic diagram of the scope of judgment;
  • Fig. 8 is the ⁇ p described in the embodiment of the application and The schematic diagram of the relationship;
  • FIG. 9 is a method flowchart of a cell orientation method provided by an embodiment of the present application.
  • FIG. 10 is a method flowchart of a cell orientation method provided in another embodiment of the present application.
  • FIG. 11 is a schematic layout diagram of the antenna array described in the embodiment of the present application.
  • FIG. 12 is a method flowchart of a cell orientation method provided in another embodiment of the present application.
  • FIG. 13 is a structural block diagram of a source-oriented system provided by an embodiment of the present application.
  • Fig. 14 is a structural block diagram of a source-oriented system provided by another embodiment of the present application.
  • Fig. 15 is a structural block diagram of a source-orientation system provided by another embodiment of the present application.
  • Fig. 16 is a structural block diagram of a source-directed terminal device provided by one embodiment of the present application and a structural block diagram of a source signal sending terminal device provided by another embodiment of the present application;
  • FIG. 17 is a flow chart of a source signal sending method provided by an embodiment of the present application.
  • Fig. 18 is a structural block diagram of a source signal sending device provided by an embodiment of the present application.
  • FIG. 1 shows a schematic structural diagram of an implementation environment involved in various embodiments of the present application.
  • the implementation environment includes: a signal sending device 110 and a signal receiving device 120 .
  • the signal sending device 110 may be an electronic device with a common bluetooth sending function, and it only needs to support bluetooth BLE4.2 and above protocols.
  • the signal sending device 110 may be a customized label, or a device such as a smart phone with a Bluetooth function.
  • the signal receiving device 120 may include a programmable logic device 121 , a switch control line 122 , an antenna array 123 , a signal receiving chip 124 , and a radio frequency switch array 125 .
  • the input end of the programmable logic device 121 is electrically connected with the signal receiving chip 124, and the output end of the programmable logic device 121 is electrically connected with the radio frequency switch array 125 through the switch control line 122, and the programmable logic device 121 can be CPLD (Complex Programming logic device ), CPLD is a programmable logic device with high density, high speed and low power consumption.
  • CPLD Complex Programming logic device
  • the input end of the signal receiving chip 124 is electrically connected to the radio frequency switch array 125, and the output end is electrically connected to the programmable logic device 121.
  • the signal receiving chip 124 may be a Bluetooth receiving chip.
  • the antenna array 123 includes at least two antenna elements, and each antenna element is electrically connected to the radio frequency switch array 125 through an independent microstrip line.
  • the output end of the radio frequency switch array 125 is electrically connected to the signal receiving chip 124 , and the input end of the radio frequency switch array 125 is electrically connected to the antenna array 123 .
  • the radio frequency switch array 125 After receiving the control command of the programmable logic device 121, the radio frequency switch array 125 turns on or off the input microstrip line of one of the antenna elements in the antenna array 123 according to the control command, when the radio frequency switch array 125 turns on the input
  • the antenna element of the microstrip line can transmit the source signal it receives to the programmable logic device 121 .
  • the signal sending device 110 and the signal receiving device 120 can work in the Bluetooth broadcast frequency band.
  • the Bluetooth broadcast frequency band includes three channels, namely 37, 38, and 39 channels, and their operating frequencies are: 2.402GHz, 2.426GHz, and 2.480GHz.
  • the Bluetooth protocol uses GFSK modulation with a modulation factor between 0.45 and 0.55.
  • the GFSK signal with a modulation factor of 0.5 when sending 1, the signal is the carrier frequency plus 250KHz, and when sending 0, the signal is the carrier frequency minus 250KHz.
  • the baud rate of the Bluetooth BLE broadcast channel is 1M/s, so the duration of each cell is 1us, and its waveform is shown in Figure 2.
  • the signal sending device 110 sends signals, and the signal receiving device 120 receives signals.
  • the signal sending device 110 can make the whitened data bit stream become all 1s or all 0s by constructing a special bit stream. For the convenience of description, all 1s are used as an example here.
  • the channel whitening process and de-whitening are fixed and reversible, by analyzing and processing the data bit stream received by the signal receiving device 120, the data bit stream obtained after demodulation can be deduced inversely.
  • the signal receiving chip 124 After the signal receiving device 120 receives the frame header sent by the signal sending device 110, the signal receiving chip 124 immediately generates a signal pulse to the programmable logic device 121, and the programmable logic device 121 generates an antenna array element switching control signal through hardware logic to Control the switching of the radio frequency switch array to the antenna elements.
  • the signal is received by the antenna array 123, demodulated by the demodulator inside the programmable logic device 121, and then de-whitened, and the user of the signal receiving chip 124 can read a frame of data bit stream. Due to the switching of antenna elements, the data is generally different from the transmitted data bit stream, and the algorithm can obtain the orientation of the signal transmitting device 110 relative to the signal receiving device 120 by comparing this difference.
  • the sent data is all 1 in the bit stream after whitening.
  • the signal receiving device 120 After receiving the data, the signal receiving device 120 performs a reverse operation of de-whitening to obtain the data after demodulation and before de-whitening.
  • the post-demodulation judgment of the Bluetooth broadcast channel is judged by the phase difference between the beginning and the end of the bit.
  • the complex representation of the Bluetooth broadcast signal is:
  • i is the imaginary unit
  • S is the complex signal
  • Is the initial phase
  • A is the signal amplitude
  • f b is the modulation frequency.
  • the programmable logic device 121 can detect whether the transmitted bit is 0 or 1 through the first sampling phase and the second sampling phase, and the relationship between the bit source and the sampling phase is shown in Figure 4 , in Figure 4, the first sampling phase is The second sampling phase is In this embodiment, the programmable logic device 121 can use a chip that does not have an IQ value output function, and can be implemented using a Bluetooth chip that only has a judgment value of 0 or 1.
  • the difference in the phase difference corresponds to the difference in the bit of the cell.
  • the adjacent sampling phase differences should be At this time, do the following process design, switch the antenna element in the middle of the cell, so that the two sampled signals are received by different antenna elements, and at the same time design the phase delay of the two antenna elements themselves to be different.
  • the relationship between antenna element switching and phase is shown in Figure 5.
  • the length of the microstrip line from antenna 1 to the signal receiving chip 124 is w
  • the length of the microstrip line from antenna 2 to the signal receiving chip 124 is w+ ⁇ w. This length difference can be controlled by the design of the microstrip line.
  • the value of the sampling phase is: where ⁇ is the wavelength of the signal in the air, is the wavelength of the signal in the microstrip line. These two wavelengths can be calculated according to the signal frequency, air dielectric constant, microstrip line configuration, and PCB board dielectric constant:
  • phase difference obtained by the internal decision device of the programmable logic device is:
  • n is an integer:
  • FIG. 9 shows a flowchart of a cell orientation method provided by an embodiment of the present application, and the cell orientation method includes step S210, step S220 and step S230.
  • Step S210 Acquire a first signal.
  • the first signal may be a source signal sent by a source received by the first antenna element in the antenna array 123 that is electrically connected to the radio frequency switch array 125 .
  • Step S220 Acquire a second signal.
  • the second signal may be a source signal received by another antenna element electrically connected to the radio frequency switch array 125 .
  • Step S230 According to the first signal and the second signal, a first decision value of the source signal is obtained, and a first direction of the source signal is obtained according to the first decision value.
  • the programmable logic device 121 judges whether the received signal source is 0 or 1, and according to the judgment value, it can be obtained that the transmission direction of the signal source signal is located between the first array element and the second array element. Whether the line's normal is left or right.
  • Bluetooth 4.2 is designed to transmit data, and whitening is performed by default, so the data sent out has a changing frequency and cannot be directly used for orientation.
  • the frequency of the signal can be kept consistent within a directional cycle.
  • the incident direction of the source signal is reversed, so as to achieve orientation, so that electronic products using Bluetooth 4.2 can also be oriented.
  • the programmable logic device 121 in this embodiment only needs to output a judgment value of 0 or 1, the direction of the source can be judged according to the judgment value, so the programmable logic device 121 does not need to provide the first signal and the second signal.
  • the judgment of the direction of the signal source is made more concise, and the efficiency of judging the direction of the signal source is improved.
  • the Bluetooth chip of the Bluetooth 4.2 protocol can only judge whether the phase difference is closer still closer To output 0/1, the specific value of phase difference cannot be clearly output. The reason is that the Bluetooth 4.2 chip is only used to transmit data, that is, to transmit 0 and 1 values, and does not provide orientation function, so it does not output specific phase or Phase difference value, and orientation usually uses phase or phase difference to solve the direction.
  • Chips that support Bluetooth 5.1 and above protocols can support the orientation function (that is, the orientation function is provided on top of the basic function of transmitting data), so the chip that supports Bluetooth 5.1 will clearly calculate the phase/phase difference and output.
  • the Bluetooth protocol has been updated to version 5.1
  • the Bluetooth chips in many electronic products (such as mobile phones) on the market are still version 4.2, and the chips of version 5.1 have not been upgraded. That is to say, mobile phones with only Bluetooth 4.2 chips cannot use Bluetooth
  • the 5.1 protocol sends signals, so even if the 5.1 protocol chip is used in the directional base station, the old mobile phone cannot communicate and decode with the directional base station based on Bluetooth 5.1, so the base station cannot directly obtain the phase/phase difference for orientation.
  • Bluetooth 4.2 and below Bluetooth chips can greatly reduce the cost of equipment and increase the compatibility of devices using this method for source direction.
  • the source orientation method provided by the embodiment of the present application can realize the judgment of the direction of the signal source only by switching the antenna elements receiving the source signal, and all the antenna elements of the antenna array share one receiving channel. Therefore, there is no need to combine multiple IQ acquisitions for positioning, and there is no need to collect IQ chips. Only ordinary Bluetooth chips can be used to work, which can effectively reduce the cost and failure rate of orientation equipment, and can improve the efficiency of orientation. At the same time, because this application uses the bluetooth frequency band, the license is relatively easy.
  • the cell orientation method includes step S310, step S320, step S330, step S340, step S350, step S360 and step S370.
  • Step S310 Acquire a first signal.
  • the radio frequency switch array 125 is electrically connected to the first array element, and the first array element starts to receive the source signal.
  • the source signal can be a data bit stream of all 0s or a data bit stream of all 1s.
  • Each bit cell of the source signal has a flag bit, for example, the flag bit can be the frame header of the bit cell.
  • the first array element recognizes the flag bit of the first signal, it starts switching preparations, and starts switching after the corresponding bit stream time.
  • the corresponding bit stream time can be the time from the flag bit to the start position of the directional bit stream and a Sum of symbol times.
  • Step S320 Acquire a second signal.
  • the programmable logic device 121 After recognizing the corresponding bit flow time of the flag in the first signal, the programmable logic device 121 generates a switching control command, and sends the control command to the radio frequency switch array 125, and the radio frequency switch array 125 receives the control command , disconnect the first array element, electrically connect the second array element, and transmit the signal source signal received in the second array element to the programmable logic device 121 .
  • Step S330 According to the first signal and the second signal, a first decision value of the source signal is obtained, and a first direction of the source is obtained according to the first decision value.
  • the programmable logic device determines and obtains the first direction of the source signal according to the first signal and the second signal.
  • Step S340 Obtain a third signal, the third signal includes the source signal received by the first array element; after identifying the corresponding bit stream time of the flag in the second signal, the programmable logic device 121 generates a switching control command , and send the control command to the RF switch array 125. After receiving the control command, the RF switch array 125 disconnects the second array element, electrically connects the first array element, and connects the signal source received in the first array element The signal is transmitted to the programmable logic device 121 .
  • the third signal is obtained by switching the antenna element receiving the source signal from the second element to the first element, and continuing to receive the source signal by the first element.
  • Step S350 Obtain a fourth signal, the fourth signal includes another source signal received by the second array element; after identifying the corresponding bit stream time of the flag in the third signal, the programmable logic device 121 generates a switch control command, and send the control command to the radio frequency switch array 125. After the radio frequency switch array 125 receives the control command, it disconnects the first array element, electrically connects another second array element, and connects the second array element The signal source signal received in is transmitted to the programmable logic device 121 .
  • the fourth signal is obtained by switching the antenna element for receiving the source signal from the first element to another second element, and the other second element receives the source signal.
  • Step S360 According to the third signal and the fourth signal, the second decision value of the source signal is obtained, and the second direction of the source is obtained according to the second decision value; thus, the first direction and the second direction are obtained. direction.
  • Step S370 According to the first direction and the second direction, the third direction of the information source is obtained. According to the first direction and the second direction, a more accurate sending direction of the source signal can be obtained.
  • Bluetooth 4.2 is designed to transmit data, and whitening is performed by default, so the data sent out has a changing frequency and cannot be directly used for orientation.
  • a special bit stream that is, a data bit stream of all 0s or a data bit stream of all 1s
  • the frequency of the signal can be kept consistent within a directional period.
  • the programmable logic device 121 in this embodiment only needs to output a judgment value of 0 or 1, the direction of the source can be judged according to the judgment value, so the programmable logic device 121 does not need to provide the first signal and the second signal.
  • the judgment of the direction of the signal source is made more concise, and the efficiency of judging the direction of the signal source is improved.
  • the Bluetooth chip of the Bluetooth 4.2 protocol can only judge whether the phase difference is closer still closer To output 0/1, the specific value of phase difference cannot be clearly output. The reason is that the Bluetooth 4.2 chip is only used to transmit data, that is, to transmit 0 and 1 values, and does not provide orientation function, so it does not output specific phase or Phase difference value, and orientation usually uses phase or phase difference to solve the direction.
  • Chips that support Bluetooth 5.1 and above protocols can support the orientation function (that is, the orientation function is provided on top of the basic function of transmitting data), so the chip that supports Bluetooth 5.1 will clearly calculate the phase/phase difference and output.
  • the Bluetooth protocol has been updated to version 5.1
  • the Bluetooth chips in many electronic products (such as mobile phones) on the market are still version 4.2, and the chips of version 5.1 have not been upgraded. That is to say, mobile phones with only Bluetooth 4.2 chips cannot use Bluetooth
  • the 5.1 protocol sends signals, so even if the 5.1 protocol chip is used in the directional base station, the old mobile phone cannot communicate and decode with the directional base station based on Bluetooth 5.1, so the base station cannot directly obtain the phase/phase difference for orientation.
  • Bluetooth 4.2 and below Bluetooth chips can greatly reduce the cost of equipment and increase the compatibility of devices using this method for source direction.
  • the source orientation method provided by the embodiment of the present application can realize the judgment of the direction of the source only by switching the antenna element receiving the source signal, so that it does not need to combine multiple IQ acquisitions for positioning. There is no need to collect IQ chips, and only ordinary Bluetooth chips can be used to work, which can effectively reduce the cost and failure rate of directional equipment, and can improve the efficiency of directional.
  • first array element there is one first array element and at least two second array elements in the antenna array 122 , and the distance between each second array element and the first array element is equal.
  • first array element in the antenna array 122 that is, antenna No. 0 in FIG. 11, and eight second array elements, and the eight second array elements are antenna No. 1 and antenna No. 2 respectively.
  • antenna No. 3, antenna No. 4, antenna No. 5, antenna No. 6, antenna No. 7 and antenna No. 8 eight second array elements are arranged around the first array element, and two adjacent second array elements The spacing between them is equal.
  • the source signal When receiving the source signal, the source signal can be received by the No. 0 antenna first, which is recorded as the first signal, and then the source signal is received by the No. 1 antenna, which is recorded as the second signal. From the first signal and the second signal, the first signal can be obtained one direction;
  • the source signal is received by antenna No. 0 in turn, which is recorded as the third signal, and the source signal is received by antenna No. 2, which is recorded as the fourth signal. According to the third signal and the fourth signal, the second direction is obtained;
  • the third direction can be obtained according to the first direction and the second direction, and the third direction is more accurate than the first direction and the second direction.
  • the first array element is electrically connected to the receiving chip 121 through the first microstrip line
  • the second array element is electrically connected to the receiving chip 121 through the second microstrip line
  • the first microstrip line is electrically connected to the receiving chip 121.
  • ⁇ w is the length difference between the first microstrip line and the second microstrip line
  • n is an integer
  • the distance between the first array element and the second array element satisfies the following formula:
  • d is the distance between the first array element and the second array element
  • is the wavelength of the cell signal sent by the source in the air. preferably The actual product allows a certain error, usually in This range is feasible, of course, the closer to half the wavelength, the better.
  • the direction of the arrow is the incident direction of the source signal, and it can be obtained:
  • Antenna 0 and antenna 1 form a team: the source signal can be incident from side 1;
  • Antenna 0 and antenna 2 form a team: the source signal can be incident from 2 sides;
  • Antenna 0 and antenna 3 form a team: the source signal can be incident from 3 sides;
  • Antenna 0 and antenna 4 form a team: the source signal can be incident from 4 sides;
  • Antenna 0 and antenna 5 form a team: the source signal can be incident from side 0;
  • Antenna 0 and antenna 6 form a team: the source signal can be incident from side 0;
  • Antenna 0 and antenna 7 form a team: the source signal can be incident from side 0;
  • Antenna 0 and antenna 8 form a team: the source signal can be incident from side 0;
  • the receiving end of the source signal constructs a special The hardware structure (that is, the length difference between the first microstrip line and the second microstrip line and the distance between the first array element and the second array element) makes the signals coming from different directions, and the judgment results of the receiving end are different, according to The judgment result judges the direction from which the signal came.
  • a special bit stream that is, a data bit stream of all 0s or a data bit stream of all 1s
  • FIG. 12 shows a flow chart of a cell orientation method provided by an embodiment of the present application.
  • the cell orientation method includes step S410, step S420, step S430, step S440, step S450 and step S460.
  • Step S410 Acquire a first signal.
  • the radio frequency switch array 125 is electrically connected to the first array element, and the first array element starts to receive the source signal.
  • the source signal can be a data bit stream of all 0s or a data bit stream of all 1s.
  • Each bit cell of the source signal has a flag bit, for example, the flag bit can be the frame header of the bit cell.
  • the first array element recognizes the flag bit of the first signal, it starts switching preparations, and starts switching after the corresponding bit stream time.
  • the corresponding bit stream time can be the time from the flag bit to the start position of the directional bit stream and a Sum of symbol times.
  • Step S420 Acquire a second signal.
  • the programmable logic device 121 After recognizing the corresponding bit flow time of the flag in the first signal, the programmable logic device 121 generates a switching control command, and sends the control command to the radio frequency switch array 125, and the radio frequency switch array 125 receives the control command , disconnect the first array element, electrically connect the second array element, and transmit the signal source signal received in the second array element to the programmable logic device 121 .
  • Step S430 Obtain a first decision value of the source signal according to the first signal and the second signal, and obtain a first direction of the source signal according to the first decision value.
  • the programmable logic device determines and obtains the first direction of the source signal according to the first signal and the second signal.
  • Step S440 Obtain the fifth signal, the fifth signal includes the source signal received by the third array element; after identifying the corresponding bit stream time of the flag in the second signal, the programmable logic device 121 generates a switching control command , and send the control command to the radio frequency switch array 125. After receiving the control command, the radio frequency switch array 125 disconnects the second array element, electrically connects the third array element, and connects the signal source received in the third array element The signal is transmitted to the programmable logic device 121 .
  • Step S450 According to the second signal and the fifth signal, the third judgment value of the source signal is obtained, and the fourth direction of the information source is obtained according to the third judgment value; the programmable logic device judges and obtains according to the second signal and the fifth signal The fourth direction of the source signal.
  • Step S460 Obtain a fifth direction of the information source according to the first direction and the fourth direction. According to the first direction and the fourth direction, a more accurate sending direction of the source signal, ie, the fifth direction, can be obtained.
  • the antenna array 123 includes at least three antenna elements, and the distance between every two adjacent antenna elements is equal.
  • the first array element is electrically connected to the receiving chip 121 through the first microstrip line
  • the second array element is electrically connected to the receiving chip 121 through the second microstrip line
  • the third array element is electrically connected to the receiving chip 121 through the second microstrip line.
  • the three microstrip lines are electrically connected to the receiving chip 121, the length difference between the first microstrip line and the second microstrip line, and the length difference between the second microstrip line and the third microstrip line all satisfy the following formula:
  • ⁇ w is the length difference between the first microstrip line and the second microstrip line, and the length difference between the second microstrip line and the third microstrip line
  • n is an integer
  • d is the distance between the first array element and the second array element, and the distance between the second array element and the third array element, ⁇ is the cell signal sent by the source in the air wavelength.
  • is the cell signal sent by the source in the air wavelength.
  • the antenna array 123 may not only be limited to three or For less than 3 antenna elements, the number of antenna elements in the antenna array 123 can be increased according to different precision requirements, and then step S450 to step S460 are repeated. The more repetitions, the more accurate the transmission direction of the obtained source signal.
  • the receiving end of the source signal constructs a special bit stream (that is, a data bit stream of all 0s or a data bit stream of all 1s) at the transmitting end of the source signal
  • the receiving end of the source signal constructs a special
  • the hardware structure that is, the length difference between microstrip lines and the spacing between array elements
  • Bluetooth 4.2 is designed to transmit data, and whitening is performed by default, so the data sent out has a changing frequency and cannot be directly used for orientation.
  • a special bit stream that is, a data bit stream of all 0s or a data bit stream of all 1s
  • the frequency of the signal can be kept consistent within a directional period.
  • the programmable logic device 121 in this embodiment only needs to output a judgment value of 0 or 1, the direction of the source can be judged according to the judgment value, so the programmable logic device 121 does not need to provide the first signal and the second signal.
  • the judgment of the direction of the signal source is made more concise, and the efficiency of judging the direction of the signal source is improved.
  • the Bluetooth chip of the Bluetooth 4.2 protocol can only judge whether the phase difference is closer still closer To output 0/1, the specific value of phase difference cannot be clearly output. The reason is that the Bluetooth 4.2 chip is only used to transmit data, that is, to transmit 0 and 1 values, and does not provide orientation function, so it does not output specific phase or Phase difference value, and orientation usually uses phase or phase difference to solve the direction.
  • Chips that support Bluetooth 5.1 and above protocols can support the orientation function (that is, the orientation function is provided on top of the basic function of transmitting data), so the chip that supports Bluetooth 5.1 will clearly calculate the phase/phase difference and output.
  • the Bluetooth protocol has been updated to version 5.1
  • the Bluetooth chips in many electronic products (such as mobile phones) on the market are still version 4.2, and the chips of version 5.1 have not been upgraded. That is to say, mobile phones with only Bluetooth 4.2 chips cannot use Bluetooth
  • the 5.1 protocol sends signals, so even if the 5.1 protocol chip is used in the directional base station, the old mobile phone cannot communicate and decode with the directional base station based on Bluetooth 5.1, so the base station cannot directly obtain the phase/phase difference for orientation.
  • Bluetooth 4.2 and below Bluetooth chips can greatly reduce the cost of equipment and increase the compatibility of devices using this method for source direction.
  • the source orientation method provided by the embodiment of the present application can realize the judgment of the direction of the source only by switching the antenna element receiving the source signal, so that it does not need to combine multiple IQ acquisitions for positioning. There is no need to collect IQ chips, and only ordinary Bluetooth chips can be used to work, which can effectively reduce the cost, failure rate and compatibility of directional equipment, and can improve the efficiency of directional.
  • FIG. 13 shows a structural block diagram of a cell orientation system provided by an embodiment of the present application.
  • the cell orientation system includes a first acquisition module 510 , a second acquisition module 520 and a first calculation module 530 .
  • the first acquiring module 510 is configured to acquire a first signal, where the first signal includes an information source signal sent by an information source received by the first array element;
  • the second acquiring module 520 is configured to acquire a second signal, where the second signal includes a source signal received by the second array element;
  • the first calculation module 530 is configured to obtain a first decision value of the source signal according to the first signal and the second signal, and determine a first direction of the source signal according to the first decision value.
  • FIG. 14 it shows a structural block diagram of a cell orientation system provided by an embodiment of the present application.
  • the cell orientation system includes a first acquisition module 610, a second acquisition module 620, a first calculation module 630, a third An acquisition module 640 , a fourth acquisition module 650 , a second calculation module 660 and a third calculation module 670 .
  • the first acquisition module 610 is configured to acquire a first signal, where the first signal includes an information source signal sent by an information source received by the first array element;
  • the second acquiring module 620 is configured to acquire a second signal, where the second signal includes a source signal received by the second array element;
  • the first calculation module 630 is configured to obtain a first decision value of the source signal according to the first signal and the second signal, and determine a first direction of the source signal according to the first decision value.
  • the third acquiring module 640 is configured to acquire a third signal, where the third signal includes the source signal received by the first array element;
  • the fourth acquiring module 650 is configured to acquire a fourth signal, where the fourth signal includes a source signal received by another second array element;
  • the second calculation module 660 is configured to obtain a second decision value of the source signal according to the third signal and the fourth signal, and obtain a second direction of the source signal according to the second decision value;
  • the third calculation module 670 is configured to obtain a third direction of the information source according to the first direction and the second direction.
  • the source directional device further includes a switching module 680 .
  • the switching module 680 is used to switch the array element receiving the source signal from the first array element to the second array element after receiving the first time length of the flag bit of the first signal; the first time length is equal to the flag bit to the second array element; The sum of the time at which the directional bit stream starts and the duration of one symbol.
  • the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
  • FIG. 15 it shows a structural block diagram of a cell orientation system provided by an embodiment of the present application.
  • the cell orientation system includes a first acquisition module 710, a second acquisition module 720, a first calculation module 730, a fifth An acquisition module 740 , a fourth calculation module 750 and a fifth calculation module 760 .
  • the first acquisition module 710 is configured to acquire a first signal, where the first signal includes a source signal sent by a source received by the first array element;
  • the second acquiring module 720 is configured to acquire a second signal, where the second signal includes a source signal received by the second array element;
  • the first calculation module 730 is configured to obtain a first decision value of the source signal according to the first signal and the second signal, and determine a first direction of the source signal according to the first decision value.
  • a fifth obtaining module 740 configured to obtain a fifth signal, where the fifth signal includes the source signal received by the third array element;
  • the fourth calculation module 750 is configured to obtain a third decision value of the source signal according to the second signal and the fifth signal, and obtain a fourth direction of the source signal according to the third decision value;
  • the fifth calculation module 760 is configured to obtain a fifth direction of the information source according to the first direction and the fourth direction.
  • the source directional device further includes a switching module 770 .
  • the switching module 770 is used to switch the array element receiving the source signal from the first array element to the second array element after receiving the first time length of the flag bit of the first signal; the first time length is equal to the flag bit to the second array element; The sum of the time at which the directional bit stream starts and the duration of one symbol.
  • the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
  • FIG. 1 it shows a structural block diagram of a device for directing a source of information provided by an embodiment of the present application.
  • the device for directing a cell includes an antenna array 123 and a programmable logic device 121 .
  • Antenna array 123 the antenna array includes a first array element and a second array element;
  • the programmable logic device 121 is configured to execute the steps in the above source-oriented method.
  • the second array element includes at least two array elements, and the distance between the first array element and each second array element is equal.
  • the source directional device may further include an antenna switching module, which switches the antenna element for receiving the source signal sent by the source according to the control signal sent by the programmable logic device 121 .
  • the antenna switching module may be a radio frequency switch array 125 .
  • the first array element is electrically connected to the receiving chip 121 through the first microstrip line
  • the second array element is electrically connected to the receiving chip 121 through the second microstrip line
  • the connection between the first microstrip line and the second microstrip line satisfies the following formula:
  • ⁇ w is the length difference between the first microstrip line and the second microstrip line
  • n is an integer
  • the distance between the first array element and the second array element satisfies the following formula:
  • d is the distance between the first array element and the second array element
  • is the wavelength of the cell signal sent by the source in the air. preferably The actual product allows a certain error, usually in This range is feasible, of course, the closer to half the wavelength, the better.
  • the source-oriented terminal device 800 includes a first processor 801 and a first memory 802 .
  • the source-oriented terminal device 800 may further include one or more of a first multimedia component 803 , a first input/output (I/O) interface 804 , and a first communication component 805 .
  • the first processor 801 is configured to control the overall operation of the source-orientation terminal device 800, so as to complete all or part of the steps in the above-mentioned source-orientation method.
  • the first memory 802 is used to store various types of data to support the operation of the source-oriented terminal device 800, such data may include commands for any application or method operated on the source-oriented terminal device 800 , and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc.
  • the first memory 802 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only Memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory, referred to as EPROM), Programmable Read-Only Memory (Programmable Read-Only Memory, referred to as PROM), Read-Only Memory (ROM for short), magnetic memory, flash memory, magnetic disk or optical disk.
  • Multimedia components 803 may include screen and audio components.
  • the screen can be, for example, a touch screen, and the audio component is used for outputting and/or inputting audio signals.
  • an audio component may include a microphone for receiving external audio signals.
  • the received audio signal may be further stored in the first memory 802 or sent through the first communication component 805 .
  • the audio component also includes at least one speaker for outputting audio signals.
  • the first I/O interface 804 provides an interface between the first processor 801 and other interface modules, which may be a keyboard, a mouse, buttons, and the like. These buttons can be virtual buttons or physical buttons.
  • the first communication component 805 is used for wired or wireless communication between the source-oriented terminal device 800 and other devices.
  • Wireless communication such as Wi-Fi, Bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding first communication component 805 can include : Wi-Fi module, Bluetooth module, NFC module.
  • the source-oriented terminal device 800 may be implemented by one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processors (Digital Signal Processor, DSP for short), digital signal processing devices (Digital Signal Processing Device, referred to as DSPD), programmable logic device (Programmable Logic Device, referred to as PLD), field programmable gate array (Field Programmable Gate Array, referred to as FPGA), controller, microcontroller, microprocessor or other Electronic components are implemented for performing the above-mentioned source-directed method.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • DSPD Digital Signal Processing Device
  • PLD programmable logic device
  • FPGA Field Programmable Gate Array
  • controller microcontroller, microprocessor or other Electronic components are implemented for performing the above-mentioned source-directed method.
  • a computer-readable storage medium including program commands is also provided, and when the program commands are executed by a processor, the steps of the above-mentioned source-orientation method are implemented.
  • the computer-readable storage medium may be the above-mentioned first memory 802 including program commands, and the above-mentioned program commands can be executed by the first processor 801 of the source-directing terminal device 800 to complete the above-mentioned source-directing method.
  • a readable storage medium is also provided in this embodiment.
  • the readable storage medium described below and the source-orientation method described above may be referred to in correspondence.
  • a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the information source-orientation method in the above-mentioned embodiment of the information source-orientation method.
  • the readable storage medium can be a USB flash drive, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc., which can store program codes.
  • readable storage media can be a USB flash drive, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc., which can store program codes.
  • readable storage media can be a USB flash drive, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc., which can store program codes.
  • readable storage media can be a USB flash drive, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM),
  • FIG. 17 shows a flow chart of a method for sending a source signal provided by an embodiment of the present application, and the method includes step S910 and step S920 .
  • Step S910 Generate a source signal; the signal sending device 110 generates a source signal to be sent.
  • Step S920. Send the source signal.
  • the signal sending device 110 sends the source signal through a radio frequency sending device.
  • the source signal is used to be received by the first array element and the second array element in turn, and the source signal received by the first array element is used to combine with the source signal received by the second array element to obtain the first judgment of the source signal value, the first judgment value is used to judge the first sending direction of the source signal.
  • the signal receiving device 120 After the source signal in this embodiment is sent, it is received by the signal receiving device 120. After the signal receiving device 120 receives the source signal, as in the method provided in step S210 to step S230, the signal that sent the source signal The bearing of the transmitting device 110 is oriented.
  • the second array element may further include:
  • the source signal is sequentially received by the first array element and another second array element, and the source signal received by the first array element is used to combine with the source signal received by another second array element to obtain the second source signal of the source signal
  • Two judgment values the second judgment value is used to judge the second sending direction of the source signal
  • the second sending direction is used to combine with the first sending direction to obtain a third sending direction of the source signal.
  • the source signal includes a flag bit for triggering array element switching
  • array element switching includes:
  • the array element After receiving the first time length of the flag bit, switch the array element receiving the source signal from the current array element to another array element.
  • the first time length is equal to the time from the flag bit to the start position of the directional bit stream and a code The sum of the durations of the meta.
  • the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
  • the signal receiving device 120 After the source signal in this embodiment is sent, it is received by the signal receiving device 120. After the signal receiving device 120 receives the source signal, as in the method provided in step S310 to step S370, the signal that sent the source signal The bearing of the transmitting device 110 is oriented.
  • the second array element after the second array element receives the source signal, it further includes:
  • the source signal is received by the third array element, and the source signal received by the third array element is used to combine with the source signal received by the second array element to obtain a third judgment value of the source signal, and the third judgment value is used for A fourth sending direction of the source signal is determined, and the fourth sending direction is used in combination with the first sending direction to obtain a fifth sending direction of the source signal.
  • the source signal includes a flag bit for triggering array element switching
  • array element switching includes:
  • the array element After receiving the first time length of the flag bit, switch the array element receiving the source signal from the current array element to another array element.
  • the first time length is equal to the time from the flag bit to the start position of the directional bit stream and a code The sum of the durations of the meta.
  • the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
  • the signal receiving device 120 After the source signal in this embodiment is sent, it is received by the signal receiving device 120. After the signal receiving device 120 receives the source signal, as in the method provided in step S410 to step S460, the signal that sent the source signal The bearing of the transmitting device 110 is oriented.
  • the Bluetooth protocol has been updated to version 5.1
  • the Bluetooth chips in many electronic products (such as mobile phones) on the market are still version 4.2, and the chips of version 5.1 have not been upgraded. That is to say, mobile phones with only Bluetooth 4.2 chips cannot use Bluetooth
  • the 5.1 protocol sends signals, so even if the 5.1 protocol chip is used in the directional base station, the old mobile phone cannot communicate and decode with the directional base station based on Bluetooth 5.1, so the base station cannot directly obtain the phase/phase difference for orientation. Therefore, the use of Bluetooth 4.2 and below Bluetooth chips can greatly reduce the cost of equipment and increase the compatibility of devices using this method for source direction. Even old mobile phones or other devices that cannot communicate with the directional base station based on Bluetooth 5.1 can use the cell signal sending method provided in this embodiment to send positioning signals.
  • FIG. 18 shows a structural block diagram of a source signal sending device provided by an embodiment of the present application, and the device includes a source signal generating module 1010 and a source signal sending module 1020 .
  • a source signal generating module 1010 configured to generate a source signal
  • the source signal sending module 1020 is used to send the source signal, the source signal is used to be received by the first array element and the second array element in turn, and the source signal received by the first array element is used to communicate with the second array element
  • the received source signals are combined to obtain a first judgment value of the source signal, and the first judgment value is used to judge a first sending direction of the source signal.
  • the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
  • FIG. 19 it shows a structural block diagram of a source signal sending terminal device provided by an embodiment of the present application; the source signal sending terminal device 1100 includes a second processor 1101 and a second memory 1102 .
  • the source signal sending terminal device 1100 may also include one or more of a second multimedia component 1103 , a second input/output (I/O) interface 1104 , and a second communication component 1105 .
  • the second processor 1101 is configured to control the overall operation of the source signal sending terminal device 1100, so as to complete all or part of the steps in the above-mentioned source signal sending method.
  • the second memory 1102 is used to store various types of data to support the operation of the source signal sending terminal device 1100, and these data may include, for example, any application program or method for operating on the source signal sending terminal device 1100 commands, as well as application-related data, such as contact data, sent and received messages, pictures, audio, video, and more.
  • the second memory 1102 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), Erasable Programmable Read-Only Memory (EPROM for short), Programmable Read-Only Memory (PROM for short), Read-Only Memory (ROM for short), magnetic memory, flash memory, magnetic disk or optical disk.
  • Multimedia components 1103 may include screen and audio components.
  • the screen can be, for example, a touch screen, and the audio component is used for outputting and/or inputting audio signals.
  • an audio component may include a microphone for receiving external audio signals.
  • the received audio signal may be further stored in the second memory 1102 or sent through the second communication component 1105 .
  • the audio component also includes at least one speaker for outputting audio signals.
  • the second I/O interface 1104 provides an interface between the second processor 1101 and other interface modules, and the other interface modules may be a keyboard, a mouse, buttons, and the like. These buttons can be virtual buttons or physical buttons.
  • the second communication component 1105 is used for wired or wireless communication between the source signal sending terminal device 1100 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding second communication component 1105 can include : Wi-Fi module, Bluetooth module, NFC module.
  • the source signal sending terminal device 1100 may be implemented by one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processors (Digital Signal Processor, DSP for short), digital signal processing Device (Digital Signal Processing Device, referred to as DSPD), Programmable Logic Device (Programmable Logic Device, referred to as PLD), Field Programmable Gate Array (Field Programmable Gate Array, referred to as FPGA), controller, microcontroller, microprocessor or Other electronic components are used to implement the above-mentioned source signal sending method.
  • ASIC Application Specific Integrated Circuit
  • DSP Digital Signal Processor
  • DSPD Digital Signal Processing Device
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • controller microcontroller, microprocessor or Other electronic components are used to implement the above-mentioned source signal sending method.
  • a computer-readable storage medium including a program command, and when the program command is executed by a processor, the steps of the above method for sending a signal source signal are implemented.
  • the computer-readable storage medium can be the above-mentioned second memory 1102 including program commands, and the above-mentioned program commands can be executed by the second processor 1101 of the source signal sending terminal device 1100 to complete the above-mentioned source signal sending method.
  • a readable storage medium is also provided in this embodiment, and the readable storage medium described below and the source signal sending method described above can be referred to in correspondence with each other.
  • a readable storage medium where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the information source signal transmission method in the above embodiment of the information source signal transmission method are implemented.
  • the readable storage medium can be a USB flash drive, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc., which can store program codes.
  • readable storage media can be a USB flash drive, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc., which can store program codes.
  • readable storage media can be a USB flash drive, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc., which can store program codes.
  • readable storage media can be a USB flash drive, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM),

Abstract

An information source orientation method, system, apparatus and terminal device, and a readable storage medium. The information source orientation method comprises: acquiring a first signal (S100), wherein the first signal comprises an information source signal that is received by a first array element and sent by an information source; acquiring a second signal (S200), wherein the second signal comprises an information source signal that is received by a second array element; and obtaining a first decision value of the information source signal according to the first signal and the second signal, and obtaining a first direction of an information source according to the first decision value (S300). In the method, by means of switching an antenna array element, which receives an information source signal, in an antenna array, the switching of the antenna array element is linked with a decision result, such that the direction of incoming waves is determined by using the decision result. Therefore, positioning is performed without the need to combine multi-path IQ acquisition, and a chip for IQ acquisition is also not needed, and the work can be carried out by using an ordinary Bluetooth chip, such that the costs and failure rate of an orientation device can be effectively reduced, and the orientation efficiency can be improved.

Description

信源定向方法、系统、装置、终端设备及可读存储介质Source oriented method, system, device, terminal equipment and readable storage medium 技术领域technical field
本申请涉及定向技术领域,具体而言,涉及一种信源定向方法、系统、装置、终端设备及可读存储介质。The present application relates to the technical field of orientation, and in particular, relates to a source orientation method, system, device, terminal equipment, and readable storage medium.
背景技术Background technique
现有的射频定向设备,一般需要使用多天线联合多路IQ采集来定位,并使用特殊的设备和频段。因此成本和故障率都较高,且定向效率低。Existing radio frequency directional equipment generally requires multi-antenna joint multi-channel IQ acquisition for positioning, and uses special equipment and frequency bands. Therefore, the cost and failure rate are high, and the orientation efficiency is low.
发明内容Contents of the invention
根据本申请的各种实施例,提供了如下技术方案:According to various embodiments of the present application, the following technical solutions are provided:
第一方面,本申请实施例提供了一种信源定向方法,所述方法包括:In the first aspect, the embodiment of the present application provides a source-orientation method, the method comprising:
获取第一信号,所述第一信号包括第一阵元所接收的所述信源发出的信源信号;Acquiring a first signal, where the first signal includes a source signal received by the first array element and sent by the source;
获取第二信号,所述第二信号包括第二阵元所接收的所述信源信号;acquiring a second signal, where the second signal includes the source signal received by the second array element;
根据所述第一信号和所述第二信号,得到所述信源信号的第一判决值,根据所述第一判决值得到所述信源的第一方向。A first judgment value of the information source signal is obtained according to the first signal and the second signal, and a first direction of the information source is obtained according to the first judgment value.
可选的,所述方法还包括:Optionally, the method also includes:
获取第三信号,所述第三信号包括所述第一阵元所接收的所述信源信号;acquiring a third signal, where the third signal includes the source signal received by the first array element;
获取第四信号,所述第四信号包括另一个第二阵元所接收的所述信源信号;acquiring a fourth signal, where the fourth signal includes the source signal received by another second array element;
根据所述第三信号和所述第四信号,得到所述信源信号的第二判决值,根据所述第二判决值得到所述信源的第二方向;Obtaining a second decision value of the source signal according to the third signal and the fourth signal, and obtaining a second direction of the source signal according to the second decision value;
根据所述第一方向和所述第二方向,得到所述信源的第三方向。A third direction of the information source is obtained according to the first direction and the second direction.
可选的,所述方法还包括:Optionally, the method also includes:
获取第五信号,所述第五信号包括第三阵元所接收的所述信源信号;acquiring a fifth signal, where the fifth signal includes the source signal received by the third array element;
根据所述第二信号和所述第五信号,得到所述信源信号的第三判决值,根据所述第三判决值得到所述信源的第四方向;Obtaining a third decision value of the source signal according to the second signal and the fifth signal, and obtaining a fourth direction of the source signal according to the third decision value;
根据所述第一方向和所述第四方向,得到所述信源的第五方向。A fifth direction of the information source is obtained according to the first direction and the fourth direction.
可选的,所述获取第二信号之前,还包括:Optionally, before acquiring the second signal, it also includes:
当接收到所述第一信号的标志位的第一时间长度后,将接收所述信源信号的阵元由所述第一阵元切换至所述第二阵元;所述第一时间长度等于所述标志位到定向bit流起始位置的时间和一个码元的持续时间之和。After receiving the first time length of the flag bit of the first signal, the array element receiving the source signal is switched from the first array element to the second array element; the first time length It is equal to the sum of the time from the flag bit to the start position of the directional bit stream and the duration of one symbol.
可选的,所述信源信号包括全0的数据bit流或全1的数据bit流。Optionally, the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
第二方面,本申请实施例提供了一种信源定向系统,所述系统包括第一获取模块、第二获取模块和第一计算模块。In a second aspect, an embodiment of the present application provides a system for source orientation, and the system includes a first acquisition module, a second acquisition module, and a first calculation module.
第一获取模块,用于获取第一信号,所述第一信号包括第一阵元所接收的所述信源发出的信源信号;The first acquisition module is configured to acquire a first signal, where the first signal includes the source signal received by the first array element and sent by the source;
第二获取模块,用于获取第二信号,所述第二信号包括第二阵元所接收的所述信源信号;A second acquisition module, configured to acquire a second signal, where the second signal includes the source signal received by the second array element;
第一计算模块,用于根据所述第一信号和所述第二信号,得到所述信源信号的第一判决值,根据所述第一判决值确定所述信源的第一方向。A first calculating module, configured to obtain a first judgment value of the information source signal according to the first signal and the second signal, and determine a first direction of the information source according to the first judgment value.
可选的,所述系统还包括第三获取模块,第四获取模块、第二计算模块和第三计算模块。Optionally, the system further includes a third acquisition module, a fourth acquisition module, a second calculation module and a third calculation module.
第三获取模块,用于获取第三信号,所述第三信号包括所述第一阵元所接收的所述信源信号;A third acquisition module, configured to acquire a third signal, where the third signal includes the source signal received by the first array element;
第四获取模块,用于获取第四信号,所述第四信号包括另一个第二阵元所接收的所述信源信号;A fourth acquisition module, configured to acquire a fourth signal, where the fourth signal includes the source signal received by another second array element;
第二计算模块,用于根据所述第三信号和所述第四信号,得到所述信源信号的第二判决值,根据所述第二判决值确定所述信源的第二方向;A second calculation module, configured to obtain a second decision value of the source signal according to the third signal and the fourth signal, and determine a second direction of the source signal according to the second decision value;
第三计算模块,用于根据所述第一方向和所述第二方向,确定所述信源的第三方向。A third calculating module, configured to determine a third direction of the information source according to the first direction and the second direction.
可选的,所述系统还包括第五获取模块、第四计算模块和第五计算模块。Optionally, the system further includes a fifth acquisition module, a fourth calculation module and a fifth calculation module.
第五获取模块,用于获取第五信号,所述第五信号包括第三阵元所接收的所述信源信号;A fifth acquisition module, configured to acquire a fifth signal, where the fifth signal includes the source signal received by the third array element;
第四计算模块,用于根据所述第二信号和所述第五信号,得到所述信源信号的第三判决值,根据所述第三判决值得到所述信源的第四方向;A fourth calculation module, configured to obtain a third decision value of the source signal according to the second signal and the fifth signal, and obtain a fourth direction of the source signal according to the third decision value;
第五计算模块,用于根据所述第一方向和所述第四方向,得到所述信源的第五方向。A fifth calculation module, configured to obtain a fifth direction of the information source according to the first direction and the fourth direction.
可选的,所述系统还包括切换模块。Optionally, the system further includes a switching module.
切换模块,用于当接收到所述第一信号的标志位的第一时间长度后,将接收所述信源信号的阵元由所述第一阵元切换至所述第二阵元;所述第一时间长度等于所述标志位到定向bit流起始位置的时间和一个码元的持续时间之和。A switching module, configured to switch the array element receiving the source signal from the first array element to the second array element after receiving the first time length of the flag bit of the first signal; The first time length is equal to the sum of the time from the flag bit to the start position of the directional bit stream and the duration of one symbol.
可选的,所述信源信号包括全0的数据bit流或全1的数据bit流。Optionally, the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
第三方面,本申请实施例提供了一种信源定向装置,所述信源定向装置包括天线阵列和可编程逻辑器件。所述天线阵列包括第一阵元和第二阵元;所述可编程逻辑器件用于执行上述信源定向方法的步骤。In a third aspect, an embodiment of the present application provides a source directional device, where the source directional device includes an antenna array and a programmable logic device. The antenna array includes a first array element and a second array element; the programmable logic device is used to execute the steps of the above-mentioned source orientation method.
可选的,所述第二阵元包括至少两个,所述第一阵元与每个所述第二阵元的间距均相等。Optionally, the second array element includes at least two array elements, and the distance between the first array element and each of the second array elements is equal.
可选的,所述信源定向装置还包括天线切换模块,所述天线切换模块根据所述可编程逻辑器件发出的控制信号切换接收所述信源发出的信源信号的天线阵元。Optionally, the source directional device further includes an antenna switching module, the antenna switching module switches the antenna element receiving the source signal sent by the source according to the control signal sent by the programmable logic device.
可选的,所述第一阵元通过第一微带线与接收芯片电连接,所述第二阵元通过第二微带线与接收芯片电连接,所述第一微带线与所述第二微带线的长度差满足以下公式:Optionally, the first array element is electrically connected to the receiving chip through the first microstrip line, the second array element is electrically connected to the receiving chip through the second microstrip line, and the first microstrip line is connected to the receiving chip. The length difference of the second microstrip line satisfies the following formula:
Figure PCTCN2021117561-appb-000001
Figure PCTCN2021117561-appb-000001
公式(1)中,Δw为所述第一微带线与所述第二微带线的长度差,n为整数,
Figure PCTCN2021117561-appb-000002
为所述天线阵列所接收到的所述信源发出的信元信号在所述第一微带线中和所述第二微带线中的波长。
In formula (1), Δw is the length difference between the first microstrip line and the second microstrip line, n is an integer,
Figure PCTCN2021117561-appb-000002
is the wavelength of the cell signal sent by the signal source received by the antenna array in the first microstrip line and in the second microstrip line.
可选的,所述第一阵元与所述第二阵元之间的间距满足以下公式:Optionally, the distance between the first array element and the second array element satisfies the following formula:
Figure PCTCN2021117561-appb-000003
Figure PCTCN2021117561-appb-000003
公式(2)中,d为所述第一阵元与所述第二阵元之间的间距,λ为所述信源发出的信元信号在空气中的波长。In formula (2), d is the distance between the first array element and the second array element, and λ is the wavelength in air of the cell signal sent by the signal source.
第四方面,本申请实施例提供了一种信源定向终端设备,包括第一存储器、第一处理器以及存储在所述第一存储器中并可在所述第一处理器上运行的计算机程序,所述第一处理器执行所述计算机程序时实现上述信源定向方法的步骤。In a fourth aspect, an embodiment of the present application provides a source-oriented terminal device, including a first memory, a first processor, and a computer program stored in the first memory and operable on the first processor When the first processor executes the computer program, the steps of the above-mentioned source-orientation method are implemented.
第五方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述信源定向方法的步骤。In a fifth aspect, the embodiment of the present application provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the above information source directional method are implemented.
第六方面,本申请实施例提供了一种信源信号发送方法,所述包括:In a sixth aspect, the embodiment of the present application provides a method for sending a source signal, including:
生成信源信号;Generate a source signal;
将所述信源信号发送,所述信源信号用于依次被第一阵元和第二阵元接收,所述第一阵元接收的所述信源信号,用于与所述第二阵元接收的所述信源信号结合,得到所述信源信号的第一判决值,所述第一判决值用于判断所述信源信号的第一发送方向。sending the source signal, the source signal is used to be received by the first array element and the second array element in turn, and the source signal received by the first array element is used to communicate with the second array element Combine the received source signals to obtain a first judgment value of the source signal, and the first judgment value is used to judge a first sending direction of the source signal.
可选的,所述第二阵元接收所述信源信号之后,还包括:Optionally, after the second array element receives the source signal, it further includes:
所述信源信号依次被所述第一阵元和另一个第二阵元接收,所述第一阵元接收的所述信源信号,用于与所述另一个第二阵元接收的所述信源信号结合,得到所述信源信号的第二判决值,所述第二判决值用于判断所述信源信号的第二发送方向,所述第二发送方向用于与所述第一发送方向结合,得到所述信源信号的第三发送方向。The source signal is sequentially received by the first array element and another second array element, and the source signal received by the first array element is used for all signals received by the other second array element. The source signal is combined to obtain a second judgment value of the source signal, the second judgment value is used to judge the second sending direction of the source signal, and the second sending direction is used to communicate with the first A sending direction is combined to obtain a third sending direction of the source signal.
可选的所述第二阵元接收所述信源信号之后,还包括:Optionally, after the second array element receives the source signal, it further includes:
所述信源信号被第三阵元接收,所述第三阵元接收的所述信源信号,用于与所述第二阵元接收的所述信源信号结合,得到所述信源信号的第三判决值,所述第三判决值用于判断所述信源信号的第四发送方向,所述第四发送方向用于与所述第一发送方向结合,得到所述信源信号的第五发送方向。The source signal is received by a third array element, and the source signal received by the third array element is used to combine with the source signal received by the second array element to obtain the source signal The third judgment value, the third judgment value is used to judge the fourth transmission direction of the source signal, and the fourth transmission direction is used to combine with the first transmission direction to obtain the source signal Fifth sending direction.
可选的,所述信源信号的包括用于触发阵元切换的标志位,所述阵元切换包括:Optionally, the source signal includes a flag bit for triggering array element switching, and the array element switching includes:
当接收到所述标志位的第一时间长度后,将接收所述信源信号的阵元由当前阵元切换到另一个阵元,所述第一时间长度等于所述标志位到定向bit流起始位置的时间和一个码元的持续时间之和。After receiving the first time length of the flag bit, the array element receiving the source signal is switched from the current array element to another array element, and the first time length is equal to the flag bit to the directional bit stream The sum of the time at the start position and the duration of one symbol.
可选的,所述信源信号包括全0的数据bit流或全1的数据bit流。Optionally, the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
第七方面,本申请实施例提供了一种信源信号发送装置,包括信源信号生成模块和信源信号发送模块。In a seventh aspect, the embodiment of the present application provides a source signal sending device, including a source signal generating module and a source signal sending module.
信源信号生成模块,用于生成信源信号;A source signal generating module, configured to generate a source signal;
信源信号发送模块,用于将所述信源信号发送,所述信源信号用于依次被第一阵元和第二阵元接收,所述第一阵元接收的所述信源信号,用于与所述第二阵元接收的所述信源信号结合,得到所述信源信号的第一判决值,所述第一判决值用于判断所述信源信号的第一发送方向。A source signal sending module, configured to send the source signal, the source signal is used to be sequentially received by the first array element and the second array element, and the source signal received by the first array element, It is used to combine with the source signal received by the second array element to obtain a first judgment value of the source signal, and the first judgment value is used to judge a first sending direction of the source signal.
可选的,所述信源信号包括全0的数据bit流或全1的数据bit流。Optionally, the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
第八方面,本申请实施例提供了一种信源信号发送终端设备,包括第二存储器、第二处理器以及存储在所述第二存储器中并可在所述第二处理器上运行的计算机程序,所述第二处理器执行所述计算机程序时实现上述信源信号发送方法的步骤。In an eighth aspect, the embodiment of the present application provides a source signal transmission terminal device, including a second memory, a second processor, and a computer stored in the second memory and operable on the second processor program, when the second processor executes the computer program, it implements the steps of the above method for sending a signal source signal.
第九方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述信源信号发送方法的步骤。In a ninth aspect, the embodiment of the present application provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the above method for sending a signal source are implemented.
本申请的有益效果为:The beneficial effect of this application is:
本申请通过将天线阵列中接收信源信号的天线阵元的切换,从而将天线阵元的切换和判决结果联系起来,使用判决结果判断来波方向。从而不需要联合多路IQ采集来进行定位,也就不需要采集IQ的芯片,使用普通蓝牙芯片即可工作,可以有效降低定向设备的成本和故障率,并且可以提高定向的效率。The present application links the switching of the antenna elements with the decision result by switching the antenna element receiving the source signal in the antenna array, and uses the decision result to judge the incoming wave direction. Therefore, there is no need to combine multiple IQ acquisitions for positioning, and there is no need to collect IQ chips, and ordinary Bluetooth chips can be used to work, which can effectively reduce the cost and failure rate of orientation equipment, and can improve the efficiency of orientation.
本申请的其他特征和优点将在随后的说明书阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请实施例了解。本申请的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present application will be set forth in the ensuing description and, in part, will be apparent from the description, or can be learned by practicing the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, so It should be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings based on these drawings without creative work.
图1是本申请实施例中提供的一种信源定向装置结构示意图;FIG. 1 is a schematic structural diagram of a source directional device provided in an embodiment of the present application;
图2是本申请实施例中所述经过GFSK调制后的信号的波形图;Fig. 2 is the waveform diagram of the signal after GFSK modulation described in the embodiment of the present application;
图3是本申请实施例中所述的数据发送和接收的处理流程示意图;Fig. 3 is a schematic diagram of the processing flow of data sending and receiving described in the embodiment of the present application;
图4是本申请实施例中所述的bit信源与采样相位之间的关系示意图;Fig. 4 is a schematic diagram of the relationship between the bit source and the sampling phase described in the embodiment of the present application;
图5是本申请实施例中所述的天线阵元切换与相位的关系示意图;Fig. 5 is a schematic diagram of the relationship between antenna element switching and phase described in the embodiment of the present application;
图6是本申请实施例中所述的天线阵元间距与微带线长度关系示意图;6 is a schematic diagram of the relationship between the antenna element spacing and the length of the microstrip line described in the embodiment of the present application;
图7是本申请实施例中所述的单位圆上
Figure PCTCN2021117561-appb-000004
的判决范围示意图;
Fig. 7 is on the unit circle described in the embodiment of the present application
Figure PCTCN2021117561-appb-000004
Schematic diagram of the scope of judgment;
图8是本申请实施例中所述的Δp与
Figure PCTCN2021117561-appb-000005
的关系示意图;
Fig. 8 is the Δp described in the embodiment of the application and
Figure PCTCN2021117561-appb-000005
The schematic diagram of the relationship;
图9是本申请一个实施例提供的信元定向方法的方法流程图;FIG. 9 is a method flowchart of a cell orientation method provided by an embodiment of the present application;
图10是本申请另一实施例提供的信元定向方法的方法流程图;FIG. 10 is a method flowchart of a cell orientation method provided in another embodiment of the present application;
图11是本申请实施例中所述的天线阵列的布局示意图;FIG. 11 is a schematic layout diagram of the antenna array described in the embodiment of the present application;
图12是本申请另一实施例提供的信元定向方法的方法流程图;FIG. 12 is a method flowchart of a cell orientation method provided in another embodiment of the present application;
图13是本申请一个实施例提供的信源定向系统结构框图;FIG. 13 is a structural block diagram of a source-oriented system provided by an embodiment of the present application;
图14是本申请另一个实施例提供的信源定向系统结构框图;Fig. 14 is a structural block diagram of a source-oriented system provided by another embodiment of the present application;
图15是本申请另一个实施例提供的信源定向系统结构框图;Fig. 15 is a structural block diagram of a source-orientation system provided by another embodiment of the present application;
图16是本申请一个实施例提供的信源定向终端设备结构框图和本申请另一个实施例提供的信源信号发送终端设备结构框图;Fig. 16 is a structural block diagram of a source-directed terminal device provided by one embodiment of the present application and a structural block diagram of a source signal sending terminal device provided by another embodiment of the present application;
图17是本申请一个实施例提供的信源信号发送方法的方法流程图;FIG. 17 is a flow chart of a source signal sending method provided by an embodiment of the present application;
图18是本申请一个实施例提供的信源信号发送装置结构框图。Fig. 18 is a structural block diagram of a source signal sending device provided by an embodiment of the present application.
图中标记:110、信号发送装置;120、信号接收装置;121、可编程逻辑器件;122、开关控制线;123、天线阵列;124、信号接收芯片;125、射频开关阵列。Marks in the figure: 110, signal sending device; 120, signal receiving device; 121, programmable logic device; 122, switch control line; 123, antenna array; 124, signal receiving chip; 125, radio frequency switch array.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件 可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
应注意到:相似的标号或字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that similar reference numerals or letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.
实施例Example
现有的射频定向设备,一般需要使用多天线联合多路IQ采集来定位,并使用特殊的设备和频段。本申请实施例中所提供的技术方案,能够有效解决该问题。Existing radio frequency directional equipment generally requires multi-antenna joint multi-channel IQ acquisition for positioning, and uses special equipment and frequency bands. The technical solutions provided in the embodiments of the present application can effectively solve this problem.
请参考图1,其示出了本申请各个实施例所涉及的一种实施环境的结构示意图。该实施环境包括:信号发送装置110和信号接收装置120。Please refer to FIG. 1 , which shows a schematic structural diagram of an implementation environment involved in various embodiments of the present application. The implementation environment includes: a signal sending device 110 and a signal receiving device 120 .
信号发送装置110可以是具有普通的蓝牙发送功能的电子设备,需要支持蓝牙BLE4.2及以上的协议即可。该信号发送装置110可以是定制的标签,也可以是具有蓝牙功能的智能手机等设备。The signal sending device 110 may be an electronic device with a common bluetooth sending function, and it only needs to support bluetooth BLE4.2 and above protocols. The signal sending device 110 may be a customized label, or a device such as a smart phone with a Bluetooth function.
信号接收装置120,可以包括可编程逻辑器件121、开关控制线122、天线阵列123、信号接收芯片124、和射频开关阵列125。The signal receiving device 120 may include a programmable logic device 121 , a switch control line 122 , an antenna array 123 , a signal receiving chip 124 , and a radio frequency switch array 125 .
可编程逻辑器件121的输入端与信号接收芯片124电连接,可编程逻辑器件121的输出端通过开关控制线122与射频开关阵列125电连接,可编程逻辑器件121可以是CPLD(Complex Programming  logic device),CPLD是高密度、高速度和低功耗的可编程逻辑器件。The input end of the programmable logic device 121 is electrically connected with the signal receiving chip 124, and the output end of the programmable logic device 121 is electrically connected with the radio frequency switch array 125 through the switch control line 122, and the programmable logic device 121 can be CPLD (Complex Programming logic device ), CPLD is a programmable logic device with high density, high speed and low power consumption.
信号接收芯片124的输入端与射频开关阵列125电连接,输出端与可编程逻辑器件121电连接,信号接收芯片124可以是蓝牙接收芯片。The input end of the signal receiving chip 124 is electrically connected to the radio frequency switch array 125, and the output end is electrically connected to the programmable logic device 121. The signal receiving chip 124 may be a Bluetooth receiving chip.
天线阵列123包含至少两个天线阵元,每个天线阵元均通过独立的微带线与射频开关阵列125电连接。The antenna array 123 includes at least two antenna elements, and each antenna element is electrically connected to the radio frequency switch array 125 through an independent microstrip line.
射频开关阵列125的输出端与信号接收芯片124电连接,射频开关阵列125的输入端与天线阵列123电连接。在接收到可编程逻辑器件121的控制命令后,射频开关阵列125根据该控制命令,接通或断开天线阵列123中其中一个天线阵元的输入微带线,当射频开关阵列125接通输入微带线的天线阵元,才能将其所接收到的信源信号传输给可编程逻辑器件121。The output end of the radio frequency switch array 125 is electrically connected to the signal receiving chip 124 , and the input end of the radio frequency switch array 125 is electrically connected to the antenna array 123 . After receiving the control command of the programmable logic device 121, the radio frequency switch array 125 turns on or off the input microstrip line of one of the antenna elements in the antenna array 123 according to the control command, when the radio frequency switch array 125 turns on the input The antenna element of the microstrip line can transmit the source signal it receives to the programmable logic device 121 .
信号发送装置110和信号接收装置120可以工作在蓝牙的广播频段上,蓝牙的广播频段包含三个,分别是37,38,39通道,其工作频率分别为:2.402GHz,2.426GHz,2.480GHz.在广播信道中,蓝牙协议使用GFSK调制方式,调制系数0.45至0.55之间。The signal sending device 110 and the signal receiving device 120 can work in the Bluetooth broadcast frequency band. The Bluetooth broadcast frequency band includes three channels, namely 37, 38, and 39 channels, and their operating frequencies are: 2.402GHz, 2.426GHz, and 2.480GHz. In the broadcast channel, the Bluetooth protocol uses GFSK modulation with a modulation factor between 0.45 and 0.55.
蓝牙的广播信道的调制中,0.5的调制系数的GFSK信号,发送1时信号为载波频率加上250KHz,发送0时,信号为载波频率减去250KHz。蓝牙BLE广播信道的波特率为1M/s,所以每个信元的持续时长为1us,其波形图如图2所示。In the modulation of the Bluetooth broadcast channel, the GFSK signal with a modulation factor of 0.5, when sending 1, the signal is the carrier frequency plus 250KHz, and when sending 0, the signal is the carrier frequency minus 250KHz. The baud rate of the Bluetooth BLE broadcast channel is 1M/s, so the duration of each cell is 1us, and its waveform is shown in Figure 2.
如图3所示,在蓝牙的广播信道上,数据发送时有一个白化过程,接收解调后有一个去白化过程。As shown in Figure 3, on the Bluetooth broadcast channel, there is a whitening process when data is sent, and a de-whitening process after receiving and demodulating.
信号发送装置110发送信号,信号接收装置120接收信号。信号发送装置110通过构造特殊的bit流,可以使得白化后的数据bit流变成全1或者全0,为了讲述方便,这里以全1为例。同时,由于 信道白化过程和去白化是固定的且可逆的,通过分析处理信号接收装置120接收到的数据bit流,可以反向推断出解调后得到的数据bit流。The signal sending device 110 sends signals, and the signal receiving device 120 receives signals. The signal sending device 110 can make the whitened data bit stream become all 1s or all 0s by constructing a special bit stream. For the convenience of description, all 1s are used as an example here. At the same time, since the channel whitening process and de-whitening are fixed and reversible, by analyzing and processing the data bit stream received by the signal receiving device 120, the data bit stream obtained after demodulation can be deduced inversely.
信号接收装置120接收到信号发送装置110发送的帧头后,由信号接收芯片124立即生成一个信号脉冲给可编程逻辑器件121,可编程逻辑器件121通过硬件逻辑生成天线阵元切换控制信号,来控制射频开关阵列对天线阵元的切换。After the signal receiving device 120 receives the frame header sent by the signal sending device 110, the signal receiving chip 124 immediately generates a signal pulse to the programmable logic device 121, and the programmable logic device 121 generates an antenna array element switching control signal through hardware logic to Control the switching of the radio frequency switch array to the antenna elements.
信号由天线阵列123接收,交由可编程逻辑器件121内部的解调器解调,然后去白化,信号接收芯片124的用户可以读取得到一帧数据bit流。由于天线阵元切换的原因,该数据一般与发送的数据bit流不同,算法通过比较这个不同点,便可以得到信号发送装置110相对于信号接收装置120的方位。The signal is received by the antenna array 123, demodulated by the demodulator inside the programmable logic device 121, and then de-whitened, and the user of the signal receiving chip 124 can read a frame of data bit stream. Due to the switching of antenna elements, the data is generally different from the transmitted data bit stream, and the algorithm can obtain the orientation of the signal transmitting device 110 relative to the signal receiving device 120 by comparing this difference.
算法通过比较这个不同点,得到信号发送装置110相对于信号接收装置120的方位的原理如下:The principle of the algorithm to obtain the orientation of the signal sending device 110 relative to the signal receiving device 120 by comparing this difference is as follows:
为了描述方便,设定发送的数据为白化后bit流为全1。信号接收装置120收到数据后,经过去白化的反向操作,可以获得解调后,去白化前的数据。For the convenience of description, it is assumed that the sent data is all 1 in the bit stream after whitening. After receiving the data, the signal receiving device 120 performs a reverse operation of de-whitening to obtain the data after demodulation and before de-whitening.
蓝牙广播信道的解调后判决是通过bit开始和结束时的相位差来判断的。则蓝牙广播信号的复数表示方式为:The post-demodulation judgment of the Bluetooth broadcast channel is judged by the phase difference between the beginning and the end of the bit. The complex representation of the Bluetooth broadcast signal is:
Figure PCTCN2021117561-appb-000006
Figure PCTCN2021117561-appb-000006
其中i为虚数单位,S为复数信号,
Figure PCTCN2021117561-appb-000007
为初始相位,A为信号幅度,f b为调制频率。当发送1时,f b=250kHz,当发送0时,f b=-250kHz。
Where i is the imaginary unit, S is the complex signal,
Figure PCTCN2021117561-appb-000007
Is the initial phase, A is the signal amplitude, and f b is the modulation frequency. When sending 1, f b =250kHz, when sending 0, fb=-250kHz.
如图4所示,可编程逻辑器件121通过第一个采样相位和第二个采样相位,可以检测出发送的bit是0还是1,bit信源与采样相位之间的关系如图4所示,在图4中,第一个采样相位为
Figure PCTCN2021117561-appb-000008
第二个采 样相位为
Figure PCTCN2021117561-appb-000009
本实施例中,可编程逻辑器件121可以使用不具备IQ值输出功能的芯片,可以使用仅有0、1判决值的蓝牙芯片实现。
As shown in Figure 4, the programmable logic device 121 can detect whether the transmitted bit is 0 or 1 through the first sampling phase and the second sampling phase, and the relationship between the bit source and the sampling phase is shown in Figure 4 , in Figure 4, the first sampling phase is
Figure PCTCN2021117561-appb-000008
The second sampling phase is
Figure PCTCN2021117561-appb-000009
In this embodiment, the programmable logic device 121 can use a chip that does not have an IQ value output function, and can be implemented using a Bluetooth chip that only has a judgment value of 0 or 1.
当发送1时,相位差为:When sending 1, the phase difference is:
Figure PCTCN2021117561-appb-000010
Figure PCTCN2021117561-appb-000010
Figure PCTCN2021117561-appb-000011
Figure PCTCN2021117561-appb-000011
同样的道理,当发送0时,相位差为:For the same reason, when sending 0, the phase difference is:
Figure PCTCN2021117561-appb-000012
Figure PCTCN2021117561-appb-000012
也就是说,相位差的不同,对应信元bit的不同。当信号发送装置110发送全1的信元bit流时,相邻的采样相位差应该均为
Figure PCTCN2021117561-appb-000013
此时,做如下过程设计,在信元中间切换天线阵元,使得两次采样的信号使用不同的天线阵元进行接收,同时设计使得两个天线阵元本身的相位延迟相差
Figure PCTCN2021117561-appb-000014
天线阵元切换与相位的关系如图5所示。
That is to say, the difference in the phase difference corresponds to the difference in the bit of the cell. When the signal sending device 110 sends a cell bit stream of all 1s, the adjacent sampling phase differences should be
Figure PCTCN2021117561-appb-000013
At this time, do the following process design, switch the antenna element in the middle of the cell, so that the two sampled signals are received by different antenna elements, and at the same time design the phase delay of the two antenna elements themselves to be different
Figure PCTCN2021117561-appb-000014
The relationship between antenna element switching and phase is shown in Figure 5.
假设标签信号到达天线1的路径长度为p,标签到达天线2之间的路径为p+Δp,这个路径差Δp与天线构型和标签相对于基站的方位有关。如图6所示,Δp=d·sinβ。Assuming that the path length of the tag signal to antenna 1 is p, and the path between the tag and antenna 2 is p+Δp, the path difference Δp is related to the antenna configuration and the orientation of the tag relative to the base station. As shown in FIG. 6, Δp=d·sinβ.
图6中,天线1到达信号接收芯片124的微带线长度为w,天线2到达信号接收芯片124的微带线长度为w+Δw,这个长度差可以通过微带线设计来控制。则有,信号发送装置110端信号为:In FIG. 6 , the length of the microstrip line from antenna 1 to the signal receiving chip 124 is w, and the length of the microstrip line from antenna 2 to the signal receiving chip 124 is w+Δw. This length difference can be controlled by the design of the microstrip line. Then, the signal at the terminal 110 of the signal sending device is:
Figure PCTCN2021117561-appb-000015
Figure PCTCN2021117561-appb-000015
而采样相位的值为:其中λ为信号在空气中的波长,
Figure PCTCN2021117561-appb-000016
为信号在微带线中的波长。这两个波长均可以根据信号频率,空气介电常数,微带线构型,PCB板材介电常数计算得到:
The value of the sampling phase is: where λ is the wavelength of the signal in the air,
Figure PCTCN2021117561-appb-000016
is the wavelength of the signal in the microstrip line. These two wavelengths can be calculated according to the signal frequency, air dielectric constant, microstrip line configuration, and PCB board dielectric constant:
Figure PCTCN2021117561-appb-000017
Figure PCTCN2021117561-appb-000017
Figure PCTCN2021117561-appb-000018
Figure PCTCN2021117561-appb-000018
则,可编程逻辑器件内部判决器获得的相位差为:Then, the phase difference obtained by the internal decision device of the programmable logic device is:
Figure PCTCN2021117561-appb-000019
Figure PCTCN2021117561-appb-000019
通过设计微带线,使
Figure PCTCN2021117561-appb-000020
n为整则有:
By designing the microstrip line, the
Figure PCTCN2021117561-appb-000020
n is an integer:
Figure PCTCN2021117561-appb-000021
Figure PCTCN2021117561-appb-000021
同样的道理,当发送0时,微带线的长度差
Figure PCTCN2021117561-appb-000022
In the same way, when sending 0, the length difference of the microstrip line
Figure PCTCN2021117561-appb-000022
由于相位是以2π为周期的,因此,2π可以去掉,因此有:Since the phase is 2π as a period, therefore, 2π can be removed, so there are:
Figure PCTCN2021117561-appb-000023
Figure PCTCN2021117561-appb-000023
由图6可知,可编程逻辑器件121是通过
Figure PCTCN2021117561-appb-000024
的更接近
Figure PCTCN2021117561-appb-000025
还是
Figure PCTCN2021117561-appb-000026
来判决收到的bit信元是1还是0。由此,在单位圆上可以画出
Figure PCTCN2021117561-appb-000027
的判决范围,如图7所示。
As can be seen from FIG. 6, the programmable logic device 121 is through
Figure PCTCN2021117561-appb-000024
the closer
Figure PCTCN2021117561-appb-000025
still is
Figure PCTCN2021117561-appb-000026
To determine whether the received bit cell is 1 or 0. Thus, on the unit circle one can draw
Figure PCTCN2021117561-appb-000027
The judgment range of , as shown in Figure 7.
通过微带天线的长度,可以让天线1和天线2之间的距离小于
Figure PCTCN2021117561-appb-000028
则Δp的取值范围为:
Figure PCTCN2021117561-appb-000029
画出Δp与
Figure PCTCN2021117561-appb-000030
的关系图,如图8所示。由图8,可以得到以下表格中的内容:
Through the length of the microstrip antenna, the distance between antenna 1 and antenna 2 can be less than
Figure PCTCN2021117561-appb-000028
Then the value range of Δp is:
Figure PCTCN2021117561-appb-000029
Draw Δp vs.
Figure PCTCN2021117561-appb-000030
The relationship diagram, as shown in Figure 8. From Figure 8, the content in the following table can be obtained:
Figure PCTCN2021117561-appb-000031
Figure PCTCN2021117561-appb-000031
所以仅仅通过接收到的信元本身是1还是0,便可以判断得到信号是从相邻两个天线阵元连线的法线的左侧入射还是右侧入射。Therefore, only by whether the received cell itself is 1 or 0, it can be judged whether the signal is incident from the left side or the right side of the normal line connecting two adjacent antenna elements.
如图9所示,其示出了本申请一个实施例提供的信元定向方法的流程图,该信元定向方法包括步骤S210、步骤S220和步骤S230。As shown in FIG. 9 , it shows a flowchart of a cell orientation method provided by an embodiment of the present application, and the cell orientation method includes step S210, step S220 and step S230.
步骤S210.获取第一信号。第一信号可以是天线阵列123中第一个与射频开关阵列125电连接的天线阵元所接收的信源发出的信源信号。Step S210. Acquire a first signal. The first signal may be a source signal sent by a source received by the first antenna element in the antenna array 123 that is electrically connected to the radio frequency switch array 125 .
步骤S220.获取第二信号。第二信号可以是另一个与射频开关阵列125电连接的天线阵元所接收的信源信号。Step S220. Acquire a second signal. The second signal may be a source signal received by another antenna element electrically connected to the radio frequency switch array 125 .
步骤S230.根据第一信号和第二信号,得到信源信号的第一判决值,根据第一判决值得到信源的第一方向。Step S230. According to the first signal and the second signal, a first decision value of the source signal is obtained, and a first direction of the source signal is obtained according to the first decision value.
可编程逻辑器件121根据第一信号和第二信号,判决得到接收到的信源是0还是1,根据判决值,就可以得到信源信号的发射方向位于第一阵元和第二阵元连线的法线的左侧还是右侧。According to the first signal and the second signal, the programmable logic device 121 judges whether the received signal source is 0 or 1, and according to the judgment value, it can be obtained that the transmission direction of the signal source signal is located between the first array element and the second array element. Whether the line's normal is left or right.
蓝牙4.2是设计来传数据的,默认执行白化,从而发出的数据是频率变化的,无法直接用于定向。通过构造全0的数据bit流或全1 的数据bit流,可以使信号的频率在一个定向周期内保持一致。通过判决出来的0或者1,以及在微带线和天线阵列结构的设计,来反推信源信号入射方向,从而实现定向,使得使用蓝牙4.2的电子产品也能被定向。Bluetooth 4.2 is designed to transmit data, and whitening is performed by default, so the data sent out has a changing frequency and cannot be directly used for orientation. By constructing a data bit stream of all 0s or a data bit stream of all 1s, the frequency of the signal can be kept consistent within a directional cycle. Through the judgment of 0 or 1, and the design of the microstrip line and antenna array structure, the incident direction of the source signal is reversed, so as to achieve orientation, so that electronic products using Bluetooth 4.2 can also be oriented.
由于本实施例中的可编程逻辑器件121只需要输出0或1的判决值,根据判决值就可以判断信源的方向,因此可编程逻辑器件121就可以不需要给出第一信号和第二信号具体的相位,或者第一信号与第二信号的相位差,因此,可编程逻辑器件121可以使用蓝牙4.2及以下的蓝牙芯片来实现。使信源方向的判断更加简洁,提高信源方向判断的效率。Since the programmable logic device 121 in this embodiment only needs to output a judgment value of 0 or 1, the direction of the source can be judged according to the judgment value, so the programmable logic device 121 does not need to provide the first signal and the second signal. The specific phase of the signal, or the phase difference between the first signal and the second signal, therefore, the programmable logic device 121 can be implemented using a Bluetooth chip of Bluetooth 4.2 or below. The judgment of the direction of the signal source is made more concise, and the efficiency of judging the direction of the signal source is improved.
目前蓝牙4.2协议的蓝牙芯片,内部只能判断相位差是更接近
Figure PCTCN2021117561-appb-000032
还是更接近
Figure PCTCN2021117561-appb-000033
来输出0/1,并不能清晰的输出具体相位差的值,原因是蓝牙4.2芯片只是做传输数据用,也就是传输0、1值使用,并不提供定向功能,所以不输出具体的相位或相位差值,而定向通常会用到相位或相位差来解算方向。
At present, the Bluetooth chip of the Bluetooth 4.2 protocol can only judge whether the phase difference is closer
Figure PCTCN2021117561-appb-000032
still closer
Figure PCTCN2021117561-appb-000033
To output 0/1, the specific value of phase difference cannot be clearly output. The reason is that the Bluetooth 4.2 chip is only used to transmit data, that is, to transmit 0 and 1 values, and does not provide orientation function, so it does not output specific phase or Phase difference value, and orientation usually uses phase or phase difference to solve the direction.
而支持蓝牙5.1及以上版本协议的芯片,可支持定向功能(也就是在传输数据这个基础功能之上,又提供了定向功能),所以支持蓝牙5.1的芯片会清晰的计算相位/相位差值并输出。Chips that support Bluetooth 5.1 and above protocols can support the orientation function (that is, the orientation function is provided on top of the basic function of transmitting data), so the chip that supports Bluetooth 5.1 will clearly calculate the phase/phase difference and output.
虽然蓝牙协议更新到5.1版本了,现在市面上很多电子产品(例如手机)里的蓝牙芯片还是4.2版本的,还没有升级5.1版本的芯片,也就是说,只有蓝牙4.2芯片的手机是无法根据蓝牙5.1协议发送信号,所以即使定向基站里使用了5.1协议的芯片,老手机也无法和定向基站基于蓝牙5.1来通信解码,从而基站无法直接得到相位/相位差值来定向。Although the Bluetooth protocol has been updated to version 5.1, the Bluetooth chips in many electronic products (such as mobile phones) on the market are still version 4.2, and the chips of version 5.1 have not been upgraded. That is to say, mobile phones with only Bluetooth 4.2 chips cannot use Bluetooth The 5.1 protocol sends signals, so even if the 5.1 protocol chip is used in the directional base station, the old mobile phone cannot communicate and decode with the directional base station based on Bluetooth 5.1, so the base station cannot directly obtain the phase/phase difference for orientation.
因此,使用蓝牙4.2及以下的蓝牙芯片,可以极大的降低设备成本,增加使用本方法来进行信源方向设备的兼容性。Therefore, the use of Bluetooth 4.2 and below Bluetooth chips can greatly reduce the cost of equipment and increase the compatibility of devices using this method for source direction.
综上所述,本申请实施例提供的信源定向方法,仅仅通过接收信源信号的天线阵元的切换,即可实现信源方向的判断,天线阵列的所有天线阵元共用一个接收通道。从而不需要联合多路IQ采集来进行定位,也就不需要采集IQ的芯片,仅仅使用普通蓝牙芯片即可工作,可以有效降低定向设备的成本和故障率,并且可以提高定向的效率。同时,本申请由于使用蓝牙频段,许可较为容易。To sum up, the source orientation method provided by the embodiment of the present application can realize the judgment of the direction of the signal source only by switching the antenna elements receiving the source signal, and all the antenna elements of the antenna array share one receiving channel. Therefore, there is no need to combine multiple IQ acquisitions for positioning, and there is no need to collect IQ chips. Only ordinary Bluetooth chips can be used to work, which can effectively reduce the cost and failure rate of orientation equipment, and can improve the efficiency of orientation. At the same time, because this application uses the bluetooth frequency band, the license is relatively easy.
如图10所示,其示出了本申请一个实施例提供的信元定向方法的流程图,该信元定向方法包括步骤S310、步骤S320、步骤S330、步骤S340、步骤S350、步骤S360和步骤S370。As shown in Figure 10, it shows the flowchart of the cell orientation method provided by one embodiment of the present application, the cell orientation method includes step S310, step S320, step S330, step S340, step S350, step S360 and step S370.
步骤S310.获取第一信号。在接收信源信号之前,射频开关阵列125先与第一阵元电连接,第一阵元先开始接收信源信号,信源信号可以是全0的数据bit流或者全1的数据bit流。信源信号的每一个bit信元中,均有一个标志位,比如说,这个标志位可以是bit信元的帧头。当第一阵元识别到第一信号的标志位时开始切换准备工作,并且在对应的bit流时间后开始切换,该对应bit流时间可以是标志位到定向bit流起始位置的时间与一个码元时间之和。Step S310. Acquire a first signal. Before receiving the source signal, the radio frequency switch array 125 is electrically connected to the first array element, and the first array element starts to receive the source signal. The source signal can be a data bit stream of all 0s or a data bit stream of all 1s. Each bit cell of the source signal has a flag bit, for example, the flag bit can be the frame header of the bit cell. When the first array element recognizes the flag bit of the first signal, it starts switching preparations, and starts switching after the corresponding bit stream time. The corresponding bit stream time can be the time from the flag bit to the start position of the directional bit stream and a Sum of symbol times.
步骤S320.获取第二信号。当识别到第一信号中的标志位的对应bit流时间后,可编程逻辑器件121生成一个切换控制命令,并将该控制命令发送给射频开关阵列125,射频开关阵列125接收到该控制命令后,将第一阵元断开,将第二阵元电连接,将第二阵元中接收的信源信号传输至可编程逻辑器件121。Step S320. Acquire a second signal. After recognizing the corresponding bit flow time of the flag in the first signal, the programmable logic device 121 generates a switching control command, and sends the control command to the radio frequency switch array 125, and the radio frequency switch array 125 receives the control command , disconnect the first array element, electrically connect the second array element, and transmit the signal source signal received in the second array element to the programmable logic device 121 .
步骤S330.根据第一信号和第二信号,得到信源信号的第一判决值,根据第一判决值得到信源的第一方向。可编程逻辑器件根据第一信号和第二信号,判决得到信源信号的第一方向。Step S330. According to the first signal and the second signal, a first decision value of the source signal is obtained, and a first direction of the source is obtained according to the first decision value. The programmable logic device determines and obtains the first direction of the source signal according to the first signal and the second signal.
步骤S340.获取第三信号,第三信号包括第一阵元所接收的信源信号;当识别到第二信号中的标志位的对应bit流时间后,可编程逻辑器件121生成一个切换控制命令,并将该控制命令发送给射频开关阵列125,射频开关阵列125接收到该控制命令后,将第二阵元断开,将第一阵元电连接,将第一阵元中接收的信源信号传输至可编程逻辑器件121。将接收信源信号的天线阵元由第二阵元切换至第一阵元,继续由第一阵元接收信源信号,就得到了第三信号。Step S340. Obtain a third signal, the third signal includes the source signal received by the first array element; after identifying the corresponding bit stream time of the flag in the second signal, the programmable logic device 121 generates a switching control command , and send the control command to the RF switch array 125. After receiving the control command, the RF switch array 125 disconnects the second array element, electrically connects the first array element, and connects the signal source received in the first array element The signal is transmitted to the programmable logic device 121 . The third signal is obtained by switching the antenna element receiving the source signal from the second element to the first element, and continuing to receive the source signal by the first element.
步骤S350.获取第四信号,第四信号包括另一个第二阵元所接收的信源信号;当识别到第三信号中的标志位的对应bit流时间后,可编程逻辑器件121生成一个切换控制命令,并将该控制命令发送给射频开关阵列125,射频开关阵列125接收到该控制命令后,将第一阵元断开,将另一个第二阵元电连接,将该第二阵元中接收的信源信号传输至可编程逻辑器件121。将接收信源信号的天线阵元由第一阵元切换至另一个第二阵元,由另一个第二阵元接收信源信号,就得到了第四信号。Step S350. Obtain a fourth signal, the fourth signal includes another source signal received by the second array element; after identifying the corresponding bit stream time of the flag in the third signal, the programmable logic device 121 generates a switch control command, and send the control command to the radio frequency switch array 125. After the radio frequency switch array 125 receives the control command, it disconnects the first array element, electrically connects another second array element, and connects the second array element The signal source signal received in is transmitted to the programmable logic device 121 . The fourth signal is obtained by switching the antenna element for receiving the source signal from the first element to another second element, and the other second element receives the source signal.
步骤S360.根据第三信号和第四信号,得到信源信号的第二判决值,根据第二判决值得到信源的第二方向;由此,就得到了第一方向和第二方向两个方向。Step S360. According to the third signal and the fourth signal, the second decision value of the source signal is obtained, and the second direction of the source is obtained according to the second decision value; thus, the first direction and the second direction are obtained. direction.
步骤S370.根据第一方向和第二方向,得到信源的第三方向。根据第一方向和第二方向,可以得到更加精确的信源信号的发送方向。Step S370. According to the first direction and the second direction, the third direction of the information source is obtained. According to the first direction and the second direction, a more accurate sending direction of the source signal can be obtained.
蓝牙4.2是设计来传数据的,默认执行白化,从而发出的数据是频率变化的,无法直接用于定向。本实施例中通过构造特殊的bit流(即全0的数据bit流或全1的数据bit流),可以使信号的频率在一个定向周期内保持一致。通过判决出来的0或者1,以及在微带线和天线阵列结构的设计,来反推信源信号入射方向,从而实现定向,使得使用蓝牙4.2的电子产品也能被定向。Bluetooth 4.2 is designed to transmit data, and whitening is performed by default, so the data sent out has a changing frequency and cannot be directly used for orientation. In this embodiment, by constructing a special bit stream (that is, a data bit stream of all 0s or a data bit stream of all 1s), the frequency of the signal can be kept consistent within a directional period. Through the judgment of 0 or 1, and the design of the microstrip line and antenna array structure, the incident direction of the source signal is reversed, so as to achieve orientation, so that electronic products using Bluetooth 4.2 can also be oriented.
由于本实施例中的可编程逻辑器件121只需要输出0或1的判决值,根据判决值就可以判断信源的方向,因此可编程逻辑器件121就可以不需要给出第一信号和第二信号具体的相位,或者第一信号与第二信号的相位差,因此,可编程逻辑器件121可以使用蓝牙4.2及以下的蓝牙芯片来实现。使信源方向的判断更加简洁,提高信源方向判断的效率。Since the programmable logic device 121 in this embodiment only needs to output a judgment value of 0 or 1, the direction of the source can be judged according to the judgment value, so the programmable logic device 121 does not need to provide the first signal and the second signal. The specific phase of the signal, or the phase difference between the first signal and the second signal, therefore, the programmable logic device 121 can be implemented using a Bluetooth chip of Bluetooth 4.2 or below. The judgment of the direction of the signal source is made more concise, and the efficiency of judging the direction of the signal source is improved.
目前蓝牙4.2协议的蓝牙芯片,内部只能判断相位差是更接近
Figure PCTCN2021117561-appb-000034
还是更接近
Figure PCTCN2021117561-appb-000035
来输出0/1,并不能清晰的输出具体相位差的值,原因是蓝牙4.2芯片只是做传输数据用,也就是传输0、1值使用,并不提供定向功能,所以不输出具体的相位或相位差值,而定向通常会用到相位或相位差来解算方向。
At present, the Bluetooth chip of the Bluetooth 4.2 protocol can only judge whether the phase difference is closer
Figure PCTCN2021117561-appb-000034
still closer
Figure PCTCN2021117561-appb-000035
To output 0/1, the specific value of phase difference cannot be clearly output. The reason is that the Bluetooth 4.2 chip is only used to transmit data, that is, to transmit 0 and 1 values, and does not provide orientation function, so it does not output specific phase or Phase difference value, and orientation usually uses phase or phase difference to solve the direction.
而支持蓝牙5.1及以上版本协议的芯片,可支持定向功能(也就是在传输数据这个基础功能之上,又提供了定向功能),所以支持蓝牙5.1的芯片会清晰的计算相位/相位差值并输出。Chips that support Bluetooth 5.1 and above protocols can support the orientation function (that is, the orientation function is provided on top of the basic function of transmitting data), so the chip that supports Bluetooth 5.1 will clearly calculate the phase/phase difference and output.
虽然蓝牙协议更新到5.1版本了,现在市面上很多电子产品(例如手机)里的蓝牙芯片还是4.2版本的,还没有升级5.1版本的芯片,也就是说,只有蓝牙4.2芯片的手机是无法根据蓝牙5.1协议发送信号,所以即使定向基站里使用了5.1协议的芯片,老手机也无法和定向基站基于蓝牙5.1来通信解码,从而基站无法直接得到相位/相位差值来定向。Although the Bluetooth protocol has been updated to version 5.1, the Bluetooth chips in many electronic products (such as mobile phones) on the market are still version 4.2, and the chips of version 5.1 have not been upgraded. That is to say, mobile phones with only Bluetooth 4.2 chips cannot use Bluetooth The 5.1 protocol sends signals, so even if the 5.1 protocol chip is used in the directional base station, the old mobile phone cannot communicate and decode with the directional base station based on Bluetooth 5.1, so the base station cannot directly obtain the phase/phase difference for orientation.
因此,使用蓝牙4.2及以下的蓝牙芯片,可以极大的降低设备成本,增加使用本方法来进行信源方向设备的兼容性。Therefore, the use of Bluetooth 4.2 and below Bluetooth chips can greatly reduce the cost of equipment and increase the compatibility of devices using this method for source direction.
综上所述,本申请实施例提供的信源定向方法,仅仅通过接收信源信号的天线阵元的切换,即可实现信源方向的判断,从而不需要联合多路IQ采集来进行定位,也就不需要采集IQ的芯片,仅仅使用普 通蓝牙芯片即可工作,可以有效降低定向设备的成本和故障率,并且可以提高定向的效率。To sum up, the source orientation method provided by the embodiment of the present application can realize the judgment of the direction of the source only by switching the antenna element receiving the source signal, so that it does not need to combine multiple IQ acquisitions for positioning. There is no need to collect IQ chips, and only ordinary Bluetooth chips can be used to work, which can effectively reduce the cost and failure rate of directional equipment, and can improve the efficiency of directional.
在本实施例中,天线阵列122中有1个第一阵元和至少两个第二阵元,且每个第二阵元与第一阵元的间距都相等。如图11所示,天线阵列122中有1个第一阵元,即图11中的0号天线,有8个第二阵元,8个第二阵元分别为1号天线、2号天线、3号天线、4号天线、5号天线、6号天线、7号天线和8号天线,8个第二阵元环绕设置在第一阵元的周围,且相邻两个第二阵元之间的间距均相等。In this embodiment, there is one first array element and at least two second array elements in the antenna array 122 , and the distance between each second array element and the first array element is equal. As shown in FIG. 11, there is one first array element in the antenna array 122, that is, antenna No. 0 in FIG. 11, and eight second array elements, and the eight second array elements are antenna No. 1 and antenna No. 2 respectively. , antenna No. 3, antenna No. 4, antenna No. 5, antenna No. 6, antenna No. 7 and antenna No. 8, eight second array elements are arranged around the first array element, and two adjacent second array elements The spacing between them is equal.
接收信源信号时,可以先由0号天线接收信源信号,记为第一信号,再由1号天线接收信源信号,记为第二信号,由第一信号和第二信号,得到第一方向;When receiving the source signal, the source signal can be received by the No. 0 antenna first, which is recorded as the first signal, and then the source signal is received by the No. 1 antenna, which is recorded as the second signal. From the first signal and the second signal, the first signal can be obtained one direction;
依次由0号天线接收信源信号,记为第三信号,由2号天线接收信源信号,记为第四信号,根据第三信号和第四信号,得到第二方向;The source signal is received by antenna No. 0 in turn, which is recorded as the third signal, and the source signal is received by antenna No. 2, which is recorded as the fourth signal. According to the third signal and the fourth signal, the second direction is obtained;
此时,可以根据第一方向和第二方向,得到第三方向,第三方向相对于第一方向和第二方向,就更加准确。At this time, the third direction can be obtained according to the first direction and the second direction, and the third direction is more accurate than the first direction and the second direction.
同时,也可以继续循环上述步骤,获得多个方向,然后将多个方向进行综合判断,第二阵元中的天线越多,最后识别到的方向越准确。At the same time, it is also possible to continue to cycle the above steps to obtain multiple directions, and then make a comprehensive judgment on the multiple directions. The more antennas in the second array element, the more accurate the finally recognized direction.
可选的,在本实施例中,第一阵元通过第一微带线与接收芯片121电连接,第二阵元通过第二微带线与接收芯片121电连接,第一微带线与第二微带线的长度差满足以下公式:Optionally, in this embodiment, the first array element is electrically connected to the receiving chip 121 through the first microstrip line, the second array element is electrically connected to the receiving chip 121 through the second microstrip line, and the first microstrip line is electrically connected to the receiving chip 121. The length difference of the second microstrip line satisfies the following formula:
Figure PCTCN2021117561-appb-000036
Figure PCTCN2021117561-appb-000036
公式(1)中,Δw为第一微带线与第二微带线的长度差,n为整数,
Figure PCTCN2021117561-appb-000037
为天线阵列所接收到的信源发出的信元信号在第一微带线中和第二微带线中的波长。
In formula (1), Δw is the length difference between the first microstrip line and the second microstrip line, n is an integer,
Figure PCTCN2021117561-appb-000037
is the wavelength of the cell signal sent by the signal source received by the antenna array in the first microstrip line and in the second microstrip line.
Δw的最优选择为
Figure PCTCN2021117561-appb-000038
不过在实际应用的过程中,可以允许有25%的误差。信源信号中是全0的数据bit流时,
Figure PCTCN2021117561-appb-000039
信源信号中是全1的数据bit流时,
Figure PCTCN2021117561-appb-000040
The optimal choice of Δw is
Figure PCTCN2021117561-appb-000038
However, in the process of practical application, an error of 25% can be allowed. When the source signal is a data bit stream of all 0s,
Figure PCTCN2021117561-appb-000039
When the source signal is a data bit stream of all 1,
Figure PCTCN2021117561-appb-000040
第一阵元与第二阵元之间的间距满足以下公式:The distance between the first array element and the second array element satisfies the following formula:
Figure PCTCN2021117561-appb-000041
Figure PCTCN2021117561-appb-000041
公式(2)中,d为第一阵元与第二阵元之间的间距,λ为信源发出的信元信号在空气中的波长。优选为
Figure PCTCN2021117561-appb-000042
实际产品允许有一定误差,通常在
Figure PCTCN2021117561-appb-000043
此范围内都可行,当然越接近波长的二分之一越好。
In formula (2), d is the distance between the first array element and the second array element, and λ is the wavelength of the cell signal sent by the source in the air. preferably
Figure PCTCN2021117561-appb-000042
The actual product allows a certain error, usually in
Figure PCTCN2021117561-appb-000043
This range is feasible, of course, the closer to half the wavelength, the better.
如图11同中,箭头的方向为信源信号的入射方向,可以得到:As shown in Figure 11, the direction of the arrow is the incident direction of the source signal, and it can be obtained:
0号天线和1号天线组队:可以得到信源信号从1侧入射; Antenna 0 and antenna 1 form a team: the source signal can be incident from side 1;
0号天线和2号天线组队:可以得到信源信号从2侧入射; Antenna 0 and antenna 2 form a team: the source signal can be incident from 2 sides;
0号天线和3号天线组队:可以得到信源信号从3侧入射; Antenna 0 and antenna 3 form a team: the source signal can be incident from 3 sides;
0号天线和4号天线组队:可以得到信源信号从4侧入射; Antenna 0 and antenna 4 form a team: the source signal can be incident from 4 sides;
0号天线和5号天线组队:可以得到信源信号从0侧入射; Antenna 0 and antenna 5 form a team: the source signal can be incident from side 0;
0号天线和6号天线组队:可以得到信源信号从0侧入射; Antenna 0 and antenna 6 form a team: the source signal can be incident from side 0;
0号天线和7号天线组队:可以得到信源信号从0侧入射; Antenna 0 and antenna 7 form a team: the source signal can be incident from side 0;
0号天线和8号天线组队:可以得到信源信号从0侧入射; Antenna 0 and antenna 8 form a team: the source signal can be incident from side 0;
则反过来,通过判断各个天线从哪侧入射,就可以判断出信号入射方向为2号天线和3号天线之间。Conversely, by judging from which side each antenna is incident, it can be determined that the incident direction of the signal is between the No. 2 antenna and the No. 3 antenna.
本实施例中,通过在信源信号的发送端发送带有特殊bit流(即全0的数据bit流或全1的数据bit流)的信源信号,在信源信号的接收端通过构造特殊的硬件结构(即第一微带线与第二微带线的长度 差和第一阵元与第二阵元之间的间距),使得从不同的方向过来信号,接受端的判决结果不同,根据判决结果判断信号过来的方向。In this embodiment, by sending a source signal with a special bit stream (that is, a data bit stream of all 0s or a data bit stream of all 1s) at the transmitting end of the source signal, the receiving end of the source signal constructs a special The hardware structure (that is, the length difference between the first microstrip line and the second microstrip line and the distance between the first array element and the second array element) makes the signals coming from different directions, and the judgment results of the receiving end are different, according to The judgment result judges the direction from which the signal came.
如图12所示,其示出了本申请一个实施例提供的信元定向方法的流程图,该信元定向方法包括步骤S410、步骤S420、步骤S430、步骤S440、步骤S450和步骤S460。As shown in FIG. 12 , it shows a flow chart of a cell orientation method provided by an embodiment of the present application. The cell orientation method includes step S410, step S420, step S430, step S440, step S450 and step S460.
步骤S410.获取第一信号。在接收信源信号之前,射频开关阵列125先与第一阵元电连接,第一阵元先开始接收信源信号,信源信号可以是全0的数据bit流或者全1的数据bit流。信源信号的每一个bit信元中,均有一个标志位,比如说,这个标志位可以是bit信元的帧头。当第一阵元识别到第一信号的标志位时开始切换准备工作,并且在对应的bit流时间后开始切换,该对应bit流时间可以是标志位到定向bit流起始位置的时间与一个码元时间之和。Step S410. Acquire a first signal. Before receiving the source signal, the radio frequency switch array 125 is electrically connected to the first array element, and the first array element starts to receive the source signal. The source signal can be a data bit stream of all 0s or a data bit stream of all 1s. Each bit cell of the source signal has a flag bit, for example, the flag bit can be the frame header of the bit cell. When the first array element recognizes the flag bit of the first signal, it starts switching preparations, and starts switching after the corresponding bit stream time. The corresponding bit stream time can be the time from the flag bit to the start position of the directional bit stream and a Sum of symbol times.
步骤S420.获取第二信号。当识别到第一信号中的标志位的对应bit流时间后,可编程逻辑器件121生成一个切换控制命令,并将该控制命令发送给射频开关阵列125,射频开关阵列125接收到该控制命令后,将第一阵元断开,将第二阵元电连接,将第二阵元中接收的信源信号传输至可编程逻辑器件121。Step S420. Acquire a second signal. After recognizing the corresponding bit flow time of the flag in the first signal, the programmable logic device 121 generates a switching control command, and sends the control command to the radio frequency switch array 125, and the radio frequency switch array 125 receives the control command , disconnect the first array element, electrically connect the second array element, and transmit the signal source signal received in the second array element to the programmable logic device 121 .
步骤S430.根据第一信号和第二信号,得到信源信号的第一判决值,根据第一判决值得到信源的第一方向。可编程逻辑器件根据第一信号和第二信号,判决得到信源信号的第一方向。Step S430. Obtain a first decision value of the source signal according to the first signal and the second signal, and obtain a first direction of the source signal according to the first decision value. The programmable logic device determines and obtains the first direction of the source signal according to the first signal and the second signal.
步骤S440.获取第五信号,第五信号包括第三阵元所接收的信源信号;当识别到第二信号中的标志位的对应bit流时间后,可编程逻辑器件121生成一个切换控制命令,并将该控制命令发送给射频开关阵列125,射频开关阵列125接收到该控制命令后,将第二阵元断开,将第三阵元电连接,将第三阵元中接收的信源信号传输至可编程逻辑器件121。Step S440. Obtain the fifth signal, the fifth signal includes the source signal received by the third array element; after identifying the corresponding bit stream time of the flag in the second signal, the programmable logic device 121 generates a switching control command , and send the control command to the radio frequency switch array 125. After receiving the control command, the radio frequency switch array 125 disconnects the second array element, electrically connects the third array element, and connects the signal source received in the third array element The signal is transmitted to the programmable logic device 121 .
步骤S450.根据第二信号和第五信号,得到信源信号的第三判决值,根据第三判决值得到信源的第四方向;可编程逻辑器件根据第二信号和第五信号,判决得到信源信号的第四方向。Step S450. According to the second signal and the fifth signal, the third judgment value of the source signal is obtained, and the fourth direction of the information source is obtained according to the third judgment value; the programmable logic device judges and obtains according to the second signal and the fifth signal The fourth direction of the source signal.
步骤S460.根据第一方向和第四方向,得到信源的第五方向。根据第一方向和第四方向,就可以得到更加精确的信源信号的发送方向,即第五方向。Step S460. Obtain a fifth direction of the information source according to the first direction and the fourth direction. According to the first direction and the fourth direction, a more accurate sending direction of the source signal, ie, the fifth direction, can be obtained.
本实施例中,天线阵列123中至少包括三个天线阵元,每两个相邻的天线阵元之间的间距相等。In this embodiment, the antenna array 123 includes at least three antenna elements, and the distance between every two adjacent antenna elements is equal.
可选的,在本实施例中,第一阵元通过第一微带线与接收芯片121电连接,第二阵元通过第二微带线与接收芯片121电连接,第三阵元通过第三微带线与接收芯片121电连接,第一微带线与第二微带线的长度差,以及第二微带线与第三微带线的长度差,均满足以下公式:Optionally, in this embodiment, the first array element is electrically connected to the receiving chip 121 through the first microstrip line, the second array element is electrically connected to the receiving chip 121 through the second microstrip line, and the third array element is electrically connected to the receiving chip 121 through the second microstrip line. The three microstrip lines are electrically connected to the receiving chip 121, the length difference between the first microstrip line and the second microstrip line, and the length difference between the second microstrip line and the third microstrip line all satisfy the following formula:
Figure PCTCN2021117561-appb-000044
Figure PCTCN2021117561-appb-000044
公式(1)中,Δw为第一微带线与第二微带线的长度差,以及以及第二微带线与第三微带线的长度差,n为整数,
Figure PCTCN2021117561-appb-000045
为天线阵列所接收到的信源发出的信元信号在第一微带线中、第二微带线中和第三微带线中的波长。
In formula (1), Δw is the length difference between the first microstrip line and the second microstrip line, and the length difference between the second microstrip line and the third microstrip line, n is an integer,
Figure PCTCN2021117561-appb-000045
Wavelengths in the first microstrip line, in the second microstrip line and in the third microstrip line of the cell signal sent by the signal source received by the antenna array.
Δw的最优选择为
Figure PCTCN2021117561-appb-000046
不过在实际应用的过程中,可以允许有25%的误差。信源信号中是全0的数据bit流时,
Figure PCTCN2021117561-appb-000047
信源信号中是全1的数据bit流时,
Figure PCTCN2021117561-appb-000048
The optimal choice of Δw is
Figure PCTCN2021117561-appb-000046
However, in the process of practical application, an error of 25% can be allowed. When the source signal is a data bit stream of all 0s,
Figure PCTCN2021117561-appb-000047
When the source signal is a data bit stream of all 1,
Figure PCTCN2021117561-appb-000048
第一阵元与第二阵元之间的间距,第二阵元与第三阵元之间的间距,均满足以下公式:The distance between the first array element and the second array element, and the distance between the second array element and the third array element all satisfy the following formula:
Figure PCTCN2021117561-appb-000049
Figure PCTCN2021117561-appb-000049
公式(2)中,d为第一阵元与第二阵元之间的间距,以及第二阵元与第三阵元之间的间距,λ为信源发出的信元信号在空气中的波长。优选为
Figure PCTCN2021117561-appb-000050
实际产品允许有一定误差,通常在
Figure PCTCN2021117561-appb-000051
此范围内都可行,当然越接近波长的二分之一越好。
In the formula (2), d is the distance between the first array element and the second array element, and the distance between the second array element and the third array element, λ is the cell signal sent by the source in the air wavelength. preferably
Figure PCTCN2021117561-appb-000050
The actual product allows a certain error, usually in
Figure PCTCN2021117561-appb-000051
This range is feasible, of course, the closer to half the wavelength, the better.
本实施例中,天线阵列123中仅示出了第一阵元、第二阵元和第三阵元三个天线阵元,在该原理下,天线阵列123中可以不仅仅局限在3个或3个以下的天线阵元,可以根据不同的精度需求增加天线阵列123中的天线阵元,然后重复步骤S450至步骤S460,重复的次数越多,得到的信源信号的发送方向就越准确。In this embodiment, only the first array element, the second array element, and the third antenna array element are shown in the antenna array 123. Under this principle, the antenna array 123 may not only be limited to three or For less than 3 antenna elements, the number of antenna elements in the antenna array 123 can be increased according to different precision requirements, and then step S450 to step S460 are repeated. The more repetitions, the more accurate the transmission direction of the obtained source signal.
本实施例中,通过在信源信号的发送端发送带有特殊bit流(即全0的数据bit流或全1的数据bit流)的信源信号,在信源信号的接收端通过构造特殊的硬件结构(即微带线之间的长度差和阵元之间的间距),使得从不同的方向过来信号,接受端的判决结果不同,根据判决结果判断信号过来的方向。In this embodiment, by sending a source signal with a special bit stream (that is, a data bit stream of all 0s or a data bit stream of all 1s) at the transmitting end of the source signal, the receiving end of the source signal constructs a special The hardware structure (that is, the length difference between microstrip lines and the spacing between array elements) makes the signals coming from different directions have different judgment results at the receiving end, and the direction of the signal coming is judged according to the judgment results.
蓝牙4.2是设计来传数据的,默认执行白化,从而发出的数据是频率变化的,无法直接用于定向。本实施例中通过构造特殊的bit流(即全0的数据bit流或全1的数据bit流),可以使信号的频率在一个定向周期内保持一致。通过判决出来的0或者1,以及在微带线和天线阵列结构的设计,来反推信源信号入射方向,从而实现定向,使得使用蓝牙4.2的电子产品也能被定向。Bluetooth 4.2 is designed to transmit data, and whitening is performed by default, so the data sent out has a changing frequency and cannot be directly used for orientation. In this embodiment, by constructing a special bit stream (that is, a data bit stream of all 0s or a data bit stream of all 1s), the frequency of the signal can be kept consistent within a directional period. Through the judgment of 0 or 1, and the design of the microstrip line and antenna array structure, the incident direction of the source signal is reversed, so as to achieve orientation, so that electronic products using Bluetooth 4.2 can also be oriented.
由于本实施例中的可编程逻辑器件121只需要输出0或1的判决值,根据判决值就可以判断信源的方向,因此可编程逻辑器件121就可以不需要给出第一信号和第二信号具体的相位,或者第一信号与第二信号的相位差,因此,可编程逻辑器件121可以使用蓝牙4.2 及以下的蓝牙芯片来实现。使信源方向的判断更加简洁,提高信源方向判断的效率。Since the programmable logic device 121 in this embodiment only needs to output a judgment value of 0 or 1, the direction of the source can be judged according to the judgment value, so the programmable logic device 121 does not need to provide the first signal and the second signal. The specific phase of the signal, or the phase difference between the first signal and the second signal, therefore, the programmable logic device 121 can be implemented using a Bluetooth chip of Bluetooth 4.2 or below. The judgment of the direction of the signal source is made more concise, and the efficiency of judging the direction of the signal source is improved.
目前蓝牙4.2协议的蓝牙芯片,内部只能判断相位差是更接近
Figure PCTCN2021117561-appb-000052
还是更接近
Figure PCTCN2021117561-appb-000053
来输出0/1,并不能清晰的输出具体相位差的值,原因是蓝牙4.2芯片只是做传输数据用,也就是传输0、1值使用,并不提供定向功能,所以不输出具体的相位或相位差值,而定向通常会用到相位或相位差来解算方向。
At present, the Bluetooth chip of the Bluetooth 4.2 protocol can only judge whether the phase difference is closer
Figure PCTCN2021117561-appb-000052
still closer
Figure PCTCN2021117561-appb-000053
To output 0/1, the specific value of phase difference cannot be clearly output. The reason is that the Bluetooth 4.2 chip is only used to transmit data, that is, to transmit 0 and 1 values, and does not provide orientation function, so it does not output specific phase or Phase difference value, and orientation usually uses phase or phase difference to solve the direction.
而支持蓝牙5.1及以上版本协议的芯片,可支持定向功能(也就是在传输数据这个基础功能之上,又提供了定向功能),所以支持蓝牙5.1的芯片会清晰的计算相位/相位差值并输出。Chips that support Bluetooth 5.1 and above protocols can support the orientation function (that is, the orientation function is provided on top of the basic function of transmitting data), so the chip that supports Bluetooth 5.1 will clearly calculate the phase/phase difference and output.
虽然蓝牙协议更新到5.1版本了,现在市面上很多电子产品(例如手机)里的蓝牙芯片还是4.2版本的,还没有升级5.1版本的芯片,也就是说,只有蓝牙4.2芯片的手机是无法根据蓝牙5.1协议发送信号,所以即使定向基站里使用了5.1协议的芯片,老手机也无法和定向基站基于蓝牙5.1来通信解码,从而基站无法直接得到相位/相位差值来定向。Although the Bluetooth protocol has been updated to version 5.1, the Bluetooth chips in many electronic products (such as mobile phones) on the market are still version 4.2, and the chips of version 5.1 have not been upgraded. That is to say, mobile phones with only Bluetooth 4.2 chips cannot use Bluetooth The 5.1 protocol sends signals, so even if the 5.1 protocol chip is used in the directional base station, the old mobile phone cannot communicate and decode with the directional base station based on Bluetooth 5.1, so the base station cannot directly obtain the phase/phase difference for orientation.
因此,使用蓝牙4.2及以下的蓝牙芯片,可以极大的降低设备成本,增加使用本方法来进行信源方向设备的兼容性。Therefore, the use of Bluetooth 4.2 and below Bluetooth chips can greatly reduce the cost of equipment and increase the compatibility of devices using this method for source direction.
综上所述,本申请实施例提供的信源定向方法,仅仅通过接收信源信号的天线阵元的切换,即可实现信源方向的判断,从而不需要联合多路IQ采集来进行定位,也就不需要采集IQ的芯片,仅仅使用普通蓝牙芯片即可工作,可以有效降低定向设备的成本、故障率和兼容性,并且可以提高定向的效率。To sum up, the source orientation method provided by the embodiment of the present application can realize the judgment of the direction of the source only by switching the antenna element receiving the source signal, so that it does not need to combine multiple IQ acquisitions for positioning. There is no need to collect IQ chips, and only ordinary Bluetooth chips can be used to work, which can effectively reduce the cost, failure rate and compatibility of directional equipment, and can improve the efficiency of directional.
如图13所示,其示出了本申请一个实施例提供的信元定向系统结构框图,该信元定向系统包括第一获取模块510、第二获取模块520和第一计算模块530。As shown in FIG. 13 , it shows a structural block diagram of a cell orientation system provided by an embodiment of the present application. The cell orientation system includes a first acquisition module 510 , a second acquisition module 520 and a first calculation module 530 .
第一获取模块510,用于获取第一信号,第一信号包括第一阵元所接收的信源发出的信源信号;The first acquiring module 510 is configured to acquire a first signal, where the first signal includes an information source signal sent by an information source received by the first array element;
第二获取模块520,用于获取第二信号,第二信号包括第二阵元所接收的信源信号;The second acquiring module 520 is configured to acquire a second signal, where the second signal includes a source signal received by the second array element;
第一计算模块530,用于根据第一信号和第二信号,得到信源信号的第一判决值,根据第一判决值确定信源的第一方向。The first calculation module 530 is configured to obtain a first decision value of the source signal according to the first signal and the second signal, and determine a first direction of the source signal according to the first decision value.
如图14所示,其示出了本申请一个实施例提供的信元定向系统结构框图,该信元定向系统包括第一获取模块610、第二获取模块620、第一计算模块630、第三获取模块640、第四获取模块650、第二计算模块660和第三计算模块670。As shown in FIG. 14 , it shows a structural block diagram of a cell orientation system provided by an embodiment of the present application. The cell orientation system includes a first acquisition module 610, a second acquisition module 620, a first calculation module 630, a third An acquisition module 640 , a fourth acquisition module 650 , a second calculation module 660 and a third calculation module 670 .
第一获取模块610,用于获取第一信号,第一信号包括第一阵元所接收的信源发出的信源信号;The first acquisition module 610 is configured to acquire a first signal, where the first signal includes an information source signal sent by an information source received by the first array element;
第二获取模块620,用于获取第二信号,第二信号包括第二阵元所接收的信源信号;The second acquiring module 620 is configured to acquire a second signal, where the second signal includes a source signal received by the second array element;
第一计算模块630,用于根据第一信号和第二信号,得到信源信号的第一判决值,根据第一判决值确定信源的第一方向。The first calculation module 630 is configured to obtain a first decision value of the source signal according to the first signal and the second signal, and determine a first direction of the source signal according to the first decision value.
第三获取模块640,用于获取第三信号,第三信号包括第一阵元所接收的信源信号;The third acquiring module 640 is configured to acquire a third signal, where the third signal includes the source signal received by the first array element;
第四获取模块650,用于获取第四信号,第四信号包括另一个第二阵元所接收的信源信号;The fourth acquiring module 650 is configured to acquire a fourth signal, where the fourth signal includes a source signal received by another second array element;
第二计算模块660,用于根据第三信号和第四信号,得到信源信号的第二判决值,根据第二判决值得到信源的第二方向;The second calculation module 660 is configured to obtain a second decision value of the source signal according to the third signal and the fourth signal, and obtain a second direction of the source signal according to the second decision value;
第三计算模块670,用于根据第一方向和第二方向,得到信源的第三方向。The third calculation module 670 is configured to obtain a third direction of the information source according to the first direction and the second direction.
可选的,该信源定向装置,还包括切换模块680。Optionally, the source directional device further includes a switching module 680 .
切换模块680,用于当接收到第一信号的标志位的第一时间长度后,将接收信源信号的阵元由第一阵元切换至第二阵元;第一时间长度等于标志位到定向bit流起始位置的时间和一个码元的持续时间之和。The switching module 680 is used to switch the array element receiving the source signal from the first array element to the second array element after receiving the first time length of the flag bit of the first signal; the first time length is equal to the flag bit to the second array element; The sum of the time at which the directional bit stream starts and the duration of one symbol.
可选的,信源信号包括全0的数据bit流或全1的数据bit流。Optionally, the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
如图15所示,其示出了本申请一个实施例提供的信元定向系统结构框图,该信元定向系统包括第一获取模块710、第二获取模块720、第一计算模块730、第五获取模块740、第四计算模块750和第五计算模块760。As shown in FIG. 15 , it shows a structural block diagram of a cell orientation system provided by an embodiment of the present application. The cell orientation system includes a first acquisition module 710, a second acquisition module 720, a first calculation module 730, a fifth An acquisition module 740 , a fourth calculation module 750 and a fifth calculation module 760 .
第一获取模块710,用于获取第一信号,第一信号包括第一阵元所接收的信源发出的信源信号;The first acquisition module 710 is configured to acquire a first signal, where the first signal includes a source signal sent by a source received by the first array element;
第二获取模块720,用于获取第二信号,第二信号包括第二阵元所接收的信源信号;The second acquiring module 720 is configured to acquire a second signal, where the second signal includes a source signal received by the second array element;
第一计算模块730,用于根据第一信号和第二信号,得到信源信号的第一判决值,根据第一判决值确定信源的第一方向。The first calculation module 730 is configured to obtain a first decision value of the source signal according to the first signal and the second signal, and determine a first direction of the source signal according to the first decision value.
第五获取模块740,用于获取第五信号,第五信号包括第三阵元所接收的信源信号;A fifth obtaining module 740, configured to obtain a fifth signal, where the fifth signal includes the source signal received by the third array element;
第四计算模块750,用于根据第二信号和第五信号,得到信源信号的第三判决值,根据第三判决值得到信源的第四方向;The fourth calculation module 750 is configured to obtain a third decision value of the source signal according to the second signal and the fifth signal, and obtain a fourth direction of the source signal according to the third decision value;
第五计算模块760,用于根据第一方向和第四方向,得到信源的第五方向。The fifth calculation module 760 is configured to obtain a fifth direction of the information source according to the first direction and the fourth direction.
可选的,该信源定向装置,还包括切换模块770。Optionally, the source directional device further includes a switching module 770 .
切换模块770,用于当接收到第一信号的标志位的第一时间长度后,将接收信源信号的阵元由第一阵元切换至第二阵元;第一时间长度等于标志位到定向bit流起始位置的时间和一个码元的持续时间之和。The switching module 770 is used to switch the array element receiving the source signal from the first array element to the second array element after receiving the first time length of the flag bit of the first signal; the first time length is equal to the flag bit to the second array element; The sum of the time at which the directional bit stream starts and the duration of one symbol.
可选的,信源信号包括全0的数据bit流或全1的数据bit流。Optionally, the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
如图1所示,其示出了本申请一个实施例提供的信源定向装置结构框图,该信元定向装置包括天线阵列123和可编程逻辑器件121。As shown in FIG. 1 , it shows a structural block diagram of a device for directing a source of information provided by an embodiment of the present application. The device for directing a cell includes an antenna array 123 and a programmable logic device 121 .
天线阵列123,天线阵列包括第一阵元和第二阵元; Antenna array 123, the antenna array includes a first array element and a second array element;
可编程逻辑器件121,可编程逻辑器件用于执行上述信源定向方法中的步骤。The programmable logic device 121 is configured to execute the steps in the above source-oriented method.
可选的,第二阵元包括至少两个,第一阵元与每个第二阵元的间距均相等。Optionally, the second array element includes at least two array elements, and the distance between the first array element and each second array element is equal.
可选的,信源定向装置还可以包括天线切换模块,天线切换模块根据可编程逻辑器件121发出的控制信号切换接收信源发出的信源信号的天线阵元。天线切换模块可以是射频开关阵列125。Optionally, the source directional device may further include an antenna switching module, which switches the antenna element for receiving the source signal sent by the source according to the control signal sent by the programmable logic device 121 . The antenna switching module may be a radio frequency switch array 125 .
可选的,第一阵元通过第一微带线与接收芯片121电连接,第二阵元通过第二微带线与接收芯片121电连接,第一微带线与第二微带线的长度差满足以下公式:Optionally, the first array element is electrically connected to the receiving chip 121 through the first microstrip line, the second array element is electrically connected to the receiving chip 121 through the second microstrip line, and the connection between the first microstrip line and the second microstrip line The length difference satisfies the following formula:
Figure PCTCN2021117561-appb-000054
Figure PCTCN2021117561-appb-000054
公式(1)中,Δw为第一微带线与第二微带线的长度差,n为整数,
Figure PCTCN2021117561-appb-000055
为天线阵列所接收到的信源发出的信元信号在第一微带线中和第二微带线中的波长。
In formula (1), Δw is the length difference between the first microstrip line and the second microstrip line, n is an integer,
Figure PCTCN2021117561-appb-000055
is the wavelength of the cell signal sent by the signal source received by the antenna array in the first microstrip line and in the second microstrip line.
Δw的最优选择为
Figure PCTCN2021117561-appb-000056
不过在实际应用的过程中,可以允许有25%的误差。信源信号中是全0的数据bit流时,
Figure PCTCN2021117561-appb-000057
信源信号中是全1的数据bit流时,
Figure PCTCN2021117561-appb-000058
The optimal choice of Δw is
Figure PCTCN2021117561-appb-000056
However, in the process of practical application, an error of 25% can be allowed. When the source signal is a data bit stream of all 0s,
Figure PCTCN2021117561-appb-000057
When the source signal is a data bit stream of all 1,
Figure PCTCN2021117561-appb-000058
可选的,第一阵元与第二阵元之间的间距满足以下公式:Optionally, the distance between the first array element and the second array element satisfies the following formula:
Figure PCTCN2021117561-appb-000059
Figure PCTCN2021117561-appb-000059
公式(2)中,d为第一阵元与第二阵元之间的间距,λ为信源发出的信元信号在空气中的波长。优选为
Figure PCTCN2021117561-appb-000060
实际产品允许有一定误差,通常在
Figure PCTCN2021117561-appb-000061
此范围内都可行,当然越接近波长的二分之一越好。
In formula (2), d is the distance between the first array element and the second array element, and λ is the wavelength of the cell signal sent by the source in the air. preferably
Figure PCTCN2021117561-appb-000060
The actual product allows a certain error, usually in
Figure PCTCN2021117561-appb-000061
This range is feasible, of course, the closer to half the wavelength, the better.
如图16所示,其示出了本申请一个实施例提供的信源定向终端设备结构框图;该信源定向终端设备800包括第一处理器801和第一存储器802。该信源定向终端设备800还可以包括第一多媒体组件803,第一输入/输出(I/O)接口804,以及第一通信组件805中的一者或多者。As shown in FIG. 16 , it shows a structural block diagram of a source-oriented terminal device provided by an embodiment of the present application; the source-oriented terminal device 800 includes a first processor 801 and a first memory 802 . The source-oriented terminal device 800 may further include one or more of a first multimedia component 803 , a first input/output (I/O) interface 804 , and a first communication component 805 .
其中,第一处理器801用于控制信源定向终端设备800的整体操作,以完成上述的信源定向方法中的全部或部分步骤。第一存储器802用于存储各种类型的数据以支持在该信源定向终端设备800的操作,这些数据例如可以包括用于在该信源定向终端设备800上操作的任何应用程序或方法的命令,以及应用程序相关的数据,例如联系人数据、收发的消息、图片、音频、视频等等。该第一存储器802可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable  Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。多媒体组件803可以包括屏幕和音频组件。其中屏幕例如可以是触摸屏,音频组件用于输出和/或输入音频信号。例如,音频组件可以包括一个麦克风,麦克风用于接收外部音频信号。所接收的音频信号可以被进一步存储在第一存储器802或通过第一通信组件805发送。音频组件还包括至少一个扬声器,用于输出音频信号。第一I/O接口804为第一处理器801和其他接口模块之间提供接口,上述其他接口模块可以是键盘,鼠标,按钮等。这些按钮可以是虚拟按钮或者实体按钮。第一通信组件805用于该信源定向终端设备800与其他设备之间进行有线或无线通信。无线通信,例如Wi-Fi,蓝牙,近场通信(Near FieldCommunication,简称NFC),2G、3G或4G,或它们中的一种或几种的组合,因此相应的该第一通信组件805可以包括:Wi-Fi模块,蓝牙模块,NFC模块。Wherein, the first processor 801 is configured to control the overall operation of the source-orientation terminal device 800, so as to complete all or part of the steps in the above-mentioned source-orientation method. The first memory 802 is used to store various types of data to support the operation of the source-oriented terminal device 800, such data may include commands for any application or method operated on the source-oriented terminal device 800 , and application-related data, such as contact data, sent and received messages, pictures, audio, video, etc. The first memory 802 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only Memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory, referred to as EPROM), Programmable Read-Only Memory (Programmable Read-Only Memory, referred to as PROM), Read-Only Memory (ROM for short), magnetic memory, flash memory, magnetic disk or optical disk. Multimedia components 803 may include screen and audio components. The screen can be, for example, a touch screen, and the audio component is used for outputting and/or inputting audio signals. For example, an audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the first memory 802 or sent through the first communication component 805 . The audio component also includes at least one speaker for outputting audio signals. The first I/O interface 804 provides an interface between the first processor 801 and other interface modules, which may be a keyboard, a mouse, buttons, and the like. These buttons can be virtual buttons or physical buttons. The first communication component 805 is used for wired or wireless communication between the source-oriented terminal device 800 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding first communication component 805 can include : Wi-Fi module, Bluetooth module, NFC module.
在一示例性实施例中,信源定向终端设备800可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(DigitalSignal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述的信源定向方法。In an exemplary embodiment, the source-oriented terminal device 800 may be implemented by one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processors (Digital Signal Processor, DSP for short), digital signal processing devices (Digital Signal Processing Device, referred to as DSPD), programmable logic device (Programmable Logic Device, referred to as PLD), field programmable gate array (Field Programmable Gate Array, referred to as FPGA), controller, microcontroller, microprocessor or other Electronic components are implemented for performing the above-mentioned source-directed method.
在另一示例性实施例中,还提供了一种包括程序命令的计算机可读存储介质,该程序命令被处理器执行时实现上述的信源定向方法的 步骤。例如,该计算机可读存储介质可以为上述包括程序命令的第一存储器802,上述程序命令可由信源定向终端设备800的第一处理器801执行以完成上述的信源定向方法。In another exemplary embodiment, a computer-readable storage medium including program commands is also provided, and when the program commands are executed by a processor, the steps of the above-mentioned source-orientation method are implemented. For example, the computer-readable storage medium may be the above-mentioned first memory 802 including program commands, and the above-mentioned program commands can be executed by the first processor 801 of the source-directing terminal device 800 to complete the above-mentioned source-directing method.
相应于上面的信源定向方法实施例,本实施例中还提供了一种可读存储介质,下文描述的一种可读存储介质与上文描述的信源定向方法可相互对应参照。Corresponding to the above embodiment of the source-orientation method, a readable storage medium is also provided in this embodiment. The readable storage medium described below and the source-orientation method described above may be referred to in correspondence.
一种可读存储介质,可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述信源定向方法实施例的信源定向方法的步骤。A readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the information source-orientation method in the above-mentioned embodiment of the information source-orientation method.
该可读存储介质具体可以为U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可存储程序代码的可读存储介质。Specifically, the readable storage medium can be a USB flash drive, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc., which can store program codes. readable storage media.
如图17所示,其示出了本申请一个实施例提供的信源信号发送方法的方法流程图,该方法包括步骤S910和步骤S920。As shown in FIG. 17 , it shows a flow chart of a method for sending a source signal provided by an embodiment of the present application, and the method includes step S910 and step S920 .
步骤S910.生成信源信号;信号发送装置110生成待发送的信源信号。Step S910. Generate a source signal; the signal sending device 110 generates a source signal to be sent.
步骤S920.将信源信号发送。信号发送装置110通过射频发送装置将信源信号进行发送。信源信号用于依次被第一阵元和第二阵元接收,第一阵元接收的信源信号,用于与第二阵元接收的信源信号结合,得到信源信号的第一判决值,第一判决值用于判断信源信号的第一发送方向。Step S920. Send the source signal. The signal sending device 110 sends the source signal through a radio frequency sending device. The source signal is used to be received by the first array element and the second array element in turn, and the source signal received by the first array element is used to combine with the source signal received by the second array element to obtain the first judgment of the source signal value, the first judgment value is used to judge the first sending direction of the source signal.
本实施例中的信源信号发送之后,被信号接收装置120所接收,信号接收装置120接收该信源信号后,如步骤S210至步骤S230中所提供的方法,对发送出信源信号的信号发送装置110的方位进行定向。After the source signal in this embodiment is sent, it is received by the signal receiving device 120. After the signal receiving device 120 receives the source signal, as in the method provided in step S210 to step S230, the signal that sent the source signal The bearing of the transmitting device 110 is oriented.
在一示例性实施例中,第二阵元接收信源信号之后,还可以包括:In an exemplary embodiment, after the second array element receives the source signal, it may further include:
信源信号依次被第一阵元和另一个第二阵元接收,第一阵元接收的信源信号,用于与另一个第二阵元接收的信源信号结合,得到信源信号的第二判决值,第二判决值用于判断信源信号的第二发送方向,第二发送方向用于与第一发送方向结合,得到信源信号的第三发送方向。The source signal is sequentially received by the first array element and another second array element, and the source signal received by the first array element is used to combine with the source signal received by another second array element to obtain the second source signal of the source signal Two judgment values, the second judgment value is used to judge the second sending direction of the source signal, and the second sending direction is used to combine with the first sending direction to obtain a third sending direction of the source signal.
可选的,信源信号的包括用于触发阵元切换的标志位,阵元切换包括:Optionally, the source signal includes a flag bit for triggering array element switching, and array element switching includes:
当接收到标志位的第一时间长度后,将接收信源信号的阵元由当前阵元切换到另一个阵元,第一时间长度等于标志位到定向bit流起始位置的时间和一个码元的持续时间之和。After receiving the first time length of the flag bit, switch the array element receiving the source signal from the current array element to another array element. The first time length is equal to the time from the flag bit to the start position of the directional bit stream and a code The sum of the durations of the meta.
可选的,信源信号包括全0的数据bit流或全1的数据bit流。Optionally, the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
本实施例中的信源信号发送之后,被信号接收装置120所接收,信号接收装置120接收该信源信号后,如步骤S310至步骤S370中所提供的方法,对发送出信源信号的信号发送装置110的方位进行定向。After the source signal in this embodiment is sent, it is received by the signal receiving device 120. After the signal receiving device 120 receives the source signal, as in the method provided in step S310 to step S370, the signal that sent the source signal The bearing of the transmitting device 110 is oriented.
在另一示例性实施例中,第二阵元接收信源信号之后,还包括:In another exemplary embodiment, after the second array element receives the source signal, it further includes:
信源信号被第三阵元接收,第三阵元接收的信源信号,用于与第二阵元接收的信源信号结合,得到信源信号的第三判决值,第三判决值用于判断信源信号的第四发送方向,第四发送方向用于与第一发送方向结合,得到信源信号的第五发送方向。The source signal is received by the third array element, and the source signal received by the third array element is used to combine with the source signal received by the second array element to obtain a third judgment value of the source signal, and the third judgment value is used for A fourth sending direction of the source signal is determined, and the fourth sending direction is used in combination with the first sending direction to obtain a fifth sending direction of the source signal.
可选的,信源信号的包括用于触发阵元切换的标志位,阵元切换包括:Optionally, the source signal includes a flag bit for triggering array element switching, and array element switching includes:
当接收到标志位的第一时间长度后,将接收信源信号的阵元由当前阵元切换到另一个阵元,第一时间长度等于标志位到定向bit流起始位置的时间和一个码元的持续时间之和。After receiving the first time length of the flag bit, switch the array element receiving the source signal from the current array element to another array element. The first time length is equal to the time from the flag bit to the start position of the directional bit stream and a code The sum of the durations of the meta.
可选的,信源信号包括全0的数据bit流或全1的数据bit流。Optionally, the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
本实施例中的信源信号发送之后,被信号接收装置120所接收,信号接收装置120接收该信源信号后,如步骤S410至步骤S460中所提供的方法,对发送出信源信号的信号发送装置110的方位进行定向。After the source signal in this embodiment is sent, it is received by the signal receiving device 120. After the signal receiving device 120 receives the source signal, as in the method provided in step S410 to step S460, the signal that sent the source signal The bearing of the transmitting device 110 is oriented.
虽然蓝牙协议更新到5.1版本了,现在市面上很多电子产品(例如手机)里的蓝牙芯片还是4.2版本的,还没有升级5.1版本的芯片,也就是说,只有蓝牙4.2芯片的手机是无法根据蓝牙5.1协议发送信号,所以即使定向基站里使用了5.1协议的芯片,老手机也无法和定向基站基于蓝牙5.1来通信解码,从而基站无法直接得到相位/相位差值来定向。因此,使用蓝牙4.2及以下的蓝牙芯片,可以极大的降低设备成本,增加使用本方法来进行信源方向设备的兼容性。使得即使是无法和定向基站基于蓝牙5.1来通信的老手机或其余的设备,也可以使用本实施例中提供的信元信号发送方法来实现定位信号的发送。Although the Bluetooth protocol has been updated to version 5.1, the Bluetooth chips in many electronic products (such as mobile phones) on the market are still version 4.2, and the chips of version 5.1 have not been upgraded. That is to say, mobile phones with only Bluetooth 4.2 chips cannot use Bluetooth The 5.1 protocol sends signals, so even if the 5.1 protocol chip is used in the directional base station, the old mobile phone cannot communicate and decode with the directional base station based on Bluetooth 5.1, so the base station cannot directly obtain the phase/phase difference for orientation. Therefore, the use of Bluetooth 4.2 and below Bluetooth chips can greatly reduce the cost of equipment and increase the compatibility of devices using this method for source direction. Even old mobile phones or other devices that cannot communicate with the directional base station based on Bluetooth 5.1 can use the cell signal sending method provided in this embodiment to send positioning signals.
如图18所示,其示出了本申请一个实施例提供的信源信号发送装置结构框图,该装置包括信源信号生成模块1010和信源信号发送模块1020。As shown in FIG. 18 , it shows a structural block diagram of a source signal sending device provided by an embodiment of the present application, and the device includes a source signal generating module 1010 and a source signal sending module 1020 .
信源信号生成模块1010,用于生成信源信号;A source signal generating module 1010, configured to generate a source signal;
信源信号发送模块1020,用于将信源信号发送,信源信号用于依次被第一阵元和第二阵元接收,第一阵元接收的信源信号,用于与第二阵元接收的信源信号结合,得到信源信号的第一判决值,第一判决值用于判断信源信号的第一发送方向。The source signal sending module 1020 is used to send the source signal, the source signal is used to be received by the first array element and the second array element in turn, and the source signal received by the first array element is used to communicate with the second array element The received source signals are combined to obtain a first judgment value of the source signal, and the first judgment value is used to judge a first sending direction of the source signal.
可选的,信源信号包括全0的数据bit流或全1的数据bit流。Optionally, the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
如图19所示,其示出了本申请一个实施例提供的信源信号发送终端设备结构框图;该信源信号发送终端设备1100包括第二处理器1101和第二存储器1102。该信源信号发送终端设备1100还可以包括 第二多媒体组件1103,第二输入/输出(I/O)接口1104,以及第二通信组件1105中的一者或多者。As shown in FIG. 19 , it shows a structural block diagram of a source signal sending terminal device provided by an embodiment of the present application; the source signal sending terminal device 1100 includes a second processor 1101 and a second memory 1102 . The source signal sending terminal device 1100 may also include one or more of a second multimedia component 1103 , a second input/output (I/O) interface 1104 , and a second communication component 1105 .
其中,第二处理器1101用于控制信源信号发送终端设备1100的整体操作,以完成上述的信源信号发送方法中的全部或部分步骤。第二存储器1102用于存储各种类型的数据以支持在该信源信号发送终端设备1100的操作,这些数据例如可以包括用于在该信源信号发送终端设备1100上操作的任何应用程序或方法的命令,以及应用程序相关的数据,例如联系人数据、收发的消息、图片、音频、视频等等。该第二存储器1102可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,例如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。多媒体组件1103可以包括屏幕和音频组件。其中屏幕例如可以是触摸屏,音频组件用于输出和/或输入音频信号。例如,音频组件可以包括一个麦克风,麦克风用于接收外部音频信号。所接收的音频信号可以被进一步存储在第二存储器1102或通过第二通信组件1105发送。音频组件还包括至少一个扬声器,用于输出音频信号。第二I/O接口1104为第二处理器1101和其他接口模块之间提供接口,上述其他接口模块可以是键盘,鼠标,按钮等。这些按钮可以是虚拟按钮或者实体按钮。第二通信组件1105用于该信源信号发送终端设备1100与其他设备之间进行有线或无线通信。无线通信,例如Wi-Fi,蓝牙,近场通信(Near FieldCommunication,简称NFC),2G、3G或4G,或它们中的一种或 几种的组合,因此相应的该第二通信组件1105可以包括:Wi-Fi模块,蓝牙模块,NFC模块。Wherein, the second processor 1101 is configured to control the overall operation of the source signal sending terminal device 1100, so as to complete all or part of the steps in the above-mentioned source signal sending method. The second memory 1102 is used to store various types of data to support the operation of the source signal sending terminal device 1100, and these data may include, for example, any application program or method for operating on the source signal sending terminal device 1100 commands, as well as application-related data, such as contact data, sent and received messages, pictures, audio, video, and more. The second memory 1102 can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), Erasable Programmable Read-Only Memory (EPROM for short), Programmable Read-Only Memory (PROM for short), Read-Only Memory (ROM for short), magnetic memory, flash memory, magnetic disk or optical disk. Multimedia components 1103 may include screen and audio components. The screen can be, for example, a touch screen, and the audio component is used for outputting and/or inputting audio signals. For example, an audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the second memory 1102 or sent through the second communication component 1105 . The audio component also includes at least one speaker for outputting audio signals. The second I/O interface 1104 provides an interface between the second processor 1101 and other interface modules, and the other interface modules may be a keyboard, a mouse, buttons, and the like. These buttons can be virtual buttons or physical buttons. The second communication component 1105 is used for wired or wireless communication between the source signal sending terminal device 1100 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, near field communication (Near Field Communication, NFC for short), 2G, 3G or 4G, or a combination of one or more of them, so the corresponding second communication component 1105 can include : Wi-Fi module, Bluetooth module, NFC module.
在一示例性实施例中,信源信号发送终端设备1100可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器(DigitalSignal Processor,简称DSP)、数字信号处理设备(Digital Signal Processing Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field Programmable Gate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述的信源信号发送方法。In an exemplary embodiment, the source signal sending terminal device 1100 may be implemented by one or more application-specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), digital signal processors (Digital Signal Processor, DSP for short), digital signal processing Device (Digital Signal Processing Device, referred to as DSPD), Programmable Logic Device (Programmable Logic Device, referred to as PLD), Field Programmable Gate Array (Field Programmable Gate Array, referred to as FPGA), controller, microcontroller, microprocessor or Other electronic components are used to implement the above-mentioned source signal sending method.
在另一示例性实施例中,还提供了一种包括程序命令的计算机可读存储介质,该程序命令被处理器执行时实现上述的信源信号发送方法的步骤。例如,该计算机可读存储介质可以为上述包括程序命令的第二存储器1102,上述程序命令可由信源信号发送终端设备1100的第二处理器1101执行以完成上述的信源信号发送方法。In another exemplary embodiment, there is also provided a computer-readable storage medium including a program command, and when the program command is executed by a processor, the steps of the above method for sending a signal source signal are implemented. For example, the computer-readable storage medium can be the above-mentioned second memory 1102 including program commands, and the above-mentioned program commands can be executed by the second processor 1101 of the source signal sending terminal device 1100 to complete the above-mentioned source signal sending method.
相应于上面的信源信号发送方法实施例,本实施例中还提供了一种可读存储介质,下文描述的一种可读存储介质与上文描述的信源信号发送方法可相互对应参照。Corresponding to the above embodiment of the source signal sending method, a readable storage medium is also provided in this embodiment, and the readable storage medium described below and the source signal sending method described above can be referred to in correspondence with each other.
一种可读存储介质,可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述信源信号发送方法实施例的信源信号发送方法的步骤。A readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the information source signal transmission method in the above embodiment of the information source signal transmission method are implemented.
该可读存储介质具体可以为U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可存储程序代码的可读存储介质。Specifically, the readable storage medium can be a USB flash drive, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, etc., which can store program codes. readable storage media.
以上仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, there may be various modifications and changes in the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application shall be included within the protection scope of this application.
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application, and should cover Within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (26)

  1. 一种信源定向方法,所述方法包括:A source-directed method, the method comprising:
    获取第一信号,所述第一信号包括第一阵元所接收的所述信源发出的信源信号;Acquiring a first signal, where the first signal includes a source signal received by the first array element and sent by the source;
    获取第二信号,所述第二信号包括第二阵元所接收的所述信源信号;acquiring a second signal, where the second signal includes the source signal received by the second array element;
    根据所述第一信号和所述第二信号,得到所述信源信号的第一判决值,根据所述第一判决值得到所述信源的第一方向。A first judgment value of the information source signal is obtained according to the first signal and the second signal, and a first direction of the information source is obtained according to the first judgment value.
  2. 根据权利要求1所述的信源定位方法,其特征在于,所述方法还包括:The information source location method according to claim 1, wherein the method further comprises:
    获取第三信号,所述第三信号包括所述第一阵元所接收的所述信源信号;acquiring a third signal, where the third signal includes the source signal received by the first array element;
    获取第四信号,所述第四信号包括另一个第二阵元所接收的所述信源信号;acquiring a fourth signal, where the fourth signal includes the source signal received by another second array element;
    根据所述第三信号和所述第四信号,得到所述信源信号的第二判决值,根据所述第二判决值得到所述信源的第二方向;Obtaining a second decision value of the source signal according to the third signal and the fourth signal, and obtaining a second direction of the source signal according to the second decision value;
    根据所述第一方向和所述第二方向,得到所述信源的第三方向。A third direction of the information source is obtained according to the first direction and the second direction.
  3. 根据权利要求1所述的信源定位方法,其特征在于,所述方法还包括:The information source location method according to claim 1, wherein the method further comprises:
    获取第五信号,所述第五信号包括第三阵元所接收的所述信源信号;acquiring a fifth signal, where the fifth signal includes the source signal received by the third array element;
    根据所述第二信号和所述第五信号,得到所述信源信号的第三判决值,根据所述第三判决值得到所述信源的第四方向;Obtaining a third decision value of the source signal according to the second signal and the fifth signal, and obtaining a fourth direction of the source signal according to the third decision value;
    根据所述第一方向和所述第四方向,得到所述信源的第五方向。A fifth direction of the information source is obtained according to the first direction and the fourth direction.
  4. 根据权利要求1所述的信源定位方法,其特征在于,所述获取第二信号之前,还包括:The signal source location method according to claim 1, wherein, before acquiring the second signal, further comprising:
    当接收到所述第一信号的标志位的第一时间长度后,将接收所述信源信号的阵元由所述第一阵元切换至所述第二阵元;所述第一时间长度等于所述标志位到定向bit流起始位置的时间和一个码元的持续时间之和。After receiving the first time length of the flag bit of the first signal, the array element receiving the source signal is switched from the first array element to the second array element; the first time length It is equal to the sum of the time from the flag bit to the start position of the directional bit stream and the duration of one symbol.
  5. 根据权利要求1所述的信源定位方法,其特征在于,所述信源信号包括全0的数据bit流或全1的数据bit流。The source location method according to claim 1, wherein the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
  6. 一种信源定向系统,所述系统包括:A source-directed system, the system comprising:
    第一获取模块,用于获取第一信号,所述第一信号包括第一阵元所接收的所述信源发出的信源信号;The first acquisition module is configured to acquire a first signal, where the first signal includes the source signal received by the first array element and sent by the source;
    第二获取模块,用于获取第二信号,所述第二信号包括第二阵元所接收的所述信源信号;A second acquisition module, configured to acquire a second signal, where the second signal includes the source signal received by the second array element;
    第一计算模块,用于根据所述第一信号和所述第二信号,得到所述信源信号的第一判决值,根据所述第一判决值得到所述信源的第一方向。The first calculation module is configured to obtain a first judgment value of the information source signal according to the first signal and the second signal, and obtain a first direction of the information source according to the first judgment value.
  7. 根据权利要求6所述的信源定向系统,其特征在于,所述系统还包括:The source directional system according to claim 6, wherein the system further comprises:
    第三获取模块,用于获取第三信号,所述第三信号包括所述第一阵元所接收的所述信源信号;A third acquisition module, configured to acquire a third signal, where the third signal includes the source signal received by the first array element;
    第四获取模块,用于获取第四信号,所述第四信号包括另一个第二阵元所接收的所述信源信号;A fourth acquisition module, configured to acquire a fourth signal, where the fourth signal includes the source signal received by another second array element;
    第二计算模块,用于根据所述第三信号和所述第四信号,得到所述信源信号的第二判决值,根据所述第二判决值得到所述信源的第二方向;A second calculation module, configured to obtain a second decision value of the source signal according to the third signal and the fourth signal, and obtain a second direction of the source signal according to the second decision value;
    第三计算模块,用于根据所述第一方向和所述第二方向,得到所述信源的第三方向。A third calculating module, configured to obtain a third direction of the information source according to the first direction and the second direction.
  8. 根据权利要求6所述的信源定向系统,其特征在于,所述系统还包括:The source directional system according to claim 6, wherein the system further comprises:
    第五获取模块,用于获取第五信号,所述第五信号包括第三阵元所接收的所述信源信号;A fifth acquisition module, configured to acquire a fifth signal, where the fifth signal includes the source signal received by the third array element;
    第四计算模块,用于根据所述第二信号和所述第五信号,得到所述信源信号的第三判决值,根据所述第三判决值得到所述信源的第四方向;A fourth calculation module, configured to obtain a third decision value of the source signal according to the second signal and the fifth signal, and obtain a fourth direction of the source signal according to the third decision value;
    第五计算模块,用于根据所述第一方向和所述第四方向,得到所述信源的第五方向。A fifth calculation module, configured to obtain a fifth direction of the information source according to the first direction and the fourth direction.
  9. 根据权利要求6所述的信源定向系统,其特征在于,所述系统还包括:The source directional system according to claim 6, wherein the system further comprises:
    切换模块,用于当接收到所述第一信号的标志位的第一时间长度后,将接收所述信源信号的阵元由所述第一阵元切换至所述第二阵元;所述第一时间长度等于所述标志位到定向bit流起始位置的时间和一个码元的持续时间之和。A switching module, configured to switch the array element receiving the source signal from the first array element to the second array element after receiving the first time length of the flag bit of the first signal; The first time length is equal to the sum of the time from the flag bit to the start position of the directional bit stream and the duration of one symbol.
  10. 根据权利要求6所述的信源定向系统,其特征在于,所述信源信号包括全0的数据bit流或全1的数据bit流。The source-oriented system according to claim 6, wherein the source signal comprises a data bit stream of all 0s or a data bit stream of all 1s.
  11. 一种信源定向装置,所述信源定向装置包括:A source directional device, the source directional device comprising:
    天线阵列,所述天线阵列包括第一阵元和第二阵元;an antenna array comprising a first array element and a second array element;
    可编程逻辑器件,所述可编程逻辑器件用于执行权利要求1至4中任意一项所述方法的步骤。A programmable logic device, configured to execute the steps of the method according to any one of claims 1 to 4.
  12. 根据权利要求11所述的信源定向装置,其特征在于:所述第二阵元包括至少两个,所述第一阵元与每个所述第二阵元的间距均相等。The source directional device according to claim 11, wherein the second array element comprises at least two, and the distance between the first array element and each of the second array elements is equal.
  13. 根据权利要求11所述的信源定向装置,其特征在于,所述信源定向装置还包括天线切换模块,所述天线切换模块根据所述可编程逻辑器件发出的控制信号切换接收所述信源发出的信源信号的天线阵元。The source directional device according to claim 11, wherein the source directional device further comprises an antenna switching module, and the antenna switching module switches and receives the signal source according to a control signal sent by the programmable logic device. The antenna element from which the source signal is emitted.
  14. 根据权利要求11所述的信源定向装置,其特征在于,所述第一阵元通过第一微带线与接收芯片电连接,所述第二阵元通过第二微带线与接收芯片电连接,所述第一微带线与所述第二微带线的长度差满足以下公式:The source directional device according to claim 11, wherein the first array element is electrically connected to the receiving chip through the first microstrip line, and the second array element is electrically connected to the receiving chip through the second microstrip line. connection, the length difference between the first microstrip line and the second microstrip line satisfies the following formula:
    Figure PCTCN2021117561-appb-100001
    Figure PCTCN2021117561-appb-100001
    公式(1)中,Δw为所述第一微带线与所述第二微带线的长度差,n为整数,
    Figure PCTCN2021117561-appb-100002
    为所述天线阵列所接收到的所述信源发出的信元信号在所述第一微带线中和所述第二微带线中的波长。
    In formula (1), Δw is the length difference between the first microstrip line and the second microstrip line, n is an integer,
    Figure PCTCN2021117561-appb-100002
    is the wavelength of the cell signal sent by the signal source received by the antenna array in the first microstrip line and in the second microstrip line.
  15. 根据权利要求11所述的信源定向装置,其特征在于:所述第一阵元与所述第二阵元之间的间距满足以下公式:The source directional device according to claim 11, wherein the distance between the first array element and the second array element satisfies the following formula:
    Figure PCTCN2021117561-appb-100003
    Figure PCTCN2021117561-appb-100003
    公式(2)中,d为所述第一阵元与所述第二阵元之间的间距,λ为所述信源发出的信元信号在空气中的波长。In formula (2), d is the distance between the first array element and the second array element, and λ is the wavelength in air of the cell signal sent by the signal source.
  16. 一种信源定向终端设备,包括第一存储器、第一处理器以及存储在所述第一存储器中并可在所述第一处理器上运行的计算机程序,所述第一处理器执行所述计算机程序时实现如权利要求1至5中任意一项所述方法的步骤。A source-oriented terminal device, comprising a first memory, a first processor, and a computer program stored in the first memory and operable on the first processor, the first processor executing the The computer program realizes the steps of the method according to any one of claims 1 to 5.
  17. 一种可读存储介质,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任意一项所述方法的步骤。A readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are realized.
  18. 一种信源信号发送方法,包括:A method for sending a source signal, comprising:
    生成信源信号;Generate a source signal;
    将所述信源信号发送,所述信源信号用于依次被第一阵元和第二阵元接收,所述第一阵元接收的所述信源信号,用于与所述第二阵元接收的所述信源信号结合,得到所述信源信号的第一判决值,所述第一判决值用于判断所述信源信号的第一发送方向。sending the source signal, the source signal is used to be received by the first array element and the second array element in turn, and the source signal received by the first array element is used to communicate with the second array element Combine the received source signals to obtain a first judgment value of the source signal, and the first judgment value is used to judge a first sending direction of the source signal.
  19. 根据权利要求18所述的信源信号发送方法,其特征在于:所述第二阵元接收所述信源信号之后,还包括:The source signal sending method according to claim 18, characterized in that: after the second array element receives the source signal, further comprising:
    所述信源信号依次被所述第一阵元和另一个第二阵元接收,所述第一阵元接收的所述信源信号,用于与所述另一个第二阵元接收的所述信源信号结合,得到所述信源信号的第二判决值,所述第二判决值用于判断所述信源信号的第二发送方向,所述第二发送方向用于与所述第一发送方向结合,得到所述信源信号的第三发送方向。The source signal is sequentially received by the first array element and another second array element, and the source signal received by the first array element is used for all signals received by the other second array element. The source signal is combined to obtain a second judgment value of the source signal, the second judgment value is used to judge the second sending direction of the source signal, and the second sending direction is used to communicate with the first A sending direction is combined to obtain a third sending direction of the source signal.
  20. 根据权利要求18所述的信源信号发送方法,其特征在于:所述第二阵元接收所述信源信号之后,还包括:The source signal sending method according to claim 18, characterized in that: after the second array element receives the source signal, further comprising:
    所述信源信号被第三阵元接收,所述第三阵元接收的所述信源信号,用于与所述第二阵元接收的所述信源信号结合,得到所述信源信号的第三判决值,所述第三判决值用于判断所述信源信号的第四发送方向,所述第四发送方向用于与所述第一发送方向结合,得到所述信源信号的第五发送方向。The source signal is received by a third array element, and the source signal received by the third array element is used to combine with the source signal received by the second array element to obtain the source signal The third judgment value, the third judgment value is used to judge the fourth transmission direction of the source signal, and the fourth transmission direction is used to combine with the first transmission direction to obtain the source signal Fifth sending direction.
  21. 根据权利要求18所述的信源信号发送方法,其特征在于,所述信源信号的包括用于触发阵元切换的标志位,所述阵元切换包括:The source signal sending method according to claim 18, wherein the source signal includes a flag bit for triggering array element switching, and the array element switching includes:
    当接收到所述标志位的第一时间长度后,将接收所述信源信号的阵元由当前阵元切换到另一个阵元,所述第一时间长度等于所述标志位到定向bit流起始位置的时间和一个码元的持续时间之和。After receiving the first time length of the flag bit, the array element receiving the source signal is switched from the current array element to another array element, and the first time length is equal to the flag bit to the directional bit stream The sum of the time at the start position and the duration of one symbol.
  22. 根据权利要求18所述的信源信号发送方法,其特征在于:所述信源信号包括全0的数据bit流或全1的数据bit流。The source signal sending method according to claim 18, wherein the source signal includes a data bit stream of all 0s or a data bit stream of all 1s.
  23. 一种信源信号发送装置,包括:A source signal sending device, comprising:
    信源信号生成模块,用于生成信源信号;A source signal generating module, configured to generate a source signal;
    信源信号发送模块,用于将所述信源信号发送,所述信源信号用于依次被第一阵元和第二阵元接收,所述第一阵元接收的所述信源信号,用于与所述第二阵元接收的所述信源信号结合,得到所述信源信号的第一判决值,所述第一判决值用于判断所述信源信号的第一发送方向。A source signal sending module, configured to send the source signal, the source signal is used to be sequentially received by the first array element and the second array element, and the source signal received by the first array element, It is used to combine with the source signal received by the second array element to obtain a first judgment value of the source signal, and the first judgment value is used to judge a first sending direction of the source signal.
  24. 根据权利要求18所述的信源信号发送方法,所述信源信号包括全0的数据bit流或全1的数据bit流。The source signal sending method according to claim 18, the source signal comprises a data bit stream of all 0s or a data bit stream of all 1s.
  25. 一种信源信号发送终端设备,包括第二存储器、第二处理器以及存储在所述第二存储器中并可在所述第二处理器上运行的计算机程序,所述第二处理器执行所述计算机程序时实现如权利要求18至22中任意一项所述方法的步骤。A source signal sending terminal device, comprising a second memory, a second processor, and a computer program stored in the second memory and operable on the second processor, the second processor executing the The computer program implements the steps of the method according to any one of claims 18-22.
  26. 一种可读存储介质,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求18至22中任意一项所述方法的步骤。A readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method according to any one of claims 18 to 22 are realized.
PCT/CN2021/117561 2021-06-23 2021-09-10 Information source orientation method, system, apparatus and terminal device, and readable storage medium WO2022267232A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110699155.9 2021-06-23
CN202110699155.9A CN113824514B (en) 2021-06-23 2021-06-23 Information source orientation method, system, device, terminal equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2022267232A1 true WO2022267232A1 (en) 2022-12-29

Family

ID=78924004

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/117561 WO2022267232A1 (en) 2021-06-23 2021-09-10 Information source orientation method, system, apparatus and terminal device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN113824514B (en)
WO (1) WO2022267232A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104933457A (en) * 2015-07-03 2015-09-23 成都恒高科技有限公司 Detection method and apparatus for signal source in detection area
US20180084105A1 (en) * 2016-09-22 2018-03-22 Qualcomm Incorporated Determining a region of a user equipment using directional receive antenna arrays
CN109884584A (en) * 2019-01-23 2019-06-14 李超 A kind of localization method, device and terminal device
CN111650553A (en) * 2020-06-02 2020-09-11 斯凯瑞利(北京)科技有限公司 Signal processing system and method for time division multiplexing-based direction estimation of arriving signals
CN112702785A (en) * 2019-10-22 2021-04-23 佛山市云米电器科技有限公司 Bluetooth positioning method, device, system and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120088452A1 (en) * 2010-10-11 2012-04-12 Gn Netcom A/S Method For Locating A Wirelessly Connected Device
US8838036B2 (en) * 2011-09-19 2014-09-16 Broadcom Corporation Switch for transmit/receive mode selection and antenna polarization diversity
US9363004B2 (en) * 2011-12-19 2016-06-07 Nokia Technologies Oy Apparatus and associated methods for switching between antennas in a multi-antenna receiver
CN104954083B (en) * 2015-06-16 2018-05-29 上海华为技术有限公司 The method, apparatus and system of a kind of antenna array calibration
US10142778B2 (en) * 2016-01-07 2018-11-27 Qualcomm Technologies International, Ltd. Direction finding for legacy bluetooth devices
CN110768698B (en) * 2018-07-27 2021-06-04 上海华为技术有限公司 Method and apparatus for signal processing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104933457A (en) * 2015-07-03 2015-09-23 成都恒高科技有限公司 Detection method and apparatus for signal source in detection area
US20180084105A1 (en) * 2016-09-22 2018-03-22 Qualcomm Incorporated Determining a region of a user equipment using directional receive antenna arrays
CN109884584A (en) * 2019-01-23 2019-06-14 李超 A kind of localization method, device and terminal device
CN112702785A (en) * 2019-10-22 2021-04-23 佛山市云米电器科技有限公司 Bluetooth positioning method, device, system and storage medium
CN111650553A (en) * 2020-06-02 2020-09-11 斯凯瑞利(北京)科技有限公司 Signal processing system and method for time division multiplexing-based direction estimation of arriving signals

Also Published As

Publication number Publication date
CN113824514A (en) 2021-12-21
CN113824514B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
US9413058B1 (en) Loop-feeding wireless area network (WAN) antenna for metal back cover
TWI426656B (en) Method and system for sharing antennas for high frequency and low frequency applications
CA2851379C (en) Methods and apparatus to control accessories
WO2020063761A1 (en) Data transmitting method and system
CN103220822B (en) Data transmission method, device and mobile terminal
CN103974267A (en) Interference reduction method and device and mobile terminal
JP2007166619A (en) Mobile communication terminal having rfid function
CN107615818A (en) A kind of frequency band switching method, terminal
CN105722060A (en) Mobile terminal and communication method thereof
EP4064760A1 (en) Device control method and apparatus, storage medium and electronic device
CN107613536A (en) Select method, apparatus, mobile terminal and the readable storage medium storing program for executing of network
US9197467B2 (en) Multiple protocol receiver
CN107466033A (en) IMS register method, device, mobile terminal and storage medium
CN105872980B (en) A kind of method and device scanning wireless network signal
US20060034253A1 (en) Radio communication system
CN108880649B (en) Antenna configuration method, device, equipment and storage medium of terminal
WO2022267232A1 (en) Information source orientation method, system, apparatus and terminal device, and readable storage medium
US20120169638A1 (en) Device and method for transmitting data in portable terminal
CN105744648A (en) Mobile terminal and communication method
EA029590B1 (en) Rfic configuration for reduced antenna trace loss
WO2021052068A1 (en) Method and apparatus for data transmission in back reflection communication
CN110198183B (en) Antenna switching method and related equipment
KR20130038587A (en) Device and method for matching antenna in wireless terminal
KR102529891B1 (en) Electonic device and communication method thereof
CN105554306A (en) Mobile terminal and two-chip system upgrading method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21946716

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE