WO2021139435A1 - Indoor positioning method and apparatus, and electronic device - Google Patents

Indoor positioning method and apparatus, and electronic device Download PDF

Info

Publication number
WO2021139435A1
WO2021139435A1 PCT/CN2020/132066 CN2020132066W WO2021139435A1 WO 2021139435 A1 WO2021139435 A1 WO 2021139435A1 CN 2020132066 W CN2020132066 W CN 2020132066W WO 2021139435 A1 WO2021139435 A1 WO 2021139435A1
Authority
WO
WIPO (PCT)
Prior art keywords
electromagnetic wave
indoor
indoor directional
target object
directional antenna
Prior art date
Application number
PCT/CN2020/132066
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 WO2021139435A1 publication Critical patent/WO2021139435A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/06Position of source determined by co-ordinating a plurality of position lines defined by path-difference measurements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/04Position of source determined by a plurality of spaced direction-finders

Definitions

  • the embodiments of this specification relate to the field of positioning technology, and more specifically, to an indoor positioning method, an apparatus for indoor positioning, an electronic device, and a computer-readable storage medium.
  • GPS satellite positioning system
  • One purpose of the embodiments of this specification is to provide a new technical solution for indoor positioning.
  • an indoor positioning method which includes: acquiring electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are emitted by a target object; and obtaining all the signals based on the electromagnetic wave signals
  • the incident angle of the electromagnetic wave signal with respect to the indoor directional antenna, and the distance between the target object and any one of the indoor directional antennas; based on the distance and the incident angle, the position of the target object is calculated information.
  • the obtaining the incident angle of the electromagnetic wave signal with respect to the indoor directional antenna based on the electromagnetic wave signal includes: calculating a phase difference according to the electromagnetic wave signals received by the at least two indoor directional antennas; The incident angle of the electromagnetic wave signal relative to the indoor directional antenna is calculated based on the phase difference.
  • the calculating the phase difference according to the electromagnetic wave signal includes: analyzing the I/Q signal from the electromagnetic wave signal; and calculating the phase difference according to the I/Q signal.
  • obtaining the distance between the target object and any one of the indoor directional antennas includes: calculating the time difference according to the time when the electromagnetic wave signal reaches the at least two indoor directional antennas; The phase difference and the time difference are calculated to obtain the distance between the target object and any one of the indoor directional antennas.
  • the calculating the distance between the target object and any one of the indoor directional antennas according to the phase difference and the time difference includes: according to the distance between the two indoor directional antennas The distance between the two indoor directional antennas and the phase difference are calculated to obtain the first and second incident angles of the electromagnetic wave signal relative to the two indoor directional antennas; according to the distance between the two indoor directional antennas, the first The distance between the target object and any one of the indoor directional antennas is calculated based on the incident angle and the second incident angle, the time difference and the propagation speed of the electromagnetic wave.
  • the at least two indoor directional antennas include a first indoor directional antenna, a second indoor directional antenna, and a third indoor directional antenna;
  • the electromagnetic wave signal is calculated based on the phase difference relative to the The incident angle of the indoor directional antenna includes: using the first indoor directional antenna and the second indoor directional antenna to form an xy plane, based on the electromagnetic wave signals received by the first indoor directional antenna and the second indoor directional antenna
  • the first angle of incidence of the electromagnetic wave signal with respect to the x-axis is calculated by calculating the phase difference of the electromagnetic wave;
  • the second indoor directional antenna and the third indoor directional antenna are used to form a yz plane, based on the second indoor directional antenna and the
  • the phase difference of the electromagnetic wave signal received by the third indoor directional antenna is calculated to obtain the third incident angle of the electromagnetic wave signal with respect to the z-axis.
  • the calculating the position information of the target object based on the distance and the angle of incidence includes: calculating according to the distance, the first angle of incidence, and the third angle of incidence The x-coordinate value and the y-coordinate value of the target object; the z-coordinate value of the target object is calculated according to the height of the indoor directional antenna, the distance and the third angle of incidence; the x-coordinate value, The y coordinate value and the z coordinate value are determined as the position information of the target object.
  • an indoor positioning device including: an antenna array module for receiving electromagnetic wave signals emitted by a target object; a radio frequency switch module for connecting the antenna array module at different times
  • the electromagnetic wave signals received by different antennas are sent to the Bluetooth IC module; the Bluetooth IC module is used to receive the electromagnetic wave signal transmitted by the radio frequency switch module; the calculation module is used to receive all the signals received by the Bluetooth IC module.
  • the electromagnetic wave signal implements the indoor positioning method according to any one of the first aspects of the embodiments of this specification.
  • a device for indoor positioning including: an acquisition module for acquiring electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are emitted by a target object A calculation module for obtaining the incident angle of the electromagnetic wave signal relative to the indoor directional antenna based on the electromagnetic wave signal, and the distance between the target object and any one of the indoor directional antenna; and, based on the The distance and the incident angle are calculated to obtain the position information of the target object.
  • the device for indoor positioning as described in the second or third aspect of the embodiment of this specification, or the electronic device comprises: a memory for storing Executing the command; the processor is configured to execute the indoor positioning method as described in any one of the first aspect of the embodiments of this specification under the control of the executable command.
  • a computer-readable storage medium storing executable instructions.
  • the executable instructions When executed by a processor, they execute any of the first aspects of the embodiments of the present specification.
  • the method of this embodiment obtains electromagnetic wave signals received by at least two indoor directional antennas; calculates two slaves based on electromagnetic wave signals, and calculates electromagnetic wave signals relative to indoor orientation based on phase difference.
  • the angle of incidence of the antenna at the same time, based on the time difference and phase difference of the electromagnetic wave signals received by at least two indoor directional antennas, the distance between the target object and any indoor directional antenna is calculated, and then based on the distance and the angle of incidence, the calculation is obtained
  • the location information of the target object The antenna array module composed of multiple antennas makes the measurement angle more accurate, and can avoid interference factors such as environment, multipath, and reflection, thereby improving the accuracy of indoor positioning. Moreover, the cost is low, the installation is simple, and it is convenient for large-scale deployment.
  • FIG. 1 is a schematic diagram of an actual scene of an indoor positioning method according to an embodiment of this specification
  • FIG. 2 is a schematic structural diagram of an electronic device to which an indoor positioning method according to an embodiment of this specification can be applied;
  • Fig. 3 is a flowchart of an indoor positioning method according to an embodiment of the present specification
  • Fig. 4 is a schematic diagram of calculating an incident angle according to an embodiment of the present specification.
  • Fig. 5 is a schematic diagram of calculating the distance between a target object and an indoor directional antenna according to an embodiment of the present specification
  • Fig. 6 is a schematic structural diagram of a device for indoor positioning according to an embodiment of the present specification.
  • Fig. 7 is a schematic structural diagram of a device for indoor positioning according to another embodiment of the present specification.
  • Fig. 8 is a functional block diagram of an electronic device according to an embodiment of the present specification.
  • Fig. 1 is a schematic diagram of an actual scene of an indoor positioning method according to an embodiment of this specification.
  • multiple indoor directional antennas with a beam width of ⁇ are set to form an xy plane and a yz plane.
  • the target object is the mobile phone as shown in Figure 1, and the electromagnetic wave signal emitted by the mobile phone is received by the indoor directional antenna.
  • the incident angle ⁇ between the electromagnetic wave signal and the x-axis is measured for the mobile phone, and the incident angle between the electromagnetic wave signal and the z-axis is measured for the mobile phone
  • the position information of the mobile phone in the coordinate value system can be obtained through different algorithms, so as to achieve the purpose of positioning.
  • the indoor directional antenna array there are multiple indoor directional antennas that can receive the electromagnetic wave signal emitted by the mobile phone to calculate the angle of incidence, which can further correct the above-mentioned angle of incidence ⁇ and Improve the accuracy of indoor positioning.
  • Fig. 2 is a schematic structural diagram of an electronic device to which an indoor positioning method according to an embodiment of the present specification can be applied.
  • the electronic device 1000 of this embodiment may include a processor 1010, a memory 1020, an interface device 1030, a communication device 1040, a display device 1050, an input device 1060, a speaker 1070, a microphone 1080, and so on.
  • the processor 1010 may be a central processing unit (CPU), a microprocessor MCU, or the like.
  • the memory 1020 includes, for example, ROM (Read Only Memory), RAM (Random Access Memory), nonvolatile memory such as a hard disk, and the like.
  • the interface device 1030 includes, for example, a USB interface, a headphone interface, and the like.
  • the communication device 1040 can perform wired or wireless communication, for example.
  • the display device 1050 is, for example, a liquid crystal display, a touch display, or the like.
  • the input device 1060 may include, for example, a touch screen, a keyboard, and the like.
  • the electronic device 1000 may output audio information through the speaker 1070.
  • the electronic device 1000 can pick up the voice information input by the user through the microphone 1080.
  • the electronic device 1000 may be any device that can support security authentication, such as a smart phone, a portable computer, a desktop computer, or a tablet computer.
  • the electronic device 1000 obtains electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are sent by a target object; obtains the incident angle of the electromagnetic wave signal relative to the indoor directional antenna based on the electromagnetic wave signals, and The distance between the target object and any of the indoor directional antennas; based on the distance and the incident angle, the position information of the target object is calculated.
  • the memory 1020 of the electronic device 1000 is used to store instructions, and the instructions are used to control the processor 1010 to operate to support the implementation of the indoor positioning method according to any embodiment of this specification.
  • Technicians can design instructions according to the scheme disclosed in the embodiments of this specification. How the instruction controls the processor to operate is well known in the art, so it will not be described in detail here.
  • the electronic device 1000 in the embodiment of this specification may only involve some of the devices, for example, only the processor 1010 and the memory are involved. 1020, display device 1050, input device 1060, etc.
  • This embodiment provides an indoor positioning method.
  • the method may be implemented by, for example, an electronic device.
  • the electronic device may include the electronic device 1000 as shown in FIG. 2.
  • the indoor positioning method includes steps 2000-2400.
  • Step 2000 Obtain electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are emitted by the target object.
  • Step 2200 Obtain the incident angle of the electromagnetic wave signal relative to the indoor directional antenna and the distance between the target object and any indoor directional antenna based on the electromagnetic wave signal.
  • the phase difference may be calculated according to the electromagnetic wave signals received by the at least two indoor directional antennas; and the phase difference may be calculated based on the phase difference.
  • the incident angle of the electromagnetic wave signal relative to the indoor directional antenna.
  • calculating the phase difference according to the electromagnetic wave signal includes: analyzing the I/Q signal from the electromagnetic wave signal, and calculating the phase difference ⁇ according to the analyzed I/Q signal.
  • the at least two indoor directional antennas include a first indoor directional antenna, a second indoor directional antenna, and a third indoor directional antenna as an example for description.
  • the first indoor directional antenna and the second indoor directional antenna are used to form an xy plane.
  • the electromagnetic wave signal relative to the The first incident angle of the x-axis specifically, can be based on the formula The first angle of incidence is calculated.
  • ⁇ 1 is the phase difference
  • d 1 is the distance between the first indoor directional antenna and the second indoor directional antenna
  • is the electromagnetic wave wavelength.
  • the second indoor directional antenna and the third indoor directional antenna are used to form a yz plane, and the electromagnetic wave signal relative to the z-axis is calculated based on the phase difference between the electromagnetic wave signal received by the second indoor directional antenna and the third indoor directional antenna
  • the third angle of incidence specifically, can be based on the formula The third angle of incidence is calculated.
  • ⁇ 2 is the phase difference
  • d 2 is the distance between the second indoor directional antenna and the third indoor directional antenna
  • is the electromagnetic wave wavelength.
  • the distance between the target object and any indoor directional antenna is obtained.
  • the time difference can be calculated according to the time when the electromagnetic wave signal reaches the at least two indoor directional antennas; and then the distance between the target object and any one of the indoor directional antennas can be calculated according to the phase difference and the time difference .
  • the relative distance between the two indoor directional antennas and the phase difference can be calculated to obtain the relative electromagnetic wave signal.
  • the selected electromagnetic wave wavelength is ⁇
  • the distance between two indoor directional antennas set up is d
  • the propagation speed of electromagnetic waves in the air is approximately equal to the speed of light c. Therefore, the formula The distance L between the target object and any one of the indoor directional antennas is calculated.
  • d is the distance between the two indoor directional antennas
  • c is the propagation speed of electromagnetic waves in the air
  • ⁇ T is the time difference
  • ⁇ and ⁇ are the first incident angle and the first incident angle of the electromagnetic wave signal with respect to different indoor directional antennas. Two angle of incidence.
  • step 2400 is entered.
  • step 2400 based on the distance and the incident angle, the position information of the target object is calculated.
  • the x-coordinate value and the y-coordinate value of the target object can be calculated according to the distance, the first angle of incidence, and the third angle of incidence; according to the height of the indoor directional antenna, the The distance and the third angle of incidence are calculated to obtain the z-coordinate value of the target object; the x-coordinate value, the y-coordinate value, and the z-coordinate value are determined as the position information of the target object.
  • the height of the indoor directional antenna in the known coordinate value system that is, the installation height of the indoor directional antenna is a
  • the formula Calculate the x-coordinate value of the target object; through the formula Calculate the y coordinate value of the target object; through the formula The z coordinate value of the target object is calculated.
  • ⁇ 1 and ⁇ 2 are the phase differences
  • d 1 is the distance between the first indoor directional antenna and the second indoor directional antenna
  • d 2 is the distance between the second indoor directional antenna and the third indoor directional antenna.
  • Distance is the wavelength of electromagnetic wave.
  • the indoor directional antenna array there are multiple indoor directional antennas that can receive the electromagnetic wave signal emitted by the target object. Repeat the above steps to get more incident angles ⁇ and Furthermore, the above-mentioned incident angle ⁇ and Improve the accuracy of indoor positioning.
  • the method of this embodiment obtains the electromagnetic wave signals received by at least two indoor directional antennas; calculates two slaves based on the electromagnetic wave signals, and calculates the incident angle of the electromagnetic wave signal relative to the indoor directional antenna based on the phase difference; at the same time, based on at least The time difference and phase difference between the electromagnetic wave signals received by the two indoor directional antennas are calculated to obtain the distance between the target object and any indoor directional antenna, and the position information of the target object is calculated based on the distance and the incident angle.
  • the antenna array module composed of multiple antennas makes the measurement angle more accurate, and can avoid interference factors such as environment, multipath, and reflection, thereby improving the accuracy of indoor positioning. Moreover, the cost is low, the installation is simple, and it is convenient for large-scale deployment.
  • Fig. 6 is a schematic structural diagram of a device for indoor positioning according to an embodiment of the present specification.
  • the device for indoor positioning of the user may include: an antenna array module, a radio frequency switch module, a Bluetooth IC module, and a calculation module for running algorithms.
  • the antenna array module is used to receive the electromagnetic wave signal emitted by the target object.
  • the radio frequency switch module is used to send electromagnetic wave signals received by different antennas in the antenna array module to the Bluetooth IC module at different times. For example, suppose that 4 antennas are connected to a receiving link through a radio frequency switch module. Time t1 receives the electromagnetic wave signal of antenna 1, and time t2 receives the electromagnetic wave signal of antenna 2, and so on, there are t3, t4, and the interval ⁇ t between each time is fixed. When the regular modulation signal is determined by ⁇ t, the ⁇ t can be complemented by an algorithm at the back end to obtain different phases at the same time.
  • the Bluetooth IC module is used to receive the electromagnetic wave signal transmitted by the radio frequency switch module.
  • the calculation module is configured to execute the indoor positioning method described in any method embodiment of this specification according to the electromagnetic wave signal received by the Bluetooth IC module, which will not be repeated here.
  • FIG. 7 is a schematic structural diagram of an apparatus for indoor positioning according to another embodiment of this specification.
  • the device is, for example, the device for indoor positioning shown in FIG. 6; or, the device is, for example, the device 7000 for indoor positioning shown in FIG. Module 7200.
  • the acquisition module 7100 can be used to acquire electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are sent by the target object.
  • the calculation module 7200 is configured to obtain the incident angle of the electromagnetic wave signal relative to the indoor directional antenna based on the electromagnetic wave signal, and the distance between the target object and any indoor directional antenna; and, based on the distance and the incident angle , Calculate the position information of the target object.
  • the calculation module 7200 may calculate the phase difference based on the electromagnetic wave signals received by the at least two indoor directional antennas; and calculate the incident angle of the electromagnetic wave signal relative to the indoor directional antenna based on the phase difference.
  • the calculation module 7200 can analyze the I/Q signal from the electromagnetic wave signal; calculate the phase difference according to the I/Q signal.
  • the calculation module 7200 may calculate the time difference according to the time when the electromagnetic wave signal reaches the at least two indoor directional antennas; according to the phase difference and the time difference, calculate the difference between the target object and any one of the indoor directional antennas. distance.
  • the calculation module 7200 specifically calculates the first incident angle and the second incident angle of the electromagnetic wave signal relative to the two indoor directional antennas according to the distance between the two indoor directional antennas and the phase difference; According to the distance between the two indoor directional antennas, the first and second incident angles, the time difference and the propagation speed of electromagnetic waves, the distance between the target object and any one of the indoor directional antennas is calculated distance.
  • the at least two indoor directional antennas include a first indoor directional antenna, a second indoor directional antenna, and a third indoor directional antenna.
  • the calculation module 7200 may use the first indoor directional antenna and the second indoor directional antenna to form an xy plane, and calculate the electromagnetic wave signal based on the phase difference between the electromagnetic wave signal received by the first indoor directional antenna and the second indoor directional antenna The first angle of incidence relative to the x-axis; and the second indoor directional antenna and the third indoor directional antenna are used to form a yz plane, based on the phase of the electromagnetic wave signals received by the second indoor directional antenna and the third indoor directional antenna The difference is calculated to obtain the third incident angle of the electromagnetic wave signal with respect to the z-axis.
  • the calculation module 7200 may specifically calculate the x-coordinate value and the y-coordinate value of the target object according to the distance, the first angle of incidence, and the third angle of incidence. Calculate the z-coordinate value of the target object according to the height of the indoor directional antenna, the distance and the third angle of incidence; determine the x-coordinate value, the y-coordinate value and the z-coordinate value Is the location information of the target object.
  • the apparatus for indoor positioning in this embodiment can be used to implement the technical solutions of the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
  • an electronic device which includes the device for indoor positioning described in the device embodiment shown in FIG. 6 or FIG. 7 of this specification; or, the electronic device is the electronic device shown in FIG. 8
  • the device 8000 includes a memory 8100 and a processor 8200.
  • the memory 8100 is used to store executable commands.
  • the processor 8200 is configured to execute the method described in any method embodiment in this specification under the control of the executable command stored in the memory 8100.
  • This embodiment provides a computer-readable storage medium in which an executable command is stored, and when the executable command is executed by a processor, the method described in any method embodiment in this specification is executed.
  • the embodiments of this specification may be systems, methods and/or computer program products.
  • the computer program product may include a computer-readable storage medium loaded with computer-readable program instructions for enabling a processor to implement various aspects of the embodiments of the present specification.
  • the computer-readable storage medium may be a tangible device that can hold and store instructions used by the instruction execution device.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Non-exhaustive list of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a printer with instructions stored thereon
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read-only memory
  • flash memory flash memory
  • SRAM static random access memory
  • CD-ROM compact disk read-only memory
  • DVD digital versatile disk
  • memory stick floppy disk
  • mechanical encoding device such as a printer with instructions stored thereon
  • the computer-readable storage medium used here is not interpreted as the instantaneous signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, light pulses through fiber optic cables), or through wires Transmission of electrical signals.
  • the computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • the network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device .
  • the computer program instructions used to perform the operations of the embodiments of this specification may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or one or more programming Source code or object code written in any combination of languages.
  • Programming languages include object-oriented programming languages-such as Smalltalk, C++, etc., and conventional procedural programming languages-such as "C" language or similar programming languages.
  • Computer-readable program instructions can be executed entirely on the user's computer, partly on the user's computer, executed as a stand-alone software package, partly on the user's computer and partly executed on a remote computer, or entirely on the remote computer or server carried out.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to access the Internet connection).
  • LAN local area network
  • WAN wide area network
  • an electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by using the status information of the computer-readable program instructions.
  • the computer-readable program instructions are executed to realize various aspects of the embodiments of this specification.
  • These computer-readable program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine that makes these instructions when executed by the processor of the computer or other programmable data processing device , A device that implements the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams is produced. It is also possible to store these computer-readable program instructions in a computer-readable storage medium. These instructions make computers, programmable data processing apparatuses, and/or other devices work in a specific manner. Thus, the computer-readable medium storing the instructions includes An article of manufacture, which includes instructions for implementing various aspects of the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagram can represent a module, program segment, or part of an instruction, and the module, program segment, or part of an instruction contains one or more executables for realizing the specified logic function. instruction.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or actions Or it can be realized by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that realization by hardware, realization by software, and realization by a combination of software and hardware are all equivalent.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

