[go: up one dir, main page]

CN114513265A - Antenna delay calibration method and device, system, device and storage medium - Google Patents

Antenna delay calibration method and device, system, device and storage medium Download PDF

Info

Publication number
CN114513265A
CN114513265A CN202011278995.XA CN202011278995A CN114513265A CN 114513265 A CN114513265 A CN 114513265A CN 202011278995 A CN202011278995 A CN 202011278995A CN 114513265 A CN114513265 A CN 114513265A
Authority
CN
China
Prior art keywords
calibrated
equipment
antenna delay
calibration
wireless signal
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.)
Withdrawn
Application number
CN202011278995.XA
Other languages
Chinese (zh)
Inventor
郭富祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011278995.XA priority Critical patent/CN114513265A/en
Publication of CN114513265A publication Critical patent/CN114513265A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/11Monitoring; Testing of transmitters for calibration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • H04B17/101Monitoring; Testing of transmitters for measurement of specific parameters of the transmitter or components thereof
    • H04B17/102Power radiated at antenna

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

本申请实施例公开了天线延迟校准方法及装置、系统、设备、存储介质;其中,所述方法包括:控制参考设备和待校准设备中的至少之一对发射功率进行调整;之后,控制已调整发射功率的设备向另一设备发射无线信号;以及,在所述无线信号的接收功率满足第一校准条件的情况下,根据距离测量值和所述参考设备与所述待校准设备的实际距离,对所述待校准设备的天线延迟进行校准;其中,所述距离测量值是基于所述参考设备与所述待校准设备以当前发射功率进行无线信号交互时无线信号的飞行时间确定的。

Figure 202011278995

The embodiments of the present application disclose an antenna delay calibration method, device, system, device, and storage medium; wherein, the method includes: controlling at least one of the reference device and the device to be calibrated to adjust the transmit power; after that, controlling the adjusted transmission power The device that transmits power transmits a wireless signal to another device; and, in the case that the received power of the wireless signal satisfies the first calibration condition, according to the distance measurement value and the actual distance between the reference device and the device to be calibrated, The antenna delay of the device to be calibrated is calibrated; wherein the distance measurement value is determined based on the time-of-flight of the wireless signal when the reference device and the device to be calibrated perform wireless signal interaction with the current transmit power.

Figure 202011278995

Description

天线延迟校准方法及装置、系统、设备、存储介质Antenna delay calibration method and device, system, device and storage medium

技术领域technical field

本申请实施例涉及通信技术,涉及但不限于天线延迟校准方法及装置、系统、设备、存储介质。The embodiments of the present application relate to communication technologies, and relate to, but are not limited to, antenna delay calibration methods and apparatuses, systems, devices, and storage media.

背景技术Background technique

基于飞行时间(Time of Flight,TOF)的超宽带(Ultra Wide Band,UWB)测距技术。测量得到的飞行时间除了包括无线信号的飞行时间,还包含发射的天线延迟(AntennaDelay)和接收的天线延迟,发射的天线延迟和接收的天线延迟也统称为天线延迟。天线延迟的校准和UWB测距精度的高低密切相关。Ultra Wide Band (UWB) ranging technology based on Time of Flight (TOF). The measured flight time includes not only the flight time of the wireless signal, but also the transmitting antenna delay (AntennaDelay) and the receiving antenna delay. The transmitting antenna delay and the receiving antenna delay are also collectively referred to as the antenna delay. The calibration of antenna delay is closely related to the accuracy of UWB ranging.

然而,对于天线延迟的校准,不同的信道以及不同的脉冲重复频率(PulseRepetition Frequency,PRF),建议的校准距离(即校准时参考设备与待校准设备的实际距离)不同,通常为5米,甚至十几米,这无疑增加了校准对环境的要求以及校准复杂度。However, for antenna delay calibration, different channels and different Pulse Repetition Frequency (PRF), the recommended calibration distance (that is, the actual distance between the reference device and the device to be calibrated during calibration) is different, usually 5 meters, or even More than ten meters, which undoubtedly increases the calibration requirements for the environment and the calibration complexity.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本申请实施例提供的天线延迟校准方法及装置、系统、设备、存储介质,能够降低天线延迟校准对环境的要求,以及降低校准复杂度。本申请实施例提供的天线延迟校准方法及装置、系统、设备、存储介质是这样实现的:In view of this, the antenna delay calibration method, device, system, device, and storage medium provided by the embodiments of the present application can reduce the requirements on the environment for antenna delay calibration, and reduce the calibration complexity. The antenna delay calibration method and device, system, device, and storage medium provided by the embodiments of the present application are implemented as follows:

本申请实施例提供的天线延迟校准方法,包括:控制参考设备和待校准设备中的至少之一对发射功率进行调整;之后,控制已调整发射功率的设备向另一设备发射无线信号;以及,在所述无线信号的接收功率满足第一校准条件的情况下,根据距离测量值和所述参考设备与所述待校准设备的实际距离,对所述待校准设备的天线延迟进行校准;其中,所述距离测量值是基于所述参考设备与所述待校准设备以当前发射功率进行无线信号交互时无线信号的飞行时间确定的。The antenna delay calibration method provided by the embodiment of the present application includes: controlling at least one of a reference device and a device to be calibrated to adjust transmit power; then, controlling the device whose transmit power has been adjusted to transmit a wireless signal to another device; and, When the received power of the wireless signal satisfies the first calibration condition, the antenna delay of the device to be calibrated is calibrated according to the distance measurement value and the actual distance between the reference device and the device to be calibrated; wherein, The distance measurement value is determined based on the time-of-flight of the wireless signal when the reference device and the device to be calibrated perform wireless signal interaction at the current transmit power.

本申请实施例提供的天线延迟校准装置,包括:控制模块,用于:控制参考设备和待校准设备中的至少之一对发射功率进行调整;之后,控制已调整发射功率的设备向另一设备发射无线信号;校准模块,用于:在所述无线信号的接收功率满足第一校准条件的情况下,根据距离测量值和所述参考设备与所述待校准设备的实际距离,对所述待校准设备的天线延迟进行校准;其中,所述距离测量值是基于所述参考设备与所述待校准设备以当前发射功率进行无线信号交互时无线信号的飞行时间确定的。The antenna delay calibration apparatus provided by the embodiment of the present application includes: a control module, configured to: control at least one of the reference device and the device to be calibrated to adjust the transmit power; then, control the device whose transmit power has been adjusted to another device transmitting a wireless signal; a calibration module configured to: under the condition that the received power of the wireless signal satisfies the first calibration condition, according to the distance measurement value and the actual distance between the reference device and the device to be calibrated The antenna delay of the calibration device is calibrated; wherein, the distance measurement value is determined based on the time of flight of the wireless signal when the reference device and the device to be calibrated perform wireless signal interaction at the current transmit power.

本申请实施例提供的天线延迟校准系统,包括:导轨、参考设备、待校准设备和控制设备;其中,所述导轨上设置有第一固定部件和第二固定部件,所述第一固定部件用于将所述参考设备固定在所述导轨的一端,所述第二固定部件用于将所述待校准设备固定在所述导轨的另一端;所述导轨,用于接收所述控制设备发送的第一控制指令,所述第一控制指令用于指示移动所述第一固定部件和/或所述第二固定部件,以将所述参考设备与所述待校准设备的实际距离调整到指定距离;所述控制设备,用于执行本申请实施例任一所述方法的步骤。The antenna delay calibration system provided by the embodiment of the present application includes: a guide rail, a reference device, a device to be calibrated, and a control device; wherein, the guide rail is provided with a first fixing part and a second fixing part, and the first fixing part is a For fixing the reference device on one end of the guide rail, the second fixing part is used for fixing the device to be calibrated on the other end of the guide rail; the guide rail is used for receiving the data sent by the control device. A first control instruction, the first control instruction is used to instruct to move the first fixed part and/or the second fixed part, so as to adjust the actual distance between the reference device and the device to be calibrated to a specified distance ; the control device is configured to execute the steps of any of the methods described in the embodiments of the present application.

本申请实施例提供的电子设备,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本申请实施例任一所述方法的步骤。The electronic device provided by the embodiments of the present application includes a memory and a processor, where the memory stores a computer program that can be run on the processor, and when the processor executes the program, the processor implements any of the methods described in the embodiments of the present application. step.

本申请实施例提供的计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现本申请实施例任一所述方法的步骤。The computer-readable storage medium provided by the embodiments of the present application stores a computer program thereon, and when the computer program is executed by a processor, implements the steps of any of the methods described in the embodiments of the present application.

在本申请实施例中,在对待校准设备的天线延迟进行校准时,不是直接利用参考设备与待校准设备的初始发射功率发射的无线信号实现的,而是在对待校准设备的天线延迟进行校准之前,先对参考设备和待校准设备中的至少之一的发射功率进行调整,在调整后的发射功率发射的无线信号的接收功率满足第一校准条件的情况下,利用该发射功率发射的无线信号实现天线延迟校准;如此,可以有效降低天线延迟校准对环境的要求,以及降低校准复杂度。In this embodiment of the present application, when calibrating the antenna delay of the device to be calibrated, it is not directly implemented by using the wireless signal transmitted by the reference device and the initial transmit power of the device to be calibrated, but before calibrating the antenna delay of the device to be calibrated , first adjust the transmit power of at least one of the reference device and the device to be calibrated, and when the received power of the wireless signal transmitted by the adjusted transmit power satisfies the first calibration condition, use the transmit power to transmit the wireless signal The antenna delay calibration is implemented; in this way, the environmental requirements for the antenna delay calibration can be effectively reduced, and the calibration complexity can be reduced.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本申请的实施例,并于说明书一起用于说明本申请的技术方案。The accompanying drawings herein are incorporated into and constitute a part of this specification, and these drawings illustrate embodiments consistent with the present application, and together with the description, serve to explain the technical solutions of the present application.

图1A为本申请实施例可能适用的天线延迟校准系统的结构示意图;FIG. 1A is a schematic structural diagram of an antenna delay calibration system that may be applicable to an embodiment of the present application;

图1B为本申请实施例可能适用的另一天线延迟校准系统的结构示意图;FIG. 1B is a schematic structural diagram of another antenna delay calibration system that may be applicable to the embodiments of the present application;

图2为本申请实施例提供的天线延迟校准方法的实现流程示意图;FIG. 2 is a schematic diagram of an implementation flowchart of an antenna delay calibration method provided by an embodiment of the present application;

图3A为本申请实施例提供的另一天线延迟校准方法的实现流程示意图;FIG. 3A is a schematic flowchart of an implementation of another antenna delay calibration method provided by an embodiment of the present application;

图3B为本申请实施例提供的调整发射功率的实现流程示意图;3B is a schematic flowchart of an implementation of adjusting transmit power according to an embodiment of the present application;

图3C为本申请实施例提供的测试第一天线延迟值的实现流程示意图;3C is a schematic flowchart of an implementation of testing a delay value of a first antenna provided by an embodiment of the present application;

图3D为本申请实施例提供的验证待校准设备的当前天线延迟值的实现流程示意图;3D is a schematic flowchart of an implementation of verifying a current antenna delay value of a device to be calibrated according to an embodiment of the present application;

图4A为本申请实施例可能适用的又一天线延迟校准系统的结构示意图;4A is a schematic structural diagram of yet another antenna delay calibration system that may be applicable to the embodiments of the present application;

图4B为本申请实施例的导轨的使用示意图;4B is a schematic diagram of the use of the guide rail according to the embodiment of the application;

图5为本申请实施例提供的又一天线延迟校准方法的实现流程示意图;FIG. 5 is a schematic diagram of an implementation flowchart of another antenna delay calibration method provided by an embodiment of the present application;

图6为本申请实施例提供的另一调整发射功率的实现流程示意图;FIG. 6 is a schematic flowchart of another implementation of adjusting transmit power according to an embodiment of the present application;

图7为本申请实施例提供的TWR和天线延迟校准阶段的实现流程示意图;FIG. 7 is a schematic flowchart of the implementation of the TWR and antenna delay calibration stage provided by the embodiment of the present application;

