[go: up one dir, main page]

CN115902800A - Intelligent detection and trend prediction method of millimeter-wave radar high-voltage lines - Google Patents

Intelligent detection and trend prediction method of millimeter-wave radar high-voltage lines Download PDF

Info

Publication number
CN115902800A
CN115902800A CN202211282663.8A CN202211282663A CN115902800A CN 115902800 A CN115902800 A CN 115902800A CN 202211282663 A CN202211282663 A CN 202211282663A CN 115902800 A CN115902800 A CN 115902800A
Authority
CN
China
Prior art keywords
line
tree
detection results
threshold
line point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211282663.8A
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.)
Leihua Electronic Technology Research Institute Aviation Industry Corp of China
Original Assignee
Leihua Electronic Technology Research Institute Aviation Industry Corp of China
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 Leihua Electronic Technology Research Institute Aviation Industry Corp of China filed Critical Leihua Electronic Technology Research Institute Aviation Industry Corp of China
Priority to CN202211282663.8A priority Critical patent/CN115902800A/en
Publication of CN115902800A publication Critical patent/CN115902800A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Radar Systems Or Details Thereof (AREA)

Abstract

本发明提供一种毫米波雷达高压线智能化检测与走向预测方法,包括以下步骤:步骤一、将一个天线扫描周期内的雷达回波图作为卷积神经网络的输入;步骤二、设置第一阈值,将大于第一阈值处的线点检测结果进行保留;步骤三、使用线点检测结果作为输入,使用多曲线拟合方法,得到多条电力线的初步检测结果;步骤四、对每条电力线的初步检测结果进行前序遍历,将遍历得到的每个节点依次连接,得到以线段形式表示的电力线检测结果;步骤五、对每条以线段形式表示的电力线检测结果序列进行平滑操作;步骤六、设置第二阈值,将置信度或者长度小于第二阈值的线段形式表示的电力线剔除,输出剩余的线段形式表示的电力线作为检测结果。

Figure 202211282663

The present invention provides a method for intelligent detection and direction prediction of millimeter-wave radar high-voltage lines, comprising the following steps: step 1, using the radar echo pattern within an antenna scanning period as the input of the convolutional neural network; step 2, setting the first threshold , keep the line point detection results greater than the first threshold; step 3, use the line point detection results as input, and use the multi-curve fitting method to obtain the preliminary detection results of multiple power lines; step 4, for each power line Perform pre-order traversal of the preliminary detection results, and connect each node obtained through the traversal in turn to obtain the power line detection results expressed in the form of line segments; step five, perform smoothing operations on each power line detection result sequence expressed in the form of line segments; step six, A second threshold is set, the electric power lines represented in the form of line segments whose confidence degree or length is smaller than the second threshold are eliminated, and the remaining electric power lines represented in the form of line segments are output as detection results.

Figure 202211282663

Description

毫米波雷达高压线智能化检测与走向预测方法Intelligent detection and trend prediction method of millimeter-wave radar high-voltage lines

技术领域technical field

本发明涉及雷达防撞技术领域,具体涉及一种毫米波雷达高压线智能化检测与走向预测方法。The invention relates to the technical field of radar collision avoidance, in particular to a method for intelligent detection and trend prediction of millimeter-wave radar high-voltage lines.

背景技术Background technique

直升机碰撞电线是一个全球性问题。在近年的飞行事故统计中,烟囱、高压线等低空障碍物成为了威胁飞行安全的主要因素,而高压线在视野不佳的情况往往最难以发现,因此成为了低空飞行中最危险的障碍物。由于毫米波的波长与电力线尺寸接近,在毫米波波段下电力线回波具有最明显的布拉格效应,且受气候和光照影响较小,因此毫米波防撞雷达系统成为了低空飞行器防撞检测的主要选择。Helicopters colliding with power lines are a global problem. In the statistics of flight accidents in recent years, low-altitude obstacles such as chimneys and high-voltage lines have become the main factors that threaten flight safety, and high-voltage lines are often the most difficult to find when the field of vision is poor, so they have become the most dangerous obstacles in low-altitude flight. Since the wavelength of the millimeter wave is close to the size of the power line, the echo of the power line in the millimeter wave band has the most obvious Bragg effect, and is less affected by climate and light, so the millimeter wave anti-collision radar system has become the main anti-collision detection system for low altitude aircraft choose.