An indoor positioning method and apparatus (7000), and an electronic device (1000, 8000). The indoor positioning method comprises: obtaining electromagnetic wave signals received by at least two indoor directional antennas, the electromagnetic wave signals being emitted by a target object (2000); calculating a phase difference according to the electromagnetic wave signals, and calculating incident angles of the electromagnetic wave signals with respect to the indoor directional antennas on the basis of the phase difference; calculating a distance between the target object and any indoor directional antenna on the basis of a time difference of receiving the electromagnetic wave signals by the at least two indoor directional antennas and the phase difference (2000); and thus, calculating position information of the target object on the basis of the distance and the incident angles (2400).

Description

一种室内定位方法、装置及电子设备Indoor positioning method, device and electronic equipment 技术领域Technical field
本说明书实施例涉及定位技术领域,更具体地,涉及一种室内定位方法、一种用于室内定位的装置、一种电子设备以及一种计算机可读存储介质。The embodiments of this specification relate to the field of positioning technology, and more specifically, to an indoor positioning method, an apparatus for indoor positioning, an electronic device, and a computer-readable storage medium.
背景技术Background technique
卫星定位系统(GPS)的出现极大的提升了人们在科学、工业、农业等相关领域的追踪、导航和救援方面的效率。但随着城市的发展,高层楼宇、商场和地下室等场景,对定位也有越来越强烈的需求。但是,这些场景通常没有GPS信号或仅有较弱的GPS信号,导致存在室内定位的精确度较低的问题。The emergence of satellite positioning system (GPS) has greatly improved people's efficiency in tracking, navigation and rescue in science, industry, agriculture and other related fields. However, with the development of cities, high-rise buildings, shopping malls, and basements, etc., have increasingly strong demands for positioning. However, these scenarios usually have no GPS signal or only a weak GPS signal, leading to the problem of low accuracy of indoor positioning.
因此,需要提供一种新的方法来提高室内定位的精确度,同时降低布设成本和布设环境要求。Therefore, it is necessary to provide a new method to improve the accuracy of indoor positioning while reducing the deployment cost and the requirements of the deployment environment.
发明内容Summary of the invention
本说明书实施例的一个目的是提供一种室内定位的新的技术方案。One purpose of the embodiments of this specification is to provide a new technical solution for indoor positioning.
根据本说明书实施例的第一方面,提供了一种室内定位方法,包括:获取至少两个室内定向天线接收到的电磁波信号;所述电磁波信号是目标物体发出的;基于所述电磁波信号获得所述电磁波信号相对于所述室内定向天线的入射角度,以及所述目标物体与任意一个所述室内定向天线之间的距离;基于所述距离及所述入射角度,计算得到所述目标物体的位置信息。According to the first aspect of the embodiments of the present specification, an indoor positioning method is provided, which includes: acquiring electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are emitted by a target object; and obtaining all the signals based on the electromagnetic wave signals The incident angle of the electromagnetic wave signal with respect to the indoor directional antenna, and the distance between the target object and any one of the indoor directional antennas; based on the distance and the incident angle, the position of the target object is calculated information.
可选地,其中,所述基于所述电磁波信号获得所述电磁波信号相对于所述室内定向天线的入射角度,包括:根据所述至少两个室内定向天线接收到的电磁波信号计算得到相位差;基于所述相位差计算得到所述电磁波信号相对于所述室内定向天线的入射角度。Optionally, wherein the obtaining the incident angle of the electromagnetic wave signal with respect to the indoor directional antenna based on the electromagnetic wave signal includes: calculating a phase difference according to the electromagnetic wave signals received by the at least two indoor directional antennas; The incident angle of the electromagnetic wave signal relative to the indoor directional antenna is calculated based on the phase difference.
可选地,其中,所述根据所述电磁波信号计算得到相位差,包括:从所述电磁波信号中解析出I/Q信号;根据I/Q信号计算得到相位差。Optionally, wherein the calculating the phase difference according to the electromagnetic wave signal includes: analyzing the I/Q signal from the electromagnetic wave signal; and calculating the phase difference according to the I/Q signal.
可选地,其中,获得所述目标物体与任意一个所述室内定向天线之间的距离,包括:根据所述电磁波信号到达所述至少两个室内定向天线的时间,计算得到时间差;根 据所述相位差以及所述时间差,计算得到所述目标物体与其中任意一个所述室内定向天线之间的距离。Optionally, wherein obtaining the distance between the target object and any one of the indoor directional antennas includes: calculating the time difference according to the time when the electromagnetic wave signal reaches the at least two indoor directional antennas; The phase difference and the time difference are calculated to obtain the distance between the target object and any one of the indoor directional antennas.
可选地,其中,所述根据所述相位差以及所述时间差,计算得到所述目标物体与其中任意一个所述室内定向天线之间的距离,包括:根据两个所述室内定向天线之间的距离以及所述相位差,分别计算得到所述电磁波信号相对于两个室内定向天线的第一入射角度和第二入射角度;根据两个所述室内定向天线之间的距离、所述第一入射角度和第二入射角度、所述时间差和电磁波的传播速度,计算得到所述目标物体与其中任意一个室内定向天线之间的距离。Optionally, wherein the calculating the distance between the target object and any one of the indoor directional antennas according to the phase difference and the time difference includes: according to the distance between the two indoor directional antennas The distance between the two indoor directional antennas and the phase difference are calculated to obtain the first and second incident angles of the electromagnetic wave signal relative to the two indoor directional antennas; according to the distance between the two indoor directional antennas, the first The distance between the target object and any one of the indoor directional antennas is calculated based on the incident angle and the second incident angle, the time difference and the propagation speed of the electromagnetic wave.
可选地,其中,所述至少两个室内定向天线包括第一室内定向天线、第二室内定向天线以及第三室内定向天线;所述基于所述相位差计算得到所述电磁波信号相对于所述室内定向天线的入射角度,包括:采用所述第一室内定向天线和所述第二室内定向天线组成xy平面,基于所述第一室内定向天线和所述第二室内定向天线接收到的电磁波信号的相位差计算得到所述电磁波信号相对于x轴的第一入射角度;采用所述第二室内定向天线和所述第三室内定向天线组成yz平面,基于所述第二室内定向天线和所述第三室内定向天线接收到的电磁波信号的相位差计算得到所述电磁波信号相对于z轴的第三入射角度。Optionally, wherein the at least two indoor directional antennas include a first indoor directional antenna, a second indoor directional antenna, and a third indoor directional antenna; the electromagnetic wave signal is calculated based on the phase difference relative to the The incident angle of the indoor directional antenna includes: using the first indoor directional antenna and the second indoor directional antenna to form an xy plane, based on the electromagnetic wave signals received by the first indoor directional antenna and the second indoor directional antenna The first angle of incidence of the electromagnetic wave signal with respect to the x-axis is calculated by calculating the phase difference of the electromagnetic wave; the second indoor directional antenna and the third indoor directional antenna are used to form a yz plane, based on the second indoor directional antenna and the The phase difference of the electromagnetic wave signal received by the third indoor directional antenna is calculated to obtain the third incident angle of the electromagnetic wave signal with respect to the z-axis.
可选地,其中,所述基于所述距离及所述入射角度,计算得到所述目标物体的位置信息,包括:根据所述距离、所述第一入射角度和所述第三入射角度计算得到所述目标物体的x坐标值和y坐标值;根据所述室内定向天线的高度、所述距离和所述第三入射角度计算得到所述目标物体的z坐标值;将所述x坐标值、所述y坐标值和所述z坐标值确定为所述目标物体的位置信息。Optionally, wherein the calculating the position information of the target object based on the distance and the angle of incidence includes: calculating according to the distance, the first angle of incidence, and the third angle of incidence The x-coordinate value and the y-coordinate value of the target object; the z-coordinate value of the target object is calculated according to the height of the indoor directional antenna, the distance and the third angle of incidence; the x-coordinate value, The y coordinate value and the z coordinate value are determined as the position information of the target object.
根据本说明书实施例的第二方面,还提供一种用于室内定位的装置,包括:天线阵列模块,用于接收目标物体发射的电磁波信号;射频开关模块,用于在不同时间将天线阵列模块中不同天线接收到的电磁波信号发送给蓝牙IC模块;所述蓝牙IC模块,用于接收所述射频开关模块传递的所述电磁波信号;计算模块,用于根据所述蓝牙IC模块接收到的所述电磁波信号,执行如本说明书实施例的第一方面中任一项所述的室内定位方法。According to the second aspect of the embodiments of the present specification, there is also provided an indoor positioning device, including: an antenna array module for receiving electromagnetic wave signals emitted by a target object; a radio frequency switch module for connecting the antenna array module at different times The electromagnetic wave signals received by different antennas are sent to the Bluetooth IC module; the Bluetooth IC module is used to receive the electromagnetic wave signal transmitted by the radio frequency switch module; the calculation module is used to receive all the signals received by the Bluetooth IC module. The electromagnetic wave signal implements the indoor positioning method according to any one of the first aspects of the embodiments of this specification.
根据本说明书实施例的第三方面,还提供一种用于室内定位的装置,包括:获取模块,用于获取至少两个室内定向天线接收到的电磁波信号;所述电磁波信号是目标物体发出的;计算模块,用于基于所述电磁波信号获得所述电磁波信号相对于所述室内定 向天线的入射角度,以及所述目标物体与任意一个所述室内定向天线之间的距离;以及,基于所述距离及所述入射角度,计算得到所述目标物体的位置信息。According to the third aspect of the embodiments of the present specification, there is also provided a device for indoor positioning, including: an acquisition module for acquiring electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are emitted by a target object A calculation module for obtaining the incident angle of the electromagnetic wave signal relative to the indoor directional antenna based on the electromagnetic wave signal, and the distance between the target object and any one of the indoor directional antenna; and, based on the The distance and the incident angle are calculated to obtain the position information of the target object.
根据本说明书实施例的第四方面,还提供包括如本说明书实施例的第二方面或第三方面所述的用于室内定位的装置,或者,所述电子设备包括:存储器,用于存储可执行命令;处理器,用于在所述可执行命令的控制下,执行如本说明书实施例的第一方面中任一项所述的室内定位方法。According to the fourth aspect of the embodiment of this specification, there is also provided the device for indoor positioning as described in the second or third aspect of the embodiment of this specification, or the electronic device comprises: a memory for storing Executing the command; the processor is configured to execute the indoor positioning method as described in any one of the first aspect of the embodiments of this specification under the control of the executable command.
根据本说明书实施例的第五方面,还提供一种计算机可读存储介质,存储有可执行指令,所述可执行指令被处理器执行时,执行如本说明书实施例的第一方面中任一项所述的室内定位方法。According to the fifth aspect of the embodiments of the present specification, there is also provided a computer-readable storage medium storing executable instructions. When the executable instructions are executed by a processor, they execute any of the first aspects of the embodiments of the present specification. The indoor positioning method described in item.
本说明书实施例的一个有益效果在于,本实施例的方法通过获取至少两个室内定向天线接收到的电磁波信号;根据电磁波信号计算得到两位从,并基于相位差计算得到电磁波信号相对于室内定向天线的入射角度;同时,基于至少两个室内定向天线接收到电磁波信号的时间差及相位差,计算得到目标物体与任意一个室内定向天线的距离,从而基于所述距离及所述入射角度,计算得到所述目标物体的位置信息。采用多天线组成的天线阵列模块使得测量的角度更加精确,且可以避免环境、多径、反射等干扰因素,从而提升了室内定位的精确度。且成本较低、安装简单,便于大规模布设。One beneficial effect of the embodiment of this specification is that the method of this embodiment obtains electromagnetic wave signals received by at least two indoor directional antennas; calculates two slaves based on electromagnetic wave signals, and calculates electromagnetic wave signals relative to indoor orientation based on phase difference. The angle of incidence of the antenna; at the same time, based on the time difference and phase difference of the electromagnetic wave signals received by at least two indoor directional antennas, the distance between the target object and any indoor directional antenna is calculated, and then based on the distance and the angle of incidence, the calculation is obtained The location information of the target object. The antenna array module composed of multiple antennas makes the measurement angle more accurate, and can avoid interference factors such as environment, multipath, and reflection, thereby improving the accuracy of indoor positioning. Moreover, the cost is low, the installation is simple, and it is convenient for large-scale deployment.
通过以下参照附图对本说明书实施例的示例性实施例的详细描述,本说明书实施例的其它特征及其优点将会变得清楚。Through the following detailed description of exemplary embodiments of the embodiments of the present specification with reference to the accompanying drawings, other features and advantages of the embodiments of the present specification will become clear.
附图说明Description of the drawings
被结合在说明书中并构成说明书的一部分的附图示出了本说明书实施例的实施例,并且连同其说明一起用于解释本说明书实施例的原理。The drawings incorporated in the specification and constituting a part of the specification illustrate the embodiments of the embodiments of the specification, and together with the descriptions are used to explain the principles of the embodiments of the specification.
图1为本说明书实施例的室内定位方法的实际场景示意图;FIG. 1 is a schematic diagram of an actual scene of an indoor positioning method according to an embodiment of this specification;
图2为可以应用根据本说明书实施例的室内定位方法的一种电子设备的结构示意图;FIG. 2 is a schematic structural diagram of an electronic device to which an indoor positioning method according to an embodiment of this specification can be applied;
图3是根据本说明书实施例的室内定位方法的流程图;Fig. 3 is a flowchart of an indoor positioning method according to an embodiment of the present specification;
图4是根据本说明书实施例计算入射角度的示意图;Fig. 4 is a schematic diagram of calculating an incident angle according to an embodiment of the present specification;
图5是根据本说明书实施例计算目标物体与室内定向天线之间的距离的示意图;Fig. 5 is a schematic diagram of calculating the distance between a target object and an indoor directional antenna according to an embodiment of the present specification;
图6是根据本说明书实施例的用于室内定位的装置的结构示意图;Fig. 6 is a schematic structural diagram of a device for indoor positioning according to an embodiment of the present specification;
图7是根据本说明书另一实施例的用于室内定位的装置的结构示意图;Fig. 7 is a schematic structural diagram of a device for indoor positioning according to another embodiment of the present specification;
图8是根据本说明书实施例的电子设备的原理框图。Fig. 8 is a functional block diagram of an electronic device according to an embodiment of the present specification.
具体实施方式Detailed ways
现在将参照附图来详细描述本说明书实施例的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本说明书实施例的范围。Various exemplary embodiments of the embodiments of the present specification will now be described in detail with reference to the accompanying drawings. It should be noted that unless specifically stated otherwise, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the embodiments of this specification.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本说明书实施例及其应用或使用的任何限制。The following description of at least one exemplary embodiment is actually only illustrative, and in no way serves as any limitation to the embodiment of the specification and its application or use.
对于相关领域普通技术人物已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。The technologies, methods, and equipment known by persons of ordinary skill in the relevant fields may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be regarded as part of the specification.
在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。In all examples shown and discussed herein, any specific value should be interpreted as merely exemplary, rather than as a limitation. Therefore, other examples of the exemplary embodiment may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that similar reference numerals and letters indicate similar items in the following drawings, therefore, once an item is defined in one drawing, it does not need to be further discussed in the subsequent drawings.
<硬件配置><Hardware Configuration>
图1为本说明书实施例的室内定位方法的实际场景示意图。Fig. 1 is a schematic diagram of an actual scene of an indoor positioning method according to an embodiment of this specification.
参照图1所示,在该室内定位场景中,设置多个波束宽度为α的室内定向天线,组成xy平面和yz平面。目标物体是如图1所示的手机,该手机发射的电磁波信号被室内定向天线接收到。针对手机测量得到电磁波信号与x轴的入射角度θ,并针对手机测量得到电磁波信号与z轴的入射角度
Figure PCTCN2020132066-appb-000001
As shown in FIG. 1, in this indoor positioning scene, multiple indoor directional antennas with a beam width of α are set to form an xy plane and a yz plane. The target object is the mobile phone as shown in Figure 1, and the electromagnetic wave signal emitted by the mobile phone is received by the indoor directional antenna. The incident angle θ between the electromagnetic wave signal and the x-axis is measured for the mobile phone, and the incident angle between the electromagnetic wave signal and the z-axis is measured for the mobile phone
Figure PCTCN2020132066-appb-000001
如图3所示,基于得到的入射角度θ和
Figure PCTCN2020132066-appb-000002
就可以通过不同算法得到该手机在坐标值系内的位置信息,从而达到定位的目的。并且,在室内定向天线阵列中,有多个室内定向天线可以接收到手机发射的电磁波信号从而去计算入射角度,进而可以进一步修正上述入射角度θ和
Figure PCTCN2020132066-appb-000003
的准确度,提高室内定位的精确度。
As shown in Figure 3, based on the obtained incident angle θ and
Figure PCTCN2020132066-appb-000002
The position information of the mobile phone in the coordinate value system can be obtained through different algorithms, so as to achieve the purpose of positioning. Moreover, in the indoor directional antenna array, there are multiple indoor directional antennas that can receive the electromagnetic wave signal emitted by the mobile phone to calculate the angle of incidence, which can further correct the above-mentioned angle of incidence θ and
Figure PCTCN2020132066-appb-000003
Improve the accuracy of indoor positioning.
图2为可以应用根据本说明书实施例的室内定位方法的一种电子设备的结构示意图。Fig. 2 is a schematic structural diagram of an electronic device to which an indoor positioning method according to an embodiment of the present specification can be applied.
如图2所示,本实施例的电子设备1000可以包括处理器1010、存储器1020、接口装置1030、通信装置1040、显示装置1050、输入装置1060、扬声器1070、麦克风 1080,等等。As shown in FIG. 2, the electronic device 1000 of this embodiment may include a processor 1010, a memory 1020, an interface device 1030, a communication device 1040, a display device 1050, an input device 1060, a speaker 1070, a microphone 1080, and so on.
其中,处理器1010可以是中央处理器CPU、微处理器MCU等。存储器1020例如包括ROM(只读存储器)、RAM(随机存取存储器)、诸如硬盘的非易失性存储器等。接口装置1030例如包括USB接口、耳机接口等。通信装置1040例如能够进行有线或无线通信。显示装置1050例如是液晶显示屏、触摸显示屏等。输入装置1060例如可以包括触摸屏、键盘等。Among them, the processor 1010 may be a central processing unit (CPU), a microprocessor MCU, or the like. The memory 1020 includes, for example, ROM (Read Only Memory), RAM (Random Access Memory), nonvolatile memory such as a hard disk, and the like. The interface device 1030 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1040 can perform wired or wireless communication, for example. The display device 1050 is, for example, a liquid crystal display, a touch display, or the like. The input device 1060 may include, for example, a touch screen, a keyboard, and the like.
电子设备1000可以通过扬声器1070输出音频信息。电子设备1000可以通过麦克风1080拾取用户输入的语音信息。The electronic device 1000 may output audio information through the speaker 1070. The electronic device 1000 can pick up the voice information input by the user through the microphone 1080.
电子设备1000可以是智能手机、便携式电脑、台式计算机、平板电脑等可以支持安全认证的任意设备。The electronic device 1000 may be any device that can support security authentication, such as a smart phone, a portable computer, a desktop computer, or a tablet computer.
本实施例中,电子设备1000获取至少两个室内定向天线接收到的电磁波信号;该电磁波信号是目标物体发出的;基于该电磁波信号获得该电磁波信号相对于该室内定向天线的入射角度,以及该目标物体与任意一个该室内定向天线之间的距离;基于该距离及该入射角度,计算得到该目标物体的位置信息。In this embodiment, the electronic device 1000 obtains electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are sent by a target object; obtains the incident angle of the electromagnetic wave signal relative to the indoor directional antenna based on the electromagnetic wave signals, and The distance between the target object and any of the indoor directional antennas; based on the distance and the incident angle, the position information of the target object is calculated.
在本实施例中,电子设备1000的存储器1020用于存储指令,该指令用于控制该处理器1010进行操作以支持实现根据本说明书任意实施例的室内定位方法。技术人员可以根据本说明书实施例所公开的方案设计指令。指令如何控制处理器进行操作,这是本领域公知,故在此不再详细描述。In this embodiment, the memory 1020 of the electronic device 1000 is used to store instructions, and the instructions are used to control the processor 1010 to operate to support the implementation of the indoor positioning method according to any embodiment of this specification. Technicians can design instructions according to the scheme disclosed in the embodiments of this specification. How the instruction controls the processor to operate is well known in the art, so it will not be described in detail here.
本领域技术人员应当理解,尽管在图2中示出了电子设备1000的多个装置,但是,本说明书实施例的电子设备1000可以仅涉及其中的部分装置,例如,只涉及处理器1010、存储器1020、显示装置1050、输入装置1060等。Those skilled in the art should understand that although multiple devices of the electronic device 1000 are shown in FIG. 2, the electronic device 1000 in the embodiment of this specification may only involve some of the devices, for example, only the processor 1010 and the memory are involved. 1020, display device 1050, input device 1060, etc.
<方法实施例><Method Example>
本实施例提供了一种室内定位方法,该方法例如可以由电子设备实施,该电子设备可以是包含如图2所示的电子设备1000。This embodiment provides an indoor positioning method. The method may be implemented by, for example, an electronic device. The electronic device may include the electronic device 1000 as shown in FIG. 2.
如图3所示,该室内定位方法包括步骤2000~2400。As shown in Fig. 3, the indoor positioning method includes steps 2000-2400.
步骤2000,获取至少两个室内定向天线接收到的电磁波信号;该电磁波信号是目标物体发出的。Step 2000: Obtain electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are emitted by the target object.
步骤2200,基于该电磁波信号获得该电磁波信号相对于该室内定向天线的入射角度,以及该目标物体与任意一个该室内定向天线之间的距离。Step 2200: Obtain the incident angle of the electromagnetic wave signal relative to the indoor directional antenna and the distance between the target object and any indoor directional antenna based on the electromagnetic wave signal.
具体的,在基于该电磁波信号获得该电磁波信号相对于该室内定向天线的入射角度时,可以根据该至少两个室内定向天线接收到的电磁波信号计算得到相位差;并基于 该相位差计算得到该电磁波信号相对于该室内定向天线的入射角度。Specifically, when the incident angle of the electromagnetic wave signal with respect to the indoor directional antenna is obtained based on the electromagnetic wave signal, the phase difference may be calculated according to the electromagnetic wave signals received by the at least two indoor directional antennas; and the phase difference may be calculated based on the phase difference. The incident angle of the electromagnetic wave signal relative to the indoor directional antenna.
其中,根据该电磁波信号计算得到相位差包括:从该电磁波信号中解析出I/Q信号,并根据解析出的I/Q信号计算得到相位差ψ。Wherein, calculating the phase difference according to the electromagnetic wave signal includes: analyzing the I/Q signal from the electromagnetic wave signal, and calculating the phase difference ψ according to the analyzed I/Q signal.
在计算入射角度时,如图4所示,以该至少两个室内定向天线包括第一室内定向天线、第二室内定向天线以及第三室内定向天线为例进行说明。When calculating the angle of incidence, as shown in FIG. 4, the at least two indoor directional antennas include a first indoor directional antenna, a second indoor directional antenna, and a third indoor directional antenna as an example for description.
具体的,采用该第一室内定向天线和该第二室内定向天线组成xy平面,基于该第一室内定向天线和该第二室内定向天线接收到的电磁波信号的相位差计算得到该电磁波信号相对于x轴的第一入射角度,具体的,可以根据公式
Figure PCTCN2020132066-appb-000004
计算得到第一入射角度。其中,ψ 1为相位差,d 1该第一室内定向天线和该第二室内定向天线之间的距离,λ为电磁波波长。
Specifically, the first indoor directional antenna and the second indoor directional antenna are used to form an xy plane. Based on the phase difference between the electromagnetic wave signals received by the first indoor directional antenna and the second indoor directional antenna, the electromagnetic wave signal relative to the The first incident angle of the x-axis, specifically, can be based on the formula
Figure PCTCN2020132066-appb-000004
The first angle of incidence is calculated. Where ψ 1 is the phase difference, d 1 is the distance between the first indoor directional antenna and the second indoor directional antenna, and λ is the electromagnetic wave wavelength.
采用该第二室内定向天线和该第三室内定向天线组成yz平面,基于该第二室内定向天线和该第三室内定向天线接收到的电磁波信号的相位差计算得到该电磁波信号相对于z轴的第三入射角度,具体的,可以根据公式
Figure PCTCN2020132066-appb-000005
计算得到第三入射角度。其中,ψ 2为相位差,d 2该第二室内定向天线和该第三室内定向天线之间的距离,λ为电磁波波长。
The second indoor directional antenna and the third indoor directional antenna are used to form a yz plane, and the electromagnetic wave signal relative to the z-axis is calculated based on the phase difference between the electromagnetic wave signal received by the second indoor directional antenna and the third indoor directional antenna The third angle of incidence, specifically, can be based on the formula
Figure PCTCN2020132066-appb-000005
The third angle of incidence is calculated. Where ψ 2 is the phase difference, d 2 is the distance between the second indoor directional antenna and the third indoor directional antenna, and λ is the electromagnetic wave wavelength.
在计算得到该相位差之后,获得该目标物体与任意一个该室内定向天线之间的距离。具体的,可以先根据该电磁波信号到达该至少两个室内定向天线的时间,计算得到时间差;再根据该相位差以及该时间差,计算得到该目标物体与其中任意一个该室内定向天线之间的距离。After the phase difference is calculated, the distance between the target object and any indoor directional antenna is obtained. Specifically, the time difference can be calculated according to the time when the electromagnetic wave signal reaches the at least two indoor directional antennas; and then the distance between the target object and any one of the indoor directional antennas can be calculated according to the phase difference and the time difference .
其中,在计算得到该目标物体与其中任意一个该室内定向天线之间的距离时,具体可以根据两个所述室内定向天线之间的距离以及所述相位差,分别计算得到所述电磁波信号相对于两个室内定向天线的第一入射角度和第二入射角度;然后根据两个所述室内定向天线之间的距离、所述第一入射角度和第二入射角度、所述时间差和电磁波的传播速度,计算得到所述目标物体与其中任意一个室内定向天线之间的距离。Wherein, when the distance between the target object and any one of the indoor directional antennas is calculated, the relative distance between the two indoor directional antennas and the phase difference can be calculated to obtain the relative electromagnetic wave signal. The first incident angle and the second incident angle of the two indoor directional antennas; then according to the distance between the two indoor directional antennas, the first incident angle and the second incident angle, the time difference and the propagation of electromagnetic waves Speed, calculate the distance between the target object and any one of the indoor directional antennas.
例如,如图5所示,已知选定的电磁波波长为λ,架设的两个室内定向天线之间的距离为d,电磁波在空气中的传播速度约等于光速c,于是,可以通过公式
Figure PCTCN2020132066-appb-000006
计算得到该目标物体与其中任意一个该室内定向天线之间的距离L。其中,d为两个该室内定向天线之间的距离,c为电磁波在空气中的传播速度,ΔT为该时间差,θ和γ为该电磁波信号相对于不同室内定向天线的第一入射角度和第二入射角度。
For example, as shown in Figure 5, it is known that the selected electromagnetic wave wavelength is λ, the distance between two indoor directional antennas set up is d, and the propagation speed of electromagnetic waves in the air is approximately equal to the speed of light c. Therefore, the formula
Figure PCTCN2020132066-appb-000006
The distance L between the target object and any one of the indoor directional antennas is calculated. Among them, d is the distance between the two indoor directional antennas, c is the propagation speed of electromagnetic waves in the air, ΔT is the time difference, and θ and γ are the first incident angle and the first incident angle of the electromagnetic wave signal with respect to different indoor directional antennas. Two angle of incidence.
在计算得到该距离和该入射角度后,进入步骤2400。After the distance and the incident angle are calculated, step 2400 is entered.
在步骤2400,基于该距离及该入射角度,计算得到该目标物体的位置信息。In step 2400, based on the distance and the incident angle, the position information of the target object is calculated.
本步骤中,具体可以根据所述距离、所述第一入射角度和所述第三入射角度计算得到所述目标物体的x坐标值和y坐标值;根据所述室内定向天线的高度、所述距离和所述第三入射角度计算得到所述目标物体的z坐标值;将所述x坐标值、所述y坐标值和所述z坐标值确定为所述目标物体的位置信息。In this step, specifically, the x-coordinate value and the y-coordinate value of the target object can be calculated according to the distance, the first angle of incidence, and the third angle of incidence; according to the height of the indoor directional antenna, the The distance and the third angle of incidence are calculated to obtain the z-coordinate value of the target object; the x-coordinate value, the y-coordinate value, and the z-coordinate value are determined as the position information of the target object.
在一个例子中,已知坐标值系内室内定向天线的高度,即室内定向天线的安装高度为a,则可以通过公式
Figure PCTCN2020132066-appb-000007
计算得到该目标物体的x坐标值;通过公式
Figure PCTCN2020132066-appb-000008
计算得到该目标物体的y坐标值;通过公式
Figure PCTCN2020132066-appb-000009
计算得到该目标物体的z坐标值。
In an example, the height of the indoor directional antenna in the known coordinate value system, that is, the installation height of the indoor directional antenna is a, then the formula
Figure PCTCN2020132066-appb-000007
Calculate the x-coordinate value of the target object; through the formula
Figure PCTCN2020132066-appb-000008
Calculate the y coordinate value of the target object; through the formula
Figure PCTCN2020132066-appb-000009
The z coordinate value of the target object is calculated.
其中,
Figure PCTCN2020132066-appb-000010
ψ 1、ψ 2为该相位差,d 1为该第一室内定向天线和该第二室内定向天线之间的距离,d 2为该第二室内定向天线和该第三室内定向天线之间的距离,λ为电磁波波长。
among them,
Figure PCTCN2020132066-appb-000010
ψ 1 and ψ 2 are the phase differences, d 1 is the distance between the first indoor directional antenna and the second indoor directional antenna, and d 2 is the distance between the second indoor directional antenna and the third indoor directional antenna. Distance, λ is the wavelength of electromagnetic wave.
在实际应用中,根据室内定向天线阵列的设计,有多个室内定向天线可以接收到目标物体发射的电磁波信号,重复上述步骤,可以得到较多的入射角度θ和
Figure PCTCN2020132066-appb-000011
进而可以进一步修正上述入射角度θ和
Figure PCTCN2020132066-appb-000012
的准确度,提高室内定位的精确度。
In practical applications, according to the design of the indoor directional antenna array, there are multiple indoor directional antennas that can receive the electromagnetic wave signal emitted by the target object. Repeat the above steps to get more incident angles θ and
Figure PCTCN2020132066-appb-000011
Furthermore, the above-mentioned incident angle θ and
Figure PCTCN2020132066-appb-000012
Improve the accuracy of indoor positioning.
本实施例的方法,通过获取至少两个室内定向天线接收到的电磁波信号;根据电磁波信号计算得到两位从,并基于相位差计算得到电磁波信号相对于室内定向天线的入射角度;同时,基于至少两个室内定向天线接收到电磁波信号的时间差及相位差,计算得到目标物体与任意一个室内定向天线的距离,从而基于该距离及该入射角度,计算得到该目标物体的位置信息。采用多天线组成的天线阵列模块使得测量的角度更加精确,且可以避免环境、多径、反射等干扰因素,从而提升了室内定位的精确度。且成本较低、安装简单,便于大规模布设。The method of this embodiment obtains the electromagnetic wave signals received by at least two indoor directional antennas; calculates two slaves based on the electromagnetic wave signals, and calculates the incident angle of the electromagnetic wave signal relative to the indoor directional antenna based on the phase difference; at the same time, based on at least The time difference and phase difference between the electromagnetic wave signals received by the two indoor directional antennas are calculated to obtain the distance between the target object and any indoor directional antenna, and the position information of the target object is calculated based on the distance and the incident angle. The antenna array module composed of multiple antennas makes the measurement angle more accurate, and can avoid interference factors such as environment, multipath, and reflection, thereby improving the accuracy of indoor positioning. Moreover, the cost is low, the installation is simple, and it is convenient for large-scale deployment.
<装置实施例><Device Example>
图6是根据本说明书实施例的用于室内定位的装置的结构示意图。Fig. 6 is a schematic structural diagram of a device for indoor positioning according to an embodiment of the present specification.
如图6所示,该用户室内定位的装置可以包括:天线阵列模块、射频开关模块、蓝牙IC模块和用于运行算法的计算模块。As shown in FIG. 6, the device for indoor positioning of the user may include: an antenna array module, a radio frequency switch module, a Bluetooth IC module, and a calculation module for running algorithms.
其中,天线阵列模块用于接收目标物体发射的电磁波信号。Among them, the antenna array module is used to receive the electromagnetic wave signal emitted by the target object.
射频开关模块用于在不同时间将天线阵列模块中不同天线接收到的电磁波信号发送给蓝牙IC模块。例如,假设一条接收链路上通过射频开关模块接4个天线。时间t1接收天线1的电磁波信号,时间t2接收天线2的电磁波信号,以此类推有t3,t4,每个 时间之间间隔Δt固定。规律的调制信号在Δt确定的情况下可以在后端通过算法把Δt补齐从而得到同一个时间的不同相位。The radio frequency switch module is used to send electromagnetic wave signals received by different antennas in the antenna array module to the Bluetooth IC module at different times. For example, suppose that 4 antennas are connected to a receiving link through a radio frequency switch module. Time t1 receives the electromagnetic wave signal of antenna 1, and time t2 receives the electromagnetic wave signal of antenna 2, and so on, there are t3, t4, and the interval Δt between each time is fixed. When the regular modulation signal is determined by Δt, the Δt can be complemented by an algorithm at the back end to obtain different phases at the same time.
该蓝牙IC模块用于接收该射频开关模块传递的该电磁波信号。The Bluetooth IC module is used to receive the electromagnetic wave signal transmitted by the radio frequency switch module.
计算模块,用于根据所述蓝牙IC模块接收到的所述电磁波信号,执行本说明书任意方法实施例中描述的室内定位方法,在此不再赘述。The calculation module is configured to execute the indoor positioning method described in any method embodiment of this specification according to the electromagnetic wave signal received by the Bluetooth IC module, which will not be repeated here.
进一步地,图7是根据本说明书另一实施例的用于室内定位的装置的结构示意图。该装置例如是图6所示的用于室内定位的装置;或者,该装置例如是如图7所示的用于室内定位的装置7000,该用于室内定位的装置7000包括获取模块7100和计算模块7200。Further, FIG. 7 is a schematic structural diagram of an apparatus for indoor positioning according to another embodiment of this specification. The device is, for example, the device for indoor positioning shown in FIG. 6; or, the device is, for example, the device 7000 for indoor positioning shown in FIG. Module 7200.
其中,该获取模块7100可以用于获取至少两个室内定向天线接收到的电磁波信号;该电磁波信号是目标物体发出的。Wherein, the acquisition module 7100 can be used to acquire electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are sent by the target object.
该计算模块7200,用于基于该电磁波信号获得该电磁波信号相对于该室内定向天线的入射角度,以及该目标物体与任意一个该室内定向天线之间的距离;以及,基于该距离及该入射角度,计算得到该目标物体的位置信息。The calculation module 7200 is configured to obtain the incident angle of the electromagnetic wave signal relative to the indoor directional antenna based on the electromagnetic wave signal, and the distance between the target object and any indoor directional antenna; and, based on the distance and the incident angle , Calculate the position information of the target object.
具体的,该计算模块7200可以根据该至少两个室内定向天线接收到的电磁波信号计算得到相位差;基于该相位差计算得到该电磁波信号相对于该室内定向天线的入射角度。Specifically, the calculation module 7200 may calculate the phase difference based on the electromagnetic wave signals received by the at least two indoor directional antennas; and calculate the incident angle of the electromagnetic wave signal relative to the indoor directional antenna based on the phase difference.
该计算模块7200可以从该电磁波信号中解析出I/Q信号;根据I/Q信号计算得到相位差。The calculation module 7200 can analyze the I/Q signal from the electromagnetic wave signal; calculate the phase difference according to the I/Q signal.
具体的,该计算模块7200可以根据该电磁波信号到达该至少两个室内定向天线的时间,计算得到时间差;根据该相位差以及该时间差,计算得到该目标物体与其中任意一个该室内定向天线之间的距离。Specifically, the calculation module 7200 may calculate the time difference according to the time when the electromagnetic wave signal reaches the at least two indoor directional antennas; according to the phase difference and the time difference, calculate the difference between the target object and any one of the indoor directional antennas. distance.
其中,该计算模块7200具体根据两个所述室内定向天线之间的距离以及所述相位差,分别计算得到所述电磁波信号相对于两个室内定向天线的第一入射角度和第二入射角度;根据两个所述室内定向天线之间的距离、所述第一入射角度和第二入射角度、所述时间差和电磁波的传播速度,计算得到所述目标物体与其中任意一个室内定向天线之间的距离。Wherein, the calculation module 7200 specifically calculates the first incident angle and the second incident angle of the electromagnetic wave signal relative to the two indoor directional antennas according to the distance between the two indoor directional antennas and the phase difference; According to the distance between the two indoor directional antennas, the first and second incident angles, the time difference and the propagation speed of electromagnetic waves, the distance between the target object and any one of the indoor directional antennas is calculated distance.
在一个例子中,该至少两个室内定向天线包括第一室内定向天线、第二室内定向天线以及第三室内定向天线。该计算模块7200可以采用该第一室内定向天线和该第二室内定向天线组成xy平面,基于该第一室内定向天线和该第二室内定向天线接收到的电磁波信号的相位差计算得到该电磁波信号相对于x轴的第一入射角度;并采用该第二室内定向天线和该第三室内定向天线组成yz平面,基于该第二室内定向天线和该第三 室内定向天线接收到的电磁波信号的相位差计算得到该电磁波信号相对于z轴的第三入射角度。In an example, the at least two indoor directional antennas include a first indoor directional antenna, a second indoor directional antenna, and a third indoor directional antenna. The calculation module 7200 may use the first indoor directional antenna and the second indoor directional antenna to form an xy plane, and calculate the electromagnetic wave signal based on the phase difference between the electromagnetic wave signal received by the first indoor directional antenna and the second indoor directional antenna The first angle of incidence relative to the x-axis; and the second indoor directional antenna and the third indoor directional antenna are used to form a yz plane, based on the phase of the electromagnetic wave signals received by the second indoor directional antenna and the third indoor directional antenna The difference is calculated to obtain the third incident angle of the electromagnetic wave signal with respect to the z-axis.
具体的,该计算模块7200在计算目标物体的位置信息时,具体可以根据所述距离、所述第一入射角度和所述第三入射角度计算得到所述目标物体的x坐标值和y坐标值;根据所述室内定向天线的高度、所述距离和所述第三入射角度计算得到所述目标物体的z坐标值;将所述x坐标值、所述y坐标值和所述z坐标值确定为所述目标物体的位置信息。Specifically, when calculating the position information of the target object, the calculation module 7200 may specifically calculate the x-coordinate value and the y-coordinate value of the target object according to the distance, the first angle of incidence, and the third angle of incidence. Calculate the z-coordinate value of the target object according to the height of the indoor directional antenna, the distance and the third angle of incidence; determine the x-coordinate value, the y-coordinate value and the z-coordinate value Is the location information of the target object.
本实施例的用于室内定位的装置,可用于执行上述方法实施例的技术方案,其实现原理及技术效果类似,此处不再赘述。The apparatus for indoor positioning in this embodiment can be used to implement the technical solutions of the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
<设备实施例><Equipment Example>
本实施例中,还提供一种电子设备,该电子设备包括本说明书图6或图7所示装置实施例中描述的用于室内定位的装置;或者,该电子设备为图8所示的电子设备8000,包括存储器8100和处理器8200。In this embodiment, an electronic device is also provided, which includes the device for indoor positioning described in the device embodiment shown in FIG. 6 or FIG. 7 of this specification; or, the electronic device is the electronic device shown in FIG. 8 The device 8000 includes a memory 8100 and a processor 8200.
存储器8100,用于存储可执行命令。The memory 8100 is used to store executable commands.
处理器8200,用于在存储器8100存储的可执行命令的控制下,执行本说明书任意方法实施例中描述的方法。The processor 8200 is configured to execute the method described in any method embodiment in this specification under the control of the executable command stored in the memory 8100.
<计算机可读存储介质实施例><Computer-readable storage medium embodiment>
本实施例提供一种计算机可读存储介质,该存储介质中存储有可执行命令,该可执行命令被处理器执行时,执行本说明书任意方法实施例中描述的方法。This embodiment provides a computer-readable storage medium in which an executable command is stored, and when the executable command is executed by a processor, the method described in any method embodiment in this specification is executed.
本说明书实施例可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本说明书实施例的各个方面的计算机可读程序指令。The embodiments of this specification may be systems, methods and/or computer program products. The computer program product may include a computer-readable storage medium loaded with computer-readable program instructions for enabling a processor to implement various aspects of the embodiments of the present specification.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例 如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。The computer-readable storage medium may be a tangible device that can hold and store instructions used by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a printer with instructions stored thereon The protruding structure in the hole card or the groove, and any suitable combination of the above. The computer-readable storage medium used here is not interpreted as the instantaneous signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, light pulses through fiber optic cables), or through wires Transmission of electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device .
用于执行本说明书实施例操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本说明书实施例的各个方面。The computer program instructions used to perform the operations of the embodiments of this specification may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or one or more programming Source code or object code written in any combination of languages. Programming languages include object-oriented programming languages-such as Smalltalk, C++, etc., and conventional procedural programming languages-such as "C" language or similar programming languages. Computer-readable program instructions can be executed entirely on the user's computer, partly on the user's computer, executed as a stand-alone software package, partly on the user's computer and partly executed on a remote computer, or entirely on the remote computer or server carried out. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to access the Internet connection). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by using the status information of the computer-readable program instructions. The computer-readable program instructions are executed to realize various aspects of the embodiments of this specification.
这里参照根据本说明书实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本说明书实施例的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Here, various aspects of the embodiments of the present specification are described with reference to the flowcharts and/or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present specification. It should be understood that each block of the flowcharts and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine that makes these instructions when executed by the processor of the computer or other programmable data processing device , A device that implements the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams is produced. It is also possible to store these computer-readable program instructions in a computer-readable storage medium. These instructions make computers, programmable data processing apparatuses, and/or other devices work in a specific manner. Thus, the computer-readable medium storing the instructions includes An article of manufacture, which includes instructions for implementing various aspects of the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤, 以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。It is also possible to load computer-readable program instructions on a computer, other programmable data processing device, or other equipment, so that a series of operation steps are executed on the computer, other programmable data processing device, or other equipment to produce a computer-implemented process , So that the instructions executed on the computer, other programmable data processing apparatus, or other equipment realize the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本说明书实施例的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人物来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。The flowcharts and block diagrams in the accompanying drawings show the possible implementation architecture, functions, and operations of the system, method, and computer program product according to multiple embodiments of the embodiments of this specification. In this regard, each block in the flowchart or block diagram can represent a module, program segment, or part of an instruction, and the module, program segment, or part of an instruction contains one or more executables for realizing the specified logic function. instruction. In some alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions Or it can be realized by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that realization by hardware, realization by software, and realization by a combination of software and hardware are all equivalent.
以上已经描述了本说明书实施例的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人物来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术改进,或者使本技术领域的其它普通技术人物能理解本文披露的各实施例。本说明书实施例的范围由所附权利要求来限定。The various embodiments of the embodiments of the present specification have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Without departing from the scope and spirit of the described embodiments, many modifications and changes are obvious to those of ordinary skill in the art. The choice of terms used herein is intended to best explain the principles, practical applications, or technical improvements in the market of the embodiments, or to enable other ordinary technical persons in the technical field to understand the embodiments disclosed herein. The scope of the embodiments of this specification is defined by the appended claims.