图8为本申请实施例提供的另一TWR和天线延迟校准阶段的实现流程示意图;FIG. 8 is a schematic flowchart of implementation of another TWR and antenna delay calibration stage provided by an embodiment of the present application;

图9为SS-TWR的原理示意图;Fig. 9 is the principle schematic diagram of SS-TWR;

图10为SDS-TWR的原理示意图;Figure 10 is a schematic diagram of the principle of SDS-TWR;

图11为本申请实施例可能适用的再一天线延迟校准系统的结构示意图;FIG. 11 is a schematic structural diagram of yet another antenna delay calibration system that may be applicable to the embodiments of the present application;

图12为本申请实施例天线延迟校准装置的结构示意图;FIG. 12 is a schematic structural diagram of an antenna delay calibration apparatus according to an embodiment of the present application;

图13为本申请实施例提供的电子设备的结构示意图。FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请的具体技术方案做进一步详细描述。以下实施例用于说明本申请,但不用来限制本申请的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application more clear, the specific technical solutions of the present application will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are used to illustrate the present application, but are not intended to limit the scope of the present application.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.

在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" can be the same or a different subset of all possible embodiments, and Can be combined with each other without conflict.

需要指出,本申请实施例所涉及的术语“第一\第二\第三”用以区别类似或不同的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。It should be pointed out that the term "first\second\third" involved in the embodiments of the present application is used to distinguish similar or different objects, and does not represent a specific ordering of objects. It is understood that "first\second\third" "Three" may be interchanged where permitted in a specific order or sequence, so that the embodiments of the present application described herein can be implemented in sequences other than those illustrated or described herein.

本申请实施例描述的天线延迟校准系统以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定。本领域普通技术人员可知,随着通信技术的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The antenna delay calibration system and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that, with the evolution of communication technologies and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

本申请实施例的技术方案可以适用于对使用UWB、第四代移动通信技术(the 4thgeneration mobile communication system,4G)、第五代移动通信技术(5th-Generationwireless communication technology,5G)新空口(New Radio,NR)技术或未来的通信技术的无线通信模块的天线延迟校准,也可以用于其他各种无线通信技术的无线通信模块的天线延迟校准,所述各种无线通信技术,例如:窄带物联网(Narrow Band-Internet ofThings,NB-IoT)技术、全球移动通讯技术(Global System of Mobilecommunication,GSM)、增强型数据速率GSM演进(Enhanced Data rate for GSM Evolution,EDGE)技术、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)技术、码分多址2000(Code Division Multiple Access,CDMA2000)技术、时分同步码分多址(Time Division-Synchronization Code Division Multiple Access,TD-SCDMA)技术、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)技术、LTE频分双工(Frequency Division Duplex,FDD)技术、LTE时分双工(Time Division Duplex,TDD)或通用移动通信技术(Universal Mobile Telecommunication System,UMTS)等。The technical solutions in the embodiments of this application may be applicable to new radio interfaces (New Radio) using UWB, the 4th generation mobile communication system (4G), and the 5th generation mobile communication technology (5th-Generation wireless communication technology, 5G). , NR) technology or the antenna delay calibration of the wireless communication module of the future communication technology, can also be used for the antenna delay calibration of the wireless communication module of other various wireless communication technologies, such as: Narrowband Internet of Things (Narrow Band-Internet of Things, NB-IoT) technology, Global System of Mobile communication (GSM), Enhanced Data rate for GSM Evolution (Enhanced Data rate for GSM Evolution, EDGE) technology, Wideband Code Division Multiple Access (WCDMA) Wideband Code Division Multiple Access (WCDMA) technology, Code Division Multiple Access (CDMA2000) technology, Time Division-Synchronization Code Division Multiple Access (TD-SCDMA) technology, General Packet Radio Service (General Packet Radio Service, GPRS), Long Term Evolution (Long Term Evolution, LTE) technology, LTE Frequency Division Duplex (Frequency Division Duplex, FDD) technology, LTE Time Division Duplex (Time Division Duplex, TDD) or Universal Mobile Communications Technology (Universal Mobile Telecommunication System, UMTS), etc.

图1A示出了本申请实施例可能适用的天线延迟校准系统,如图1A所示,该系统10至少包括:参考设备101和待校准设备102;其中,待校准设备102可以是任何具有无线通信能力的设备。例如,该待校准设备可以是手持设备(例如智能手机、平板电脑等)、车载设备、可穿戴设备(例如智能手环、智能手表等)、机器人、无人机等。参考设备101为已经精确校准过天线延迟的装置。FIG. 1A shows an antenna delay calibration system to which this embodiment of the present application may be applied. As shown in FIG. 1A , the system 10 at least includes: a reference device 101 and a device to be calibrated 102 ; wherein the device to be calibrated 102 may be any device with wireless communication capable device. For example, the device to be calibrated may be a handheld device (such as a smart phone, a tablet computer, etc.), a vehicle-mounted device, a wearable device (such as a smart bracelet, a smart watch, etc.), a robot, a drone, and the like. Reference device 101 is a device for which the antenna delay has been precisely calibrated.

在一些实施例中,如图1A所示,该系统10还包括导轨103;导轨103上设置有第一固定部件1031和第二固定部件1032,第一固定部件1031用于将参考设备101固定在导轨103的一端,第二固定部件1032用于将待校准设备102固定在导轨103的另一端;导轨103,用于接收控制设备发送的第一控制指令,所述第一控制指令用于指示导轨移动第一固定部件1031和/或第二固定部件1032,以将参考设备101与待校准设备102的实际距离调整到指定距离。In some embodiments, as shown in FIG. 1A , the system 10 further includes a guide rail 103 ; the guide rail 103 is provided with a first fixing part 1031 and a second fixing part 1032 , and the first fixing part 1031 is used to fix the reference device 101 on the One end of the guide rail 103, the second fixing part 1032 is used to fix the device to be calibrated 102 on the other end of the guide rail 103; the guide rail 103 is used to receive the first control command sent by the control device, and the first control command is used to instruct the guide rail Move the first fixing part 1031 and/or the second fixing part 1032 to adjust the actual distance between the reference device 101 and the device to be calibrated 102 to a specified distance.

在一些实施例中,如图1A所示,该系统10还包括控制设备104,该控制设备104,用于控制参考设备101和待校准设备102执行一些程序,以最终实现对待校准设备102的天线延迟的校准。控制设备可以是任何具有无线通信能力的设备。例如,该控制设备的类型与待校准设备相同。在一示例中,待校准设备为计算机设备等。In some embodiments, as shown in FIG. 1A , the system 10 further includes a control device 104 for controlling the reference device 101 and the device to be calibrated 102 to execute some programs, so as to finally realize the antenna of the device to be calibrated 102 Delayed calibration. The control device can be any device capable of wireless communication. For example, the control device is of the same type as the device to be calibrated. In an example, the device to be calibrated is a computer device or the like.

在另一些实施例中,如图1B所示,该系统10也可以不包括控制设备104,控制任务可以由待校准设备负责。换言之,控制设备与待校准设备为同一设备。In other embodiments, as shown in FIG. 1B , the system 10 may not include the control device 104 , and the control task may be undertaken by the device to be calibrated. In other words, the control device and the device to be calibrated are the same device.

需要说明的是,待校准设备的天线延迟的校准既可以由控制设备控制待校准设备和参考设备来完成,也可以由待校准设备控制参考设备配合来完成,还可以由参考设备控制待校准设备来完成。也就是说,在本申请实施例中,对所述天线延迟校准方法的执行主体不做限定。以下以执行主体为控制设备为例,来对所述天线延迟校准方法的实现步骤进行阐述,但这并不能造成对所述天线延迟校准方法的执行主体的限制。It should be noted that the calibration of the antenna delay of the device to be calibrated can be completed by the control device controlling the device to be calibrated and the reference device, or by the device to be calibrated controlling the reference device, or the device to be calibrated can also be controlled by the reference device. To be done. That is to say, in the embodiments of the present application, the execution subject of the antenna delay calibration method is not limited. The implementation steps of the antenna delay calibration method are described below by taking the execution subject as a control device as an example, but this does not limit the execution subject of the antenna delay calibration method.

本申请实施例提供一种天线延迟校准方法,图2为本申请实施例提供的天线延迟校准方法的实现流程示意图,如图2所示,该方法可以包括以下步骤201至步骤203:An embodiment of the present application provides an antenna delay calibration method. FIG. 2 is a schematic flowchart of the implementation of the antenna delay calibration method provided by the embodiment of the present application. As shown in FIG. 2 , the method may include the following steps 201 to 203:

步骤201,控制设备控制参考设备和待校准设备中的至少之一对发射功率进行调整。Step 201, the control device controls at least one of the reference device and the device to be calibrated to adjust the transmit power.

在一些实施例中,控制设备可以控制参考设备和待校准设备均调整发射功率;在另一些实施例中,控制设备还可以仅指示参考设备和待校准设备中的一个设备调整发射功率。In some embodiments, the control device may control both the reference device and the device to be calibrated to adjust the transmit power; in other embodiments, the control device may also instruct only one of the reference device and the device to be calibrated to adjust the transmit power.

在一些实施例中,在执行步骤201之前,控制设备可以先对参考设备和待校准设备的无线通信模块的射频参数进行设置。In some embodiments, before step 201 is performed, the control device may first set radio frequency parameters of the wireless communication modules of the reference device and the device to be calibrated.

步骤202,控制设备控制已调整发射功率的设备向另一设备发射无线信号。Step 202, the control device controls the device whose transmit power has been adjusted to transmit a wireless signal to another device.

在一些实施例中,已调整发射功率的设备均需向另一设备发射无线信号,以便自己自行检查或者由控制设备检查调整后的发射功率是否利于待校准设备的天线延迟校准。例如,检查以调整后的发射功率发射的无线信号的接收功率是否满足第一校准条件,从而确定调整后的发射功率是否利于待校准设备的天线延迟校准。In some embodiments, a device whose transmit power has been adjusted needs to transmit wireless signals to another device, so as to check by itself or by the control device to check whether the adjusted transmit power is conducive to the antenna delay calibration of the device to be calibrated. For example, it is checked whether the received power of the wireless signal transmitted with the adjusted transmit power satisfies the first calibration condition, so as to determine whether the adjusted transmit power is beneficial to the antenna delay calibration of the device to be calibrated.

举例来说,假设参考设备与待校准设备均进行了发射功率的调整,那么,可以这样实现步骤202:控制设备控制参考设备向待校准设备发送第一无线信号,控制设备控制待校准设备在接收到第一无线信号时,计算该第一无线信号的接收功率;控制设备控制待校准设备将第一无线信号的接收功率通过发射的第二无线信号反馈给参考设备;控制设备控制参考设备将接收的第一无线信号的接收功率与校准接收功率进行比较,从而确定该接收功率是否满足第一校准条件,进而确定参考设备的当前发射功率是否利于天线延迟的校准。当然,可以通过上述类似的步骤,确定待校准设备调整后的发射功率发射的无线信号的接收功率是否满足第一校准条件,这里不再赘述。For example, assuming that both the reference device and the device to be calibrated have adjusted the transmit power, step 202 can be implemented as follows: the control device controls the reference device to send the first wireless signal to the device to be calibrated, and the control device controls the device to be calibrated to receive When the first wireless signal is reached, the received power of the first wireless signal is calculated; the control device controls the device to be calibrated to feed back the received power of the first wireless signal to the reference device through the transmitted second wireless signal; the control device controls the reference device to receive The received power of the first wireless signal is compared with the calibrated received power, so as to determine whether the received power satisfies the first calibration condition, and then to determine whether the current transmit power of the reference device is conducive to the calibration of the antenna delay. Certainly, it is possible to determine whether the received power of the wireless signal transmitted by the adjusted transmit power of the device to be calibrated satisfies the first calibration condition through steps similar to the above, which will not be repeated here.

在一些实施例中,控制设备也可以控制待校准设备先向参考设备发送无线信号。也就是说,对于待校准设备先向参考设备发送无线信号,还是参考设备先向待校准设备发送无线信号,对此不做限制。In some embodiments, the control device may also control the device to be calibrated to first send a wireless signal to the reference device. That is to say, there is no limitation on whether the device to be calibrated first sends a wireless signal to the reference device, or whether the reference device sends a wireless signal to the device to be calibrated first.