现有的毫米波高压线检测算法部分采用先通过恒虚警检测提取疑似电力线点及电力塔的位置,再使用霍夫变换等直线检测方法提取电力线,最后采用特征分类器进行分类的方式进行。Ma Qirong等人提出了一种联合利用霍夫变换和支持向量机分类器的高压线检测算法。通过提取电力线的功率均值、平均峰值间距和方差等特征完成电力线检测,但该方法采用霍夫变换检测直线,对电力线走向出现变化的情况无能为力。中国发明专利CN106529416A中先对毫米波回波图像进行分块,对每个划分的区域使用霍夫变换提取直线,并提取线段特征使用决策树判定每个线段是否为电力线。但这种方法的检测结果为分离的直线段而不是完整的高压线,且同样无法检测分块区域内的电力线走向变化。中国发明专利CN107561509A采用恒虚警检测提取毫米波回波图像中的疑似电力线点,并采用卡尔曼滤波算法连接线点完成电力线位置检测,采用支持向量机算法完成电力线的识别判定。但这种方法仅在仿真数据下进行了实验,并且仿真实验数据时按照电力线的理论RCS计算毫米波雷达回波,不能很好适应实际场景存在大量杂波区域,布拉格效应不明显等情况。The existing millimeter-wave high-voltage line detection algorithm uses constant false alarm detection to extract suspected power line points and the location of power towers, then uses Hough transform and other line detection methods to extract power lines, and finally uses feature classifiers for classification. Ma Qirong et al. proposed a high-voltage line detection algorithm that jointly utilizes Hough transform and support vector machine classifier. The power line detection is completed by extracting the power mean value, average peak distance and variance of the power line, but this method uses the Hough transform to detect the straight line, which is powerless to change the direction of the power line. In the Chinese invention patent CN106529416A, the millimeter-wave echo image is first divided into blocks, and the Hough transform is used to extract straight lines for each divided area, and the features of the line segments are extracted using a decision tree to determine whether each line segment is a power line. However, the detection result of this method is a separated straight line segment instead of a complete high-voltage line, and it is also unable to detect the change of the direction of the power line in the block area. Chinese invention patent CN107561509A uses constant false alarm detection to extract suspected power line points in millimeter wave echo images, uses Kalman filter algorithm to connect line points to complete power line position detection, and uses support vector machine algorithm to complete power line identification and judgment. However, this method is only tested on simulation data, and the calculation of millimeter-wave radar echoes according to the theoretical RCS of the power line when simulating the experimental data cannot be well adapted to the situation where there are a large number of clutter areas in the actual scene, and the Bragg effect is not obvious.

发明内容Contents of the invention

有鉴于此,本说明书实施例提供一种毫米波雷达高压线智能化检测与走向预测方法,以提升直升机低空飞行的避障能力,保障飞行人员及乘客的安全。In view of this, the embodiment of this specification provides an intelligent detection and direction prediction method for millimeter-wave radar high-voltage lines, so as to improve the obstacle avoidance ability of helicopters flying at low altitudes and ensure the safety of pilots and passengers.

本说明书实施例提供以下技术方案:一种毫米波雷达高压线智能化检测与走向预测方法,包括以下步骤:步骤一、将一个天线扫描周期内的雷达回波图作为卷积神经网络的输入;步骤二、设置第一阈值,将大于第一阈值处的线点检测结果进行保留;步骤三、使用线点检测结果作为输入,使用多曲线拟合方法,得到多条电力线的初步检测结果;步骤四、对每条电力线的初步检测结果进行前序遍历,将遍历得到的每个节点依次连接,得到以线段形式表示的电力线检测结果;步骤五、对每条以线段形式表示的电力线检测结果序列进行平滑操作;步骤六、设置第二阈值,将置信度或者长度小于第二阈值的线段形式表示的电力线剔除,输出剩余的线段形式表示的电力线作为检测结果。The embodiment of this specification provides the following technical solutions: a method for intelligent detection and direction prediction of millimeter-wave radar high-voltage lines, including the following steps: Step 1, using the radar echo pattern within one antenna scanning period as the input of the convolutional neural network; step 2. Set the first threshold, and keep the line point detection results greater than the first threshold; step 3, use the line point detection results as input, and use the multi-curve fitting method to obtain the preliminary detection results of multiple power lines; step 4 1. Perform preorder traversal on the preliminary detection results of each power line, and connect each node obtained through the traversal in turn to obtain the power line detection results expressed in the form of line segments; Smoothing operation; step 6, setting a second threshold, removing the electric power lines represented by line segments whose confidence degree or length is smaller than the second threshold, and outputting the remaining electric power lines represented by line segments as detection results.

进一步地,步骤一包括:设置分类损失函数为lc=-2|cp-cg|λcglogcp,其中,cp,cg分别为类别预测置信度和真实的类别结果,λ为平衡困难样本的参数。Further, step 1 includes: setting the classification loss function as l c =-2|c p -c g | λ c g logc p , where c p and c g are the category prediction confidence and the real category result respectively, λ Parameters for balancing hard samples.

进一步地,步骤一还包括:设置角度预测采用绝对值损失函数

Figure BDA0003898644650000021
其中ap,ag分别为角度预测结果和真实线点切线角度,d为该点离标签中最近的线点的距离,D为调节角度损失的参数。Further, step 1 also includes: setting the angle prediction using the absolute value loss function
Figure BDA0003898644650000021
where a p and a g are the angle prediction result and the tangent angle of the real line point respectively, d is the distance from the point to the nearest line point in the label, and D is the parameter to adjust the angle loss.

进一步地,步骤三包括:Further, step three includes:

步骤3.1、新建一棵空树,并将所有大于第一阈值处的线点检测结果以链表的形式表示;Step 3.1, create an empty tree, and represent all line point detection results greater than the first threshold in the form of a linked list;

步骤3.2、将链表中的第一个线点依次从每棵红黑树的根节点开始,逐层比较与红黑树中节点的大小,直到找到与红黑树中最接近的节点;Step 3.2, the first line point in the linked list starts from the root node of each red-black tree in turn, and compares the size of the nodes in the red-black tree layer by layer until the node closest to the red-black tree is found;

步骤3.3、计算大于第一阈值处的线点检测结果与最接近的节点的距离、角度差异度、位置差异度和不同方向上的位置间隔。Step 3.3. Calculate the distance, angle difference, position difference and position intervals in different directions between the line point detection results greater than the first threshold and the closest node.

步骤3.4、根据步骤3.3中的计算结果,当距离、角度差异度、位置差异度和方向间隔均满足设定条件时将当前线点与树中的节点合并,并跳转到步骤 3.7;Step 3.4. According to the calculation results in step 3.3, when the distance, angle difference degree, position difference degree and direction interval all meet the set conditions, merge the current line point with the node in the tree, and jump to step 3.7;

步骤3.5、当仅距离不满足设定条件时,则将线点作为叶子节点插入到树中,按照当前树的平衡情况对红黑树进行左旋或者右旋操作,并跳转到步骤 3.8。Step 3.5. When only the distance does not meet the set conditions, insert the line point into the tree as a leaf node, perform left or right rotation on the red-black tree according to the balance of the current tree, and jump to step 3.8.

步骤3.6、将线点与下一棵树进行对比,跳转至步骤3.2,如果所有树都已经对比完成,则先将线点置于链表的尾部,再跳转至步骤3.2。Step 3.6. Compare the line point with the next tree, and then go to step 3.2. If all the trees have been compared, put the line point at the end of the linked list first, and then go to step 3.2.

步骤3.7、检验合并之后的树中的节点与其邻近节点是否仍旧满足步骤3.4 中的条件,如果满足,则跳转到步骤3.8,否则跳转至步骤3.6;Step 3.7, check whether the nodes in the merged tree and its adjacent nodes still meet the conditions in step 3.4, if so, go to step 3.8, otherwise go to step 3.6;

步骤3.8、将线点从链表中剔除,然后跳转至步骤3.2;Step 3.8, remove the line points from the linked list, and then jump to step 3.2;

步骤3.9、如果链表在一次循环内没有完成任何合并或者插入树中的操作,则以链表中首个线点作为根节点新建一棵树;Step 3.9. If the linked list has not completed any merging or inserting operations into the tree within a loop, create a new tree with the first line point in the linked list as the root node;

步骤3.10、循环上述步骤,直到链表为空。Step 3.10, repeat the above steps until the linked list is empty.

与现有技术相比,本说明书实施例采用的上述至少一个技术方案能够达到的有益效果至少包括:使用卷积神经网络自动提取雷达回波图中的峰值特征,克服了传统CFAR峰值检测中依赖设定检测门限,而无法在减少虚警的同时降低漏检的问题。进一步,本方法依赖对线点方向的预测,克服了现有电力线检测方法只能检测直线的问题,在电力线走向出现变化的条件下仍然可以实现准确检测。Compared with the prior art, the beneficial effects that can be achieved by at least one of the above-mentioned technical solutions adopted in the embodiments of this specification at least include: using the convolutional neural network to automatically extract the peak features in the radar echo image, which overcomes the traditional CFAR peak detection. Setting the detection threshold does not reduce the problem of missed detection while reducing false alarms. Furthermore, this method relies on the prediction of the direction of the line point, overcomes the problem that the existing power line detection method can only detect straight lines, and can still achieve accurate detection under the condition that the direction of the power line changes.

附图说明Description of drawings

为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1是本发明实施例的流程示意图;Fig. 1 is a schematic flow chart of an embodiment of the present invention;

图2是本发明实施例中电力线检测算法流程示意图。Fig. 2 is a schematic flow chart of the power line detection algorithm in the embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图对本申请实施例进行详细描述。Embodiments of the present application will be described in detail below in conjunction with the accompanying 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 combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and examples.

如图1和图2所示,本发明实施例提供了一种毫米波雷达高压线智能化检测与走向预测方法,具体包括以下步骤:As shown in Figures 1 and 2, an embodiment of the present invention provides a method for intelligent detection and trend prediction of millimeter-wave radar high-voltage lines, which specifically includes the following steps:

步骤1:将一个天线扫描周期内的雷达回波图作为CNN网络的输入。其中CNN网络采用ENet网络模型。网络的特征提取部分由7个阶段模块组成,每个阶段模块又由若干瓶颈结构构成。特征提取网络的输出分别连接两个支路,每个支路分别包含两个全连接层,分别预测每个像素点处的线点置信度和线点处的切线角度。切线角度采用弧度制,取值范围为[0,π)。线点置信度预测采用分类的预测方式,采用交叉熵作为损失函数。为了提高网络对困难样本的预测准确度,采用了类似焦点损失函数(focal loss)的计算方式,但在训练过程中可以设置正负样本的采样几率,不容易出现样本不平衡问题,因此将focal loss中用于缓解类别不平衡度的计算项删去。类别预测中损失函数lc的计算公式为:Step 1: Take the radar echo map within one antenna scanning period as the input of the CNN network. Among them, the CNN network adopts the ENet network model. The feature extraction part of the network is composed of seven stage modules, and each stage module is composed of several bottleneck structures. The output of the feature extraction network is respectively connected to two branches, and each branch contains two fully connected layers, respectively predicting the line point confidence at each pixel point and the tangent line angle at the line point. The tangent angle is in radians, and the value range is [0, π). The line point confidence prediction adopts the classification prediction method, and cross entropy is used as the loss function. In order to improve the prediction accuracy of the network for difficult samples, a calculation method similar to the focal loss function (focal loss) is used, but the sampling probability of positive and negative samples can be set during the training process, and the problem of sample imbalance is not easy to occur, so focal loss The calculation items used to alleviate the category imbalance in loss are deleted. The calculation formula of the loss function l c in category prediction is:

