CN115248418A - Ultrasonic positioning method, positioning device and computer-readable storage medium - Google Patents
Ultrasonic positioning method, positioning device and computer-readable storage medium Download PDFInfo
- Publication number
- CN115248418A CN115248418A CN202110466895.8A CN202110466895A CN115248418A CN 115248418 A CN115248418 A CN 115248418A CN 202110466895 A CN202110466895 A CN 202110466895A CN 115248418 A CN115248418 A CN 115248418A
- Authority
- CN
- China
- Prior art keywords
- ultrasonic signal
- signal receiver
- ultrasonic
- time
- sought
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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/00—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
- G01S5/18—Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using ultrasonic, sonic, or infrasonic waves
- G01S5/22—Position of source determined by co-ordinating a plurality of position lines defined by path-difference measurements
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
本发明实施例提供一种超声波定位方法、定位装置及计算机可读存储介质,其中,超声波定位方法通过超声波信号接收器接收被寻物发出的超声波信号,超声波信号接收器包括:第一超声波信号接收器、第二超声波信号接收器、第三超声波信号接收器;获取超声波信号接收器接收到被寻物发出的超声波信号的接收时间;根据超声波信号接收器的接收时间获得被寻物的定位;在某些实施过程中通过终端本身存在的多个超声波信号接收器接收被寻物发出的超声波信号,然后根据各个超声波接收器接收到超声波信号的接收时间来进行定位,在没有增加被寻物或终端的硬件基础上,实现了准确定位,且提高了定位精度,进而解决了寻物定位技术中成本高、定位精度低的问题。
Embodiments of the present invention provide an ultrasonic positioning method, a positioning device, and a computer-readable storage medium, wherein the ultrasonic positioning method receives an ultrasonic signal sent by an object to be sought through an ultrasonic signal receiver, and the ultrasonic signal receiver includes: a first ultrasonic signal receiving the receiver, the second ultrasonic signal receiver, and the third ultrasonic signal receiver; obtain the receiving time of the ultrasonic signal receiver when the ultrasonic signal receiver receives the ultrasonic signal sent by the object to be sought; obtain the location of the object to be sought according to the receiving time of the ultrasonic signal receiver; In some implementations, the ultrasonic signal sent by the object to be sought is received by multiple ultrasonic signal receivers existing in the terminal itself, and then the positioning is performed according to the receiving time of the ultrasonic signal received by each ultrasonic receiver, without adding the object to be sought or the terminal. On the basis of the hardware, accurate positioning is achieved, and the positioning accuracy is improved, thereby solving the problems of high cost and low positioning accuracy in the object-seeking positioning technology.
Description
技术领域technical field
本发明实施例涉及但不限于定位技术领域,具体而言,涉及但不限于一种超声波定位方法、定位装置及计算机可读存储介质。Embodiments of the present invention relate to, but are not limited to, the field of positioning technology, and specifically, but are not limited to, an ultrasonic positioning method, a positioning device, and a computer-readable storage medium.
背景技术Background technique
随着各种终端、设备的性能飞速发展,以及物联网技术的推广,使得寻物定位成了可以实现的功能;目前寻物应用尚处于早期阶段,一是寻物定位概念较新,二是寻物定位方案较少且复杂;目前,相关的寻物定位技术包括蓝牙定位、UWB(Ultra Wide Band,无线脉冲超宽带技术)定位等。With the rapid development of the performance of various terminals and equipment, and the promotion of the Internet of Things technology, object-finding positioning has become an achievable function; currently, the application of object-seeking is still in the early stage. First, the concept of object-finding and positioning is relatively new, and second, There are few and complex object locating solutions; currently, related object locating technologies include Bluetooth positioning, UWB (Ultra Wide Band, wireless pulse ultra-wideband technology) positioning, and the like.
其中,蓝牙定位技术需要布局信标(Beacon)网络,每个Beacon创建一个信号区域,该方法主要的局限是需要布局专用的Beacon设施,其覆盖范围不广,精度较低,并且很多移动用户不经常开启蓝牙设备,导致定位失败。UWB定位技术需要布局专用的UWB发射器网络,依据无线脉冲超宽频(IR-UWB)信号达到时间,通过3点定位测定距离,达到寻物定位的效果,但UWB定位技术需要大量布设UWB发射器,以及需要专用的接收设备,极大的增加了硬件成本,通用性较低。现有的寻物定位技术存在成本高,精度低的问题。Among them, the Bluetooth positioning technology requires the layout of a beacon (Beacon) network, and each beacon creates a signal area. The main limitation of this method is that it needs to deploy a dedicated Beacon facility, its coverage is not wide, the accuracy is low, and many mobile users do not The Bluetooth device is often turned on, which causes the positioning failure. UWB positioning technology requires the layout of a dedicated UWB transmitter network. According to the arrival time of the wireless pulse ultra-wideband (IR-UWB) signal, the distance is measured through 3-point positioning to achieve the effect of finding objects and positioning, but the UWB positioning technology requires a large number of UWB transmitters. , and requires a dedicated receiving device, which greatly increases the hardware cost and has low versatility. The existing object-finding and positioning technology has the problems of high cost and low precision.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供的超声波定位方法、定位装置及计算机可读存储介质,主要解决的技术问题是相关技术中,寻物定位需要增加单独的硬件,导致成本高,以及寻物定位精度低的问题。The ultrasonic positioning method, the positioning device, and the computer-readable storage medium provided by the embodiments of the present invention mainly solve the technical problem that, in the related art, separate hardware needs to be added for object-finding positioning, resulting in high cost and low object-finding positioning accuracy. .
为解决上述技术问题,本发明实施例提供一种超声波定位方法,包括:通过超声波信号接收器接收被寻物发出的超声波信号,所述超声波信号接收器包括:第一超声波信号接收器、第二超声波信号接收器、第三超声波信号接收器;获取所述超声波信号接收器接收到所述被寻物发出的超声波信号的接收时间;根据所述超声波信号接收器的接收时间获得所述被寻物的定位。In order to solve the above technical problems, an embodiment of the present invention provides an ultrasonic positioning method, which includes: receiving an ultrasonic signal sent by an object to be sought through an ultrasonic signal receiver, and the ultrasonic signal receiver includes: a first ultrasonic signal receiver, a second ultrasonic signal receiver, and a second ultrasonic signal receiver. an ultrasonic signal receiver and a third ultrasonic signal receiver; obtain the receiving time when the ultrasonic signal receiver receives the ultrasonic signal sent by the object to be sought; obtain the object to be sought according to the receiving time of the ultrasonic signal receiver positioning.
本发明实施例还提供一种定位装置,所述定位装置包括处理器、存储器及通信总线;所述通信总线用于实现处理器和存储器之间的连接通信;所述处理器用于执行存储器中存储的一个或者多个计算机程序,以实现如上所述的超声波定位方法的步骤。An embodiment of the present invention further provides a positioning device, the positioning device includes a processor, a memory and a communication bus; the communication bus is used to implement connection and communication between the processor and the memory; the processor is used to execute the storage in the memory One or more computer programs to implement the steps of the ultrasonic positioning method as described above.
本发明实施例还提供一种计算机存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上所述的超声波定位方法的步骤。Embodiments of the present invention further provide a computer storage medium, where the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the above-mentioned The steps of the ultrasonic localization method.
根据本发明实施例提供的超声波定位方法、定位装置及计算机可读存储介质,通过超声波信号接收器接收被寻物发出的超声波信号,超声波信号接收器包括:第一超声波信号接收器、第二超声波信号接收器、第三超声波信号接收器;获取超声波信号接收器接收到被寻物发出的超声波信号的接收时间;根据超声波信号接收器的接收时间获得被寻物的定位,在某些实施过程中通过终端本身存在的多个超声波信号接收器接收被寻物发出的超声波信号,然后根据各个超声波接收器接收到超声波信号的接收时间来进行定位,在没有增加被寻物或终端的硬件基础上,且通过多种方法进行定位,实现了准确定位,提高了定位精度,进而解决了相关技术中寻物定位技术需要增加单独的硬件,导致成本高,以及寻物定位精度低的问题。According to the ultrasonic positioning method, the positioning device, and the computer-readable storage medium provided by the embodiments of the present invention, the ultrasonic signal sent by the object to be sought is received through the ultrasonic signal receiver, and the ultrasonic signal receiver includes: a first ultrasonic signal receiver, a second ultrasonic signal Signal receiver and third ultrasonic signal receiver; obtain the receiving time of the ultrasonic signal receiver when the ultrasonic signal receiver receives the ultrasonic signal sent by the object to be sought; obtain the positioning of the object to be sought according to the receiving time of the ultrasonic signal receiver, in some implementation processes The ultrasonic signal sent by the object to be sought is received by multiple ultrasonic signal receivers in the terminal itself, and then the positioning is carried out according to the receiving time of the ultrasonic signal received by each ultrasonic receiver. Without adding the object to be sought or the hardware of the terminal, Moreover, by performing positioning through various methods, accurate positioning is achieved and the positioning accuracy is improved, thereby solving the problems of the related art that the object-seeking positioning technology needs to add separate hardware, resulting in high cost and low object-seeking positioning accuracy.
本发明其他特征和相应的有益效果在说明书的后面部分进行阐述说明,且应当理解,至少部分有益效果从本发明说明书中的记载变的显而易见。Other features of the present invention and corresponding benefits are set forth in later parts of the specification, and it should be understood that at least some of the benefits will become apparent from the description of the present specification.
附图说明Description of drawings
图1为本发明实施例一的超声波定位方法的基本流程示意图;FIG. 1 is a schematic flow chart of the basic flow of the ultrasonic positioning method according to the first embodiment of the present invention;
图2为本发明实施例一的终端的基本结构示意图;FIG. 2 is a schematic diagram of a basic structure of a terminal according to Embodiment 1 of the present invention;
图3为本发明实施例一的被寻物的基本结构示意图;3 is a schematic diagram of the basic structure of the object to be sought according to Embodiment 1 of the present invention;
图4为本发明实施例二的超声波定位方法的基本流程示意图;4 is a schematic flow chart of the basic flow of the ultrasonic positioning method according to the second embodiment of the present invention;
图5为本发明实施例二的超声波定位方法的信号接收发送的示意图;5 is a schematic diagram of signal reception and transmission of the ultrasonic positioning method according to
图6为本发明实施例三的超声波定位方法的基本流程示意图;6 is a schematic flow chart of the basic flow of the ultrasonic positioning method according to
图7为本发明实施例三的超声波定位方法的信号接收发送的示意图7 is a schematic diagram of signal reception and transmission of the ultrasonic positioning method according to
图8为本发明实施例四的定位装置基本结构示意图。FIG. 8 is a schematic diagram of a basic structure of a positioning device according to
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,下面通过具体实施方式结合附图对本发明实施例作进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
实施例一:Example 1:
为了解决现有寻物定位技术需要增加单独的硬件,导致成本高,以及寻物定位精度低的问题,请参见图1,本实施提出一种超声波定位方法,其包括但不限于:In order to solve the problem that the existing object-seeking and positioning technology needs to add separate hardware, which leads to high cost and low object-seeking positioning accuracy, please refer to FIG. 1. This implementation proposes an ultrasonic positioning method, which includes but is not limited to:
S101、通过超声波信号接收器接收被寻物发出的超声波信号,所述超声波信号接收器包括:第一超声波信号接收器、第二超声波信号接收器、第三超声波信号接收器;S101. Receive an ultrasonic signal sent by an object to be sought through an ultrasonic signal receiver, where the ultrasonic signal receiver includes: a first ultrasonic signal receiver, a second ultrasonic signal receiver, and a third ultrasonic signal receiver;
应当理解的是,终端通过超声波信号接收器接收被寻物发出的超声波信号,其中,终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、等移动终端,以及诸如数字TV、台式计算机等固定终端。超声波信号接收器的种类包括但不限于:麦克风mic、听筒receiver、扬声器speaker、发声面板等,终端使用的mic、receiver、speaker、发声面板都能够接收或产生人耳听不到的超声波频段,且终端的mic、receiver、speaker通常设置在不同部位,进而为本发明提供了硬件基础,而不需要增加额外的硬件成本;例如,终端的mic设置在终端顶部,receiver设置在终端的底部一侧,speaker设置在终端的底部另一侧,将终端上的mic作为第一超声波信号接收器,receiver作为第二超声波信号接收器,speaker作为第三超声波信号接收器。应当理解的是,被寻物也可以是上述终端中的任意一种,或是其它带有超声波信号发射器的设备或标签(tag)。例如,请参见图2、3所示,图2为一种终端,终端上包括了上mic20、receiver21、后mic22,上mic20、receiver21、后mic22都可以用作超声波信号接收器和/或超声波信号发送器;图3为一种被寻物设备3,其包括了receiver30与mic31,被寻物设备3通过receiver30和/或MIC31能够发出超声波信号,也能通过receiver30和/或mic31接收唤醒信号。It should be understood that the terminal receives the ultrasonic signal sent by the object to be sought through the ultrasonic signal receiver, wherein the terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile phones, tablet computers, notebook computers, handheld computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, Wearable devices, mobile terminals such as mobile terminals, and stationary terminals such as digital TVs and desktop computers. The types of ultrasonic signal receivers include but are not limited to: microphone mic, earpiece receiver, speaker speaker, sounding panel, etc. The mic, receiver, speaker, and sounding panel used by the terminal can receive or generate ultrasonic frequency bands that are inaudible to the human ear, and The mic, receiver, and speaker of the terminal are usually set in different parts, thereby providing a hardware basis for the present invention without adding additional hardware costs; for example, the mic of the terminal is set on the top of the terminal, and the receiver is set on the bottom side of the terminal, The speaker is set on the other side of the bottom of the terminal, and the mic on the terminal is used as the first ultrasonic signal receiver, the receiver is used as the second ultrasonic signal receiver, and the speaker is used as the third ultrasonic signal receiver. It should be understood that the object to be sought may also be any one of the above-mentioned terminals, or other devices or tags with ultrasonic signal transmitters. For example, please refer to Figures 2 and 3. Figure 2 is a terminal. The terminal includes upper mic20, receiver21, and rear mic22. The upper mic20, receiver21, and rear mic22 can all be used as ultrasonic signal receivers and/or ultrasonic signals. Transmitter; FIG. 3 is a
在本实施例的一些示例中,通过超声波信号接收器接收被寻物发出的超声波信号之前还包括:发出唤醒信号到所述被寻物,所述唤醒信号用于唤醒所述被寻物;在本实施例的一些示例中,终端在寻找被寻物时,首先发出唤醒信号到被寻物(终端可以通过超声波信号接收器发出唤醒信号,也可以通过专门的唤醒模块发出唤醒信号),使得被寻物接收到该唤醒信号时,从睡眠模式、休眠模式、待机模式等被唤醒,然后被寻物发出超声波信号;其中唤醒信号是终端和被寻物提前约定好的,能够被被寻物识别的;在一些示例中,该唤醒信号是终端利用超声波频段(20000Hz-1000000Hz)进行单载波或多载波的数字调制,如ASK(Amplitude Shift Keying,幅移键控)、FSK(Frequency Shift Keying,频移键控)、PSK(Phase Shift Keying,相移键控)等调制,加入数字信息的超声波信号,其中数字信号包括:加密信息和/或ID信息和/或编码信息和/或握手信息等,使得被寻物在接收到唤醒信号时能够对接收到的唤醒信号进行解调,识别出握手信息等并进行应答发出超声波信号;例如,当唤醒信号是带编码的超声波信号时,该带编码的超声波信号是终端和被寻物提前约定好的,能够被被寻物识别的编码。应当理解的是,在一些示例中,被寻物可以直接是周期性/定时性的发出超声波信号,而并不需要在接收到终端发出的唤醒信号时才发出超声波信号;应当理解的是,被寻物可以是通过发出超声波信号的模块接收唤醒信号,也可以是设置接收模块来接收唤醒信号。In some examples of this embodiment, before receiving the ultrasonic signal sent by the object to be sought through the ultrasonic signal receiver, the method further includes: sending a wake-up signal to the object to be sought, where the wake-up signal is used to wake up the object to be sought; In some examples of this embodiment, when searching for the object to be sought, the terminal first sends a wake-up signal to the object to be sought (the terminal can send a wake-up signal through an ultrasonic signal receiver, or can send a wake-up signal through a special wake-up module), so that the When the object to be sought receives the wake-up signal, it will be awakened from sleep mode, sleep mode, standby mode, etc., and then the object to be sought will send out an ultrasonic signal; the wake-up signal is agreed in advance between the terminal and the object to be sought, and can be recognized by the object to be sought. In some examples, the wake-up signal is a single-carrier or multi-carrier digital modulation performed by the terminal using an ultrasonic frequency band (20000Hz-1000000Hz), such as ASK (Amplitude Shift Keying, amplitude shift keying), FSK (Frequency Shift Keying, frequency Shift keying), PSK (Phase Shift Keying, phase shift keying) and other modulation, adding digital information to the ultrasonic signal, wherein the digital signal includes: encrypted information and/or ID information and/or encoded information and/or handshake information, etc., When the object to be sought receives the wake-up signal, it can demodulate the received wake-up signal, identify the handshake information, etc. and respond to send out an ultrasonic signal; for example, when the wake-up signal is an encoded ultrasonic signal, the encoded The ultrasonic signal is a code agreed in advance between the terminal and the object to be sought, and can be recognized by the object to be sought. It should be understood that, in some examples, the object to be sought may directly send out ultrasonic signals periodically/timely, and it is not necessary to send out ultrasonic signals when the wake-up signal sent by the terminal is received; To find the object, the wake-up signal can be received by a module that sends out an ultrasonic signal, or a receiving module can be set to receive the wake-up signal.
在本实施例的一些示例中,所述通过三个超声波信号接收器接收被寻物发出的超声波信号包括:通过所述第一超声波信号接收器和所述第二超声波信号接收器以及所述第三超声波信号接收器接收所述被寻物发出的同一个超声波信号,或分别通过所述第一超声波信号接收器和所述第二超声波信号接收器以及所述第三超声波信号接收器接收所述被寻物发出的不同的超声波信号。应当理解的是,被寻物发出来的超声波信号中携带有编码或ID等信息,该编码或ID可以是终端与被寻物提前约定好的,且能被终端识别的,通过超声波信号的编码或ID,进而能够使得第一超声波信号接收器、第二超声波信号接收器、第三超声波信号接收器接收同一个超声波信号或是分别接收不同的超声波信号。在一些示例中,被寻物利用超声波频段(20000Hz-1000000Hz)进行单载波或多载波的数字调制,如ASK、FSK、PSK等调制,加入数字信息,实现和终端的数字通讯,进而使得终端能够确定该超声波信号是被寻物发出的超声波信号,该数字信息包括但不限于:加密信息和/或ID信息和/或编码信息等。In some examples of this embodiment, the receiving the ultrasonic signal sent by the object to be sought through three ultrasonic signal receivers includes: using the first ultrasonic signal receiver and the second ultrasonic signal receiver and the first ultrasonic signal receiver and the first ultrasonic signal receiver. Three ultrasonic signal receivers receive the same ultrasonic signal sent by the object to be sought, or receive the same ultrasonic signal through the first ultrasonic signal receiver, the second ultrasonic signal receiver and the third ultrasonic signal receiver respectively. Different ultrasonic signals from the object being sought. It should be understood that the ultrasonic signal sent by the object to be sought carries information such as a code or ID, and the code or ID can be agreed in advance between the terminal and the object to be sought, and can be recognized by the terminal. or ID, so that the first ultrasonic signal receiver, the second ultrasonic signal receiver, and the third ultrasonic signal receiver can receive the same ultrasonic signal or receive different ultrasonic signals respectively. In some examples, the object to be sought uses the ultrasonic frequency band (20000Hz-1000000Hz) to perform single-carrier or multi-carrier digital modulation, such as ASK, FSK, PSK and other modulation, adding digital information to realize digital communication with the terminal, thereby enabling the terminal to It is determined that the ultrasonic signal is an ultrasonic signal sent by the object to be sought, and the digital information includes but is not limited to: encrypted information and/or ID information and/or encoded information.
S102、获取所述超声波信号接收器接收到所述被寻物发出的超声波信号的接收时间;S102, obtaining the receiving time when the ultrasonic signal receiver receives the ultrasonic signal sent by the object to be sought;
在本实施例的一些示例中,所述获取所述超声波信号接收器接收到所述被寻物发出的超声波信号的接收时间包括:分别获取所述第一超声波信号接收器和所述第二超声波信号接收器以及所述第三超声波信号接收器接收到同一超声波信号的时间,并分别记做第一接收时间、第二接收时间、第三接收时间,或分别获取所述第一超声波信号接收器接收到第一超声波信号的时间、所述第二超声波信号接收器接收到第二超声波信号的时间以及所述第三超声波信号接收器接收到第三超声波信号的时间,并分别记做第一接收时间、第二接收时间、第三接收时间。应当理解的是,其中接收时间是指对应的超声波信号接收器接收到超声波信号时终端上的当前时间。In some examples of this embodiment, the acquiring the receiving time when the ultrasonic signal receiver receives the ultrasonic signal sent by the object to be sought includes: acquiring the first ultrasonic signal receiver and the second ultrasonic wave respectively. The time when the signal receiver and the third ultrasonic signal receiver receive the same ultrasonic signal, and record it as the first receiving time, the second receiving time, and the third receiving time, or obtain the first ultrasonic signal receiver separately The time when the first ultrasonic signal is received, the time when the second ultrasonic signal receiver receives the second ultrasonic signal, and the time when the third ultrasonic signal receiver receives the third ultrasonic signal are recorded as the first reception respectively. time, second reception time, third reception time. It should be understood that the receiving time refers to the current time on the terminal when the corresponding ultrasonic signal receiver receives the ultrasonic signal.
S103、根据所述超声波信号接收器的接收时间获得所述被寻物的定位。S103. Obtain the location of the object to be sought according to the receiving time of the ultrasonic signal receiver.
在本实施例的一些示例中,所述根据所述超声波信号接收器的接收时间获得所述被寻物的定位之前还包括:判断终端与所述被寻物的时间是否同步,且各所述超声波信号接收器接收到的所述超声波信号中是否携带时间戳信息。在一些示例中,终端可以通过超声波信号中的信息判断,终端与所述被寻物的时间是否同步,且所述超声波信号中是否携带时间戳信息。In some examples of this embodiment, before obtaining the location of the object to be sought according to the receiving time of the ultrasonic signal receiver, the method further includes: judging whether the times of the terminal and the object to be sought are synchronized, and each of the Whether the ultrasonic signal received by the ultrasonic signal receiver carries timestamp information. In some examples, the terminal can determine whether the time of the terminal and the object to be sought is synchronized by the information in the ultrasonic signal, and whether the ultrasonic signal carries time stamp information.
在本实施例的一些示例中,当所述终端与所述被寻物的时间同步,且所述超声波信号中携带了时间戳信息,所述超声波信号接收器接收同一超声波信号时,所述根据所述超声波信号接收器的接收时间获得所述被寻物的定位包括:从接收到的所述超声波信号的时间戳信息上获取接收到的同一超声波信号的发送时间;分别获取所述第一接收时间和所述第二接收时间以及所述第三接收时间与所述发送时间的差值,并根据所述差值得到所述第一超声波信号接收器、所述第二超声波信号接收器、所述第三超声波信号接收器与所述被寻物的第一距离、第二距离、第三距离;以所述第一超声波信号接收器为圆心,所述第一距离为半径画圆,得到第一圆弧;以所述第二超声波信号接收器为圆心,所述第二距离为半径画圆,得到第二圆弧;以所述第三超声波信号接收器为圆心,所述第三距离为半径画圆,得到第三圆弧;根据所述第一圆弧和所述第二圆弧以及所述第三圆弧获得所述被寻物的定位。应当理解的是,从超声波信号的时间戳信息上能够获取到超声波信号的发送时间,也即被寻物发送该超声波信号的时间;然后获取所述第一接收时间与所述发送时间的差值,并记做第一时间差,获取所述第二接收时间与所述发送时间的差值,并记做第二时间差,获取所述第三接收时间与所述发送时间的差值,并记做第三时间差;其中,时间差也即超声波信号从被寻物到超声波信号接收器的传输时间,超声波信号的传输速度是可以根据环境求出的,例如,超声波信号在空气中的传输速度为340米/秒,终端根据时间差可以求得终端与被寻物之间的距离(传输速度x时间差),因此终端能够分别根据所述第一时间差、所述第二时间差、所述第三时间差得到所述第一超声波信号接收器、所述第二超声波信号接收器、所述第三超声波信号接收器与所述被寻物的第一距离、第二距离、第三距离,并以第一超声波信号接收器为圆心,第一距离为半径画圆,得到第一圆弧,以第二超声波信号接收器为圆心,第二距离为半径画圆,得到第二圆弧,以第三超声波信号接收器为圆心,第三距离为半径画圆,得到第三圆弧,然后得到三个圆弧的交点,将该交点作为被寻物的定位,获得所述被寻物的定位,实现了终端寻物的功能。In some examples of this embodiment, when the time of the terminal and the object to be sought are synchronized, and the ultrasonic signal carries time stamp information, and the ultrasonic signal receiver receives the same ultrasonic signal, the Obtaining the location of the object to be sought by the receiving time of the ultrasonic signal receiver includes: obtaining the sending time of the same received ultrasonic signal from the timestamp information of the received ultrasonic signal; obtaining the first receiving time respectively; time and the second receiving time and the difference between the third receiving time and the sending time, and obtain the first ultrasonic signal receiver, the second ultrasonic signal receiver, the The first distance, the second distance, and the third distance between the third ultrasonic signal receiver and the object to be sought; take the first ultrasonic signal receiver as the center, and draw a circle with the first distance as the radius to obtain the first an arc; taking the second ultrasonic signal receiver as the center, and the second distance as the radius, draw a circle to obtain a second arc; taking the third ultrasonic signal receiver as the center, the third distance is A circle is drawn with the radius to obtain a third arc; the location of the object to be sought is obtained according to the first arc, the second arc and the third arc. It should be understood that the sending time of the ultrasonic signal, that is, the time when the object to be sought sends the ultrasonic signal, can be obtained from the timestamp information of the ultrasonic signal; and then the difference between the first receiving time and the sending time is obtained. , and record it as the first time difference, obtain the difference between the second receiving time and the sending time, and record it as the second time difference, obtain the difference between the third receiving time and the sending time, and record it as The third time difference; among them, the time difference is the transmission time of the ultrasonic signal from the object to be found to the ultrasonic signal receiver. The transmission speed of the ultrasonic signal can be calculated according to the environment. For example, the transmission speed of the ultrasonic signal in the air is 340 meters. /sec, the terminal can obtain the distance between the terminal and the object to be sought (transmission speed x time difference) according to the time difference, so the terminal can obtain the The first, second, and third distances between the first ultrasonic signal receiver, the second ultrasonic signal receiver, and the third ultrasonic signal receiver and the object to be sought, and receive the first ultrasonic signal Take the second ultrasonic signal receiver as the center and the second distance as the radius to draw a circle to obtain the second arc, take the third ultrasonic signal receiver as The center of the circle, the third distance is the radius, draw a circle, obtain the third arc, and then obtain the intersection of the three arcs, and use the intersection as the location of the object to be sought, and obtain the location of the object to be sought. Function.
在本实施例的一些示例中,当各所述超声波信号接收器接到的超声波信号为同一个超声波信号时;或是当所述终端与所述被寻物的时间不同步或所述超声波信号中未携带时间戳信息且各所述超声波信号接收器接到的超声波信号为同一个超声波信号时,所述根据所述超声波信号接收器的接收时间获得所述被寻物的定位包括:分别获取所述第一接收时间与所述第二接收时间的第一差值,所述第二接收时间与所述第三接收时间的第二差值,所述第一接收时间与所述第三接收时间的第三差值;根据所述第一差值和第二差值以及所述第三差值构造的双曲线获得所述被寻物的定位。应当理解的是,终端内的第一超声波信号接收器,第二超声波信号接收器,第三超声波信号接收器分别接收被寻物发出的同一个超声波信号,通过获取超声波信号接收器接收到超声波信号的时间,终端可以分别得到三组时间差,也即第一超声波信号接收器接收到超声波信号的时间减去第二超声波信号接收器接收到超声波信号的时间的第一差值,第二超声波信号接收器接收到超声波信号的时间减去第三超声波信号接收器接收到超声波信号的时间的第二差值,第一超声波信号接收器接收到超声波信号的时间减去第三超声波信号接收器接收到超声波信号的时间的第三差值;终端根据这三组时间差,能够算出第一差值、第二差值、第三差值对应的第一距离差,第二距离差,第三距离差,终端根据第一距离差可以得到以第一超声波信号接收器和第二超声波信号接收器为焦点的第一双曲线,根据第二距离差可以得到以第二超声波信号接收器和第三超声波信号接收器为焦点的第二双曲线,根据第三距离差可以得到以第一超声波信号接收器和第三超声波信号接收器为焦点的第三双曲线,终端确定第一双曲线、第二双曲线、第三双曲线的交点位置,该交底位置即被寻物的位置,实现了终端寻物的功能。In some examples of this embodiment, when the ultrasonic signal received by each of the ultrasonic signal receivers is the same ultrasonic signal; or when the time between the terminal and the object to be sought is not synchronized or the ultrasonic signal When the time stamp information is not carried and the ultrasonic signals received by each of the ultrasonic signal receivers are the same ultrasonic signal, the obtaining the location of the object to be sought according to the receiving time of the ultrasonic signal receivers includes: separately obtaining The first difference between the first reception time and the second reception time, the second difference between the second reception time and the third reception time, the first reception time and the third reception time The third difference value of time; the location of the object to be sought is obtained according to the hyperbola constructed by the first difference value, the second difference value and the third difference value. It should be understood that the first ultrasonic signal receiver, the second ultrasonic signal receiver, and the third ultrasonic signal receiver in the terminal respectively receive the same ultrasonic signal sent by the object to be sought, and the ultrasonic signal is received by the ultrasonic signal receiver. time, the terminal can obtain three sets of time differences respectively, that is, the time when the first ultrasonic signal receiver receives the ultrasonic signal minus the first difference between the time when the second ultrasonic signal receiver receives the ultrasonic signal, and the second ultrasonic signal receives the time difference. The second difference between the time when the receiver receives the ultrasonic signal minus the time when the third ultrasonic signal receiver receives the ultrasonic signal, the time when the first ultrasonic signal receiver receives the ultrasonic signal minus the time when the third ultrasonic signal receiver receives the ultrasonic signal The third difference of the time of the signal; the terminal can calculate the first distance difference, the second distance difference, and the third distance difference corresponding to the first difference, the second difference, and the third difference according to the three groups of time differences. The terminal According to the first distance difference, the first hyperbola with the first ultrasonic signal receiver and the second ultrasonic signal receiver as the focus can be obtained, and according to the second distance difference, the second ultrasonic signal receiver and the third ultrasonic signal receiver can be obtained. The second hyperbola that is the focus, the third hyperbola that takes the first ultrasonic signal receiver and the third ultrasonic signal receiver as the focus can be obtained according to the third distance difference, and the terminal determines the first hyperbola, the second hyperbola, the third hyperbola The intersection point of the three hyperbolas, the bottom position is the position of the object to be sought, which realizes the function of terminal object seeking.
在本实施例的一些示例中,在所述终端与所述被寻物的时间同步,且所述超声波信号中携带了时间戳信息,所述超声波信号接收器接收不同超声波信号时,获取所述超声波信号接收器接收到所述被寻物发出的超声波信号的接收时间还包括:所述获取所述超声波信号接收器接收到所述被寻物发出的超声波信号的接收时间包括:分别获取所述第一超声波信号接收器接收到所述第一超声波信号的时间、所述第二超声波信号接收器接收到所述第二超声波信号的时间以及所述第三超声波信号接收器接收到所述第三超声波信号的时间,并分别记做第一接收时间、第二接收时间、第三接收时间;所述根据所述超声波信号接收器的接收时间获得所述被寻物的定位包括:从所述第一超声波信号、所述第二超声波信号、第三超声波信号的时间戳信息上获取对应的发送时间;得到所述第一接收时间和所述第二接收时间以及所述第三接收时间与各自对应的发送时间的差值,并根据所述差值得到所述第一超声波信号接收器、所述第二超声波信号接收器、所述第三超声波信号接收器与所述被寻物的第一距离、第二距离、第三距离;以所述第一超声波信号接收器为圆心,所述第一距离为半径画圆,得到第一圆弧;以所述第二超声波信号接收器为圆心,所述第二距离为半径画圆,得到第二圆弧;以所述第三超声波信号接收器为圆心,所述第三距离为半径画圆,得到第三圆弧;确定所述第一圆弧和所述第二圆弧以及所述第三圆弧的交点,获得所述被寻物的定位。也即,本申请还可以通过三个不同的超声波信号接收器接收不同的超声波信号,然后求出距离,获得被寻物的定位。In some examples of this embodiment, when the time of the terminal and the object to be sought are synchronized, and the ultrasonic signal carries time stamp information, the ultrasonic signal receiver acquires the ultrasonic signal when receiving different ultrasonic signals. The receiving time when the ultrasonic signal receiver receives the ultrasonic signal sent by the object to be sought further includes: acquiring the receiving time when the ultrasonic signal receiver receives the ultrasonic signal sent by the object to be sought includes: acquiring the ultrasonic signal respectively. The time when the first ultrasonic signal receiver received the first ultrasonic signal, the time when the second ultrasonic signal receiver received the second ultrasonic signal, and the third ultrasonic signal receiver received the third ultrasonic signal The time of the ultrasonic signal is recorded as the first receiving time, the second receiving time, and the third receiving time; the obtaining the location of the object to be sought according to the receiving time of the ultrasonic signal receiver includes: from the first receiving time The corresponding sending time is obtained from the timestamp information of an ultrasonic signal, the second ultrasonic signal, and the third ultrasonic signal; the first receiving time, the second receiving time, and the third receiving time are obtained corresponding to their respective The difference value of the transmission time, and the first distance between the first ultrasonic signal receiver, the second ultrasonic signal receiver, the third ultrasonic signal receiver and the object to be sought is obtained according to the difference value. , the second distance, the third distance; draw a circle with the first ultrasonic signal receiver as the center and the first distance as the radius to obtain the first arc; take the second ultrasonic signal receiver as the center, so The second distance is a radius to draw a circle to obtain a second arc; the third ultrasonic signal receiver is taken as the center of the circle, and the third distance is a radius to draw a circle to obtain a third arc; determine the first arc and the intersection of the second arc and the third arc to obtain the location of the object to be sought. That is, the present application can also receive different ultrasonic signals through three different ultrasonic signal receivers, and then obtain the distance to obtain the location of the object to be sought.
本发明实施例提供的超声波定位方法,通过超声波信号接收器接收被寻物发出的超声波信号,超声波信号接收器包括:第一超声波信号接收器、第二超声波信号接收器、第三超声波信号接收器;获取超声波信号接收器接收到被寻物发出的超声波信号的接收时间;根据超声波信号接收器的接收时间获得被寻物的定位;根据超声波信号接收器的接收时间获得被寻物的定位,在某些实施过程中通过终端本身存在的多个超声波信号接收器接收被寻物发出的超声波信号,然后根据各个超声波接收器接收到超声波信号的接收时间来进行定位,在没有增加被寻物或终端的硬件基础上,且由于终端与被寻物仅需要1次通讯,通过多种方法进行定位,提高了定位的准确性,提高了定位精度,进而解决了相关技术中寻物定位技术需要增加单独的硬件,导致成本高,以及寻物定位精度低的问题。The ultrasonic positioning method provided by the embodiment of the present invention receives the ultrasonic signal sent by the object to be sought through an ultrasonic signal receiver, and the ultrasonic signal receiver includes: a first ultrasonic signal receiver, a second ultrasonic signal receiver, and a third ultrasonic signal receiver ; Obtain the receiving time when the ultrasonic signal receiver receives the ultrasonic signal sent by the object to be sought; obtain the positioning of the object to be sought according to the receiving time of the ultrasonic signal receiver; obtain the positioning of the object to be sought according to the receiving time of the ultrasonic signal receiver, in In some implementations, the ultrasonic signal sent by the object to be sought is received by multiple ultrasonic signal receivers existing in the terminal itself, and then the positioning is performed according to the receiving time of the ultrasonic signal received by each ultrasonic receiver, without adding the object to be sought or the terminal. On the basis of the hardware, and because the terminal and the object to be sought only need one communication, positioning is carried out by various methods, which improves the accuracy of positioning and improves the positioning accuracy, thereby solving the problem that the object-seeking and positioning technology in the related art needs to increase the separate hardware, resulting in high cost and low accuracy of object-finding and positioning.
实施例二:Embodiment 2:
为了更好的理解本发明,本实施提供一种更为具体的示例对本发明进行说明:In order to better understand the present invention, this implementation provides a more specific example to illustrate the present invention:
请参见图4所示,其包括但不限于:See Figure 4, which includes but is not limited to:
S201、终端发出唤醒信号到被寻物,所述唤醒信号用于唤醒所述被寻物;S201. The terminal sends a wake-up signal to the object to be sought, where the wake-up signal is used to wake up the object to be sought;
在本实施例的一些示例中,请参见图5所示,终端1上设置有第一mic2、第一receiver3,第二mic11和第三mic15,被寻物9上设置有第二receiver8、第四mic10,首先通过第一receiver3发出唤醒信号13,该唤醒信号13可以是带编码的超声波信号(>20000Hz),该编码是和被寻物9提前约定好的其能被识别的,被寻物9通过第四mic10接收到该编码超声波信号,从睡眠模式被唤醒。In some examples of this embodiment, as shown in FIG. 5 , the terminal 1 is provided with a first mic2, a first receiver3, a second mic11 and a third mic15, and the
S202、接收被寻物发出的超声波信号;S202, receiving the ultrasonic signal sent by the object to be sought;
在本实施例的一些示例中,且终端1与被寻物9的时间同步,被寻物9发出的超声波信号中携带有时间戳信息,应当理解的是,终端1可以与被寻物9约定好时间同步,且被寻物9发出的超声波信号中携带有时间戳信息;也可以是终端1接收到超声波信号时判断与被寻物9的时间是否同步,且被寻物9发出的超声波信号中是否携带有时间戳信息;被寻物9唤醒后通过第二receiver8发出超声波信号4、超声波信号12、超声波信号14,其中,终端1的第一mic2、第二mic11和第三mic15都可以接收到上述超声波信号4、超声波信号12、超声波信号14,其中超声波信号4、超声波信号12、超声波信号14能够为不同的超声波信号,也可以是同一个超声波信号。In some examples of this embodiment, and the time of the terminal 1 and the object to be sought 9 are synchronized, the ultrasonic signal sent by the object to be sought 9 carries time stamp information. It should be understood that the terminal 1 can make an appointment with the object to be found 9 Good time synchronization, and the ultrasonic signal sent by the object to be sought 9 carries timestamp information; it can also be that the terminal 1 determines whether the time of the object to be sought 9 is synchronized when receiving the ultrasonic signal, and the ultrasonic signal sent by the object to be found 9 Whether the time stamp information is carried in the device; after being awakened by the
S203、获得终端接收到超声波信号的传输时间,得到与被寻物的距离;S203, obtain the transmission time of the ultrasonic signal received by the terminal, and obtain the distance from the object to be sought;
在本实施例的一些示例中,各个超声波信号接收器都能够接收到被寻物9发出的超声波信号,这里以终端1的第一mic2接收到超声波信号4、第二mic11接收到超声波信号12、第三mic15接收到超声波信号14为例,在接收到超声波信号时,获取终端1本身的时间,与各个超声波信号携带的时间戳信息,进而终端1可分别得知超声波信号4传输到第一mic2的传输时间,超声波信号12传输到第二mic11的传输时间,超声波信号14传输到第三mic15的传输时间,进而分别计算出第一mic2、第二mic11和第三mic15分别与第二receiver8的距离d1、d2、d3(距离=传输时间x传输速度340米/秒)。In some examples of this embodiment, each ultrasonic signal receiver can receive the ultrasonic signal sent by the
S204、根据距离获取被寻物的定位。S204. Acquire the location of the object to be sought according to the distance.
在本实施例的一些示例中,终端1分别以第一mic2、第二mic11和第三mic15为圆心,d1、d2、d3为半径,计算出三个交于一点的圆弧7、6、5,该交点即为确定出的位置,确定出的位置实际为被寻物9的第二receiver8的位置,从而得知被寻物9的位置,获取被寻物9的定位,实现了终端寻物的功能。In some examples of this embodiment, the terminal 1 uses the first mic2, the second mic11, and the third mic15 as the center of the circle, and d1, d2, and d3 as the radii, and calculates three arcs 7, 6, and 5 that intersect at one point. , the intersection point is the determined position, and the determined position is actually the position of the second receiver 8 of the object to be sought 9, so as to know the position of the object to be sought 9, obtain the location of the object to be sought 9, and realize the terminal object search function.
应当理解的是,终端1发出和接收的编码超声波信号包括:利用超声波频段(20000Hz-1000000Hz)进行单载波或多载波的数字调制,如ASK、FSK、PSK等调制,加入数字信息,实现和被寻物9的数字通讯。该数字信息可包含加密信息、时间戳信息及ID识别握手等必要的通讯信息。终端1在接收被寻物(或标签tag)9发出的应答编码超声波信号时会对其进行解调,得到其中的时间戳信息;应当理解的是,被寻物9发出和接收的应答编码超声波信号包括:利用超声波频段(20000Hz-1000000Hz)进行单载波或多载波的数字调制,如ASK、FSK、PSK等调制,加入数字信息,实现和终端1的数字通讯。该数字信息可包含加密信息、时间戳信息及ID识别握手等必要的通讯信息。被寻物9在接收终端1发出的编码超声波信息时会对其进行解调,识别出握手信息并进行应答。It should be understood that the encoded ultrasonic signals sent and received by the terminal 1 include: using the ultrasonic frequency band (20000Hz-1000000Hz) to perform single-carrier or multi-carrier digital modulation, such as modulation of ASK, FSK, PSK, etc. The digital communication of
实施例三:Embodiment three:
为了更好的理解本发明,本实施提供一种更为具体的示例对超声波定位方法进行说明,其参见图6所示,其包括但不限于:In order to better understand the present invention, this implementation provides a more specific example to describe the ultrasonic positioning method, which is shown in FIG. 6 , including but not limited to:
S301、终端发出唤醒信号到被寻物,所述唤醒信号用于唤醒所述被寻物;S301. The terminal sends a wake-up signal to the object to be sought, where the wake-up signal is used to wake up the object to be sought;
在本实施例的一些示例中,请参见图7所示,终端1上设置有第一mic2、第一receiver3,第二mic11和第三mic15,被寻物9上设置第二receiver8、第四mic10,首先通过第一receiver3发出唤醒信号13,该唤醒信号13可以是带编码的超声波信号(>20000Hz),该编码是和被寻物9提前约定好的其能被识别的,被寻物9通过第四mic10接收到该编码超声波信号,从睡眠模式被唤醒。In some examples of this embodiment, as shown in FIG. 7 , the terminal 1 is provided with a first mic2, a first receiver3, a second mic11 and a third mic15, and the
S302、接收被寻物发出的超声波信号;S302. Receive the ultrasonic signal sent by the object to be sought;
在本实施例的一些示例中,且终端1与被寻物9的时间同步,被寻物9发出的超声波信号中携带有时间戳信息,应当理解的是,终端1可以与被寻物9约定好时间同步,且被寻物9发出的超声波信号中携带有时间戳信息;也可以是终端1接收到超声波信号时判断与被寻物9的时间是否同步,且被寻物9发出的超声波信号中是否携带有时间戳信息;被寻物9唤醒后通过第二receiver8发出超声波信号4、超声波信号12、超声波信号14,其中,终端1的第一mic2、第二mic11和第三mic15都可以接收到上述超声波信号4、超声波信号12、超声波信号14,其中,超声波信号4、超声波信号12、超声波信号14为同一个超声波信号。In some examples of this embodiment, and the time of the terminal 1 and the object to be sought 9 are synchronized, the ultrasonic signal sent by the object to be sought 9 carries time stamp information. It should be understood that the terminal 1 can make an appointment with the object to be found 9 Good time synchronization, and the ultrasonic signal sent by the object to be sought 9 carries timestamp information; it can also be that the terminal 1 determines whether the time of the object to be sought 9 is synchronized when receiving the ultrasonic signal, and the ultrasonic signal sent by the object to be found 9 Whether the time stamp information is carried in the device; after being awakened by the
S303、根据接收时间获取传输时间的时间差;S303, obtaining the time difference of the transmission time according to the receiving time;
在本实施例的一些示例中,终端1内部的第一mic2、第二mic11和第三mic15三个mic分别接收第二receiver8发出的超声波信号,该超声波信号中携带编码,进而使得终端确定,一mic2、第二mic11和第三mic15接收到的是同一个超声波信号,通过获取终端1的时间戳信号,终端1可分别得到三组时间差:Δt1、Δt2、Δt3。其中,Δt1是第二receiver8至第二mic11的超声波到达时间减去第二receiver8至第一mic2的超声波到达时间;Δt2是第二receiver8至第三mic15的超声波到达时间减去第二receiver8至第二mic11的超声波到达时间;Δt3是第二receiver8至第三mic15的超声波到达时间减去第二receiver8至第一mic2的超声波到达时间。In some examples of this embodiment, the first mic2, the second mic11 and the third mic15 inside the terminal 1 respectively receive the ultrasonic signal sent by the second receiver8, and the ultrasonic signal carries a code, so that the terminal can determine that a The mic2, the second mic11, and the third mic15 receive the same ultrasonic signal. By acquiring the timestamp signal of the terminal 1, the terminal 1 can obtain three sets of time differences: Δt1, Δt2, and Δt3, respectively. Among them, Δt1 is the ultrasonic arrival time of the second receiver8 to the second mic11 minus the ultrasonic arrival time of the second receiver8 to the first mic2; Δt2 is the ultrasonic arrival time of the second receiver8 to the third mic15 minus the second receiver8 to the second The ultrasonic arrival time of mic11; Δt3 is the ultrasonic arrival time of the second receiver8 to the third mic15 minus the ultrasonic arrival time of the second receiver8 to the first mic2.
S304、根据传输时间的时间差获取对应的距离差;S304, obtaining the corresponding distance difference according to the time difference of the transmission time;
在本实施例的一些示例中,终端1根据这三组时间差,可以算出Δt1、Δt2、Δt3分别对应的距离差d1、d2、d3(距离差=时间差×传输速度340米/秒)。In some examples of this embodiment, the terminal 1 can calculate the distance differences d1, d2, and d3 corresponding to Δt1, Δt2, and Δt3 according to the three sets of time differences (distance difference=time difference×transmission speed 340 m/s).
S305、根据距离差获取被寻物的定位。S305. Acquire the location of the object to be sought according to the distance difference.
在本实施例的一些示例中,终端1根据距离差d1可以得到以第一mic2、第二mic11为焦点的双曲线6(参考双曲线定义可知),同理根据距离差d2可以得到以第二mic11、第三mic15为焦点的双曲线5,根据距离差d3可以得到以第三mic15、第一mic2为焦点的双曲线7。终端1计算出5、6、7三个双曲线的交点位置,该交点位置即为第二receiver8的位置,从而得知被寻物9的位置,获取被寻物9的定位,实现了终端寻物的功能。In some examples of this embodiment, the terminal 1 can obtain the hyperbola 6 with the first mic2 and the second mic11 as the focus according to the distance difference d1 (refer to the definition of the hyperbola), and similarly according to the distance difference d2, the second mic11 can be obtained. The hyperbola 5 with mic11 and the third mic15 as the focal points can be obtained according to the distance difference d3 with the hyperbola 7 with the third mic15 and the first mic2 as the focal points. The terminal 1 calculates the position of the intersection of the three hyperbolas 5, 6, and 7, and the intersection position is the position of the second receiver 8, so as to know the position of the object to be sought 9, obtain the location of the object to be sought 9, and realize the terminal search. function of things.
本实施例提供的超声波定位方法,通过终端发出唤醒信号到被寻物,所述唤醒信号用于唤醒所述被寻物,终端接收被寻物发出的超声波信号,根据接收时间获取传输时间的时间差,根据传输时间的时间差获取对应的距离差,根据距离差获取被寻物的定位;由于终端与被寻物仅需要1次通讯,且无需终端与被寻物时间同步,也不需要被寻物发出的超声波信号中携带时间信号,就能计算出终端与被寻物的相对位置,定位精度不受终端或被寻物(相对运动的影响,定位精度可做到10cm以内,在不增加硬件成本的情况下,提升了定位准确度。In the ultrasonic positioning method provided in this embodiment, the terminal sends a wake-up signal to the object to be sought, the wake-up signal is used to wake up the object to be sought, the terminal receives the ultrasonic signal sent by the object to be sought, and obtains the time difference of the transmission time according to the reception time , obtain the corresponding distance difference according to the time difference of the transmission time, and obtain the positioning of the object to be sought according to the distance difference; because the terminal and the object to be sought only need one communication, and the time synchronization between the terminal and the object to be sought is not required, nor the object to be sought. The transmitted ultrasonic signal carries the time signal, and the relative position of the terminal and the object to be sought can be calculated. The positioning accuracy is not affected by the relative motion of the terminal or the object to be sought (the positioning accuracy can be achieved within 10cm, without increasing the hardware cost. , the positioning accuracy is improved.
实施例四:Embodiment 4:
本实施例还提供了一种定位装置,参见图8所示,其包括处理器801、存储器802及通信总线803,其中:This embodiment also provides a positioning device, as shown in FIG. 8 , which includes a
通信总线803用于实现处理器801和存储器802之间的连接通信;The
处理器801用于执行存储器802中存储的一个或者多个计算机程序,以实现上述实施例一和实施例二以及实施例三中的超声波定位方法中的至少一个步骤。The
本实施例还提供了一种计算机可读存储介质,该计算机可读存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、计算机程序模块或其他数据)的任何方法或技术中实施的易失性或非易失性、可移除或不可移除的介质。计算机可读存储介质包括但不限于RAM(Random Access Memory,随机存取存储器),ROM(Read-Only Memory,只读存储器),EEPROM(Electrically Erasable Programmable read only memory,带电可擦可编程只读存储器)、闪存或其他存储器技术、CD-ROM(Compact Disc Read-Only Memory,光盘只读存储器),数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。The present embodiments also provide a computer-readable storage medium embodied in any method or technology for storing information, such as computer-readable instructions, data structures, computer program modules, or other data volatile or nonvolatile, removable or non-removable media. Computer-readable storage media include but are not limited to RAM (Random Access Memory, random access memory), ROM (Read-Only Memory, read-only memory), EEPROM (Electrically Erasable Programmable read only memory, electrified Erasable Programmable read only memory) ), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), Digital Versatile Disc (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, Or any other medium that can be used to store the desired information and that can be accessed by a computer.
本实施例中的计算机可读存储介质可用于存储一个或者多个计算机程序,其存储的一个或者多个计算机程序可被处理器执行,以实现上述实施例一和实施例二以及实施例三中的超声波定位方法中的至少一个步骤。The computer-readable storage medium in this embodiment may be used to store one or more computer programs, and the one or more computer programs stored in the storage medium may be executed by a processor, so as to implement the first embodiment, the second embodiment, and the third embodiment. at least one step in the ultrasonic localization method.
可见,本领域的技术人员应该明白,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件(可以用计算装置可执行的计算机程序代码来实现)、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。It can be seen that those skilled in the art should understand that all or some of the steps in the methods disclosed above, the functional modules/units in the system, and the device can be implemented as software (which can be implemented by computer program codes executable by a computing device). ), firmware, hardware, and their appropriate combination. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components Components execute cooperatively. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit .
此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、计算机程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。所以,本发明不限制于任何特定的硬件和软件结合。In addition, communication media typically embodies computer readable instructions, data structures, computer program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery, as is well known to those of ordinary skill in the art medium. Therefore, the present invention is not limited to any particular combination of hardware and software.
以上内容是结合具体的实施方式对本发明实施例所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the embodiments of the present invention in combination with specific embodiments, and it cannot be considered that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deductions or substitutions can be made, which should be regarded as belonging to the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110466895.8A CN115248418A (en) | 2021-04-28 | 2021-04-28 | Ultrasonic positioning method, positioning device and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110466895.8A CN115248418A (en) | 2021-04-28 | 2021-04-28 | Ultrasonic positioning method, positioning device and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115248418A true CN115248418A (en) | 2022-10-28 |
Family
ID=83695856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110466895.8A Pending CN115248418A (en) | 2021-04-28 | 2021-04-28 | Ultrasonic positioning method, positioning device and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115248418A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103698747A (en) * | 2013-12-12 | 2014-04-02 | 中国科学院自动化研究所 | Frequency division type ultrasonic positioning system and method |
CN106959435A (en) * | 2017-03-27 | 2017-07-18 | 中特检科技发展(北京)有限公司 | Sonar navigation localization method and device |
US20180049004A1 (en) * | 2016-08-09 | 2018-02-15 | Symbol Technologies, Llc | Arrangement for, and method of, locating a mobile device in a venue by inferring transmit timer values of ranging signals received by the mobile device in a time difference of arrival (tdoa)-based ultrasonic locationing system |
CN110869793A (en) * | 2017-07-06 | 2020-03-06 | 伯斯有限公司 | Determining position/orientation of audio device |
-
2021
- 2021-04-28 CN CN202110466895.8A patent/CN115248418A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103698747A (en) * | 2013-12-12 | 2014-04-02 | 中国科学院自动化研究所 | Frequency division type ultrasonic positioning system and method |
US20180049004A1 (en) * | 2016-08-09 | 2018-02-15 | Symbol Technologies, Llc | Arrangement for, and method of, locating a mobile device in a venue by inferring transmit timer values of ranging signals received by the mobile device in a time difference of arrival (tdoa)-based ultrasonic locationing system |
CN106959435A (en) * | 2017-03-27 | 2017-07-18 | 中特检科技发展(北京)有限公司 | Sonar navigation localization method and device |
CN110869793A (en) * | 2017-07-06 | 2020-03-06 | 伯斯有限公司 | Determining position/orientation of audio device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Spachos et al. | BLE beacons in the smart city: Applications, challenges, and research opportunities | |
US11765544B2 (en) | Communication techniques using passive beacons | |
US10775475B2 (en) | Determining a location of a transmitter device | |
US9907008B2 (en) | Cloud-coordinated location system using ultrasonic pulses and radio signals | |
US9894531B2 (en) | Apparatus, method, and software systems for smartphone-based fine-grained indoor localization | |
US20200221254A1 (en) | Multi-Device Architecture for Tracking Device Access | |
JP5566472B2 (en) | Object tracking in augmented reality | |
CN104880693B (en) | Indoor orientation method and device | |
US8855671B1 (en) | System and method for determining position | |
US9995816B2 (en) | Methods for indoor positioning and apparatuses using the same | |
CN203178481U (en) | Locating system based on intelligent mobile device | |
US11825380B2 (en) | Wireless communication modes based on mobile device orientation | |
US11843934B2 (en) | Methods and systems for tracking of assets and user navigation | |
US10849079B2 (en) | Power control for synchronization and discovery messages in D2D communication | |
CN108495248B (en) | Positioning method, positioning device, audio playing equipment and storage medium | |
US12259487B2 (en) | Techniques for localizing an electronic device | |
US12250659B2 (en) | Methods and systems for tracking of assets and user navigation | |
CN110967670A (en) | Asynchronous indoor positioning method based on intelligent terminal and ultrasonic communication | |
EP2891343B1 (en) | Efficient proximity detection | |
CN115248418A (en) | Ultrasonic positioning method, positioning device and computer-readable storage medium | |
CN117135264B (en) | Screen state control method, electronic device and readable storage medium | |
US20200082325A1 (en) | Moveable asset tracking systems using crowdsourcing measurements | |
US20230171562A1 (en) | Systems and methods for tracking devices | |
US20230397154A1 (en) | Ranking wireless streaming devices based on proximity | |
WO2023235144A1 (en) | Ranking wireless streaming devices based on proximity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |