WO2020052207A1 - Method and device for measuring engineering parameters of antenna - Google Patents

Method and device for measuring engineering parameters of antenna Download PDF

Info

Publication number
WO2020052207A1
WO2020052207A1 PCT/CN2019/078605 CN2019078605W WO2020052207A1 WO 2020052207 A1 WO2020052207 A1 WO 2020052207A1 CN 2019078605 W CN2019078605 W CN 2019078605W WO 2020052207 A1 WO2020052207 A1 WO 2020052207A1
Authority
WO
WIPO (PCT)
Prior art keywords
angle
image
sub
antenna
line segment
Prior art date
Application number
PCT/CN2019/078605
Other languages
French (fr)
Chinese (zh)
Inventor
李博
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020052207A1 publication Critical patent/WO2020052207A1/en

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/10Monitoring; Testing of transmitters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/20Monitoring; Testing of receivers

Definitions

  • the embodiments of the present application relate to, but are not limited to, antennas and image processing technologies, such as a method and device for measuring antenna engineering parameters.
  • the engineering parameters of the mobile base station antenna have a decisive influence on the electromagnetic coverage of the antenna and the network optimization of the communication system.
  • the attitude of the antenna changes due to the influence of external environmental factors, which may cause the coverage of the base station to change, and may also cause some locations. Signal dead zone, and cause serious frequency interference in the system.
  • the current method of measuring engineering parameters of base station antennas requires a large amount of manual participation, resulting in low accuracy and low efficiency of the measured data.
  • the embodiments of the present application provide a method and a device for measuring antenna engineering parameters, which can improve measurement accuracy and efficiency.
  • An embodiment of the present application provides a method for measuring antenna engineering parameters, including: acquiring video stream data captured by a predetermined device and posture data of a corresponding predetermined device; extracting a preset frame image from the video stream data, and extracting the extracted frame image from the video stream data.
  • a sub-image in a preset area is obtained from the image of the image; an engineering parameter of the antenna is determined according to the sub-image and the attitude data; wherein the engineering parameter includes at least one of the following: downtilt, azimuth, hanging height, and position information.
  • An embodiment of the present application proposes a device for measuring antenna engineering parameters, including: a first acquisition module configured to acquire video stream data and corresponding attitude data captured by a predetermined device; and a second acquisition module configured to acquire data from the video stream.
  • a preset frame image is extracted from the data, and a sub-image in a preset area is obtained from the extracted image;
  • a determining module is configured to determine an engineering parameter of the antenna according to the sub-image and the posture data; wherein the engineering parameter It includes at least one of the following: downtilt, azimuth, hanging height, and position information.
  • An embodiment of the present application provides a device for measuring an antenna engineering parameter, including a processor and a computer-readable storage medium, where the computer-readable storage medium has instructions stored therein, and the instructions are implemented when the instructions are executed by the processor. The steps of any of the above methods for measuring antenna engineering parameters.
  • An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the steps of any of the foregoing methods for measuring antenna engineering parameters are implemented.
  • FIG. 1 is a flowchart of a method for measuring antenna engineering parameters according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a posture of a drone in a shooting antenna according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of an imaging principle according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of antenna pitch measurement according to an embodiment of the present application.
  • FIG. 5 is a schematic structural composition diagram of an apparatus for measuring an antenna engineering parameter according to another embodiment of the present application.
  • an embodiment of the present application provides a method for measuring antenna engineering parameters, which includes steps 100, 200, and 300.
  • step 100 video stream data captured by a predetermined device and posture data of a corresponding predetermined device are acquired.
  • the predetermined device may be a drone or a mobile terminal.
  • the posture data of the predetermined device includes: compass information, an attitude angle of the predetermined device, position information of the predetermined device, and a height of the predetermined device.
  • the compass information indicates the orientation of the predetermined device, that is, the southeast and northwest orientation.
  • the compass information is represented by the angle with the north direction, 0 ⁇ 90 ° indicates any orientation from north to east, and 90 ⁇ 180 ° indicates any orientation from east to south Azimuth, 180 to 270 ° indicates any azimuth from true south to true west, and 270 to 360 ° indicates any azimuth between true west to true north.
  • the specific azimuth can be calculated based on the angle value.
  • the attitude data of the predetermined device also includes the attitude angle of the gimbal.
  • the attitude angle includes a roll angle, a pitch angle, and a yaw angle.
  • the location information includes longitude and latitude.
  • the video stream data captured by the drone can be transmitted to the mobile terminal for processing in real time; when the predetermined device is a mobile terminal, the mobile terminal can directly Real-time processing of captured video stream data.
  • the video stream data captured by the predetermined device and the posture data of the predetermined device are updated in real time. Therefore, during the time when the posture data of the predetermined device is obtained twice, the posture data of the predetermined device obtained last time shall prevail.
  • step 200 a preset frame image is extracted from the video stream data, and a sub-image in a preset area is obtained from the extracted preset frame image.
  • the preset area may be set by a user, and an antenna is placed in the preset area when acquiring video stream data. It should be noted that the entire antenna needs to be placed in a preset area.
  • the video stream data transmitted by the drone in real time can be displayed on the mobile terminal.
  • the mobile terminal may control the drone to move based on the user's control instruction, so that the entire antenna is placed in the preset area.
  • the image when a preset frame image is extracted from the video stream data, the image can be extracted at will, which is not limited in the embodiment of the present application.
  • step 300 engineering parameters of the antenna are determined according to the sub-image and the attitude data; wherein the engineering parameters include at least one of the following: downtilt, azimuth, hanging height, and position information.
  • determining the engineering parameters of the antenna according to the sub-image and attitude data includes:
  • the line segment satisfying the first preset condition includes a line segment that is the longest among the identified line segments and has an included angle with the horizontal direction of the sub-image that is less than or equal to a first angle threshold.
  • determining the azimuth angle based on the attitude data includes: using the sum of the compass information and 180 ° in the attitude data as the azimuth angle; or, when the predetermined device is a drone, setting the following angle And as the azimuth: the sum of the compass information in the attitude data and 180 °; the roll angle of the gimbal in the attitude data; the roll angle of the drone in the attitude data; the An included angle between a line segment satisfying the first preset condition and a horizontal direction of the sub-image.
  • the roll angle of the drone in the case of looking directly in front of the drone, if the drone rotates in a clockwise direction, the roll angle of the drone is positive; if the drone rotates in a counterclockwise direction, then The roll angle of the drone is negative.
  • the roll angle of the head is positive; if the head is rotated in a counterclockwise direction, the roll angle of the head is negative.
  • the angle between the line segment satisfying the first preset condition and the horizontal direction of the sub-image is positive; in response to determining that the first preset condition is satisfied
  • the conditional line segment rotates in a counterclockwise direction, and the included angle between the line segment satisfying the first preset condition and the horizontal direction of the sub-image is negative.
  • the shooting angle can be changed by moving the predetermined device.
  • the predetermined device is a drone
  • the drone can be controlled by the mobile terminal to change the shooting angle.
  • the predetermined device is a mobile device
  • the user can change the shooting angle. Move the mobile device to change the shooting angle.
  • the camera photographs the antenna from above.
  • plane O a mid-divided plane through the drone
  • plane P a mid-divided plane through the antenna
  • the plane P is perpendicular to the line segment L on the antenna.
  • the plane O In order to use the opposite direction of the predetermined device orientation (that is, the sum of the compass information and 180 ° in the attitude data) to represent the antenna when shooting.
  • the plane O For azimuth, the plane O must be parallel to the plane P, then the line segment L is perpendicular to the plane O.
  • the line segment L is parallel to the imaging plane G.
  • the formed image can be projected onto a symmetric imaging plane G 'with respect to the optical center C point of the imaging plane G, so the line segment L is parallel to
  • the symmetrical imaging plane G ′ is such that the projection of the line segment L on the symmetrical imaging plane G ′ is a positive image.
  • the projection of the line segment L on the symmetrical imaging plane G ' is a line segment L', so the line segment L 'is parallel to the line segment L, and the line segment L' is perpendicular to the plane O.
  • the image coordinate x-axis in the symmetrical imaging plane G ' is also perpendicular to the plane O. Therefore, the final line segment L 'is parallel to the x-axis.
  • the predetermined device is facing the antenna at this time, and the direction opposite to the direction of the predetermined device is the antenna. Azimuth.
  • the plane O is not parallel to the plane P due to the deviation of the predetermined equipment itself, thereby causing measurement errors.
  • the intended device is a drone
  • the deviation of the roll angle of the gimbal on the drone causes the rotation of the captured picture
  • the tilt of the flying state of the drone itself results in the captured picture Rotation
  • tilt of the line segment itself recognized from the sub-image there are mainly the following deviations: the deviation of the roll angle of the gimbal on the drone causes the rotation of the captured picture; the tilt of the flying state of the drone itself results in the captured picture Rotation; and tilt of the line segment itself recognized from the sub-image.
  • the measurement error caused by the roll angle deviation of the gimbal on the drone can be compensated by the roll angle of the gimbal; the measurement error caused by the tilt of the drone's own flight state can be eliminated by The roll angle of the human machine is used to compensate; the measurement error due to the tilt of the line segment identified from the sub-image can be compensated by the angle between the line segment and the horizontal direction of the sub-image.
  • the azimuth of the antenna is the sum of the following angles: the sum of the compass information and 180 ° in the attitude data; the roll angle of the gimbal in the attitude data; the drone in the attitude data Roll angle; an included angle between the line segment satisfying the first preset condition and the horizontal direction of the sub-image.
  • determining the engineering parameters of the antenna according to the sub-image and attitude data includes: identifying line segments from the sub-image; and in response to determining that there are line segments satisfying the second preset condition among the identified line segments, according to the An included angle between a line segment satisfying the second preset condition and a vertical direction of the sub-image determines the downtilt angle, and a height of a predetermined device in the posture information is used as a hanging height of the antenna.
  • the line segment satisfying the second preset condition includes a line segment that is the longest among the identified line segments and has an angle that is smaller than or equal to a second angle threshold in the vertical direction of the sub-image.
  • the roll angle of the drone in the case of looking directly in front of the drone, if the drone rotates in a clockwise direction, the roll angle of the drone is positive; if the drone rotates in a counterclockwise direction, then The roll angle of the drone is negative.
  • the roll angle of the head is positive; if the head is rotated in a counterclockwise direction, the roll angle of the head is negative.
  • the shooting angle can be changed by moving the predetermined device.
  • the predetermined device is a drone
  • the drone can be controlled by the mobile terminal to change the shooting angle.
  • the predetermined device is a mobile device
  • the user can change the shooting angle. Move the mobile device to change the shooting angle.
  • the sub-image is identified.
  • the longest line segment identified by the recognition sub-image and the angle between the sub-image and the vertical direction is not greater than the second angle threshold (eg 21 °) is used as the side of the antenna, that is, the line segment K.
  • the plane D is the inner surface of the antenna, that is, the surface on which the fixing device is mounted.
  • the plane D is perpendicular to the imaging plane G of the camera, so the plane D is also perpendicular to the symmetrical imaging plane G ', and the line segment L on the top of the antenna is also perpendicular to the symmetrical imaging plane G'.
  • the side line K in FIG. 4 is parallel to the symmetrical imaging plane G '. It is apparent from FIG.
  • the straight line M is a straight line perpendicular to the ground.
  • the straight line M is parallel to the symmetrical imaging plane G '. Therefore, the projection M 'of the straight line M on the symmetrical imaging plane G' is parallel to the straight line M, and it is obvious that the straight line M 'is parallel to the y-axis of the image coordinate system. Therefore, the angle between the line segment K and the line M is the pitch angle, which can be obtained by calculating the angle between the projection K 'and the y-axis.
  • the predetermined equipment is a drone
  • the deviation of the roll angle of the gimbal on the drone causes the shooting The rotation of the picture
  • the tilt of the flying state of the drone itself cause the rotation of the picture taken.
  • the drones used in the embodiments of the present application may use the DJI UAV Genie series.
  • the angle jitter of the gimbal is 0.02 °. According to the calculation and analysis above, the amount of jitter is small and has little effect on the measurement results.
  • the hovering accuracy of the drone is 0.1m in the vertical direction, and this value is also small. Whether it is the pitch angle measurement or the azimuth angle measurement, it has little effect on the projected result and the final calculation error.
  • the analysis was within 0.05 ° with almost no effect.
  • the compass accuracy of the drone is 0.01 °, and it has almost no effect on the azimuth error of the final measurement.
  • the embodiment of the present application determines the engineering parameters of the antenna by decimating the video stream data captured by the predetermined device and combining the posture data of the predetermined device, without any manual participation, and avoids human factors affecting the measurement results during the measurement process. Effect, which improves measurement accuracy and efficiency.
  • another embodiment of the present application provides a device for measuring antenna engineering parameters, including a first obtaining module 501, a second obtaining module 502, and a determining module 503.
  • the first acquiring module 501 is configured to acquire video stream data and corresponding posture data captured by a predetermined device.
  • the second obtaining module 502 is configured to extract a preset frame image from the video stream data, and obtain a sub-image in a preset area from the extracted preset frame image.
  • the determining module 503 is configured to determine an engineering parameter of the antenna according to the sub-image and the attitude data, wherein the engineering parameter includes at least one of the following: a downtilt angle, an azimuth angle, a hanging height, and position information.
  • the determining module 503 is configured to identify line segments from the sub-images; and in response to determining that there are line segments that satisfy the first preset condition among the identified line segments, determine the azimuth angle according to the attitude data And using position information of a predetermined device in the posture data as the position information of the antenna.
  • the line segment satisfying the first preset condition includes a line segment that is the longest among the identified line segments and has an included angle with the horizontal direction of the sub-image that is less than or equal to a first angle threshold.
  • the determining module 503 is configured to determine the azimuth angle based on the attitude data in the following manner: using the sum of the compass information and 180 ° in the attitude data as the azimuth angle; or, in the predetermined device, In the case of a drone, the sum of the following angles is used as the azimuth angle: the sum of the compass information in the attitude data and 180 °; the roll angle of the gimbal in the attitude data; the attitude The roll angle of the drone in the data; the angle between the line segment that meets the first preset condition and the horizontal direction of the sub-image.
  • the determining module 503 is configured to: identify line segments from the sub-image; and when there are line segments that meet the second preset condition among the identified line segments, according to the line segments that meet the second preset condition An included angle with the vertical direction of the sub-image determines the downtilt angle, and a height of a predetermined device in the attitude information is used as a hanging height of the antenna.
  • the line segment satisfying the second preset condition includes a line segment that is the longest among the identified line segments and has an angle that is smaller than or equal to a second angle threshold in the vertical direction of the sub-image.
  • Another embodiment of the present application provides a device for measuring antenna engineering parameters, including a processor and a computer-readable storage medium.
  • the computer-readable storage medium stores instructions, and when the instructions are executed by the processor, , To implement the steps of any of the methods for measuring antenna engineering parameters described above.
  • Another embodiment of the present application provides 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 of any of the foregoing methods for measuring antenna engineering parameters.
  • the term computer storage medium includes volatile and non-volatile implemented in any method or technology arranged to store information such as computer-readable instructions, data structures, program modules or other data.
  • Removable, removable and non-removable media include, but are not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc-Read-Only Memory (CD-ROM), Digital Video Disc (DVD) or other optical disc storage, magnetic box, magnetic tape, disk storage or other magnetic storage A device, or any other medium that can be used to store desired information and can be accessed by a computer.
  • a communication medium typically contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium .

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