lc=-2|cp-cg|λcglogcp                   (1)l c =-2|c p -c g | λ c g logc p (1)

其中cp,cg分别为类别预测置信度和真实的类别结果,λ为平衡困难样本的参数,方法中设置为2。Among them, c p and c g are the category prediction confidence and the real category result respectively, and λ is the parameter for balancing difficult samples, which is set to 2 in the method.

角度预测采用绝对值损失函数。由于非电力线点处的切线角度预测结果无意义,因此在训练中设定角度损失函数la与该点到标签中最近的线点间的距离成负相关,其计算公式为:Angle prediction uses an absolute value loss function. Since the tangent angle prediction results at non-power line points are meaningless, the angle loss function l a is set to be negatively correlated with the distance between the point and the nearest line point in the label during training, and its calculation formula is:

Figure BDA0003898644650000051
Figure BDA0003898644650000051

其中ap,ag分别为角度预测结果和真实线点切线角度,d为该点离标签中最近的线点的距离,D为调节角度损失的参数,方法中该参数设定为30。Among them, a p and a g are the angle prediction result and the tangent angle of the real line point respectively, d is the distance from the point to the nearest line point in the label, and D is the parameter for adjusting the angle loss, which is set to 30 in the method.

步骤2:设定阈值为0.5,将置信度小于等于阈值的点剔除,只保留大于阈值处的线点检测结果。为了进一步降低计算量,从这些剩余的线点中随机保留25%的线点进行后续的计算步骤;Step 2: Set the threshold to 0.5, remove the points whose confidence is less than or equal to the threshold, and only keep the line point detection results greater than the threshold. In order to further reduce the calculation amount, 25% of the line points are randomly reserved from these remaining line points for subsequent calculation steps;

步骤3:使用过滤后的线点置信度及角度预测结果作为输入,使用所设计的多曲线拟合方法,得到电力线的初步检测结果。多曲线拟合方法基于红黑树实现,其具体方法为:Step 3: Use the filtered line point confidence and angle prediction results as input, and use the designed multi-curve fitting method to obtain the preliminary detection results of the power line. The multi-curve fitting method is realized based on the red-black tree, and the specific method is as follows:

(3.1)首先新建一棵空树,并将所有线点以链表的形式表示;(3.1) First create an empty tree, and represent all line points in the form of a linked list;

(3.2)将链表中的第一个线点依次从每棵红黑树的根节点开始,逐层比较与红黑树中节点的大小,直到找到与树中最接近的节点。线点和树中节点大小的计算方式为:先计算树中节点方向的垂线,用直线的标准式表示。再将线点代入垂线的计算式中,如果结果为正则视为线点大于树中的节点,否则视为线点小于树中的节点。(3.2) The first line point in the linked list starts from the root node of each red-black tree in turn, and compares the size of the nodes in the red-black tree layer by layer until the node closest to the tree is found. The calculation method of the line point and the size of the node in the tree is: first calculate the vertical line of the direction of the node in the tree, and express it with the standard formula of the straight line. Then substitute the line point into the calculation formula of the vertical line. If the result is positive, the line point is considered to be larger than the node in the tree, otherwise the line point is considered to be smaller than the node in the tree.

(3.3)计算线点与最接近的节点的距离、角度差异度、位置差异度和不同方向上的位置间隔;其中,距离分为相对于节点切线方向的投影距离dx和相对于节点切线的垂线方向的投影距离dy。角度差异度dang衡量线点切线预测结果与树中相邻两个节点间角度预测结果的差异度,其计算公式为:(3.3) Calculate the distance between the line point and the nearest node, the degree of angle difference, the degree of position difference and the position interval in different directions; where, the distance is divided into the projected distance d x relative to the tangent direction of the node and d x relative to the tangent of the node Projection distance d y in the vertical direction. The angle difference d ang measures the difference between the prediction result of the line point tangent line and the angle prediction result between two adjacent nodes in the tree, and its calculation formula is:

dang=|a-aleft|+|a-aright|-|aleft-aright|                 (3)d ang =|aa left |+|aa right |-|a left -a right | (3)

其中a,aleft,aright分别为线点角度,位于线点左侧及右侧的树节点的角度。位置差异度dpos衡量待插入线点与相邻两节点间的平滑程度,定义为线点与左右两节点形成的角度与π的差值。dpos和dang均采用弧度制表示。Where a, a left , and a right are the angles of the line point, and the angles of the tree nodes on the left and right sides of the line point respectively. The position difference degree d pos measures the smoothness between the line point to be inserted and the two adjacent nodes, and is defined as the difference between the angle formed by the line point and the left and right nodes and π. Both d pos and d ang are expressed in radians.