步骤203,控制设备在所述无线信号的接收功率满足第一校准条件的情况下,根据距离测量值和所述参考设备与所述待校准设备的实际距离,对所述待校准设备的天线延迟进行校准;Step 203, when the received power of the wireless signal meets the first calibration condition, the control device delays the antenna of the device to be calibrated according to the distance measurement value and the actual distance between the reference device and the device to be calibrated. to calibrate;

其中,所述距离测量值是基于所述参考设备与所述待校准设备以当前发射功率进行无线信号交互时无线信号的飞行时间确定的。The distance measurement value is determined based on the time-of-flight of the wireless signal when the reference device and the device to be calibrated perform wireless signal interaction at the current transmit power.

在一些实施例中,控制设备可以通过如下实施例的步骤306至步骤308实现对待校准设备的天线延迟的校准;在此基础上,在另一些实施例中,控制设备还可以通过如下实施的步骤309至步骤313实现对待校准设备的天线延迟的进一步的校准。In some embodiments, the control device may perform the calibration of the antenna delay of the device to be calibrated through steps 306 to 308 in the following embodiments; on this basis, in other embodiments, the control device may also perform the following steps 309 to step 313 carry out further calibration of the antenna delay of the device to be calibrated.

在执行上述所有步骤之前,控制设备可以根据待校准设备的实际机型获取预设的校准距离,然后根据该校准距离控制导轨将参考设备和待校准设备的实际距离调整至该预设的校准距离;其中,校准距离是指校准时要求的待校准设备与参考设备之间的实际距离。Before performing all the above steps, the control device can obtain a preset calibration distance according to the actual model of the device to be calibrated, and then control the guide rail according to the calibration distance to adjust the actual distance between the reference device and the device to be calibrated to the preset calibration distance ; Among them, the calibration distance refers to the actual distance between the device to be calibrated and the reference device required during calibration.

距离测量值可以由无线信号的发起者确定,还可以由控制设备确定。在由无线信号的发起者确定时,确定该距离测量值之后,需要将这些距离测量值发送给控制设备。The distance measurement can be determined by the originator of the wireless signal and also by the control device. When determined by the originator of the wireless signal, after the distance measurements are determined, these distance measurements need to be sent to the control device.

需要说明的是,在本申请实施例中,控制设备控制参考设备和待校准设备的方式可以是多种多样的。在一些实施例中,控制设备可以预先将一些控制程序导入至参考设备和待校准设备中,从而使得参考设备和待校准设备根据预先导入的控制程序执行发射功率的调整、以及以调整后的发射功率发射无线信号等任务即可。在另一些实施例中,控制设备还可以实时向参考设备和待校准设备发送控制指令,控制接收控制指令的设备完成相应的任务。比如,控制设备向参考设备发送用于控制调整发射功率的控制指令,参考设备在响应该指令之后,向控制设备反馈已完成发射功率的调整,此时控制设备向该参考设备发送用于指示向待校准设备发射无线信号的指令。It should be noted that, in the embodiments of the present application, the control device may control the reference device and the device to be calibrated in various manners. In some embodiments, the control device may import some control programs into the reference device and the device to be calibrated in advance, so that the reference device and the device to be calibrated perform transmission power adjustment according to the pre-imported control program, and use the adjusted transmission Power to transmit wireless signals and other tasks can be. In other embodiments, the control device may also send control instructions to the reference device and the device to be calibrated in real time, and control the device receiving the control instructions to complete corresponding tasks. For example, the control device sends a control command for controlling and adjusting the transmit power to the reference device, and after the reference device responds to the command, it feeds back to the control device that the adjustment of the transmit power has been completed. A command for the device to be calibrated to transmit a wireless signal.

在本申请实施例中,在对待校准设备的天线延迟进行校准时,不是直接利用参考设备与待校准设备的初始发射功率发射的无线信号实现的,而是在对待校准设备的天线延迟进行校准之前,先对参考设备和待校准设备中的至少之一的发射功率进行调整,在调整后的发射功率发射的无线信号的接收功率满足第一校准条件的情况下,基于该发射功率发射的无线信号实现天线延迟校准;如此,可以有效降低天线延迟校准对环境的要求,以及降低校准复杂度。In this embodiment of the present application, when calibrating the antenna delay of the device to be calibrated, it is not directly implemented by using the wireless signal transmitted by the reference device and the initial transmit power of the device to be calibrated, but before calibrating the antenna delay of the device to be calibrated , firstly adjust the transmit power of at least one of the reference device and the device to be calibrated, and if the receive power of the wireless signal transmitted by the adjusted transmit power satisfies the first calibration condition, the wireless signal transmitted based on the transmit power The antenna delay calibration is implemented; in this way, the environmental requirements for the antenna delay calibration can be effectively reduced, and the calibration complexity can be reduced.

这是因为,发明人在研究的过程中发现:UWB的建议校准距离如下表1所示,对不同信道(channel),不同的PRF,建议的校准距离不同,可以看到有5米的,也有十几米的。这样,无疑就提高了对环境的要求,也提高了校准复杂度。而这种表1所示的校准距离的建议来源于“UWB测距精度也受到测试距离的影响”,专业术语叫Ranging Bias。而UWB通信模块接收到的信号强度指示(Received Signal Strength Indication,RSSI)正是Ranging Bias的主要来源。因此,可以用调整校准过程中的RSSI(即换算后的接收功率)达到合适的值来模拟不同的校准距离的效果,从而降低天线延迟校准对环境的要求,进而降低校准复杂度。This is because the inventor found in the process of research: the recommended calibration distance of UWB is shown in Table 1 below. For different channels and different PRFs, the recommended calibration distances are different. It can be seen that there are 5 meters and some ten meters. In this way, the requirements for the environment are undoubtedly increased, and the calibration complexity is also increased. The recommendation for the calibration distance shown in Table 1 comes from "UWB ranging accuracy is also affected by the test distance", the professional term is Ranging Bias. The signal strength indication (Received Signal Strength Indication, RSSI) received by the UWB communication module is the main source of Ranging Bias. Therefore, the effect of different calibration distances can be simulated by adjusting the RSSI (that is, the converted received power) in the calibration process to achieve an appropriate value, thereby reducing the environmental requirements for antenna delay calibration, thereby reducing the calibration complexity.

表1Table 1

Figure BDA0002780095160000051
Figure BDA0002780095160000051

本申请实施例再提供一种天线延迟校准方法,图3A为本申请实施例提供的天线延迟校准方法的实现流程示意图,如图3A所示,该方法可以包括以下步骤301至步骤308:An embodiment of the present application further provides an antenna delay calibration method. FIG. 3A is a schematic flowchart of the implementation of the antenna delay calibration method provided by the embodiment of the present application. As shown in FIG. 3A , the method may include the following steps 301 to 308:

步骤301,控制设备控制参考设备和待校准设备开启各自的无线通信模块。Step 301, the control device controls the reference device and the device to be calibrated to enable their respective wireless communication modules.

对于无线通信模块的类型不做限定,无线通信模块可以是UWB、4G、5G、NB-IoT、GSM、WCDMA、CDMA2000、TD-SCDMA、GPRS、LTE、FDD、TDD、UMTS或蓝牙等通信模块。The type of wireless communication module is not limited, and the wireless communication module can be a communication module such as UWB, 4G, 5G, NB-IoT, GSM, WCDMA, CDMA2000, TD-SCDMA, GPRS, LTE, FDD, TDD, UMTS or Bluetooth.

步骤302,控制设备控制每一所述无线通信模块重复发射无线信号特定时间,以使无线通信模块的电路状态达到稳定状态,然后进入步骤303。Step 302 , the control device controls each of the wireless communication modules to repeatedly transmit wireless signals for a specific time, so that the circuit state of the wireless communication module reaches a stable state, and then proceeds to step 303 .

对于特定时间的具体时长可以是任意时长,对此在本申请中不做限定。特定时长可以是毫秒级的,也可以是秒级的。例如,特定时长为1秒、2秒、3秒或5秒等。The specific duration of the specific time may be any duration, which is not limited in this application. The specified duration can be on the order of milliseconds or seconds. For example, the specific duration is 1 second, 2 seconds, 3 seconds, or 5 seconds, etc.

可以理解地,在对待校准设备的天线延迟进行校准之前,先开启参考设备和待校准设备的无线通信模块,让其重复发射无线信号一段时间,其目的是使得这两个设备的无线通信模块的电路状态均达到稳定状态,从而使得最终的校准结果更准确。Understandably, before calibrating the antenna delay of the device to be calibrated, first turn on the wireless communication modules of the reference device and the device to be calibrated, and let them repeatedly transmit wireless signals for a period of time. The circuit states all reach a stable state, which makes the final calibration result more accurate.

步骤303,控制设备控制参考设备和待校准设备对各自的发射功率进行调整。Step 303, the control device controls the reference device and the device to be calibrated to adjust their respective transmit powers.

可以理解地,在本申请实施例中,参考设备和待校准设备均需调整发射功率。如此,相比于仅调整一个设备的发射功率,能够进一步降低天线延迟校准对环境的要求,以及天线延迟的校准复杂度。It is understandable that in this embodiment of the present application, both the reference device and the device to be calibrated need to adjust the transmit power. In this way, compared to adjusting the transmit power of only one device, the requirements on the environment for antenna delay calibration and the complexity of antenna delay calibration can be further reduced.

在一些实施例中,以控制设备控制参考设备对发射功率进行调整为例,如图3B所示,可以包括以下步骤3031至步骤3034:步骤3031,控制参考设备向待校准设备发送第一数据包;步骤3032,控制待校准设备将第一数据包的接收功率写入第二数据包;步骤3033,控制待校准设备将第二数据包发送给参考设备,以向参考设备反馈所述第一数据包的接收功率;步骤3034,控制参考设备通过将校准接收功率与所述第一数据包的接收功率进行比较,以将所述一设备的发射功率调整至目标发射功率。In some embodiments, taking the control device controlling the reference device to adjust the transmit power as an example, as shown in FIG. 3B , the following steps 3031 to 3034 may be included: Step 3031 , controlling the reference device to send the first data packet to the device to be calibrated ; Step 3032, control the device to be calibrated to write the received power of the first data packet into the second data packet; Step 3033, control the device to be calibrated to send the second data packet to the reference device to feed back the first data to the reference device The received power of the packet; Step 3034, the control reference device adjusts the transmit power of the one device to the target transmit power by comparing the calibrated receive power with the receive power of the first data packet.

需要说明的是,图3B所示的发射功率调整流程,同样适用于待校准设备。举例来说,所述控制设备控制参考设备和待校准设备对各自的发射功率进行调整,如图3B所示,除了包括上述步骤3031至步骤3034外,还包括步骤3035至步骤3037:步骤3035,控制参考设备将第二数据包的接收功率写入第三数据包;步骤3036,控制参考设备将第三数据包发送给待校准设备;步骤3037,控制待校准设备通过将校准接收功率与所述第二数据包的接收功率进行比较,以将待校准设备的发射功率调整至目标发射功率。It should be noted that the transmission power adjustment process shown in FIG. 3B is also applicable to the device to be calibrated. For example, the control device controls the reference device and the device to be calibrated to adjust their respective transmit powers. As shown in FIG. 3B, in addition to the above steps 3031 to 3034, it also includes steps 3035 to 3037: step 3035, Control the reference device to write the received power of the second data packet into the third data packet; step 3036, control the reference device to send the third data packet to the device to be calibrated; step 3037, control the device to be calibrated by comparing the received power for calibration with the described The received power of the second data packet is compared to adjust the transmit power of the device to be calibrated to the target transmit power.

需要说明的是,图3B所示的发射功率的调整流程仅是一种示例。在一些实施例中,还可以控制待校准设备先向参考设备发送数据包。It should be noted that the adjustment process of the transmit power shown in FIG. 3B is only an example. In some embodiments, the device to be calibrated can also be controlled to send data packets to the reference device first.