Disclosed in an embodiment of the present application are a method and device for measuring engineering parameters of an antenna. The method comprises: acquiring video stream data captured by a pre-determined apparatus and corresponding attitude data of the pre-determined apparatus; extracting a preset number of images from the video stream data, and acquiring sub-images within preset regions of the extracted images; and determining engineering parameters of an antenna according to the sub-images and the attitude data, wherein the engineering parameters include at least one of the following: a downtilt, an azimuth, height and location information.

Description

测量天线工程参数的方法和装置Method and device for measuring antenna engineering parameters
本申请要求在2018年09月13日提交中国专利局、申请号为201811066273.0的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims priority from a Chinese patent application filed with the Chinese Patent Office on September 13, 2018, with application number 201811066273.0, the entire contents of which are incorporated herein by reference.
技术领域Technical field
本申请实施例涉及但不限于天线和图像处理技术,例如一种测量天线工程参数的方法和装置。The embodiments of the present application relate to, but are not limited to, antennas and image processing technologies, such as a method and device for measuring antenna engineering parameters.
背景技术Background technique
移动基站天线的工程参数对天线的电磁覆盖和通信系统的网络优化有着决定性的影响,天线的姿态因外部环境因素的影响而发生变化,可能导致基站的覆盖范围发生变化,还可能导致部分位置产生信号盲区,同时造成严重的系统内频率干扰。为了避免上述情况的发生,需要定期测量基站天线的工程参数来保证基站天线姿态的正确性。The engineering parameters of the mobile base station antenna have a decisive influence on the electromagnetic coverage of the antenna and the network optimization of the communication system. The attitude of the antenna changes due to the influence of external environmental factors, which may cause the coverage of the base station to change, and may also cause some locations. Signal dead zone, and cause serious frequency interference in the system. In order to avoid the above situation, it is necessary to periodically measure the engineering parameters of the base station antenna to ensure the correctness of the attitude of the base station antenna.
目前测量基站天线工程参数的方式需要大量人工参与,导致测量的数据的准确性较低,并且效率比较低。The current method of measuring engineering parameters of base station antennas requires a large amount of manual participation, resulting in low accuracy and low efficiency of the measured data.
发明内容Summary of the Invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this article. This summary is not intended to limit the scope of protection of the claims.
本申请实施例提供了一种测量天线工程参数的方法和装置,能够提高测量准确性和效率。The embodiments of the present application provide a method and a device for measuring antenna engineering parameters, which can improve measurement accuracy and efficiency.
本申请实施例提供了一种测量天线工程参数的方法,包括:获取预定设备拍摄的视频流数据和对应的预定设备的姿态数据;从所述视频流数据中抽取预设帧图像,从所抽取的图像中获取预设区域内的子图像;根据所述子图像和所述姿态数据确定天线的工程参数;其中,所述工程参数包括以下至少之一:下倾角、方位角、挂高以及位置信息。An embodiment of the present application provides a method for measuring antenna engineering parameters, including: acquiring video stream data captured by a predetermined device and posture data of a corresponding predetermined device; extracting a preset frame image from the video stream data, and extracting the extracted frame image from the video stream data. A sub-image in a preset area is obtained from the image of the image; an engineering parameter of the antenna is determined according to the sub-image and the attitude data; wherein the engineering parameter includes at least one of the following: downtilt, azimuth, hanging height, and position information.
本申请实施例提出了一种测量天线工程参数的装置,包括:第一获取模块,设置为获取预定设备拍摄的视频流数据和对应的姿态数据;第二获取模块,设 置为从所述视频流数据中抽取预设帧图像,从所抽取的图像中获取预设区域内的子图像;确定模块,设置为根据所述子图像和所述姿态数据确定天线的工程参数;其中,所述工程参数包括以下至少之一:下倾角、方位角、挂高以及位置信息。An embodiment of the present application proposes a device for measuring antenna engineering parameters, including: a first acquisition module configured to acquire video stream data and corresponding attitude data captured by a predetermined device; and a second acquisition module configured to acquire data from the video stream. A preset frame image is extracted from the data, and a sub-image in a preset area is obtained from the extracted image; a determining module is configured to determine an engineering parameter of the antenna according to the sub-image and the posture data; wherein the engineering parameter It includes at least one of the following: downtilt, azimuth, hanging height, and position information.
本申请实施例提出了一种测量天线工程参数的装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令被所述处理器执行时,实现上述任一种测量天线工程参数的方法的步骤。An embodiment of the present application provides a device for measuring an antenna engineering parameter, including a processor and a computer-readable storage medium, where the computer-readable storage medium has instructions stored therein, and the instructions are implemented when the instructions are executed by the processor. The steps of any of the above methods for measuring antenna engineering parameters.
本申请实施例提出了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一种测量天线工程参数的方法的步骤。An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the foregoing methods for measuring antenna engineering parameters are implemented.
在阅读并理解了附图和详细描述后,可以明白其他方面。After reading and understanding the drawings and detailed description, other aspects can be understood.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
附图用来提供对本申请实施例技术方案的进一步理解,并且构成说明书的一部分,与本申请实施例的实施例一起用于解释本申请实施例的技术方案,并不构成对本申请实施例技术方案的限制。The drawings are used to provide a further understanding of the technical solutions of the embodiments of the present application, and constitute a part of the description. They are used to explain the technical solutions of the embodiments of the present application together with the embodiments of the embodiments of the present application, and do not constitute the technical solutions of the embodiments of the present application. limits.
图1为本申请一个实施例提出的测量天线工程参数的方法的流程图;FIG. 1 is a flowchart of a method for measuring antenna engineering parameters according to an embodiment of the present application; FIG.
图2为本申请实施例无人机俯视拍摄天线的姿态示意图;FIG. 2 is a schematic diagram of a posture of a drone in a shooting antenna according to an embodiment of the present application;
图3为本申请实施例成像原理示意图;3 is a schematic diagram of an imaging principle according to an embodiment of the present application;
图4为本申请实施例天线俯仰角测量示意图;FIG. 4 is a schematic diagram of antenna pitch measurement according to an embodiment of the present application; FIG.
图5为本申请另一个实施例提出的测量天线工程参数的装置的结构组成示意图。FIG. 5 is a schematic structural composition diagram of an apparatus for measuring an antenna engineering parameter according to another embodiment of the present application.
具体实施方式detailed description
下文中将结合附图对本申请实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present application will be described in detail below with reference to the drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be arbitrarily combined with each other.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps shown in the flowchart of the figures may be performed in a computer system such as a set of computer-executable instructions. And, although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than here.
参见图1,本申请一个实施例提出了一种测量天线工程参数的方法,包括步 骤100,步骤200和步骤300。Referring to FIG. 1, an embodiment of the present application provides a method for measuring antenna engineering parameters, which includes steps 100, 200, and 300.
在步骤100中,获取预定设备拍摄的视频流数据和对应的预定设备的姿态数据。In step 100, video stream data captured by a predetermined device and posture data of a corresponding predetermined device are acquired.
在本申请实施例中,预定设备可以是无人机,或者是移动终端。In the embodiment of the present application, the predetermined device may be a drone or a mobile terminal.
在本申请实施例中,预定设备的姿态数据包括:指南针信息、预定设备的姿态角、预定设备的位置信息,以及预定设备的高度。In the embodiment of the present application, the posture data of the predetermined device includes: compass information, an attitude angle of the predetermined device, position information of the predetermined device, and a height of the predetermined device.
其中,指南针信息表示的是预定设备的方位,即东南西北方位。一般情况下,指南针信息采用与正北方向的夹角来表示,0~90°表示正北到正东方向之间的任意一个方位,90~180°表示正东到正南之间的任意一个方位,180~270°表示正南到正西之间的任意一个方位,270~360°表示正西到正北之间的任意一个方位,根据角度值即可推算出具体的方位。Among them, the compass information indicates the orientation of the predetermined device, that is, the southeast and northwest orientation. Under normal circumstances, the compass information is represented by the angle with the north direction, 0 ~ 90 ° indicates any orientation from north to east, and 90 ~ 180 ° indicates any orientation from east to south Azimuth, 180 to 270 ° indicates any azimuth from true south to true west, and 270 to 360 ° indicates any azimuth between true west to true north. The specific azimuth can be calculated based on the angle value.
在预定设备为无人机的情况下,预定设备的姿态数据还包括云台的姿态角。In the case where the predetermined device is a drone, the attitude data of the predetermined device also includes the attitude angle of the gimbal.
其中,姿态角包括横滚角、俯仰角和偏航角。The attitude angle includes a roll angle, a pitch angle, and a yaw angle.
其中,位置信息包括经度和纬度。The location information includes longitude and latitude.
在本申请实施例中,在预定设备为无人机的情况下,无人机拍摄的视频流数据可以实时传输到移动终端中进行处理;在预定设备为移动终端的情况下,移动终端可以直接将拍摄的视频流数据进行实时处理。In the embodiment of the present application, when the predetermined device is a drone, the video stream data captured by the drone can be transmitted to the mobile terminal for processing in real time; when the predetermined device is a mobile terminal, the mobile terminal can directly Real-time processing of captured video stream data.
在本申请实施例中,预定设备拍摄的视频流数据和预定设备的姿态数据均是实时更新的。因此,在相邻两次获得预定设备的姿态数据期间,以最后一次获得的预定设备的姿态数据为准。In the embodiment of the present application, the video stream data captured by the predetermined device and the posture data of the predetermined device are updated in real time. Therefore, during the time when the posture data of the predetermined device is obtained twice, the posture data of the predetermined device obtained last time shall prevail.
在步骤200中,从所述视频流数据中抽取预设帧图像,从所抽取的预设帧图像中获取预设区域内的子图像。In step 200, a preset frame image is extracted from the video stream data, and a sub-image in a preset area is obtained from the extracted preset frame image.
在本申请实施例中,预设区域可以由用户设置,并且在获取视频流数据时,将天线置于预设区域内。需要说明的是,整个天线均需要置于预设区域内。In the embodiment of the present application, the preset area may be set by a user, and an antenna is placed in the preset area when acquiring video stream data. It should be noted that the entire antenna needs to be placed in a preset area.
在预定设备为无人机的情况下,可以在移动终端上显示无人机实时传输过来的视频流数据。在天线没有置于预设区域内或者只是部分天线置于预设区域内的情况下,移动终端可以基于用户的控制指令控制无人机移动,使得整个天线置于预设区域内。When the predetermined device is a drone, the video stream data transmitted by the drone in real time can be displayed on the mobile terminal. When the antenna is not placed in the preset area or only part of the antenna is placed in the preset area, the mobile terminal may control the drone to move based on the user's control instruction, so that the entire antenna is placed in the preset area.
在本申请实施例中,在从视频流数据中抽取预设帧图像时,可以随意抽取图像,本申请实施例对此不作限定。In the embodiment of the present application, when a preset frame image is extracted from the video stream data, the image can be extracted at will, which is not limited in the embodiment of the present application.
在步骤300中,根据所述子图像和所述姿态数据确定天线的工程参数;其中,所述工程参数包括以下至少之一:下倾角、方位角、挂高以及位置信息。In step 300, engineering parameters of the antenna are determined according to the sub-image and the attitude data; wherein the engineering parameters include at least one of the following: downtilt, azimuth, hanging height, and position information.
在本申请实施例中,根据子图像和姿态数据确定天线的工程参数包括:In the embodiment of the present application, determining the engineering parameters of the antenna according to the sub-image and attitude data includes:
从所述子图像中识别线段;响应于确定识别到的线段中存在满足第一预设条件的线段,根据所述姿态数据确定所述方位角,并将所述姿态数据中的预定设备的位置信息作为所述天线的位置信息。其中,所述满足第一预设条件的线段包括:在识别到的线段中最长且与所述子图像的水平方向的夹角小于或等于第一角度阈值的线段。Identify line segments from the sub-image; in response to determining that there are line segments satisfying the first preset condition in the identified line segments, determine the azimuth angle based on the pose data, and position the predetermined device in the pose data The information is used as position information of the antenna. The line segment satisfying the first preset condition includes a line segment that is the longest among the identified line segments and has an included angle with the horizontal direction of the sub-image that is less than or equal to a first angle threshold.
其中,可以采用本领域技术人员熟知的技术手段从子图像中识别线段,具体的识别方法不用于限定本申请的保护范围,这里不再赘述。Among them, the technical means well known to those skilled in the art can be used to identify line segments from the sub-images, and the specific identification method is not used to limit the protection scope of the present application, and will not be repeated here.
其中,根据姿态数据确定方位角包括:将所述姿态数据中的指南针信息与180°之和作为所述方位角;或者,在所述预定设备为无人机的情况下,将下述角度的和作为所述方位角:所述姿态数据中的指南针信息与180°之和;所述姿态数据中的云台的横滚角;所述姿态数据中的无人机的横滚角;所述满足第一预设条件的线段与所述子图像的水平方向的夹角。Wherein, determining the azimuth angle based on the attitude data includes: using the sum of the compass information and 180 ° in the attitude data as the azimuth angle; or, when the predetermined device is a drone, setting the following angle And as the azimuth: the sum of the compass information in the attitude data and 180 °; the roll angle of the gimbal in the attitude data; the roll angle of the drone in the attitude data; the An included angle between a line segment satisfying the first preset condition and a horizontal direction of the sub-image.
其中,在朝着无人机的正前方观察的情况下,如果无人机沿着顺时针方向旋转,则无人机的横滚角为正;如果无人机沿着逆时针方向旋转,则无人机的横滚角为负。Among them, in the case of looking directly in front of the drone, if the drone rotates in a clockwise direction, the roll angle of the drone is positive; if the drone rotates in a counterclockwise direction, then The roll angle of the drone is negative.
同样,如果云台沿着顺时针方向旋转,则云台的横滚角为正;如果云台沿着逆时针方向旋转,则云台的横滚角为负。Similarly, if the head is rotated in a clockwise direction, the roll angle of the head is positive; if the head is rotated in a counterclockwise direction, the roll angle of the head is negative.
同样,响应于确定满足第一预设条件的线段沿着顺时针方向旋转,满足第一预设条件的线段与所述子图像的水平方向的夹角为正;响应于确定满足第一预设条件的线段沿着逆时针方向旋转,满足第一预设条件的线段与所述子图像的水平方向的夹角为负。Similarly, in response to determining that the line segment satisfying the first preset condition rotates in a clockwise direction, the angle between the line segment satisfying the first preset condition and the horizontal direction of the sub-image is positive; in response to determining that the first preset condition is satisfied The conditional line segment rotates in a counterclockwise direction, and the included angle between the line segment satisfying the first preset condition and the horizontal direction of the sub-image is negative.
在本申请另一个实施例中,响应于确定识别到的线段中不存在满足第一预设条件的线段,说明拍摄的画面不符合计算天线的工程参数的要求,需要改变拍摄角度。这时,可以通过移动预定设备来改变拍摄角度,在预定设备为无人机的情况下,可以通过移动终端来控制无人机改变拍摄角度;在预定设备为移动设备的情况下,可以由用户移动移动设备来改变拍摄角度。In another embodiment of the present application, in response to determining that there are no line segments satisfying the first preset condition in the identified line segments, it indicates that the captured picture does not meet the requirements for calculating the engineering parameters of the antenna, and the shooting angle needs to be changed. At this time, the shooting angle can be changed by moving the predetermined device. In the case where the predetermined device is a drone, the drone can be controlled by the mobile terminal to change the shooting angle. In the case where the predetermined device is a mobile device, the user can change the shooting angle. Move the mobile device to change the shooting angle.
下面简单介绍上述方位角的确定方法的原理。The principle of the above azimuth determination method is briefly introduced below.
在子图像识别到的线段中存在最长且与子图像的水平方向平行的线段(即与子图像的水平方向的夹角为0°)的情况下,相机俯视拍摄天线。如图2所示,可以分别过无人机做一个中分的平面,即平面O,过天线做一个中分的平面,即平面P。由于无人机上的相机只是上下移动,因此,平面O也平分相机,因而与真实成像平面G垂直。In the case where the longest line segment identified by the sub-image exists and is parallel to the horizontal direction of the sub-image (that is, the included angle with the horizontal direction of the sub-image is 0 °), the camera photographs the antenna from above. As shown in FIG. 2, it is possible to make a mid-divided plane through the drone, that is, plane O, and make a mid-divided plane through the antenna, that is, plane P. Since the camera on the drone is only moving up and down, plane O also bisects the camera and is therefore perpendicular to the real imaging plane G.
另外,平面P垂直于天线上的线段L,如图2所示,在拍摄时,为了使用预定设备的朝向的反方向(即上述姿态数据中的指南针信息与180°之和)来表示天线的方位角,则平面O必须与平面P平行,那么线段L垂直于平面O。In addition, the plane P is perpendicular to the line segment L on the antenna. As shown in FIG. 2, in order to use the opposite direction of the predetermined device orientation (that is, the sum of the compass information and 180 ° in the attitude data) to represent the antenna when shooting. For azimuth, the plane O must be parallel to the plane P, then the line segment L is perpendicular to the plane O.
由于成像平面G垂直于平面O,因此,线段L平行于成像平面G。Since the imaging plane G is perpendicular to the plane O, the line segment L is parallel to the imaging plane G.
如图3所示,由于光学系统所成的像为倒像,为了方便观察,可以将所成的像投影到与成像平面G关于光心C点的对称成像面G’,所以线段L平行于对称成像面G’,这样,线段L在对称成像面G’上的投影即为正像。线段L在对称成像面G’上的投影为线段L’,所以线段L’平行于线段L,线段L’垂直于平面O。而对称成像面G’中的图像坐标x轴也垂直于平面O。所以,最终有线段L’平行于x轴。As shown in FIG. 3, since the image formed by the optical system is an inverted image, for convenience of observation, the formed image can be projected onto a symmetric imaging plane G 'with respect to the optical center C point of the imaging plane G, so the line segment L is parallel to The symmetrical imaging plane G ′ is such that the projection of the line segment L on the symmetrical imaging plane G ′ is a positive image. The projection of the line segment L on the symmetrical imaging plane G 'is a line segment L', so the line segment L 'is parallel to the line segment L, and the line segment L' is perpendicular to the plane O. The image coordinate x-axis in the symmetrical imaging plane G 'is also perpendicular to the plane O. Therefore, the final line segment L 'is parallel to the x-axis.
所以,当天线顶部的线段L在图像中的像L’与x轴(也就是上述子图像的水平方向)平行时,此时预定设备正对天线,且预定设备的朝向的反方向为天线的方位角。Therefore, when the image L ′ of the line segment L on the top of the antenna in the image is parallel to the x-axis (that is, the horizontal direction of the above-mentioned sub-image), the predetermined device is facing the antenna at this time, and the direction opposite to the direction of the predetermined device is the antenna. Azimuth.
当然,在实际拍摄过程中,由于预定设备本身的偏差导致平面O与平面P不平行,从而带来测量误差。在预定设备为无人机的情况下,主要有以下的偏差:无人机上的云台的横滚角的偏移导致拍摄的画面的旋转;无人机本身飞行状态的倾斜导致拍摄的画面的旋转;以及从子图像中识别到的线段自身的倾斜。Of course, in the actual shooting process, the plane O is not parallel to the plane P due to the deviation of the predetermined equipment itself, thereby causing measurement errors. In the case where the intended device is a drone, there are mainly the following deviations: the deviation of the roll angle of the gimbal on the drone causes the rotation of the captured picture; the tilt of the flying state of the drone itself results in the captured picture Rotation; and tilt of the line segment itself recognized from the sub-image.
上述偏差中,由于无人机上的云台的横滚角的偏移导致的测量误差可以通过云台的横滚角来进行补偿;由于无人机本身飞行状态的倾斜导致的测量误差可以通过无人机的横滚角来进行补偿;由于从子图像中识别到的线段自身的倾斜导致的测量误差可以通过该线段与子图像的水平方向的夹角来进行补偿。因此可以得出天线的方位角为下述角度的和:姿态数据中的指南针信息与180°之和;所述姿态数据中的云台的横滚角;所述姿态数据中的无人机的横滚角;所述满足第一预设条件的线段与所述子图像的水平方向的夹角。Among the above deviations, the measurement error caused by the roll angle deviation of the gimbal on the drone can be compensated by the roll angle of the gimbal; the measurement error caused by the tilt of the drone's own flight state can be eliminated by The roll angle of the human machine is used to compensate; the measurement error due to the tilt of the line segment identified from the sub-image can be compensated by the angle between the line segment and the horizontal direction of the sub-image. Therefore, it can be obtained that the azimuth of the antenna is the sum of the following angles: the sum of the compass information and 180 ° in the attitude data; the roll angle of the gimbal in the attitude data; the drone in the attitude data Roll angle; an included angle between the line segment satisfying the first preset condition and the horizontal direction of the sub-image.
在本申请实施例中,根据子图像和姿态数据确定天线的工程参数包括:从 所述子图像中识别线段;响应于确定识别到的线段中存在满足第二预设条件的线段,根据所述满足第二预设条件的线段与所述子图像的垂直方向的夹角确定所述下倾角,并将所述姿态信息中的预定设备的高度作为所述天线的挂高。其中,所述满足第二预设条件的线段包括:在识别到的线段中最长且与所述子图像的垂直方向的夹角小于或等于第二角度阈值的线段。In the embodiment of the present application, determining the engineering parameters of the antenna according to the sub-image and attitude data includes: identifying line segments from the sub-image; and in response to determining that there are line segments satisfying the second preset condition among the identified line segments, according to the An included angle between a line segment satisfying the second preset condition and a vertical direction of the sub-image determines the downtilt angle, and a height of a predetermined device in the posture information is used as a hanging height of the antenna. The line segment satisfying the second preset condition includes a line segment that is the longest among the identified line segments and has an angle that is smaller than or equal to a second angle threshold in the vertical direction of the sub-image.
其中,根据满足第二预设条件的线段与子图像的垂直方向的夹角确定下倾角包括:将所述满足第二预设条件的线段与所述子图像的垂直方向的夹角作为所述下倾角;或者,在所述预定设备为无人机的情况下,通过以下式子确定所述下倾角:A0=A1-A2-A3;其中A0表示所述下倾角,A1表示所述满足第二预设条件的线段与所述子图像的垂直方向的夹角,A2表示所述姿态数据中的云台的横滚角,A3表示所述姿态数据中的无人机的横滚角。Wherein, determining the downtilt angle according to an included angle between a line segment satisfying the second preset condition and a vertical direction of the sub-image includes: using the included angle between the line segment satisfying the second preset condition and the vertical direction of the sub-image as the Downtilt angle; or, if the predetermined device is a drone, determine the downtilt angle by the following formula: A0 = A1-A2-A3; where A0 represents the downtilt angle, and A1 represents that the The included angle between the line segment of the two preset conditions and the vertical direction of the sub-image, A2 represents the roll angle of the gimbal in the attitude data, and A3 represents the roll angle of the drone in the attitude data.
其中,在朝着无人机的正前方观察的情况下,如果无人机沿着顺时针方向旋转,则无人机的横滚角为正;如果无人机沿着逆时针方向旋转,则无人机的横滚角为负。Among them, in the case of looking directly in front of the drone, if the drone rotates in a clockwise direction, the roll angle of the drone is positive; if the drone rotates in a counterclockwise direction, then The roll angle of the drone is negative.
同样,如果云台沿着顺时针方向旋转,则云台的横滚角为正;如果云台沿着逆时针方向旋转,则云台的横滚角为负。Similarly, if the head is rotated in a clockwise direction, the roll angle of the head is positive; if the head is rotated in a counterclockwise direction, the roll angle of the head is negative.
在本申请另一个实施例中,当识别到的线段中不存在满足第二预设条件的线段时,说明拍摄的画面不符合计算天线的工程参数的要求,需要改变拍摄角度。这时,可以通过移动预定设备来改变拍摄角度,在预定设备为无人机的情况下,可以通过移动终端来控制无人机改变拍摄角度;在预定设备为移动设备的情况下,可以由用户移动移动设备来改变拍摄角度。In another embodiment of the present application, when there is no line segment that meets the second preset condition in the identified line segments, it indicates that the captured image does not meet the requirements for calculating the engineering parameters of the antenna, and the shooting angle needs to be changed. At this time, the shooting angle can be changed by moving the predetermined device. In the case where the predetermined device is a drone, the drone can be controlled by the mobile terminal to change the shooting angle. In the case where the predetermined device is a mobile device, the user can change the shooting angle. Move the mobile device to change the shooting angle.
下面简单介绍上述下倾角的确定方法的原理。The principle of the above-mentioned method for determining the downtilt angle is briefly introduced below.
对子图像进行识别,识别子图像识别到的线段中最长且与垂直方向的夹角不大于第二角度阈值(如21°)的线段作为天线的侧边即线段K。The sub-image is identified. The longest line segment identified by the recognition sub-image and the angle between the sub-image and the vertical direction is not greater than the second angle threshold (eg 21 °) is used as the side of the antenna, that is, the line segment K.
在通过无人机测量天线的下倾角(也称为俯仰角)的情况下,无人机上的相机水平拍摄,无人机需要正对天线的侧面。如图4所示,平面D为天线的内面即安装固定装置的面。此时,平面D垂直于相机的成像平面G,所以平面D与对称成像面G’也垂直,天线顶部线段L也垂直于对称成像面G’。图4中侧边线K则平行于对称成像面G’。则通过图3显然得出,对称成像面G’上的投影K’平行于线段K。图4中,直线M为垂直于地面的直线,显然直线M平行于对称 成像面G’。所以,直线M在对称成像面G’上的投影M’平行于直线M,且显然有直线M’平行于图像坐标系的y轴。所以,线段K与直线M的夹角即为俯仰角,可以通过计算投影K’与y轴的夹角得到。When the droop angle (also called the pitch angle) of the antenna is measured by the drone, the camera on the drone shoots horizontally, and the drone needs to face the antenna side. As shown in FIG. 4, the plane D is the inner surface of the antenna, that is, the surface on which the fixing device is mounted. At this time, the plane D is perpendicular to the imaging plane G of the camera, so the plane D is also perpendicular to the symmetrical imaging plane G ', and the line segment L on the top of the antenna is also perpendicular to the symmetrical imaging plane G'. The side line K in FIG. 4 is parallel to the symmetrical imaging plane G '. It is apparent from FIG. 3 that the projection K 'on the symmetrical imaging plane G' is parallel to the line segment K. In Fig. 4, the straight line M is a straight line perpendicular to the ground. Obviously, the straight line M is parallel to the symmetrical imaging plane G '. Therefore, the projection M 'of the straight line M on the symmetrical imaging plane G' is parallel to the straight line M, and it is obvious that the straight line M 'is parallel to the y-axis of the image coordinate system. Therefore, the angle between the line segment K and the line M is the pitch angle, which can be obtained by calculating the angle between the projection K 'and the y-axis.
当然,在实际拍摄过程中,由于预定设备本身的偏差会带来测量误差,当预定设备为无人机时,主要有以下的偏差:无人机上的云台的横滚角的偏移导致拍摄的画面的旋转;和无人机本身飞行状态的倾斜导致拍摄的画面的旋转。Of course, in the actual shooting process, due to the deviation of the predetermined equipment itself, measurement errors will occur. When the predetermined equipment is a drone, there are mainly the following deviations: the deviation of the roll angle of the gimbal on the drone causes the shooting The rotation of the picture; and the tilt of the flying state of the drone itself cause the rotation of the picture taken.
上述偏差中,由于无人机上的云台的横滚角的偏移导致的测量误差可以通过云台的横滚角来进行补偿;由于无人机本身飞行状态的倾斜导致的测量误差可以通过无人机的横滚角来进行补偿。因此可以得出天线的下倾角A0为:A0=A1-A2-A3,A1表示满足第二预设条件的线段与所述子图像的垂直方向的夹角,A2表示所述姿态数据中的云台的横滚角,A3表示所述姿态数据中的无人机的横滚角。Among the above deviations, the measurement error caused by the roll angle deviation of the gimbal on the drone can be compensated by the roll angle of the gimbal; the measurement error caused by the tilt of the drone's own flight state can be eliminated by Man-machine roll angle to compensate. Therefore, it can be obtained that the downtilt angle A0 of the antenna is: A0 = A1-A2-A3, where A1 represents an included angle between a line segment satisfying the second preset condition and the vertical direction of the sub-image, and A2 represents a cloud in the attitude data The roll angle of the platform, A3 represents the roll angle of the drone in the attitude data.
本申请实施例中所使用的无人机可以采用大疆无人机精灵系列,云台的角度抖动量0.02°,根据上面计算分析来看,该抖动量较小,对测量结果几乎没有影响。飞行时,无人机的悬停精度在垂直方向上为0.1m,该值也较小,无论是俯仰角测量还是方位角测量,对投影后的结果影响都不大,对最终的计算误差影响经分析在0.05°以内,几乎没有影响。无人机的指南针精度在0.01°,对最终测量所得方位角误差也几乎没有影响。The drones used in the embodiments of the present application may use the DJI UAV Genie series. The angle jitter of the gimbal is 0.02 °. According to the calculation and analysis above, the amount of jitter is small and has little effect on the measurement results. When flying, the hovering accuracy of the drone is 0.1m in the vertical direction, and this value is also small. Whether it is the pitch angle measurement or the azimuth angle measurement, it has little effect on the projected result and the final calculation error. The analysis was within 0.05 ° with almost no effect. The compass accuracy of the drone is 0.01 °, and it has almost no effect on the azimuth error of the final measurement.
本申请实施例通过对预定设备拍摄的视频流数据进行抽帧处理,并结合预定设备的姿态数据来确定天线的工程参数,而不需要任何人工参与,避免了测量过程中人为因素对测量结果的影响,从而提高了测量准确性和效率。The embodiment of the present application determines the engineering parameters of the antenna by decimating the video stream data captured by the predetermined device and combining the posture data of the predetermined device, without any manual participation, and avoids human factors affecting the measurement results during the measurement process. Effect, which improves measurement accuracy and efficiency.
参见图5,本申请另一个实施例提出了一种测量天线工程参数的装置,包括第一获取模块501,第二获取模块502和确定模块503。Referring to FIG. 5, another embodiment of the present application provides a device for measuring antenna engineering parameters, including a first obtaining module 501, a second obtaining module 502, and a determining module 503.
第一获取模块501,设置为获取预定设备拍摄的视频流数据和对应的姿态数据。The first acquiring module 501 is configured to acquire video stream data and corresponding posture data captured by a predetermined device.
第二获取模块502,设置为从所述视频流数据中抽取预设帧图像,从抽取的所述预设帧图像中获取预设区域内的子图像。The second obtaining module 502 is configured to extract a preset frame image from the video stream data, and obtain a sub-image in a preset area from the extracted preset frame image.
确定模块503,设置为根据所述子图像和所述姿态数据确定天线的工程参数;其中,所述工程参数包括以下至少之一:下倾角、方位角、挂高以及位置信息。The determining module 503 is configured to determine an engineering parameter of the antenna according to the sub-image and the attitude data, wherein the engineering parameter includes at least one of the following: a downtilt angle, an azimuth angle, a hanging height, and position information.
在本申请实施例中,确定模块503设置为:从所述子图像中识别线段;响 应于确定识别到的线段中存在满足第一预设条件的线段,根据所述姿态数据确定所述方位角,并将所述姿态数据中的预定设备的位置信息作为所述天线的位置信息。In the embodiment of the present application, the determining module 503 is configured to identify line segments from the sub-images; and in response to determining that there are line segments that satisfy the first preset condition among the identified line segments, determine the azimuth angle according to the attitude data And using position information of a predetermined device in the posture data as the position information of the antenna.
其中,所述满足第一预设条件的线段包括:在识别到的线段中最长且与所述子图像的水平方向的夹角小于或等于第一角度阈值的线段。The line segment satisfying the first preset condition includes a line segment that is the longest among the identified line segments and has an included angle with the horizontal direction of the sub-image that is less than or equal to a first angle threshold.
在本申请实施例中,确定模块503设置为采用以下方式实现根据姿态数据确定方位角:将所述姿态数据中的指南针信息与180°之和作为所述方位角;或者,在所述预定设备为无人机的情况下,将下述角度的和作为所述方位角:所述姿态数据中的指南针信息与180°之和;所述姿态数据中的云台的横滚角;所述姿态数据中的无人机的横滚角;所述满足第一预设条件的线段与所述子图像的水平方向的夹角。In the embodiment of the present application, the determining module 503 is configured to determine the azimuth angle based on the attitude data in the following manner: using the sum of the compass information and 180 ° in the attitude data as the azimuth angle; or, in the predetermined device, In the case of a drone, the sum of the following angles is used as the azimuth angle: the sum of the compass information in the attitude data and 180 °; the roll angle of the gimbal in the attitude data; the attitude The roll angle of the drone in the data; the angle between the line segment that meets the first preset condition and the horizontal direction of the sub-image.
在本申请实施例中,确定模块503设置为:从所述子图像中识别线段;当识别到的线段中存在满足第二预设条件的线段时,根据所述满足第二预设条件的线段与所述子图像的垂直方向的夹角确定所述下倾角,并将所述姿态信息中的预定设备的高度作为所述天线的挂高。In the embodiment of the present application, the determining module 503 is configured to: identify line segments from the sub-image; and when there are line segments that meet the second preset condition among the identified line segments, according to the line segments that meet the second preset condition An included angle with the vertical direction of the sub-image determines the downtilt angle, and a height of a predetermined device in the attitude information is used as a hanging height of the antenna.
其中,所述满足第二预设条件的线段包括:在识别到的线段中最长且与所述子图像的垂直方向的夹角小于或等于第二角度阈值的线段。The line segment satisfying the second preset condition includes a line segment that is the longest among the identified line segments and has an angle that is smaller than or equal to a second angle threshold in the vertical direction of the sub-image.
在本申请实施例中,确定模块503设置为采用以下方式实现根据满足第二预设条件的线段与子图像的垂直方向的夹角确定下倾角:将所述满足第二预设条件的线段与所述子图像的垂直方向的夹角作为所述下倾角;或者,在所述预定设备为无人机的情况下,通过以下式子确定所述下倾角:A0=A1-A2-A3;其中A0表示所述下倾角,A1表示所述满足第二预设条件的线段与所述子图像的垂直方向的夹角,A2表示所述姿态数据中的云台的横滚角,A3表示所述姿态数据中的无人机的横滚角。In the embodiment of the present application, the determining module 503 is configured to determine the downtilt angle according to an angle between a line segment that satisfies the second preset condition and a vertical direction of the sub-image in the following manner: The included angle in the vertical direction of the sub-image is used as the downtilt angle; or, when the predetermined device is a drone, the downtilt angle is determined by the following formula: A0 = A1-A2-A3; where A0 represents the downtilt angle, A1 represents the angle between the line segment satisfying the second preset condition and the vertical direction of the sub-image, A2 represents the roll angle of the gimbal in the attitude data, and A3 represents the Rolling angle of drone in attitude data.
上述测量天线工程参数的装置的具体实现过程与前述实施例测量天线工程参数的方法的具体实现过程相同,这里不再赘述。The specific implementation process of the above device for measuring antenna engineering parameters is the same as the specific implementation process of the method for measuring antenna engineering parameters in the foregoing embodiment, and details are not described herein again.
本申请另一个实施例提出了一种测量天线工程参数的装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令被所述处理器执行时,实现上述任一种测量天线工程参数的方法的步骤。Another embodiment of the present application provides a device for measuring antenna engineering parameters, including a processor and a computer-readable storage medium. The computer-readable storage medium stores instructions, and when the instructions are executed by the processor, , To implement the steps of any of the methods for measuring antenna engineering parameters described above.
本申请另一个实施例提出了一种计算机可读存储介质,其上存储有计算机 程序,所述计算机程序被处理器执行时实现上述任一种测量天线工程参数的方法的步骤。Another embodiment of the present application provides 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 of any of the foregoing methods for measuring antenna engineering parameters.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块或单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块或单元之间的划分不一定对应于物理组件的划分。例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在设置为存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机存取存储器(Random Access Memory,RAM)、只读存储器(Random Only Memory,ROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable read only memory,EEPROM)、闪存或其他存储器技术、光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能盘(Digital Video Disc,DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps, systems, and functional modules in the devices disclosed in the methods above can be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between functional modules or units mentioned in the above description does not necessarily correspond to the division of physical components. For example, a physical component may have multiple functions, or a function or step may be performed in cooperation by several physical components. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile implemented in any method or technology arranged to store information such as computer-readable instructions, data structures, program modules or other data. Removable, removable and non-removable media. Computer storage media include, but are not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc-Read-Only Memory (CD-ROM), Digital Video Disc (DVD) or other optical disc storage, magnetic box, magnetic tape, disk storage or other magnetic storage A device, or any other medium that can be used to store desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that a communication medium typically contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium .

Claims (8)

  1. 一种测量天线工程参数的方法,包括:A method for measuring antenna engineering parameters, including:
    获取预定设备拍摄的视频流数据和所述预定设备的姿态数据;Acquiring video stream data shot by a predetermined device and posture data of the predetermined device;
    从所述视频流数据中抽取预设帧图像,从所抽取的预设帧图像中获取预设区域内的子图像;Extracting a preset frame image from the video stream data, and obtaining a sub-image in a preset area from the extracted preset frame image;
    根据所述子图像和所述姿态数据确定天线的工程参数;其中,所述工程参数包括以下至少之一:下倾角、方位角、挂高以及位置信息。An engineering parameter of the antenna is determined according to the sub-image and the attitude data, wherein the engineering parameter includes at least one of the following: downtilt, azimuth, hanging height, and position information.
  2. 根据权利要求1所述的方法,其中,所述根据子图像和姿态数据确定天线的工程参数包括:The method according to claim 1, wherein determining the engineering parameters of the antenna based on the sub-image and attitude data comprises:
    从所述子图像中识别线段;Identifying line segments from the sub-images;
    响应于确定识别到的线段中存在满足第一预设条件的线段,根据所述姿态数据确定所述方位角,并将所述姿态数据中所述预定设备的位置信息作为所述天线的位置信息;In response to determining that there are line segments satisfying the first preset condition among the identified line segments, determine the azimuth angle based on the posture data, and use position information of the predetermined device in the posture data as position information of the antenna ;
    其中,所述满足第一预设条件的线段包括:在识别到的线段中最长且与所述子图像的水平方向的夹角小于或等于第一角度阈值的线段。The line segment satisfying the first preset condition includes a line segment that is the longest among the identified line segments and has an included angle with the horizontal direction of the sub-image that is less than or equal to a first angle threshold.
  3. 根据权利要求2所述的方法,其中,根据所述姿态数据确定所述方位角包括:The method of claim 2, wherein determining the azimuth based on the attitude data comprises:
    将所述姿态数据中的指南针信息与180°之和作为所述方位角;Using the sum of the compass information and 180 ° in the attitude data as the azimuth;
    或者,在所述预定设备为无人机的情况下,将下述角度的和作为所述方位角:所述姿态数据中的指南针信息与180°之和;所述姿态数据中的云台的横滚角;所述姿态数据中的无人机的横滚角;以及所述满足第一预设条件的线段与所述子图像的水平方向的夹角。Alternatively, when the predetermined device is a drone, the sum of the following angles is used as the azimuth: the sum of the compass information in the attitude data and 180 °; the A roll angle; a roll angle of the drone in the attitude data; and an included angle between the line segment satisfying the first preset condition and the horizontal direction of the sub-image.
  4. 根据权利要求1所述的方法,所述根据子图像和姿态数据确定天线的工程参数包括:The method according to claim 1, wherein determining the engineering parameters of the antenna based on the sub-image and attitude data comprises:
    从所述子图像中识别线段;响应于确定识别到的线段中存在满足第二预设条件的线段,根据所述满足第二预设条件的线段与所述子图像的垂直方向的夹角确定所述下倾角,并将所述姿态信息中的所述预定设备的高度作为所述天线的挂高;Identify line segments from the sub-image; and in response to determining that there are line segments satisfying the second preset condition among the identified line segments, determine according to an angle between the line segments satisfying the second preset condition and a vertical direction of the sub-image The downtilt angle, and using the height of the predetermined device in the attitude information as the hanging height of the antenna;
    其中,所述满足第二预设条件的线段包括:在识别到的线段中最长且与所述子图像的垂直方向的夹角小于或等于第二角度阈值的线段。The line segment satisfying the second preset condition includes a line segment that is the longest among the identified line segments and has an angle that is smaller than or equal to a second angle threshold in the vertical direction of the sub-image.
  5. 根据权利要求4所述的方法,其中,所述根据满足第二预设条件的线段 与子图像的垂直方向的夹角确定下倾角包括:The method according to claim 4, wherein determining the downtilt angle according to an angle between a line segment satisfying the second preset condition and a vertical direction of the sub-image includes:
    将所述满足第二预设条件的线段与所述子图像的垂直方向的夹角作为所述下倾角;Taking the angle between the line segment that satisfies the second preset condition and the vertical direction of the sub-image as the downtilt angle;
    或者,在所述预定设备为无人机的情况下,通过以下式子确定所述下倾角:A0=A1-A2-A3;Alternatively, in a case where the predetermined device is a drone, the downtilt angle is determined by the following formula: A0 = A1-A2-A3;
    其中A0表示所述下倾角,A1表示所述满足第二预设条件的线段与所述子图像的垂直方向的夹角,A2表示所述姿态数据中的云台的横滚角,A3表示所述姿态数据中的无人机的横滚角。Where A0 represents the downtilt angle, A1 represents the angle between the line segment that meets the second preset condition and the vertical direction of the sub-image, A2 represents the roll angle of the gimbal in the attitude data, and A3 represents the The roll angle of the drone in the attitude data is described.
  6. 一种测量天线工程参数的装置,包括:A device for measuring antenna engineering parameters, including:
    第一获取模块,设置为获取预定设备拍摄的视频流数据和所述预定设备的姿态数据;A first acquisition module, configured to acquire video stream data captured by a predetermined device and posture data of the predetermined device;
    第二获取模块,设置为从所述视频流数据中抽取预设帧图像,从抽取的所述预设帧图像中获取预设区域内的子图像;A second obtaining module configured to extract a preset frame image from the video stream data, and obtain a sub-image in a preset area from the extracted preset frame image;
    确定模块,设置为根据所述子图像和所述姿态数据确定天线的工程参数;其中,所述工程参数包括以下至少之一:下倾角、方位角、挂高以及位置信息。The determining module is configured to determine an engineering parameter of the antenna according to the sub-image and the attitude data, wherein the engineering parameter includes at least one of the following: a downtilt angle, an azimuth angle, a hanging height, and position information.
  7. 一种测量天线工程参数的装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,其中,当所述指令被所述处理器执行时,实现如权利要求1~5中任一项所述的测量天线工程参数的方法的步骤。An apparatus for measuring antenna engineering parameters includes a processor and a computer-readable storage medium, and the computer-readable storage medium has instructions stored therein, wherein when the instructions are executed by the processor, the method according to claim 1 is implemented. The steps of the method for measuring an antenna engineering parameter according to any one of 5 to 5.
  8. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1~5中任一项所述的测量天线工程参数的方法的步骤。A computer-readable storage medium having stored thereon a computer program, wherein when the computer program is executed by a processor, the steps of the method for measuring antenna engineering parameters according to any one of claims 1 to 5 are implemented.
PCT/CN2019/078605 2018-09-13 2019-03-19 Method and device for measuring engineering parameters of antenna WO2020052207A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811066273.0 2018-09-13
CN201811066273.0A CN110896331B (en) 2018-09-13 2018-09-13 Method, device and storage medium for measuring antenna engineering parameters

Publications (1)

Publication Number Publication Date
WO2020052207A1 true WO2020052207A1 (en) 2020-03-19

Family

ID=69778145

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/078605 WO2020052207A1 (en) 2018-09-13 2019-03-19 Method and device for measuring engineering parameters of antenna

Country Status (2)

Country Link
CN (1) CN110896331B (en)
WO (1) WO2020052207A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117008174A (en) * 2023-10-07 2023-11-07 中国西安卫星测控中心 GNSS-based measurement and control antenna non-orthogonality measurement method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114423014A (en) * 2020-10-10 2022-04-29 中国移动通信集团设计院有限公司 Antenna downward inclination angle determining method and device, electronic equipment and storage medium
CN113390386A (en) * 2021-05-28 2021-09-14 广东纳萨斯通信科技有限公司 Artificial intelligence-based antenna azimuth angle measurement method, device and system
CN117746261A (en) * 2022-09-13 2024-03-22 中兴通讯股份有限公司 Base station antenna pose information exploration method, device and system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140156219A1 (en) * 2011-06-24 2014-06-05 Trimble Navigation Limited Determining tilt angle and tilt direction using image processing
WO2015180039A1 (en) * 2014-05-27 2015-12-03 华为技术有限公司 Method, device and system for acquiring antenna engineering parameters
CN106454879A (en) * 2016-10-28 2017-02-22 中睿通信规划设计有限公司 Method and system for determining working parameters of wireless base station based on unmanned aerial vehicle aerial shots
CN107238373A (en) * 2017-05-18 2017-10-10 诺优信息技术(上海)有限公司 Unmanned plane aerial photography measures the method and system of antenna for base station engineering parameter

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6192910B2 (en) * 2012-09-04 2017-09-06 富士通テン株式会社 Radar apparatus and altitude calculation method
CN107664491B (en) * 2016-07-28 2020-06-05 中国电信股份有限公司 Method, device and system for measuring downward inclination angle of base station antenna
CN107830846B (en) * 2017-09-30 2020-04-10 杭州艾航科技有限公司 Method for measuring angle of communication tower antenna by using unmanned aerial vehicle and convolutional neural network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140156219A1 (en) * 2011-06-24 2014-06-05 Trimble Navigation Limited Determining tilt angle and tilt direction using image processing
WO2015180039A1 (en) * 2014-05-27 2015-12-03 华为技术有限公司 Method, device and system for acquiring antenna engineering parameters
CN106454879A (en) * 2016-10-28 2017-02-22 中睿通信规划设计有限公司 Method and system for determining working parameters of wireless base station based on unmanned aerial vehicle aerial shots
CN107238373A (en) * 2017-05-18 2017-10-10 诺优信息技术(上海)有限公司 Unmanned plane aerial photography measures the method and system of antenna for base station engineering parameter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117008174A (en) * 2023-10-07 2023-11-07 中国西安卫星测控中心 GNSS-based measurement and control antenna non-orthogonality measurement method and device
CN117008174B (en) * 2023-10-07 2024-03-01 中国西安卫星测控中心 GNSS-based measurement and control antenna non-orthogonality measurement method and device

Also Published As

Publication number Publication date
CN110896331B (en) 2022-08-19
CN110896331A (en) 2020-03-20

Similar Documents

Publication Publication Date Title
US20210141378A1 (en) Imaging method and device, and unmanned aerial vehicle
WO2020052207A1 (en) Method and device for measuring engineering parameters of antenna
US10928838B2 (en) Method and device of determining position of target, tracking device and tracking system
US11073389B2 (en) Hover control
US10634500B2 (en) Aircraft and obstacle avoidance method and system thereof
WO2019113966A1 (en) Obstacle avoidance method and device, and unmanned aerial vehicle
EP3495907A1 (en) Mount control method and system
WO2022042184A1 (en) Method and apparatus for estimating position of tracking target, and unmanned aerial vehicle
US10621456B2 (en) Distance measurement method and apparatus, and unmanned aerial vehicle
CN110268445A (en) It is calibrated automatically using the camera of gyroscope
WO2018120351A1 (en) Method and device for positioning unmanned aerial vehicle
CN110703805B (en) Method, device and equipment for planning three-dimensional object surveying and mapping route, unmanned aerial vehicle and medium
CN106444846A (en) Unmanned aerial vehicle and method and device for positioning and controlling mobile terminal
CN113875222B (en) Shooting control method and device, unmanned aerial vehicle and computer readable storage medium
WO2020237422A1 (en) Aerial surveying method, aircraft and storage medium
WO2020198963A1 (en) Data processing method and apparatus related to photographing device, and image processing device
CN111344650B (en) Information processing device, flight path generation method, program, and recording medium
WO2020237478A1 (en) Flight planning method and related device
US10412372B2 (en) Dynamic baseline depth imaging using multiple drones
CN113301248B (en) Shooting method and device, electronic equipment and computer storage medium
CN111581322B (en) Method, device and equipment for displaying region of interest in video in map window
CN111442756B (en) Method and device for measuring unmanned aerial vehicle shaking angle based on laser array
WO2020087382A1 (en) Location method and device, and aircraft and computer-readable storage medium
KR102204564B1 (en) Method for controlling unmanned air vehicle acquiring location information using survey antenna and method for generating location-matched image based on location information acquired from unmanned air vehicle
WO2022198558A1 (en) Movable platform, and control method and apparatus for movable platform assembly

Legal Events

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

Ref document number: 19859061

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12/08/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19859061

Country of ref document: EP

Kind code of ref document: A1