Claims (11)

  1. 一种室内定位方法,包括:An indoor positioning method, including:
    获取至少两个室内定向天线接收到的电磁波信号;所述电磁波信号是目标物体发出的;Acquiring electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are emitted by a target object;
    基于所述电磁波信号获得所述电磁波信号相对于所述室内定向天线的入射角度,以及所述目标物体与任意一个所述室内定向天线之间的距离;Obtaining, based on the electromagnetic wave signal, the incident angle of the electromagnetic wave signal with respect to the indoor directional antenna, and the distance between the target object and any one of the indoor directional antenna;
    基于所述距离及所述入射角度,计算得到所述目标物体的位置信息。Based on the distance and the incident angle, the position information of the target object is calculated.
  2. 根据权利要求1所述的方法,其中,基于所述电磁波信号获得所述电磁波信号相对于所述室内定向天线的入射角度,包括:The method according to claim 1, wherein obtaining the incident angle of the electromagnetic wave signal with respect to the indoor directional antenna based on the electromagnetic wave signal comprises:
    根据所述至少两个室内定向天线接收到的电磁波信号计算得到相位差;Calculating the phase difference according to the electromagnetic wave signals received by the at least two indoor directional antennas;
    基于所述相位差计算得到所述电磁波信号相对于所述室内定向天线的入射角度。The incident angle of the electromagnetic wave signal relative to the indoor directional antenna is calculated based on the phase difference.
  3. 根据权利要求2所述的方法,其中,根据所述电磁波信号计算得到相位差,包括:The method according to claim 2, wherein calculating the phase difference according to the electromagnetic wave signal comprises:
    从所述电磁波信号中解析出I/Q信号;Resolve the I/Q signal from the electromagnetic wave signal;
    根据所述I/Q信号计算得到相位差。The phase difference is calculated according to the I/Q signal.
  4. 根据权利要求2所述的方法,其中,获得所述目标物体与任意一个所述室内定向天线之间的距离,包括:The method according to claim 2, wherein obtaining the distance between the target object and any one of the indoor directional antennas comprises:
    根据所述电磁波信号到达所述至少两个室内定向天线的时间,计算得到时间差;Calculate the time difference according to the time when the electromagnetic wave signal reaches the at least two indoor directional antennas;
    根据所述相位差以及所述时间差,计算得到所述目标物体与其中任意一个所述室内定向天线之间的距离。According to the phase difference and the time difference, the distance between the target object and any one of the indoor directional antennas is calculated.
  5. 根据权利要求4所述的方法,其中,根据所述相位差以及所述时间差,计算得到所述目标物体与其中任意一个所述室内定向天线之间的距离,包括:The method according to claim 4, wherein, according to the phase difference and the time difference, calculating the distance between the target object and any one of the indoor directional antennas comprises:
    根据两个所述室内定向天线之间的距离以及所述相位差,分别计算得到所述电磁波信号相对于两个室内定向天线的第一入射角度和第二入射角度;According to the distance between the two indoor directional antennas and the phase difference, respectively calculating the first incident angle and the second incident angle of the electromagnetic wave signal relative to the two indoor directional antennas;
    根据两个所述室内定向天线之间的距离、所述第一入射角度和第二入射角度、所述时间差和电磁波的传播速度,计算得到所述目标物体与其中任意一个室内定向天线之间的距离。According to the distance between the two indoor directional antennas, the first and second incident angles, the time difference and the propagation speed of electromagnetic waves, the distance between the target object and any one of the indoor directional antennas is calculated distance.
  6. 根据权利要求2所述的方法,其中,所述至少两个室内定向天线包括第一室内定向天线、第二室内定向天线以及第三室内定向天线;The method according to claim 2, wherein the at least two indoor directional antennas include a first indoor directional antenna, a second indoor directional antenna, and a third indoor directional antenna;
    所述基于所述相位差计算得到所述电磁波信号相对于所述室内定向天线的入射角度,包括:The calculating the incident angle of the electromagnetic wave signal relative to the indoor directional antenna based on the phase difference includes:
    采用所述第一室内定向天线和所述第二室内定向天线组成xy平面,基于所述第一室内定向天线和所述第二室内定向天线接收到的电磁波信号的相位差计算得到所 述电磁波信号相对于x轴的第一入射角度;The first indoor directional antenna and the second indoor directional antenna are used to form an xy plane, and the electromagnetic wave signal is calculated based on the phase difference between the electromagnetic wave signals received by the first indoor directional antenna and the second indoor directional antenna The first angle of incidence relative to the x-axis;
    采用所述第二室内定向天线和所述第三室内定向天线组成yz平面,基于所述第二室内定向天线和所述第三室内定向天线接收到的电磁波信号的相位差计算得到所述电磁波信号相对于z轴的第三入射角度。The second indoor directional antenna and the third indoor directional antenna are used to form a yz plane, and the electromagnetic wave signal is calculated based on the phase difference between the electromagnetic wave signals received by the second indoor directional antenna and the third indoor directional antenna The third angle of incidence relative to the z-axis.
  7. 根据权利要求6所述的方法,其中,基于所述距离及所述入射角度,计算得到所述目标物体的位置信息,包括:The method according to claim 6, wherein calculating the position information of the target object based on the distance and the incident angle comprises:
    根据所述距离、所述第一入射角度和所述第三入射角度计算得到所述目标物体的x坐标值和y坐标值;Calculating the x-coordinate value and the y-coordinate value of the target object according to the distance, the first incident angle, and the third incident angle;
    根据所述室内定向天线的高度、所述距离和所述第三入射角度计算得到所述目标物体的z坐标值;Calculating the z coordinate value of the target object according to the height of the indoor directional antenna, the distance, and the third angle of incidence;
    将所述x坐标值、所述y坐标值和所述z坐标值确定为所述目标物体的位置信息。The x coordinate value, the y coordinate value, and the z coordinate value are determined as the position information of the target object.
  8. 一种用于室内定位的装置,包括:A device for indoor positioning, including:
    天线阵列模块,用于接收目标物体发射的电磁波信号;Antenna array module, used to receive the electromagnetic wave signal emitted by the target object;
    射频开关模块,用于在不同时间将天线阵列模块中不同天线接收到的电磁波信号发送给蓝牙IC模块;The radio frequency switch module is used to send electromagnetic wave signals received by different antennas in the antenna array module to the Bluetooth IC module at different times;
    所述蓝牙IC模块,用于接收所述射频开关模块传递的所述电磁波信号;The Bluetooth IC module is configured to receive the electromagnetic wave signal transmitted by the radio frequency switch module;
    计算模块,用于根据所述蓝牙IC模块接收到的所述电磁波信号,执行如权利要求1-7中任一项所述的室内定位方法。The calculation module is configured to execute the indoor positioning method according to any one of claims 1-7 according to the electromagnetic wave signal received by the Bluetooth IC module.
  9. 一种用于室内定位的装置,包括:A device for indoor positioning, including:
    获取模块,用于获取至少两个室内定向天线接收到的电磁波信号;所述电磁波信号是目标物体发出的;The acquisition module is used to acquire electromagnetic wave signals received by at least two indoor directional antennas; the electromagnetic wave signals are emitted by a target object;
    计算模块,用于基于所述电磁波信号获得所述电磁波信号相对于所述室内定向天线的入射角度,以及所述目标物体与任意一个所述室内定向天线之间的距离;以及,基于所述距离及所述入射角度,计算得到所述目标物体的位置信息。A calculation module for obtaining the incident angle of the electromagnetic wave signal relative to the indoor directional antenna and the distance between the target object and any one of the indoor directional antenna based on the electromagnetic wave signal; and, based on the distance And the incident angle, the position information of the target object is calculated.
  10. 一种电子设备,包括如权利要求8或9所述的用于室内定位的装置,或者,所述电子设备包括:An electronic device, comprising the device for indoor positioning according to claim 8 or 9, or, the electronic device comprising:
    存储器,用于存储可执行命令;Memory, used to store executable commands;
    处理器,用于在所述可执行命令的控制下,执行如权利要求1-7中任一项所述的室内定位方法。The processor is configured to execute the indoor positioning method according to any one of claims 1-7 under the control of the executable command.
  11. 一种计算机可读存储介质,存储有可执行指令,所述可执行指令被处理器执行时,执行如权利要求1-7中任一项所述的室内定位方法。A computer-readable storage medium storing executable instructions, and when the executable instructions are executed by a processor, the indoor positioning method according to any one of claims 1-7 is executed.