步骤304,控制设备控制已调整发射功率的设备向另一设备发射无线信号;Step 304, the control device controls the device whose transmit power has been adjusted to transmit a wireless signal to another device;

步骤305,控制设备确定所述无线信号的接收功率与校准接收功率之间的差值是否在预设范围内;如果是,执行步骤306;否则,返回执行步骤303;Step 305, the control device determines whether the difference between the received power of the wireless signal and the calibrated received power is within a preset range; if so, go to Step 306; otherwise, return to Step 303;

校准接收功率通常为满足校准精度要求的值。工程人员可以预先将该值配置在控制设备中。The calibration received power is usually a value that meets the calibration accuracy requirements. Engineers can pre-configure this value in the control device.

可以理解地,如果无线信号的接收功率与校准接收功率之间的差值不在预设范围内,说明该接收功率不满足第一校准条件,此时需要再次调整发射该无线信号的设备的发射功率,直至该设备以当前发射功率发射的无线信号的接收功率满足第一校准条件为止。Understandably, if the difference between the received power of the wireless signal and the calibrated received power is not within the preset range, it means that the received power does not meet the first calibration condition, and the transmit power of the device that transmits the wireless signal needs to be adjusted again. , until the received power of the wireless signal transmitted by the device with the current transmit power satisfies the first calibration condition.

需要说明的是,在返回执行步骤303时,控制设备只需控制无线信号的接收功率不满足第一校准条件的设备进行发射功率的调整即可。举例来说,假设调整发射功率后的参考设备发射无线信号时该无线信号的接收功率满足第一校准条件,而调整发射功率后的待校准设备发射无线信号时该无线信号的接收功率不满足第一校准条件,此时只需控制待校准设备进行发射功率的调整即可。It should be noted that, when returning to step 303, the control device only needs to control the device whose received power of the wireless signal does not meet the first calibration condition to adjust the transmit power. For example, it is assumed that the received power of the wireless signal satisfies the first calibration condition when the reference device after adjusting the transmit power transmits the wireless signal, and the received power of the wireless signal does not satisfy the first calibration condition when the device to be calibrated after adjusting the transmit power transmits the wireless signal. A calibration condition, at this time, it is only necessary to control the device to be calibrated to adjust the transmit power.

可以理解地,如果无线信号的接收功率与校准接收功率的差值在预设范围内,可以确定该接收功率是满足第一校准条件的,此时执行步骤306。需要说明的是,在该实施例中,即对天线延迟校准之前均需调整参考设备和待校准设备的发射功率的情况下,执行步骤306的前提是这两个设备以当前发射功率发射的无线信号的接收功率均满足第一校准条件。Understandably, if the difference between the received power of the wireless signal and the calibrated received power is within a preset range, it can be determined that the received power satisfies the first calibration condition, and step 306 is performed at this time. It should be noted that, in this embodiment, in the case that the transmit power of the reference device and the device to be calibrated both need to be adjusted before the antenna delay calibration, the premise of performing step 306 is that the two devices transmit the wireless The received powers of the signals all meet the first calibration condition.

当然,两个设备对应的第一校准条件可以相同,也可以不同。对应的预设范围可以相同,也可以不同。在本申请实施例中对此不做限制。Of course, the first calibration conditions corresponding to the two devices may be the same or different. The corresponding preset ranges may be the same or different. This is not limited in the embodiments of the present application.

步骤306,获取N个距离测量值,所述N个距离测量值是根据所述参考设备与所述待校准设备以当前发射功率进行N次无线信号交互时无线信号的飞行时间确定的;其中,N为大于1的整数。Step 306: Obtain N distance measurement values, and the N distance measurement values are determined according to the flight time of the wireless signal when the reference device and the device to be calibrated perform N wireless signal interactions with the current transmission power; wherein, N is an integer greater than 1.

也就是,距离测量值可以是基于飞行时间进行测距得到的。测距方式可以是多种多样的,测距方式可以是任意基于飞行时间的算法。例如可以是双向测距(Two-Way-Ranging,TWR)中的单侧双向测距(SS-TWR)法,还可以是双向测距(Two-Way-Ranging,TWR)中的单次双侧双向测距(SDS-TWR)法。That is, the distance measurements may be obtained by ranging based on time of flight. The ranging method can be various, and the ranging method can be any algorithm based on flight time. For example, it can be a single-sided two-way ranging (SS-TWR) method in two-way ranging (Two-Way-Ranging, TWR), or it can be a single-shot bilateral ranging (Two-Way-Ranging, TWR) method. Two-way ranging (SDS-TWR) method.

对于距离测量值的计算,可以由控制设备计算,也可以由每一次首先发射无线信号的设备计算。For the calculation of the distance measurement value, it can be calculated by the control device or by the device that first transmits the wireless signal each time.

在本申请中,对于N的值不做限制,N可以任意值,当然也可以是1。但是,为了使得最终计算得到的第一天线延迟值更准确,在本申请实施例中,可以对待校准设备与参考设备之间的距离进行多次测量,例如进行10次或20次等;如此,使得最终获得的第一天线延迟值更为准确,从而提高天线延迟的校准精度,进而提高测距精度。In this application, the value of N is not limited, and N can be any value, and certainly can be 1. However, in order to make the final calculated first antenna delay value more accurate, in this embodiment of the present application, the distance between the device to be calibrated and the reference device may be measured multiple times, for example, 10 times or 20 times, etc.; thus, The finally obtained first antenna delay value is more accurate, thereby improving the calibration accuracy of the antenna delay, thereby improving the ranging accuracy.

步骤307,根据所述N个距离测量值和所述实际距离,确定所述待校准设备的第一天线延迟值。Step 307: Determine a first antenna delay value of the device to be calibrated according to the N distance measurement values and the actual distance.

确定第一天线延迟值的方式可以是多种多样的。在一些实施例中,可以先确定每一距离测量值与所述实际距离之间的差值;然后,在基于差值的均值,确定第一天线延迟值。在另一些实施例中,还可以先确定每一距离测量值与所述实际距离之间的比值;然后,基于比值的均值,确定第一天线延迟值。The manner of determining the first antenna delay value can be varied. In some embodiments, the difference between each distance measurement and the actual distance may be determined first; then, based on the average of the differences, a first antenna delay value is determined. In other embodiments, the ratio between each distance measurement value and the actual distance may be determined first; then, the first antenna delay value is determined based on the average value of the ratios.

步骤308,将所述第一天线延迟值载入所述待校准设备中,以用于校准所述待校准设备的天线延迟。Step 308: Load the first antenna delay value into the device to be calibrated for calibrating the antenna delay of the device to be calibrated.

可以理解地,将第一天线延迟值载入待校准设备中之后,待校准设备在后续进行测距时,可以在测量得到的无线信号的飞行时间之后,根据该飞行时间测量值与第一天线延迟值的差值以及无线信号的飞行速度,计算无线信号的单向飞行距离,从而实现高精度测距。It can be understood that after the first antenna delay value is loaded into the device to be calibrated, when the device to be calibrated performs distance measurement subsequently, after measuring the time of flight of the wireless signal obtained, the measured value of the time of flight can be compared with the first antenna. The difference between the delay values and the flight speed of the wireless signal calculates the one-way flight distance of the wireless signal, so as to achieve high-precision ranging.

实际上,即使通过上述步骤306至步骤308得到了第一天线延迟值,该值可能依然不能够满足测距精度的要求,尤其是基于UWB的测距技术,天线延迟值稍有偏差,就会导致厘米级甚至分米级的测距误差。有鉴于此,为了进一步提高待校准设备的天线延迟精度,从而进一步提高待校准设备的测距精度,在一些实施例中,如图3C所示,所述方法还包括步骤309至步骤313:In fact, even if the first antenna delay value is obtained through the above steps 306 to 308, the value may still not meet the requirements of ranging accuracy, especially for the UWB-based ranging technology, the antenna delay value is slightly deviated, and the This results in centimeter-level or even decimeter-level ranging errors. In view of this, in order to further improve the antenna delay accuracy of the device to be calibrated, thereby further improving the ranging accuracy of the device to be calibrated, in some embodiments, as shown in FIG. 3C , the method further includes steps 309 to 313:

步骤309,控制所述待校准设备根据所述第一天线延迟值,测量M次与所述参考设备之间的距离,得到M个距离测量值;其中,M为大于0的整数。Step 309: Control the device to be calibrated to measure the distance between the device to be calibrated and the reference device M times according to the first antenna delay value, and obtain M distance measurement values; where M is an integer greater than 0.

这里M也可以是预设的任意值。M可以大于N,也可以小于或等于N。例如,N为10,M为20,当然也不限于此,工程人员可以根据实际工程指标要求来设置。Here M can also be a preset arbitrary value. M can be greater than N, or less than or equal to N. For example, N is 10, M is 20, of course, it is not limited to this, and engineers can set it according to the actual engineering index requirements.

在一些实施例中,控制设备可以这样实现步骤309:控制所述参考设备与所述待校准设备以当前发射功率进行M次无线信号交互;控制所述待校准设备根据所述第一天线延迟值和所述M次无线信号交互的每次交互的无线信号的飞行时间,确定对应的距离测量值。如上文所述,对于测距方法不做限定,可以是SS-TWR或SDS-TWR等。In some embodiments, the control device may implement step 309 as follows: control the reference device and the device to be calibrated to perform M times of wireless signal interaction with the current transmit power; control the device to be calibrated according to the first antenna delay value A corresponding distance measurement value is determined based on the time of flight of the wireless signal for each interaction with the M times of wireless signal interaction. As mentioned above, the ranging method is not limited, and may be SS-TWR, SDS-TWR, or the like.

步骤310,控制所述待校准设备根据所述实际距离和所述M个距离测量值,确定所述第一天线延迟值是否满足第二校准条件;如果不满足,则执行步骤311;如果满足,则结束。Step 310: Control the device to be calibrated to determine whether the first antenna delay value satisfies the second calibration condition according to the actual distance and the M distance measurement values; if not, perform step 311; if so, then ends.

对于M等于1和大于1,对应的第二校准条件是不同的。在一些实施例中,对于M等于1的情况,如果该距离测量值与实际距离的差值小于特定阈值,则确定第一天线延迟值满足第二校准条件;反之,则不满足。在另一些实施例中,对于M大于1的情况,如果M个距离测量值中与实际距离的差值小于特定阈值的数目大于特定数目,则确定第一天线延迟值满足第二校准条件;反之,则不满足。例如,M为20,即在这20个距离测量值中,有15个测量值与实际距离的差值小于特定阈值,则确定第一天线延迟值满足第二校准条件;反之,则不满足。For M equal to 1 and greater than 1, the corresponding second calibration conditions are different. In some embodiments, for the case where M is equal to 1, if the difference between the distance measurement value and the actual distance is less than a certain threshold, it is determined that the first antenna delay value satisfies the second calibration condition; otherwise, it does not. In other embodiments, for the case where M is greater than 1, if the number of the M distance measurement values whose differences from the actual distance are less than a specific threshold is greater than a specific number, it is determined that the first antenna delay value satisfies the second calibration condition; otherwise , is not satisfied. For example, if M is 20, that is, among the 20 distance measurement values, if the difference between 15 measurement values and the actual distance is smaller than a certain threshold, it is determined that the first antenna delay value satisfies the second calibration condition; otherwise, it is not satisfied.

在又一些实施例中,对于M大于1的情况,如果M个距离测量值与实际距离的差值的均值小于特定阈值,则确定第一天线延迟值满足第二校准条件;反之,则不满足。In still other embodiments, for the case where M is greater than 1, if the mean value of the difference between the M distance measurement values and the actual distance is less than a certain threshold, it is determined that the first antenna delay value satisfies the second calibration condition; otherwise, it is not satisfied .

当然,基于M个距离测量值分别与实际距离的比值,亦能确定第一天线延迟值是否满足第二校准条件。Of course, it can also be determined whether the first antenna delay value satisfies the second calibration condition based on the ratios of the M distance measurement values to the actual distance respectively.