不同方向上的位置间隔计算线点与树中节点在不同方向上最远的合并的点的距离,通过剔除与当前树节点的合并点集过远的点,达到抑制正确的线点周围一定范围内出现的虚警干扰的目的。本发明中将一个圆周360°平均划分为36个方向,每个方向覆盖10°的区域,并只保留合并的点中落在该方向下的点离节点中心点最远的点。由于每次合并时节点中心的位置都会发生改变,为了减少计算量,计算不同方向上位置间隔指标时节点中心点一直使用节点中第一个点的位置作为中心点。The position interval in different directions calculates the distance between the line point and the farthest merged point of the node in the tree in different directions. By eliminating the points that are too far away from the merged point set of the current tree node, a certain range around the correct line point can be suppressed. The purpose of false alarm interference that appears in the In the present invention, a circle of 360° is divided into 36 directions on average, and each direction covers an area of 10°, and only the points falling in this direction and the farthest point from the center point of the node are retained among the merged points. Since the position of the node center will change every time it is merged, in order to reduce the amount of calculation, the node center point always uses the position of the first point in the node as the center point when calculating the position interval index in different directions.

(3.4)根据3.3中的计算结果,当切线方向投影距离小于20,切线垂线方向的投影距离小于30时,若角度差异度小于0.6且位置差异度小于0.8,则将线点与树中节点合并,并跳转到3.7。合并采用加权方式进行,权值为步骤1中 CNN模型预测的线点置信度。节点位置及角度更新公式分别为:(3.4) According to the calculation results in 3.3, when the projection distance in the tangential direction is less than 20 and the projection distance in the tangential and perpendicular direction is less than 30, if the angle difference is less than 0.6 and the position difference is less than 0.8, the line point and the node in the tree Merge, and jump to 3.7. Merging is carried out in a weighted manner, and the weight is the line point confidence predicted by the CNN model in step 1. The node position and angle update formulas are:

Figure BDA0003898644650000061
Figure BDA0003898644650000061

其中confpoi为线点置信度,xpoi,ypoi和θpoi分别为线点横纵坐标及切线方向。 xold,xnew,yold,ynew分别为更新前后的树中节点的横坐标及更新前后的纵坐标。θnew为更新后的树中节点的切线方向。Among them, conf poi is the confidence degree of the line point, x poi , y poi and θ poi are the horizontal and vertical coordinates and the tangent direction of the line point respectively. x old , x new , y old , y new are respectively the abscissa of the node in the tree before and after the update and the ordinate before and after the update. θ new is the tangent direction of the node in the updated tree.

(3.5)如果切线方向投影距离小于40,切线垂线方向的投影距离小于50,但距离不满足合并要求,而其余指标满足要求时,则将线点作为当前树节点的叶子节点插入到树中,按照当前树的平衡情况对红黑树进行左旋或者右旋操作,并跳转到3.8;(3.5) If the projection distance in the tangent direction is less than 40, and the projection distance in the tangent and perpendicular direction is less than 50, but the distance does not meet the requirements for merging, and the other indicators meet the requirements, insert the line point into the tree as a leaf node of the current tree node , perform left or right rotation on the red-black tree according to the balance of the current tree, and jump to 3.8;

(3.6)将线点与下一棵树进行对比,跳转至3.2,如果所有树都已经对比完成,则先将线点置于链表的尾部,再跳转至3.2;(3.6) Compare the line point with the next tree, and jump to 3.2. If all the trees have been compared, first place the line point at the end of the linked list, and then jump to 3.2;

(3.7)检验合并之后的树中的节点与其邻近节点是否仍旧满足3.4中的角度差异度及位置差异度条件,如果满足,则跳转到3.8,否则跳转至3.6;(3.7) check whether the node in the merged tree and its adjacent nodes still meet the angle difference degree and position difference degree condition in 3.4, if satisfied, then jump to 3.8, otherwise jump to 3.6;

(3.8)将线点从链表中剔除,跳转至3.2;(3.8) Remove the line points from the linked list and jump to 3.2;

(3.9)如果链表在一次循环内没有完成任何合并或者插入树中的操作,则以链表中首个线点作为根节点新建一棵树;(3.9) If the linked list does not complete any merging or inserting operations into the tree within a loop, a new tree is created with the first line point in the linked list as the root node;

(3.10)循环上述过程,直到链表为空;(3.10) loop the above process until the linked list is empty;

步骤4:对步骤3中得到的每棵树进行前序遍历,将遍历得到的每个节点依次连接,得到以线段形式表示的电力线初步检测结果;Step 4: Perform preorder traversal on each tree obtained in step 3, and connect each node obtained in sequence to obtain the preliminary detection result of the power line in the form of a line segment;

步骤5:对每条电力线检测结果序列进行平滑操作。平滑时保持线的首尾两端的端点不变,对中间的节点,平滑依赖于其前后各一个节点的位置。记待平滑的点及其左右节点的坐标分别为(x1,y1),(x0,y0),(x2,y2),则计算公式为:Step 5: Perform a smoothing operation on each power line detection result sequence. When smoothing, keep the end points of the first and last ends of the line unchanged. For the middle node, smoothing depends on the position of a node before and after it. Remember that the coordinates of the point to be smoothed and its left and right nodes are (x 1 , y 1 ), (x 0 , y 0 ), (x 2 , y 2 ), and the calculation formula is:

Figure BDA0003898644650000071
Figure BDA0003898644650000071

公式中v为中间变量,

Figure BDA0003898644650000072
为平滑后的线点坐标。In the formula v is an intermediate variable,
Figure BDA0003898644650000072
is the smoothed line point coordinates.

步骤6:计算每条电力线中所包含的所有线点的置信度之和,并按从大到小的顺序排列电力线序列。对电力线序列的置信度进行累加,当累加置信度占所有电力线总置信度的比例超过阈值(方法中设定为0.8)时,则删除序列中剩余的电力线,同时删除长度小于80的电力线,以抑制峰值检测模型检测结果中虚警的干扰。Step 6: Calculate the sum of the confidences of all line points contained in each power line, and arrange the power line sequence in descending order. Accumulate the confidence of the power line sequence, and when the proportion of the accumulated confidence to the total confidence of all power lines exceeds the threshold (set to 0.8 in the method), delete the remaining power lines in the sequence, and delete the power lines with a length less than 80 at the same time. Suppresses the interference of false alarms in the detection results of the peak detection model.

其中,需要指出的是,红黑树在节点较多时可以有效保持树的平衡性和插入和查找的高效性,因此在本方法的电力线拟合部分采用基于红黑树的结构实现,但使用任意有序数据结构均可以替代红黑树实现步骤3中的曲线拟合功能。同时使用具有密集点预测的图像分割网络模型均可以实现基于CNN的峰值检测功能。Among them, it should be pointed out that the red-black tree can effectively maintain the balance of the tree and the efficiency of insertion and search when there are many nodes. The ordered data structure can replace the red-black tree to realize the curve fitting function in step 3. At the same time, the CNN-based peak detection function can be realized by using the image segmentation network model with dense point prediction.

本发明实施例的优点为:The advantage of the embodiment of the present invention is:

(1)采用卷积神经网络(Convolutional Neural Network,CNN)进行电力线点的预提取。在传统电力线检测方法中采用恒虚警检测方法提取电力线点及塔点,这些方法需要预先设定检测门限。检测门限设定过高容易出现漏检,而过低的检测门限则容易产生大量虚警。本方法中采用深度学习的方法自动提取电力线点,不需要事先设定检测门限,且能显著提高电力线点检测的准确率。(1) Convolutional Neural Network (CNN) is used to pre-extract power line points. In the traditional power line detection method, the constant false alarm detection method is used to extract power line points and tower points, and these methods need to set the detection threshold in advance. If the detection threshold is set too high, it is easy to miss detection, while if the detection threshold is too low, it is easy to generate a large number of false alarms. In this method, the method of deep learning is used to automatically extract the power line points without setting the detection threshold in advance, and the accuracy of power line point detection can be significantly improved.

(2)通过预测电力线点的切线方向,可以在不采用霍夫变换的情况下检测电力线位置,避免了现有大多数毫米波雷达电力线检测方法依赖于电力线始终为直线的假设。同时本方法在取消传统方法中电力线判别步骤的情况下仍能取得高识别率,避免了对高压线先验知识的过度依赖,场景适用性强。(2) By predicting the tangent direction of the power line point, the position of the power line can be detected without using the Hough transform, which avoids the assumption that the power line is always a straight line in most existing millimeter-wave radar power line detection methods. At the same time, this method can still achieve a high recognition rate without the power line discrimination step in the traditional method, avoiding excessive dependence on the prior knowledge of high-voltage lines, and has strong scene applicability.

以上所述,仅为本发明的具体实施例,不能以其限定发明实施的范围,所以其等同组件的置换,或依本发明专利保护范围所作的等同变化与修饰,都应仍属于本专利涵盖的范畴。另外,本发明中的技术特征与技术特征之间、技术特征与技术方案之间、技术方案与技术方案之间均可以自由组合使用。The above is only a specific embodiment of the present invention, and cannot limit the scope of the invention, so the replacement of its equivalent components, or the equivalent changes and modifications made according to the patent protection scope of the present invention, should still fall within the scope of this patent. category. In addition, the technical features and technical features, technical features and technical solutions, and technical solutions and technical solutions in the present invention can be used in free combination.

Claims (4)