PCT/CN2020/132066 2020-01-10 2020-11-27 Indoor positioning method and apparatus, and electronic device WO2021139435A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010027367.8A CN110824425A (en) 2020-01-10 2020-01-10 Indoor positioning method and device and electronic equipment
CN202010027367.8 2020-01-10

Publications (1)

Publication Number Publication Date
WO2021139435A1 true WO2021139435A1 (en) 2021-07-15

Family

ID=69546542

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/132066 WO2021139435A1 (en) 2020-01-10 2020-11-27 Indoor positioning method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN110824425A (en)
WO (1) WO2021139435A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110824425A (en) * 2020-01-10 2020-02-21 支付宝(杭州)信息技术有限公司 Indoor positioning method and device and electronic equipment
CN113466840B (en) * 2020-03-30 2022-09-20 阿里巴巴集团控股有限公司 Distance measurement method, positioning method, device, equipment and system
CN113556589A (en) * 2020-04-24 2021-10-26 深圳市万普拉斯科技有限公司 Display equipment, remote controller positioning method and device and computer equipment
WO2021233529A1 (en) * 2020-05-19 2021-11-25 Huawei Technologies Co., Ltd. Transmitter device, and methods for controlling transmitter device
CN111983559A (en) * 2020-08-14 2020-11-24 Oppo广东移动通信有限公司 Indoor positioning navigation method and device
CN114384465A (en) * 2020-10-20 2022-04-22 Oppo广东移动通信有限公司 Azimuth angle determination method and device
CN112634581B (en) * 2020-12-14 2021-11-23 珠海格力电器股份有限公司 Method and system for prompting falling object danger and storage medium
CN112752338B (en) * 2020-12-29 2023-05-05 恒玄科技(上海)股份有限公司 Positioning method, electronic device and storage medium
CN112637951A (en) * 2020-12-31 2021-04-09 Oppo广东移动通信有限公司 Positioning method and device, electronic equipment and computer readable storage medium
CN113567920B (en) * 2021-06-17 2023-10-31 中铁第四勘察设计院集团有限公司 Three-dimensional positioning method for underground space
CN113543057A (en) * 2021-07-07 2021-10-22 贵州振华天通设备有限公司 Beacon, receiving equipment, indoor positioning method and system based on beacon

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150091757A1 (en) * 2013-09-30 2015-04-02 At&T Intellectual Property I, Lp Systems and Methods for High Precision Indoor Location Tracking
CN104933457A (en) * 2015-07-03 2015-09-23 成都恒高科技有限公司 Detection method and apparatus for signal source in detection area
CN109212471A (en) * 2018-07-04 2019-01-15 北京全迹科技有限公司 A kind of locating base station, system and method
CN109884584A (en) * 2019-01-23 2019-06-14 李超 A kind of localization method, device and terminal device
CN110166938A (en) * 2019-06-06 2019-08-23 北京邮电大学 A kind of localization method and device
CN110636441A (en) * 2019-09-29 2019-12-31 联想(北京)有限公司 Information processing method and mobile terminal
CN110824425A (en) * 2020-01-10 2020-02-21 支付宝(杭州)信息技术有限公司 Indoor positioning method and device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8248210B2 (en) * 2009-06-30 2012-08-21 Intermec Ip Corp. Method and system to determine the position, orientation, size, and movement of RFID tagged objects
CN105182322B (en) * 2015-08-31 2017-12-15 西北大学 Passive type localization method based on reflected signal phase difference
CN110546525B (en) * 2017-03-16 2021-07-20 兰普洛克斯公司 System and method for indoor positioning by using wireless positioning node
CN109001675B (en) * 2018-08-03 2022-06-03 电子科技大学 Positioning method for measuring distance difference based on phase difference

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150091757A1 (en) * 2013-09-30 2015-04-02 At&T Intellectual Property I, Lp Systems and Methods for High Precision Indoor Location Tracking
CN104933457A (en) * 2015-07-03 2015-09-23 成都恒高科技有限公司 Detection method and apparatus for signal source in detection area
CN109212471A (en) * 2018-07-04 2019-01-15 北京全迹科技有限公司 A kind of locating base station, system and method
CN109884584A (en) * 2019-01-23 2019-06-14 李超 A kind of localization method, device and terminal device
CN110166938A (en) * 2019-06-06 2019-08-23 北京邮电大学 A kind of localization method and device
CN110636441A (en) * 2019-09-29 2019-12-31 联想(北京)有限公司 Information processing method and mobile terminal
CN110824425A (en) * 2020-01-10 2020-02-21 支付宝(杭州)信息技术有限公司 Indoor positioning method and device and electronic equipment