步骤311,控制所述待校准设备在所述第一天线延迟值不满足所述第二校准条件的情况下,调整所述第一天线延迟值至第二天线延迟值。Step 311: Control the device to be calibrated to adjust the first antenna delay value to the second antenna delay value when the first antenna delay value does not meet the second calibration condition.

在一些实施例中,可以控制待校准设备按照预设的步长调整第一天线延迟值至第二天线延迟值。In some embodiments, the device to be calibrated may be controlled to adjust the first antenna delay value to the second antenna delay value according to a preset step size.

步骤312,控制所述待校准设备确定所述第二天线延迟值是否满足所述第二校准条件;如果是,则结束;否则,执行步骤313;Step 312, control the device to be calibrated to determine whether the second antenna delay value satisfies the second calibration condition; if so, end; otherwise, go to step 313;

步骤313,控制所述待校准设备调整所述第二天线延迟值,直至当前调整后的天线延迟值满足所述第二校准条件为止。Step 313: Control the device to be calibrated to adjust the second antenna delay value until the currently adjusted antenna delay value satisfies the second calibration condition.

为了进一步提高天线延迟校准结果的可靠性和稳定性,在一些实施例中,如图3D所示,所述方法还包括以下步骤314至步骤316:In order to further improve the reliability and stability of the antenna delay calibration result, in some embodiments, as shown in FIG. 3D , the method further includes the following steps 314 to 316:

步骤314,控制所述待校准设备根据所述当前调整后的天线延迟值,测量X次与所述参考设备之间的距离,得到X个距离测量值;其中,X为大于1的整数;Step 314, controlling the device to be calibrated to measure the distance between X times and the reference device according to the currently adjusted antenna delay value, to obtain X distance measurement values; where X is an integer greater than 1;

步骤315,控制所述待校准设备根据所述实际距离和所述X个距离测量值,确定所述当前调整后的天线延迟值是否满足所述第二校准条件;如果满足,结束;否则,执行步骤316;Step 315: Control the device to be calibrated to determine whether the currently adjusted antenna delay value satisfies the second calibration condition according to the actual distance and the X distance measurement values; if so, end; otherwise, execute Step 316;

步骤316,报错并输出所述X个距离测量值。Step 316, report an error and output the X distance measurement values.

可以理解地,即使最终调整后的天线延迟值满足了第二校准条件,还需要再次对其进行测试和验证;在通过步骤314和步骤315得到确定结果为当前调整后的天线延迟值不满足所述第二校准条件时,则报错并输出测试数据,即输出这X个距离测量值;如此,能够及时提示工程人员之前满足第二校准条件的天线延迟值又不满足第二校准条件了,即之前的计算结果并不可靠,并为工程人员提供测试数据以供其分析原因。It is understandable that even if the finally adjusted antenna delay value satisfies the second calibration condition, it needs to be tested and verified again; after the determination result obtained through steps 314 and 315 is that the currently adjusted antenna delay value does not meet the requirements. When the second calibration condition is described, an error is reported and the test data is output, that is, the X distance measurement values are output; in this way, the engineer can be promptly reminded that the antenna delay value that satisfies the second calibration condition before does not meet the second calibration condition, that is, The previous calculations were unreliable and provided engineers with test data to analyze why.

需要说明的是,在本申请实施例中,控制设备可以在执行步骤306至步骤308之后,执行步骤314至步骤316;在一些实施例中,控制设备还可以在执行步骤309至步骤313之后,执行步骤314至步骤316。It should be noted that, in this embodiment of the present application, the control device may perform steps 314 to 316 after performing steps 306 to 308; in some embodiments, the control device may also perform steps 309 to 313 Steps 314 to 316 are performed.

还需要说明的是,在一些实施例中,也可以由待校准设备替代控制设备的工作,控制设备执行的上述控制任务直接由待校准设备负责。It should also be noted that, in some embodiments, the work of the control device may also be replaced by the device to be calibrated, and the above-mentioned control tasks performed by the control device are directly responsible for the device to be calibrated.

对于不同设计的UWB装置(即待校准设备的一种示例),天线延迟必然不同,对于相同设计的每一台UWB装置,天线延迟也会有所差异,而这种差异可能大于UWB厘米级的定位精度。因此,UWB装置的天线延迟校准对于高精度的UWB测距是非常重要的。Antenna delays are necessarily different for different designs of UWB devices (i.e., an example of a device to be calibrated), and for each UWB device of the same design, which may vary more than the centimeter-scale UWB positioning accuracy. Therefore, antenna delay calibration of UWB devices is very important for high-precision UWB ranging.

基于此,下面将说明本申请实施例在一个实际的应用场景中的示例性应用。Based on this, an exemplary application of the embodiments of the present application in a practical application scenario will be described below.

本申请实施例先提供一种UWB装置的天线延迟校准系统,如图4A所示,该系统40至少包括金机401(Golden Device,也可称为参考机,即参考设备)、待测装置402(Deviceunder Test,DUT,即待校准设备)和个人计算机(Personal Computer,PC)类型的控制机403(即控制设备的一种示例)。An embodiment of the present application first provides an antenna delay calibration system for a UWB device. As shown in FIG. 4A , the system 40 at least includes a golden device 401 (Golden Device, also referred to as a reference device, that is, a reference device), a device to be tested 402 (Device under Test, DUT, that is, a device to be calibrated) and a personal computer (Personal Computer, PC) type control machine 403 (that is, an example of a control device).

金机401和待测装置402均配置了UWB通信模块。该UWB通信模块为支持IEEE802.15.4的UWB协议的射频收发器(Transceiver),该通信模块支持TWR(two-wayRanging)测距。该UWB通信模块,比如,可以为Decawave的DW1000芯片和DW3000芯片或NXP的SR100T芯片等。Both the gold machine 401 and the device under test 402 are configured with a UWB communication module. The UWB communication module is a radio frequency transceiver (Transceiver) supporting the UWB protocol of IEEE802.15.4, and the communication module supports TWR (two-way Ranging) ranging. The UWB communication module, for example, can be the DW1000 chip and DW3000 chip of Decawave or the SR100T chip of NXP.

该待测装置402即为待校准装置,也即待校准设备。The device to be tested 402 is the device to be calibrated, that is, the device to be calibrated.

金机401是已经精确校准过天线延迟的装置。The golden machine 401 is a device that has precisely calibrated the antenna delay.

如图4A所示,金机401和待测装置402通过通信数据线与PC控制机403相连接。所述PC控制机403可以给金机401和待测装置402下发指令和读取数据。As shown in FIG. 4A , the gold machine 401 and the device under test 402 are connected to the PC control machine 403 through a communication data line. The PC control machine 403 can issue instructions and read data to the gold machine 401 and the device under test 402 .

如图4B所示,金机401和待测装置402分别安装在两个夹具404上,两个夹具404设置在导轨405上。两夹具404的距离受PC控制机403的控制;其中,夹具404即为固定部件的一种示例。As shown in FIG. 4B , the gold machine 401 and the device to be tested 402 are respectively installed on two fixtures 404 , and the two fixtures 404 are arranged on the guide rails 405 . The distance between the two clamps 404 is controlled by the PC controller 403; wherein the clamp 404 is an example of a fixed component.

可以将金机401、待测装置402、导轨405和夹具404均设置在微波暗室内,如此可以减少复杂的电磁反射和多径链路对天线延迟的校准精度的影响。The gold machine 401 , the device to be tested 402 , the guide rail 405 and the fixture 404 can all be set in the microwave anechoic chamber, which can reduce the influence of complex electromagnetic reflection and multipath links on the calibration accuracy of the antenna delay.

本申请实施例提供一种UWB装置的天线延迟校准系统流程,该系统流程如图5所示,可以包括如下步骤1至步骤5:An embodiment of the present application provides an antenna delay calibration system flow of a UWB device. The system flow is shown in FIG. 5 , and may include the following steps 1 to 5:

步骤1,PC控制机设置参数。Step 1, PC control machine to set parameters.

步骤2,预热阶段。预热阶段的作用是使金机401和待测装置402的电路状态达到稳定的状态。Step 2, the preheating stage. The function of the preheating stage is to make the circuit states of the gold machine 401 and the device under test 402 reach a stable state.

步骤3,发射功率调整阶段。该步骤的目的是使金机401和待测装置402进行TWR测距时,RSSI(或者称接收信号强度RSL:Recived Sighal Level)在一个预设范围。Step 3, the transmission power adjustment stage. The purpose of this step is to make the RSSI (or RSL: Received Sighal Level) within a preset range when the gold machine 401 and the device under test 402 perform TWR ranging.

步骤4,TWR和天线延迟(Antenna Delay)校准阶段。完成该阶段后,待测装置402的天线延迟将完成计算。Step 4, TWR and antenna delay (Antenna Delay) calibration stage. After this stage is completed, the antenna delay of the device under test 402 will be calculated.

步骤5,验证天线延迟校准值阶段。该步骤的目的是验证步骤4校准的待测装置402的天线延迟是否满足测距精度要求。Step 5, verify the antenna delay calibration value stage. The purpose of this step is to verify whether the antenna delay of the device under test 402 calibrated in step 4 meets the ranging accuracy requirement.

对于所述步骤1,在一些实施例中:For the step 1, in some embodiments:

1,PC控制机403控制金机401和待测装置402的实际距离在合适的距离值D0。1. The PC control machine 403 controls the actual distance between the gold machine 401 and the device under test 402 to be at an appropriate distance value D0.

2,PC控制机下发对金机401和待测装置402的参数配置,包括:2. The PC control machine sends the parameter configuration of the gold machine 401 and the device to be tested 402, including:

a)UWB通信的射频参数,包括:信道、PRF、数据速率(Data Rate)、前导码(Preamblecode)以及前导码码长(Preamble Length)等。需要说明的是,金机401和待测装置402配置相同的上述UWB参数,才可以完成无线收发通信。a) Radio frequency parameters of UWB communication, including: channel, PRF, data rate (Data Rate), preamble code (Preamblecode), and preamble code length (Preamble Length), etc. It should be noted that, only when the gold machine 401 and the device under test 402 are configured with the same UWB parameters mentioned above, can wireless transceiver communication be completed.

b)校准流程和执行程序,以及校准相关参数,包括:校准接收功率参考值,校准目标距离值D0(即实际距离)和校准精度±k cm(比如±5cm)。b) Calibration process and execution procedures, as well as calibration related parameters, including: calibration received power reference value, calibration target distance value D0 (ie actual distance) and calibration accuracy ±k cm (eg ±5cm).

对于所述步骤2,在一些实施例中:金机401和待测装置402开启UWB通信模块,执行以预设的发射功率,重复发射UWB信号。执行n秒后结束(比如5秒)。For the step 2, in some embodiments, the gold machine 401 and the device under test 402 turn on the UWB communication module, and execute the repeated transmission of the UWB signal with the preset transmission power. End after n seconds of execution (eg 5 seconds).

对于所述步骤3,在一些实施例中,如图6所示:For the step 3, in some embodiments, as shown in Figure 6:

1)金机401和待测装置402分别设置初始发射功率。1) The gold machine 401 and the device under test 402 respectively set the initial transmit power.

2)金机401向待测装置402发送数据包A。2) The golden machine 401 sends the data packet A to the device under test 402 .

3)待测装置402接收到数据包A后,获取UWB通信模块计算的RSSI_1。3) After receiving the data packet A, the device under test 402 obtains the RSSI_1 calculated by the UWB communication module.

4)待测装置402将所述的RSSI_1写入数据包B中,向金机401发送数据包B。4) The device under test 402 writes the RSSI_1 into the data packet B, and sends the data packet B to the gold machine 401 .

5)金机401接收到数据包B后,获取UWB通信模块计算的RSSI_2。将所述的RSSI_2写入数据包A中。5) After receiving the data packet B, the gold machine 401 obtains the RSSI_2 calculated by the UWB communication module. Write the RSSI_2 into data packet A.

6)金机401获取数据包B中的RSSI_1,根据RSSI_1与校准接收功率参考值比对,调整自身发射功率至合适的值。向待测装置402发送数据包A。6) The golden machine 401 obtains the RSSI_1 in the data packet B, and adjusts its own transmit power to an appropriate value according to the comparison between the RSSI_1 and the calibration received power reference value. Send the data packet A to the device under test 402 .