1.一种毫米波雷达高压线智能化检测与走向预测方法,其特征在于,包括以下步骤:1. A millimeter-wave radar high voltage line intelligent detection and trend prediction method, is characterized in that, comprises the following steps: 步骤一、将一个天线扫描周期内的雷达回波图作为卷积神经网络的输入;Step 1, using the radar echo image in one antenna scanning period as the input of the convolutional neural network; 步骤二、设置第一阈值,将大于第一阈值处的线点检测结果进行保留;Step 2, setting a first threshold, and retaining the line point detection results greater than the first threshold; 步骤三、使用线点检测结果作为输入,使用多曲线拟合方法,得到多条电力线的初步检测结果;Step 3, using the line point detection results as input, using a multi-curve fitting method to obtain preliminary detection results of multiple power lines; 步骤四、对每条电力线的初步检测结果进行前序遍历,将遍历得到的每个节点依次连接,得到以线段形式表示的电力线检测结果;Step 4, perform preorder traversal on the preliminary detection results of each power line, connect each node obtained through the traversal in turn, and obtain the power line detection results expressed in the form of line segments; 步骤五、对每条以线段形式表示的电力线检测结果序列进行平滑操作;Step 5, performing a smoothing operation on each power line detection result sequence expressed in the form of a line segment; 步骤六、设置第二阈值,将置信度或者长度小于第二阈值的线段形式表示的电力线剔除,输出剩余的线段形式表示的电力线作为检测结果。Step 6: Setting a second threshold, removing electric power lines represented by line segments whose confidence or length is smaller than the second threshold, and outputting remaining electric power lines represented by line segments as detection results. 2.根据权利要求1所述的毫米波雷达高压线智能化检测与走向预测方法,其特征在于,所述步骤一包括:设置分类损失函数为lc=-2|cp-cg|λcglogcp,其中,cp,cg分别为类别预测置信度和真实的类别结果,λ为平衡困难样本的参数。2. The intelligent detection and trend prediction method for millimeter-wave radar high-voltage lines according to claim 1, wherein said step 1 includes: setting the classification loss function as lc =-2| cp - cg | λc g logc p , where, c p , c g are the category prediction confidence and the real category result respectively, and λ is a parameter for balancing difficult samples. 3.根据权利要求2所述的毫米波雷达高压线智能化检测与走向预测方法,其特征在于,所述步骤一还包括:设置角度预测采用绝对值损失函数
Figure FDA0003898644640000011
其中ap,ag分别为角度预测结果和真实线点切线角度,d为该点离标签中最近的线点的距离,D为调节角度损失的参数。
3. The intelligent detection and direction prediction method for millimeter-wave radar high-voltage lines according to claim 2, characterized in that, said step 1 further includes: setting the angle prediction using an absolute value loss function
Figure FDA0003898644640000011
where a p and a g are the angle prediction result and the tangent angle of the real line point respectively, d is the distance from the point to the nearest line point in the label, and D is the parameter to adjust the angle loss.
4.根据权利要求3所述的毫米波雷达高压线智能化检测与走向预测方法,其特征在于,所述步骤三包括:4. The intelligent detection and direction prediction method of the millimeter-wave radar high-voltage line according to claim 3, wherein the step 3 includes: 步骤3.1、新建一棵空树,并将所有大于第一阈值处的线点检测结果以链表的形式表示;Step 3.1, create an empty tree, and represent all line point detection results greater than the first threshold in the form of a linked list; 步骤3.2、将链表中的第一个线点依次从每棵红黑树的根节点开始,逐层比较与红黑树中节点的大小,直到找到与红黑树中最接近的节点;Step 3.2, the first line point in the linked list starts from the root node of each red-black tree in turn, and compares the size of the nodes in the red-black tree layer by layer until the node closest to the red-black tree is found; 步骤3.3、计算大于第一阈值处的线点检测结果与最接近的节点的距离、角度差异度、位置差异度和不同方向上的位置间隔。Step 3.3. Calculate the distance, angle difference, position difference and position intervals in different directions between the line point detection results greater than the first threshold and the closest node. 步骤3.4、根据步骤3.3中的计算结果,当距离、角度差异度、位置差异度和方向间隔均满足设定条件时将当前线点与树中的节点合并,并跳转到步骤3.7;Step 3.4, according to the calculation result in step 3.3, when the distance, angle difference degree, position difference degree and direction interval all meet the set conditions, merge the current line point with the node in the tree, and jump to step 3.7; 步骤3.5、当仅距离不满足设定条件时,则将线点作为叶子节点插入到树中,按照当前树的平衡情况对红黑树进行左旋或者右旋操作,并跳转到步骤3.8。Step 3.5. When only the distance does not meet the set conditions, insert the line point into the tree as a leaf node, perform left-handed or right-handed operation on the red-black tree according to the balance of the current tree, and jump to step 3.8. 步骤3.6、将线点与下一棵树进行对比,跳转至步骤3.2,如果所有树都已经对比完成,则先将线点置于链表的尾部,再跳转至步骤3.2。Step 3.6. Compare the line point with the next tree, and then go to step 3.2. If all the trees have been compared, put the line point at the end of the linked list first, and then go to step 3.2. 步骤3.7、检验合并之后的树中的节点与其邻近节点是否仍旧满足步骤3.4中的条件,如果满足,则跳转到步骤3.8,否则跳转至步骤3.6;Step 3.7, check whether the nodes in the merged tree and its adjacent nodes still meet the conditions in step 3.4, if so, go to step 3.8, otherwise go to step 3.6; 步骤3.8、将线点从链表中剔除,然后跳转至步骤3.2;Step 3.8, remove the line points from the linked list, and then jump to step 3.2; 步骤3.9、如果链表在一次循环内没有完成任何合并或者插入树中的操作,则以链表中首个线点作为根节点新建一棵树;Step 3.9. If the linked list has not completed any merging or inserting operations into the tree within a loop, create a new tree with the first line point in the linked list as the root node; 步骤3.10、循环上述步骤,直到链表为空。Step 3.10, repeat the above steps until the linked list is empty.
CN202211282663.8A 2022-10-19 2022-10-19 Intelligent detection and trend prediction method of millimeter-wave radar high-voltage lines Pending CN115902800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211282663.8A CN115902800A (en) 2022-10-19 2022-10-19 Intelligent detection and trend prediction method of millimeter-wave radar high-voltage lines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211282663.8A CN115902800A (en) 2022-10-19 2022-10-19 Intelligent detection and trend prediction method of millimeter-wave radar high-voltage lines