Also Published As

Publication number Publication date
CN110824425A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
WO2021139435A1 (en) Indoor positioning method and apparatus, and electronic device
CN110333503B (en) Laser radar calibration method and device and electronic equipment
US20120254809A1 (en) Method and apparatus for motion gesture recognition
CN110554357B (en) Sound source positioning method and device
CN104220896A (en) Systems, methods, and apparatus for estimating direction of arrival
CN111683325B (en) Sound effect control method and device, sound box, wearable device and readable storage medium
US20180270617A1 (en) Indication direction-based instruction transmission method and apparatus, smart device and storage medium
Perrodin et al. Design and calibration of large microphone arrays for robotic applications
US20200112827A1 (en) Motion detection for passive indoor positioning system
TW201625041A (en) Signal strength distribution establishing method and wireless positioning system
US11187823B2 (en) Correcting distortions
US9930462B2 (en) System and method for on-site microphone calibration
JP5929393B2 (en) Position estimation method, apparatus and program
CN114355289A (en) Sound source positioning method, sound source positioning device, storage medium and computer equipment
US10104489B2 (en) Method for using a mobile device equipped with at least two microphones for determining the direction of loudspeakers in a setup of a surround sound system
Cui et al. Closed-form geometry-aided direction estimation using minimum TDOA measurements
CN109545217B (en) Voice signal receiving method and device, intelligent terminal and readable storage medium
Belloch et al. Real-time sound source localization on an embedded GPU using a spherical microphone array
WO2014089095A1 (en) Locating position within enclosure
JP2013061194A (en) Measuring apparatus and measuring method
CN113761090B (en) Positioning method and device based on point cloud map
US11398070B1 (en) Boundary approximation utilizing radar
KR20210139202A (en) Loop detection method, device, equipment and medium and computer prgram based on laser radar map
KR102621050B1 (en) Operating method for electronic apparatus for acquiring path loss information and electronic apparatus supporting thereof
JP7191278B2 (en) POSITIONING SYSTEM, POSITIONING METHOD, AND POSITIONING PROGRAM

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: 20912754

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20912754

Country of ref document: EP

Kind code of ref document: A1