7)待测装置402接收到数据包A后,获取数据包A中的RSSI_2,根据RSSI_2与校准接收功率参考值比对,调整自身发射功率至合适的值。7) After receiving the data packet A, the device under test 402 obtains the RSSI_2 in the data packet A, and adjusts its own transmit power to an appropriate value according to the comparison between the RSSI_2 and the calibrated received power reference value.

8)可选地,两者再次进行收发交互,判断接收的RSSI是否在校准接收功率参考值的±x dB的范围内(比如±3dB),x大于0;如果不满足要求,则再次重复步骤2)至7)。8) Optionally, the two perform transceiver interaction again to determine whether the received RSSI is within the range of ±x dB of the calibrated received power reference value (eg ±3dB), and x is greater than 0; if the requirements are not met, repeat the steps again. 2) to 7).

对于步骤3的实施例,例如,假设channel=5,PRF=16,校准距离为3米(也就是金机401与待测装置402的实际距离),校准接收功率的参考值为-88dBm。For the embodiment of step 3, for example, assuming that channel=5, PRF=16, the calibration distance is 3 meters (that is, the actual distance between the gold machine 401 and the device under test 402), the reference value of the calibrated received power is -88dBm.

金机401和待测装置402设置的初始发射功率均为-14dBm。The initial transmit powers set by the gold machine 401 and the device under test 402 are both -14dBm.

金机401与待测装置402进行收发通信后,金机401发现待测装置402接收的RSSI为-82dBm,待测装置402发现金机401接收的RSSI为-80dBm。则金机401将发射功率从-14dBm调整到-20dBm,待测装置402将发射功率从-14dBm调整到-22dBm。After the gold machine 401 and the device under test 402 perform transceiver communication, the gold machine 401 finds that the RSSI received by the device under test 402 is -82dBm, and the device under test 402 finds that the RSSI received by the gold machine 401 is -80dBm. Then the gold machine 401 adjusts the transmit power from -14dBm to -20dBm, and the device under test 402 adjusts the transmit power from -14dBm to -22dBm.

对于所述步骤4,在一些实施例中:For the step 4, in some embodiments:

1)如图7所示,第一种方法为:1) As shown in Figure 7, the first method is:

a)金机401与待测装置402进行N次TWR测试(比如10次)。金机401或者待测装置402获得N次的距离测量值Dn。在一些实施例中,哪一方获得距离测量值,由采用的TWR类型以及谁为发起者决定。a) The gold machine 401 and the device under test 402 perform N times of TWR tests (for example, 10 times). The golden machine 401 or the device under test 402 obtains N times of distance measurement values Dn. In some embodiments, which party obtains the distance measurement is determined by the type of TWR employed and who is the initiator.

b)PC控制机获得N次的距离测量值Dn,与校准目标距离值D0比对,计算得到待测装置402天线延迟的校准值:天线延迟值1,即第一天线延迟值。b) The PC control machine obtains N times of distance measurement values Dn, compares them with the calibration target distance value D0, and calculates the calibration value of the antenna delay of the device under test 402: antenna delay value 1, that is, the first antenna delay value.

进一步地,更优的方法,即第二种方法,如图8所示,:Further, the more optimal method, namely the second method, as shown in Figure 8, is:

a)金机401与待测装置402进行N次TWR(比如10次)。金机401或者待测装置402获得N次的距离测量值Dn;在一些实施例中,哪一方获得距离测量值,由采用的TWR类型以及谁为发起者决定。a) The gold machine 401 and the device under test 402 perform N times of TWR (for example, 10 times). The golden machine 401 or the device under test 402 obtains the distance measurement value Dn N times; in some embodiments, which party obtains the distance measurement value is determined by the type of TWR used and who is the initiator.

b)PC控制机403获得N次的距离测量值Dn,与校准目标距离值D0比对,计算得到待测装置402天线延迟的校准值:天线延迟值1,即第一天线延迟值。b) The PC controller 403 obtains N times of distance measurement values Dn, compares them with the calibration target distance value D0, and calculates the calibration value of the antenna delay of the device under test 402: antenna delay value 1, that is, the first antenna delay value.

c)PC控制机403将天线延迟值1加载进待测装置402。c) The PC controller 403 loads the antenna delay value 1 into the device under test 402 .

d)金机401和待测装置402进行M次TWR测试(比如20次),由待测装置402端获取距离测量值Dm。在一些实施例中,如果进行的是SS-TWR,则由待测装置402发起测距请求。在一些实施例中,如果进行的是SDS-TWR,则由金机401发起测距请求。这样的话,距离测量值最终由待测装置402计算出来,从而节约二者之间的信息交互流程。d) The gold machine 401 and the device under test 402 perform M times of TWR tests (for example, 20 times), and the distance measurement value Dm is obtained from the end of the device under test 402 . In some embodiments, if SS-TWR is being performed, the device under test 402 initiates a ranging request. In some embodiments, if SDS-TWR is performed, the golden machine 401 initiates a ranging request. In this case, the distance measurement value is finally calculated by the device under test 402, thereby saving the information exchange process between the two.

e)待测装置402比较距离测量值Dm和校准目标距离值D0,如果不满足校准目标(即第二校准条件的一种示例),则微调天线延迟,将天线延迟1微调至天线延迟2(即第二天线延迟值)。所述校准目标为距离测量值Dm大部分或者平均值在(D0±k cm)以内,k大于0;如果满足校准目标则完成步骤4;否则,执行步骤f)。e) The device under test 402 compares the distance measurement value Dm with the calibration target distance value D0, and if the calibration target is not met (ie, an example of the second calibration condition), fine-tunes the antenna delay, and fine-tunes the antenna delay 1 to the antenna delay 2 ( That is, the second antenna delay value). The calibration target is that most or the average value of the distance measurement value Dm is within (D0±k cm), and k is greater than 0; if the calibration target is satisfied, complete step 4; otherwise, perform step f).

f)重复d)和e)直到满足校准目标,得到最终的天线延迟校准值。f) Repeat d) and e) until the calibration target is met to obtain the final antenna delay calibration value.

对于所述步骤5,在一些实施例中:For the step 5, in some embodiments:

1)待测装置402载入天线延迟校准值,与金机401进行X次TWR测试(比如50次)。1) The device under test 402 loads the antenna delay calibration value, and performs X times of TWR tests (for example, 50 times) with the gold machine 401 .

2)PC控制机403获得X次的距离测量值DX,比较距离测量值DX是否满足校准目标。2) The PC control machine 403 obtains X times of distance measurement values D X , and compares whether the distance measurement values D X meet the calibration target.

3)如果满足,则校准流程结束。如果不满足,则输出测试数据并报错。3) If satisfied, the calibration process ends. If not satisfied, output test data and report an error.

关于TWR原理,简要说明如下:Regarding the TWR principle, a brief description is as follows:

双向测距又叫TWR,分为SS-TWR(单侧双向测距)和SDS-TWR(单次双侧双向测距)。其中,SS-TWR的原理如图9所示:Two-way ranging, also known as TWR, is divided into SS-TWR (unilateral two-way ranging) and SDS-TWR (single bilateral two-way ranging). Among them, the principle of SS-TWR is shown in Figure 9:

设备A和设备B是两个UWB模块。测距首先由设备A发起,设备B收到之后再发回一个响应(Responds),设备A在接收这个响应,完成一次测距,在设备A和设备B每一次发送数据和收到数据的时候,都要记录当前时间戳。这样,设备A通过时间戳相减,就可以得到传输时间差

Figure BDA0002780095160000101
Figure BDA0002780095160000102
其中,Tround为无线信号从设备A到设备B的测量时长,Treply为无线信号从设备B到设备A的测量时长。Device A and Device B are two UWB modules. Ranging is first initiated by device A, and device B sends a response (Responds) after receiving it. Device A receives this response and completes a ranging. Every time device A and device B send and receive data, , both record the current timestamp. In this way, device A can obtain the transmission time difference by subtracting the timestamps
Figure BDA0002780095160000101
for
Figure BDA0002780095160000102
Among them, T round is the measurement duration of the wireless signal from device A to device B, and T reply is the measurement duration of the wireless signal from device B to device A.

SDS-TWR的原理如图10所示,相当于2次SS-TWR,最终的测距结果在设备B中测量得到。SDS-TWR与SS-TWR相比,使得TWR测量精度受设备A和设备B晶振不同步的影响更小。The principle of SDS-TWR is shown in Figure 10, which is equivalent to 2 times of SS-TWR, and the final ranging result is measured in device B. Compared with SS-TWR, SDS-TWR makes the TWR measurement accuracy less affected by the asynchronous crystal oscillator of device A and device B.

通过本申请实施例提供的天线延迟校准方案,待测装置402能够获得准确的天线延迟值,如此该待测装置,即UWB装置才能实现高精度的TWR测距。Through the antenna delay calibration solution provided by the embodiments of the present application, the device under test 402 can obtain an accurate antenna delay value, so that the device under test, that is, the UWB device, can achieve high-precision TWR ranging.

在本申请实施例中,关键技术在于:1)完整而健全的天线延迟校准系统,导轨的设计可以灵活调整合适的校准距离。2)校准前预热,等待设备稳定。3)校准前自适应调整发射功率,以达到合适的校准接收功率。4)合理的天线校准步骤流程。In the embodiments of the present application, the key technologies are: 1) a complete and sound antenna delay calibration system, and the design of the guide rail can flexibly adjust the appropriate calibration distance. 2) Warm up before calibration and wait for the device to stabilize. 3) Adaptively adjust the transmit power before calibration to achieve an appropriate calibrated receive power. 4) Reasonable antenna calibration procedure flow.

本申请实施例还提供另一UWB装置的天线延迟校准系统,如图11所示,该系统11至少包括金机111和待测装置112。相比于图4所示的天线延迟校准系统40,省略了PC控制机。在基于系统11的天线延迟校准方案,待测装置112需要负责PC控制机的主要功能,比如:This embodiment of the present application further provides an antenna delay calibration system for another UWB device. As shown in FIG. 11 , the system 11 at least includes a gold machine 111 and a device to be tested 112 . Compared to the antenna delay calibration system 40 shown in FIG. 4, the PC controller is omitted. In the antenna delay calibration scheme based on the system 11, the device under test 112 needs to be responsible for the main functions of the PC control machine, such as:

1,金机111和待测装置112的参数配置需要预先设置在装置内。1. The parameter configuration of the gold machine 111 and the device under test 112 needs to be preset in the device.

2,校准流程和执行程序需要预先设置在装置内。2. The calibration process and execution procedures need to be preset in the device.

3,天线延迟的校准值需要待测装置112自身计算和载入。3. The calibration value of the antenna delay needs to be calculated and loaded by the device under test 112 itself.

基于前述的实施例,本申请实施例提供一种天线延迟校准装置,该装置包括所包括的各模块、以及各模块所包括的各单元,可以通过电子设备中的处理器来实现;当然也可通过具体的逻辑电路实现;在实施的过程中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。Based on the foregoing embodiments, the embodiments of the present application provide an antenna delay calibration apparatus, which includes each module included and each unit included in each module, which can be implemented by a processor in an electronic device; of course, it can also be It is implemented by a specific logic circuit; in the process of implementation, the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA) or the like.

该电子设备可以是控制设备,也可以是待校准设备,还可以是参考设备。The electronic device can be a control device, a device to be calibrated, or a reference device.

图12为本申请实施例天线延迟校准装置的结构示意图,如图12所示,所述装置120包括控制模块121和校准模块122,其中:FIG. 12 is a schematic structural diagram of an antenna delay calibration apparatus according to an embodiment of the present application. As shown in FIG. 12 , the apparatus 120 includes a control module 121 and a calibration module 122, wherein:

控制模块121,用于:控制参考设备和待校准设备中的至少之一对发射功率进行调整;之后,控制已调整发射功率的设备向另一设备发射无线信号;The control module 121 is configured to: control at least one of the reference device and the device to be calibrated to adjust the transmit power; then, control the device whose transmit power has been adjusted to transmit a wireless signal to another device;