Publications (1)

Publication Number Publication Date
CN115902800A true CN115902800A (en) 2023-04-04

Family

ID=86469974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211282663.8A Pending CN115902800A (en) 2022-10-19 2022-10-19 Intelligent detection and trend prediction method of millimeter-wave radar high-voltage lines

Country Status (1)

Country Link
CN (1) CN115902800A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100214152A1 (en) * 2007-05-29 2010-08-26 Huang Tom T Radar cable detection system
CN107728129A (en) * 2017-09-08 2018-02-23 国网山东省电力公司电力科学研究院 A kind of millimetre-wave radar and unmanned plane for power line detection
US20190317191A1 (en) * 2018-04-11 2019-10-17 Infineon Technologies Ag Human Detection and Identification in a Setting Using Millimiter-Wave Radar
CN112084955A (en) * 2020-09-11 2020-12-15 中国航空工业集团公司雷华电子技术研究所 High-voltage line detection and identification method and device and electronic equipment
CN114236547A (en) * 2021-11-16 2022-03-25 中国航空工业集团公司雷华电子技术研究所 High-voltage line detection method for millimeter wave radar image

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100214152A1 (en) * 2007-05-29 2010-08-26 Huang Tom T Radar cable detection system
CN107728129A (en) * 2017-09-08 2018-02-23 国网山东省电力公司电力科学研究院 A kind of millimetre-wave radar and unmanned plane for power line detection
US20190317191A1 (en) * 2018-04-11 2019-10-17 Infineon Technologies Ag Human Detection and Identification in a Setting Using Millimiter-Wave Radar
CN112084955A (en) * 2020-09-11 2020-12-15 中国航空工业集团公司雷华电子技术研究所 High-voltage line detection and identification method and device and electronic equipment
CN114236547A (en) * 2021-11-16 2022-03-25 中国航空工业集团公司雷华电子技术研究所 High-voltage line detection method for millimeter wave radar image

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
QIRONG MA ET AL.: "An Algorithm for Power Line Detection and Warning Based on a Millimeter-Wave Radar Video", 《IEEE TRANSACTIONS ON IMAGE PROCESSING》, vol. 20, no. 12, 31 December 2011 (2011-12-31) *
罗旌胜 等: "毫米波雷达高压线检测技术的研究进展", 《电讯技术》, vol. 56, no. 10, 31 October 2016 (2016-10-31) *

Similar Documents

Publication Publication Date Title
CN114488194B (en) A method for target detection and recognition on structured roads for intelligent driving vehicles
CN113989784B (en) A road scene type recognition method and system based on vehicle-mounted laser point cloud
CN113409252B (en) Obstacle detection method for overhead transmission line inspection robot
CN110798805B (en) Data processing method, device and storage medium based on GPS track
CN110988880A (en) Geographic information extraction and target tracking method based on SMR target track
CN117593707B (en) Vehicle identification method and device
Zheng et al. Building recognition of UAV remote sensing images by deep learning
CN117197676A (en) A target detection and recognition method based on feature fusion
CN115457414A (en) A UAV Abnormal Behavior Recognition Method Based on Improved Residual Network
CN117152706A (en) Method, device and system for identifying water accumulation on aircraft flight runway
Singh et al. 3D-MFDNN: Three-dimensional multi-feature descriptors combined deep neural network for vegetation segmentation from airborne laser scanning data
CN112396031B (en) Target detection method and system based on heterogeneous operation platform
Liu et al. Object detection algorithm based on lightweight YOLOv4 for UAV
CN114926779B (en) An end-to-end aircraft detection and tracking method based on deep learning
CN115902800A (en) Intelligent detection and trend prediction method of millimeter-wave radar high-voltage lines
CN119224789B (en) Wind shear and shear line identification method and system based on laser radar
CN116482700A (en) A method and device for robust identification of unmanned aerial vehicle lidar imitation line poles and towers
Zhou et al. Automatic extraction of power lines from uav lidar point clouds using a novel spatial feature
Lv et al. Research on insulator defect detection and recognition in overhead transmission line based on convolutional neural network
CN119538093A (en) Guardrail deformation monitoring method, device, system and medium based on millimeter wave radar
CN111553405A (en) Clustering fog recognition algorithm based on pixel density K-means
CN118864991A (en) Transmission line tree obstacle prediction method, device, storage medium and computer equipment
CN118574251A (en) Laser radar protective glass automatic heating method based on running state monitoring
CN112907574B (en) A method, device, system and storage medium for finding the landing point of an aircraft
CN116301013A (en) A Collision Avoidance Method for Cooperative Unmanned Aerial Vehicles

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