校准模块122,用于:在所述无线信号的接收功率满足第一校准条件的情况下,根据距离测量值和所述参考设备与所述待校准设备的实际距离,对所述待校准设备的天线延迟进行校准;其中,所述距离测量值是基于所述参考设备与所述待校准设备以当前发射功率进行无线信号交互时无线信号的飞行时间确定的。The calibration module 122 is configured to: under the condition that the received power of the wireless signal satisfies the first calibration condition, according to the distance measurement value and the actual distance between the reference device and the device to be calibrated, determine the accuracy of the device to be calibrated. The antenna delay is calibrated; wherein, the distance measurement value is determined based on the time-of-flight of the wireless signal when the reference device and the device to be calibrated perform wireless signal interaction at the current transmit power.

在一些实施例中,控制模块121,用于:控制所述参考设备和所述待校准设备对各自的发射功率进行调整。In some embodiments, the control module 121 is configured to: control the reference device and the device to be calibrated to adjust their respective transmit powers.

在一些实施例中,控制模块121,用于:控制所述一设备向所述另一设备发送第一数据包;控制所述另一设备向所述一设备反馈所述第一数据包的接收功率;控制所述一设备通过将校准接收功率与所述第一数据包的接收功率进行比较,以将所述一设备的发射功率调整至目标发射功率。In some embodiments, the control module 121 is configured to: control the one device to send the first data packet to the other device; control the other device to feed back the reception of the first data packet to the one device power; controlling the one device to adjust the transmit power of the one device to the target transmit power by comparing the calibrated receive power with the receive power of the first data packet.

在一些实施例中,控制模块121,还用于:在所述无线信号的接收功率不满足所述第一校准条件的情况下,再次控制所述已调整发射功率的设备调整发射功率,直至所述已调整发射功率的设备发射的无线信号的接收功率满足所述第一校准条件时,触发校准模块122执行对应的功能。In some embodiments, the control module 121 is further configured to: in the case that the received power of the wireless signal does not meet the first calibration condition, control the device whose transmit power has been adjusted to adjust the transmit power again until all the transmit power is adjusted. When the received power of the wireless signal transmitted by the device whose transmit power has been adjusted satisfies the first calibration condition, the calibration module 122 is triggered to execute the corresponding function.

在一些实施例中,控制模块121,还用于:在所述控制已调整发射功率的设备向另一设备发射无线信号之后,执行以下步骤,或者,控制所述已调整发射功率的设备执行以下步骤:确定所述无线信号的接收功率与校准接收功率之间的差值是否在预设范围内;如果所述差值在所述预设范围内,确定所述无线信号的接收功率满足所述第一校准条件;如果所述差值不在所述预设范围内,确定所述无线信号的接收功率不满足所述第一校准条件。In some embodiments, the control module 121 is further configured to: after the device that controls the adjusted transmit power transmits a wireless signal to another device, perform the following steps, or control the device that has adjusted transmit power to perform the following steps Step: determine whether the difference between the received power of the wireless signal and the calibration received power is within a preset range; if the difference is within the preset range, determine that the received power of the wireless signal satisfies the a first calibration condition; if the difference is not within the preset range, it is determined that the received power of the wireless signal does not meet the first calibration condition.

在一些实施例中,控制模块121,还用于:在所述控制参考设备和待校准设备中的至少之一对发射功率进行调整之前,控制所述参考设备和所述待校准设备开启各自的无线通信模块;控制每一所述无线通信模块重复发射无线信号特定时间之后,触发所述控制参考设备和待校准设备中的至少之一对发射功率进行调整的步骤。In some embodiments, the control module 121 is further configured to: control the reference device and the to-be-calibrated device to turn on their respective before adjusting the transmit power of at least one of the control reference device and the to-be-calibrated device. A wireless communication module; the step of triggering the control of at least one of the reference device and the device to be calibrated to adjust the transmission power after each of the wireless communication modules repeatedly transmits a wireless signal for a specific time.

在一些实施例中,校准模块122,用于:获取N个距离测量值,所述N个距离测量值是根据所述参考设备与所述待校准设备以当前发射功率进行N次无线信号交互时无线信号的飞行时间确定的;其中,N为大于1的整数;根据所述N个距离测量值和所述实际距离,确定所述待校准设备的第一天线延迟值;将所述第一天线延迟值载入所述待校准设备中,以用于校准所述待校准设备的天线延迟。In some embodiments, the calibration module 122 is configured to: acquire N distance measurement values, where the N distance measurement values are based on when the reference device and the device to be calibrated perform N times of wireless signal interaction at the current transmit power determined by the time of flight of the wireless signal; wherein, N is an integer greater than 1; according to the N distance measurement values and the actual distance, determine the first antenna delay value of the device to be calibrated; The delay value is loaded into the device to be calibrated for calibrating the antenna delay of the device to be calibrated.

在一些实施例中,控制模块121,还用于:在校准模块122将所述第一天线延迟值载入所述待校准设备中之后,控制所述待校准设备根据所述第一天线延迟值,测量M次与所述参考设备之间的距离,得到M个距离测量值;其中,M为大于0的整数;控制所述待校准设备根据所述实际距离和所述M个距离测量值,确定所述第一天线延迟值是否满足第二校准条件;控制所述待校准设备在所述第一天线延迟值不满足所述第二校准条件的情况下,调整所述第一天线延迟值至第二天线延迟值。In some embodiments, the control module 121 is further configured to: after the calibration module 122 loads the first antenna delay value into the device to be calibrated, control the device to be calibrated according to the first antenna delay value , measure the distance between M times and the reference device, and obtain M distance measurement values; wherein, M is an integer greater than 0; control the device to be calibrated according to the actual distance and the M distance measurement values, determining whether the first antenna delay value satisfies the second calibration condition; controlling the device to be calibrated to adjust the first antenna delay value to a value in the case that the first antenna delay value does not meet the second calibration condition The second antenna delay value.

在一些实施例中,控制模块121,用于:控制所述参考设备与所述待校准设备以当前发射功率进行M次无线信号交互;控制所述待校准设备根据所述第一天线延迟值和所述M次无线信号交互的每次交互的无线信号的飞行时间,确定对应的距离测量值。In some embodiments, the control module 121 is configured to: control the reference device and the device to be calibrated to perform M times of wireless signal interaction with the current transmit power; control the device to be calibrated according to the first antenna delay value and The time of flight of the wireless signal of each interaction of the M times of wireless signal interaction determines the corresponding distance measurement value.

在一些实施例中,控制模块121,还用于:控制所述待校准设备确定所述第二天线延迟值是否满足所述第二校准条件;在所述第二天线延迟值不满足所述第二校准条件的情况下,控制所述待校准设备继续调整所述第二天线延迟值,直至当前调整后的天线延迟值满足所述第二校准条件为止。In some embodiments, the control module 121 is further configured to: control the device to be calibrated to determine whether the second antenna delay value satisfies the second calibration condition; if the second antenna delay value does not meet the first calibration condition In the case of two calibration conditions, the device to be calibrated is controlled to continue to adjust the second antenna delay value until the currently adjusted antenna delay value satisfies the second calibration condition.

在一些实施例中,控制模块121,还用于:控制所述待校准设备根据所述当前调整后的天线延迟值,测量X次与所述参考设备之间的距离,得到X个距离测量值;其中,X为大于1的整数;控制所述待校准设备根据所述实际距离和所述X个距离测量值,确定所述当前调整后的天线延迟值是否满足所述第二校准条件;在所述当前调整后的天线延迟值不满足所述第二校准条件的情况下,报错并输出所述X个距离测量值。In some embodiments, the control module 121 is further configured to: control the device to be calibrated to measure the distance from the reference device X times according to the currently adjusted antenna delay value to obtain X distance measurement values ; wherein, X is an integer greater than 1; control the device to be calibrated to determine whether the currently adjusted antenna delay value satisfies the second calibration condition according to the actual distance and the X distance measurements; If the currently adjusted antenna delay value does not meet the second calibration condition, an error is reported and the X distance measurement values are output.

在一些实施例中,所述无线信号为UWB信号。In some embodiments, the wireless signal is a UWB signal.

以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请装置实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。The descriptions of the above apparatus embodiments are similar to the descriptions of the above method embodiments, and have similar beneficial effects to the method embodiments. For technical details not disclosed in the device embodiments of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.

需要说明的是,本申请实施例中图12所示的天线延迟校准装置对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。也可以采用软件和硬件结合的形式实现。It should be noted that the division of modules by the antenna delay calibration apparatus shown in FIG. 12 in the embodiment of the present application is schematic, and is only a logical function division, and other division methods may be used in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or may exist independently physically, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It can also be implemented in the form of a combination of software and hardware.

需要说明的是,本申请实施例中,如果以软件功能模块的形式实现上述的天线延迟校准方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得电子设备执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本申请实施例不限制于任何特定的硬件和软件结合。It should be noted that, in the embodiments of the present application, if the above-mentioned antenna delay calibration method is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application may be embodied in the form of software products in essence or the parts that make contributions to related technologies. The computer software products are stored in a storage medium and include several instructions to make The electronic device executes all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a read only memory (Read Only Memory, ROM), a magnetic disk or an optical disk and other mediums that can store program codes. As such, the embodiments of the present application are not limited to any specific combination of hardware and software.

对应地,如图13所示,本申请实施例提供的电子设备130,该电子设备130可以包括:包括存储器131和处理器132,所述存储器131存储有可在处理器132上运行的计算机程序,所述处理器132执行所述程序时实现上述实施例中提供的方法中的步骤。Correspondingly, as shown in FIG. 13 , in the electronic device 130 provided by the embodiment of the present application, the electronic device 130 may include: a memory 131 and a processor 132 , and the memory 131 stores a computer program that can be executed on the processor 132 , the processor 132 implements the steps in the methods provided in the foregoing embodiments when executing the program.

存储器131配置为存储由处理器132可执行的指令和应用,还可以缓存待处理器132以及电子设备13中各模块待处理或已经处理的数据(例如,图像数据、音频数据、语音通信数据和视频通信数据),可以通过闪存(FLASH)或随机访问存储器(Random AccessMemory,RAM)实现。The memory 131 is configured to store instructions and applications executable by the processor 132, and can also cache data to be processed or processed by the processor 132 and various modules in the electronic device 13 (for example, image data, audio data, voice communication data and video communication data), which can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM).

本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例中提供的天线延迟校准方法中的步骤。Embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the antenna delay calibration method provided in the foregoing embodiments.

本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述方法实施例提供的天线延迟校准方法。The embodiments of the present application provide a computer program product including instructions, which, when running on a computer, cause the computer to execute the antenna delay calibration method provided by the above method embodiments.

这里需要指出的是:以上存储介质和设备实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请存储介质、芯片和终端设备实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。It should be pointed out here that the descriptions of the above storage medium and device embodiments are similar to the descriptions of the above method embodiments, and have similar beneficial effects to the method embodiments. For technical details not disclosed in the embodiments of the storage medium, chip and terminal device of the present application, please refer to the description of the method embodiments of the present application for understanding.

应理解,说明书通篇中提到的“一个实施例”或“一实施例”或“一些实施例”或“另一些实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”或“在一些实施例中”或“在另一些实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。上文对各个实施例的描述倾向于强调各个实施例之间的不同之处,其相同或相似之处可以互相参考,为了简洁,本文不再赘述。It should be understood that references throughout the specification to "one embodiment" or "an embodiment" or "some embodiments" or "other embodiments" mean that a particular feature, structure or characteristic associated with the embodiments is included herein in at least one embodiment of the application. Thus, appearances of "in one embodiment" or "in an embodiment" or "in some embodiments" or "in other embodiments" in various places throughout this specification are not necessarily necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation. The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments. The above descriptions of the various embodiments tend to emphasize the differences between the various embodiments, and the similarities or similarities can be referred to each other. For the sake of brevity, details are not repeated herein.

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如对象A和/或对象B,可以表示:单独存在对象A,同时存在对象A和对象B,单独存在对象B这三种情况。The term "and/or" in this article is only an association relationship to describe associated objects, indicating that there can be three kinds of relationships, such as object A and/or object B, it can mean that object A exists alone, and object A and object exist simultaneously B, there are three cases of object B alone.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article, or device that includes the element.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的触摸屏系统的实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个模块或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The embodiments of the touch screen system described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods, for example, multiple modules or components may be combined , or can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be electrical, mechanical or other forms. of.

上述作为分离部件说明的模块可以是、或也可以不是物理上分开的,作为模块显示的部件可以是、或也可以不是物理模块;既可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部模块来实现本实施例方案的目的。The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed to multiple network units; Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各实施例中的各功能模块可以全部集成在一个处理单元中,也可以是各模块分别单独作为一个单元,也可以两个或两个以上模块集成在一个单元中;上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional module in each embodiment of the present application may all be integrated in one processing unit, or each module may be separately used as a unit, or two or more modules may be integrated in one unit; the above integration The module can be implemented in the form of hardware, or it can be implemented in the form of hardware plus software functional units.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, the execution includes: The steps of the above method embodiments; and the aforementioned storage medium includes: a removable storage device, a read only memory (Read Only Memory, ROM), a magnetic disk or an optical disk and other media that can store program codes.

或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得电子设备执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present application are implemented in the form of software function modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application may be embodied in the form of software products in essence or the parts that make contributions to related technologies. The computer software products are stored in a storage medium and include several instructions to make The electronic device executes all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.

本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined under the condition of no conflict to obtain new method embodiments.

本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in the several product embodiments provided in this application can be combined arbitrarily without conflict to obtain a new product embodiment.

本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in several method or device embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.

以上所述,仅为本申请的实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only the embodiment of the present application, but the protection scope of the present application is not limited to this. Covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (17)

1. A method for antenna delay calibration, the method comprising:
controlling at least one of the reference equipment and the equipment to be calibrated to adjust the transmission power; after that time, the user can use the device,
controlling the device with the adjusted transmission power to transmit a wireless signal to another device; and the number of the first and second groups,
under the condition that the receiving power of the wireless signal meets a first calibration condition, calibrating the antenna delay of the equipment to be calibrated according to a distance measurement value and the actual distance between the reference equipment and the equipment to be calibrated; wherein the distance measurement is determined based on a time of flight of a wireless signal when the reference device wirelessly interacts with the device to be calibrated at a current transmit power.
2. The method of claim 1, wherein the controlling at least one of the reference device and the device to be calibrated to adjust the transmit power comprises:
and controlling the reference equipment and the equipment to be calibrated to adjust the respective transmitting power.
3. The method according to claim 1 or 2, wherein controlling one of the reference device and the device to be calibrated to adjust the transmission power comprises:
controlling the one device to send a first data packet to the other device;
controlling the other device to feed back the received power of the first data packet to the one device;
controlling the device to adjust the transmit power of the device to a target transmit power by comparing a calibrated receive power with the receive power of the first data packet.
4. The method according to any one of claims 1 to 3, further comprising:
and under the condition that the receiving power of the wireless signal does not meet the first calibration condition, controlling the equipment with the adjusted transmitting power to adjust the transmitting power again until the receiving power of the wireless signal transmitted by the equipment with the adjusted transmitting power meets the first calibration condition, and triggering the step of calibrating the antenna delay of the equipment to be calibrated.
5. The method of claim 4, wherein after the controlling the device with the adjusted transmission power transmits a wireless signal to another device, the method further comprises:
performing the following steps, or controlling the apparatus for adjusted transmission power to perform the following steps:
determining whether a difference between the received power of the wireless signal and a calibration received power is within a preset range;
if the difference value is within the preset range, determining that the receiving power of the wireless signal meets the first calibration condition;
and if the difference value is not in the preset range, determining that the receiving power of the wireless signal does not meet the first calibration condition.
6. The method of claim 1, wherein prior to the adjusting of the transmit power by at least one of the control reference device and the device to be calibrated, the method further comprises:
controlling the reference equipment and the equipment to be calibrated to start respective wireless communication modules;
and controlling each wireless communication module to repeatedly transmit a wireless signal for a specific time, and triggering at least one of the control reference device and the device to be calibrated to adjust the transmission power.
7. The method of claim 1, wherein the calibrating the antenna delay of the device to be calibrated based on the distance measurement and the actual distance between the reference device and the device to be calibrated comprises:
obtaining N distance measurement values, wherein the N distance measurement values are determined according to the flight time of wireless signals when the reference device and the device to be calibrated perform N times of wireless signal interaction at the current transmission power; wherein N is an integer greater than 1;
determining a first antenna delay value of the device to be calibrated according to the N distance measurement values and the actual distance;
and loading the first antenna delay value into the equipment to be calibrated so as to be used for calibrating the antenna delay of the equipment to be calibrated.
8. The method of claim 7, wherein after loading the first antenna delay value into the device to be calibrated, the method further comprises:
controlling the equipment to be calibrated to measure the distance between the equipment to be calibrated and the reference equipment for M times according to the first antenna delay value to obtain M distance measurement values; wherein M is an integer greater than 0;
controlling the equipment to be calibrated to determine whether the first antenna delay value meets a second calibration condition according to the actual distance and the M distance measurement values;
and controlling the equipment to be calibrated to adjust the first antenna delay value to a second antenna delay value under the condition that the first antenna delay value does not meet the second calibration condition.
9. The method of claim 8, wherein the controlling the device to be calibrated to measure the distance to the reference device M times according to the first antenna delay value to obtain M distance measurement values comprises:
controlling the reference equipment and the equipment to be calibrated to perform M times of wireless signal interaction at the current transmission power;
and controlling the equipment to be calibrated to determine a corresponding distance measurement value according to the first antenna delay value and the flight time of the wireless signal of each interaction of the M times of wireless signal interaction.
10. The method of claim 8, further comprising:
controlling the device to be calibrated to determine whether the second antenna delay value satisfies the second calibration condition;
and under the condition that the second antenna delay value does not meet the second calibration condition, controlling the equipment to be calibrated to continuously adjust the second antenna delay value until the currently adjusted antenna delay value meets the second calibration condition.
11. The method according to any one of claims 7 to 10, further comprising:
controlling the equipment to be calibrated to measure the distance between the equipment to be calibrated and the reference equipment for X times according to the currently adjusted antenna delay value to obtain X distance measurement values; wherein X is an integer greater than 1;
controlling the equipment to be calibrated to determine whether the currently adjusted antenna delay value meets the second calibration condition according to the actual distance and the X distance measurement values;
and reporting an error and outputting the X distance measurement values under the condition that the currently adjusted antenna delay value does not meet the second calibration condition.
12. The method of any one of claims 1 to 11, wherein the wireless signal is a UWB signal.
13. An antenna delay calibration apparatus, comprising:
a control module to: controlling at least one of the reference device and the device to be calibrated to adjust the transmission power; then, controlling the device with the adjusted transmission power to transmit a wireless signal to another device;
a calibration module to: under the condition that the receiving power of the wireless signal meets a first calibration condition, calibrating the antenna delay of the equipment to be calibrated according to a distance measurement value and the actual distance between the reference equipment and the equipment to be calibrated; wherein the distance measurement is determined based on a time of flight of a wireless signal when the reference device wirelessly interacts with the device to be calibrated at a current transmit power.
14. An antenna delay calibration system, characterized in that the system comprises a guide rail, a reference device, a device to be calibrated and a control device; wherein,
the guide rail is provided with a first fixing part and a second fixing part, the first fixing part is used for fixing the reference equipment at one end of the guide rail, and the second fixing part is used for fixing the equipment to be calibrated at the other end of the guide rail;
the guide rail is used for receiving a first control instruction sent by the control device, and the first control instruction is used for instructing to move the first fixing part and/or the second fixing part so as to adjust the actual distance between the reference device and the device to be calibrated to a specified distance;
the control device for performing the steps of the method of any one of claims 1 to 12.
15. The system of claim 14, wherein the control device and the device to be calibrated are the same device; or the control equipment and the equipment to be calibrated are different equipment.
16. An electronic device comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor implements the method of any one of claims 1 to 12 when executing the program.
17. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 12.
CN202011278995.XA 2020-11-16 2020-11-16 Antenna delay calibration method and device, system, device and storage medium Withdrawn CN114513265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011278995.XA CN114513265A (en) 2020-11-16 2020-11-16 Antenna delay calibration method and device, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011278995.XA CN114513265A (en) 2020-11-16 2020-11-16 Antenna delay calibration method and device, system, device and storage medium

Publications (1)

Publication Number Publication Date
CN114513265A true CN114513265A (en) 2022-05-17

Family

ID=81546867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011278995.XA Withdrawn CN114513265A (en) 2020-11-16 2020-11-16 Antenna delay calibration method and device, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN114513265A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118655552A (en) * 2024-08-21 2024-09-17 深圳市昇润科技有限公司 Delay compensation parameter calibration method, device and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120027066A1 (en) * 2009-02-13 2012-02-02 O'keeffe Conor Communication system, apparatus and methods for calibrating an antenna array
CN102404033A (en) * 2011-11-24 2012-04-04 北京交通大学 An antenna array calibration method and device in an OFDM system
CN108761388A (en) * 2018-06-06 2018-11-06 上海交通大学 Day wire delay calibration method based on UWB precision distance measurement positioning systems
CN111478737A (en) * 2020-04-21 2020-07-31 Oppo广东移动通信有限公司 Radio frequency test method, device, electronic device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120027066A1 (en) * 2009-02-13 2012-02-02 O'keeffe Conor Communication system, apparatus and methods for calibrating an antenna array
CN102404033A (en) * 2011-11-24 2012-04-04 北京交通大学 An antenna array calibration method and device in an OFDM system
CN108761388A (en) * 2018-06-06 2018-11-06 上海交通大学 Day wire delay calibration method based on UWB precision distance measurement positioning systems
CN111478737A (en) * 2020-04-21 2020-07-31 Oppo广东移动通信有限公司 Radio frequency test method, device, electronic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118655552A (en) * 2024-08-21 2024-09-17 深圳市昇润科技有限公司 Delay compensation parameter calibration method, device and computer equipment

Similar Documents

Publication Publication Date Title
TWI713317B (en) Method for testing a radio frequency (rf) data packet signal transceiver via a wireless signal path
US9055523B2 (en) Apparatus, system and method of calibrating a radio delay of a wireless device
CN105474024B (en) Method for testing packet signal transceivers using coordinated transmit packet signal power
CN114720937B (en) Method for determining arrival angle and related device
WO2021175344A2 (en) Method and device for dynamic measurement and reconstruction of wireless channel impulse response
CN102065531B (en) Power calibrating method and device
WO2020108239A1 (en) Method and system for testing wireless performance of wireless terminal
CN111656711B (en) System and method for testing a Device Under Test (DUT) capable of determining relative times of arrival or angles of arrival of a plurality of radio frequency signals
EP3004916A1 (en) Apparatus, system and method of estimating a location of a mobile device
CN109462448A (en) A kind of radio frequency test method, mobile terminal and storage medium
CN113839694B (en) Intelligent reflecting surface phase shift control method, system, equipment and storage medium
EP2901576B1 (en) Apparatus, system and method of communicating filter information
WO2019024871A1 (en) Information transmission method under unlicensed band, network device, and terminal
CN114513265A (en) Antenna delay calibration method and device, system, device and storage medium
WO2012009867A1 (en) Method and device for testing total isotropic sensitivity of mobile terminal
US11832066B2 (en) Method and Bluetooth device for calibrating multimedia devices
CN115190416B (en) Positioning method and device
WO2012009868A1 (en) Method and device for testing total isotropic sensitivity of mobile terminal
CN112468228A (en) LiFi communication optimization method and related device
US12196796B2 (en) System for testing antenna performance
WO2020107361A1 (en) Calibration method and apparatus for radio frequency channel
CN115915387A (en) Error measuring and compensating method and device
CN110417485B (en) Standing-wave ratio detection method and device, computer equipment and readable storage medium
TW201603511A (en) Method for speeding up the total isotropic sensitivity measurement on mobile terminals
KR102216652B1 (en) Control device for cross eye jamming system and control method there of

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220517