[go: up one dir, main page]

CN102955940B - A kind of transmission line of electricity object detecting system and method - Google Patents

A kind of transmission line of electricity object detecting system and method Download PDF

Info

Publication number
CN102955940B
CN102955940B CN201210494908.3A CN201210494908A CN102955940B CN 102955940 B CN102955940 B CN 102955940B CN 201210494908 A CN201210494908 A CN 201210494908A CN 102955940 B CN102955940 B CN 102955940B
Authority
CN
China
Prior art keywords
state
image
acquisition board
image acquisition
video server
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.)
Active
Application number
CN201210494908.3A
Other languages
Chinese (zh)
Other versions
CN102955940A (en
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.)
State Grid Corp of China SGCC
Jining Power Supply Co of State Grid Shandong Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Jining Power Supply Co of State Grid Shandong Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Jining Power Supply Co of State Grid Shandong Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201210494908.3A priority Critical patent/CN102955940B/en
Publication of CN102955940A publication Critical patent/CN102955940A/en
Application granted granted Critical
Publication of CN102955940B publication Critical patent/CN102955940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

本发明公开了一种输电线路物体检测系统,它包括摄像机,摄像机通过RS485与视频服务器连接,视频服务器输出的视频送入图像采集板,图像采集板与上位机连接,上位机与基站连接,上位机与报警器连接,所述图像采集板还与DSP高速压缩电路和存储器连接,图像采集板在接收到上位机发来的控制命令,上传给视频服务器,视频服务器控制摄像机进行拍照,摄像机拍摄的图片经过视频服务器上传给图像采集板,图像采集板中的图像经DSP高速压缩电路将图像压缩与存储器中的基准图进行配准,并公开了一种物体检测方法,利用本发明可以对入侵和异物进行检测,若发现异常物体则进行报警,以便工作人员采取有效的措施避免输电线路事故的发生,并将警报信息逐级上传。

The invention discloses a power transmission line object detection system, which includes a camera, the camera is connected to a video server through RS485, the video output by the video server is sent to an image acquisition board, the image acquisition board is connected to a host computer, and the host computer is connected to a base station. The computer is connected with the alarm, and the image acquisition board is also connected with the DSP high-speed compression circuit and the memory. The image acquisition board receives the control command sent by the host computer and uploads it to the video server. The video server controls the camera to take pictures. The picture is uploaded to the image acquisition board through the video server, and the image in the image acquisition board is registered by the DSP high-speed compression circuit with the image compression and the reference image in the memory, and an object detection method is disclosed. The invention can detect intrusion and Foreign objects are detected, and if abnormal objects are found, an alarm will be issued, so that the staff can take effective measures to avoid transmission line accidents, and the alarm information will be uploaded step by step.

Description

一种输电线路物体检测系统及方法A transmission line object detection system and method

技术领域technical field

本发明涉及一种物体检测系统及方法,尤其涉及一种输电线路物体检测系统及方法。The invention relates to an object detection system and method, in particular to a power transmission line object detection system and method.

背景技术Background technique

随着电力建设的迅速发展,电网规模的不断扩大,在复杂地形条件下建设的电网越来越多,输电线路具有分散性大、距离长、难以维护等特点。电力部门目前采用定期人工巡视或直升机巡视等手段,一般巡视周期为一个月,而在巡视期内线路及周边的环境情况是不得而知的,这就为输电线路的安全运行埋下了巨大的隐患。With the rapid development of power construction and the continuous expansion of power grid scale, more and more power grids are built under complex terrain conditions, and transmission lines are characterized by large dispersion, long distances, and difficulty in maintenance. The power sector currently adopts regular manual inspections or helicopter inspections. The general inspection cycle is one month, and the environmental conditions of the line and its surroundings are unknown during the inspection period, which has laid a huge burden on the safe operation of the transmission line. Hidden danger.

目前,大多数的远程监控系统都仅实现对输电线路的监控,对于入侵检测、异物检测都没有成熟的技术。At present, most remote monitoring systems only realize the monitoring of transmission lines, and there are no mature technologies for intrusion detection and foreign object detection.

发明内容Contents of the invention

本发明的目的就是为了解决上述问题,提供一种输电线路物体检测方法,它具有自动识别输电线路旁物体的优点。The object of the present invention is to solve the above-mentioned problems and provide a method for detecting objects on transmission lines, which has the advantage of automatically identifying objects beside the transmission lines.

为了实现上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:

一种输电线路物体检测系统,它包括摄像机,摄像机通过RS485与视频服务器连接,视频服务器输出的视频送入图像采集板,图像采集板与上位机连接,上位机与基站连接,上位机与报警器连接,所述图像采集板还与DSP高速压缩电路和存储器连接,图像采集板在接收到上位机发来的控制命令,上传给视频服务器,视频服务器控制摄像机进行拍照,摄像机拍摄的图片经过视频服务器上传给图像采集板,图像采集板中的图像经DSP高速压缩电路将图像压缩与存储器中的基准图进行配准。A power transmission line object detection system, which includes a camera, the camera is connected to the video server through RS485, the video output by the video server is sent to the image acquisition board, the image acquisition board is connected to the upper computer, the upper computer is connected to the base station, and the upper computer is connected to the alarm connected, the image acquisition board is also connected with the DSP high-speed compression circuit and memory, the image acquisition board receives the control command sent by the host computer, uploads to the video server, the video server controls the camera to take pictures, and the pictures taken by the camera pass through the video server Upload to the image acquisition board, and the image in the image acquisition board is registered by the DSP high-speed compression circuit to compress the image and the reference image in the memory.

一种基于输电线路物体检测系统的输电线路物体检测方法,具体步骤为:A transmission line object detection method based on a transmission line object detection system, the specific steps are:

步骤一:读取原始背景图像,采用自适应背景混合高斯模型建模法创建初始混合高斯背景模型;Step 1: read the original background image, and use the adaptive background mixed Gaussian model modeling method to create an initial mixed Gaussian background model;

步骤二:捕获视频帧,检测新的像素值与模板匹配情况,若部分匹配则修正高斯参数,若未匹配则建立另一个混合高斯背景模型;Step 2: capture the video frame, detect the matching between the new pixel value and the template, if there is a partial match, modify the Gaussian parameters, and if there is no match, build another mixed Gaussian background model;

步骤三:建立另一个混合高斯背景模型后,然后返回步骤二;Step 3: After building another mixed Gaussian background model, return to Step 2;

步骤四:生成背景图像;Step 4: Generate a background image;

步骤五:读取当前视频帧,利用背景差分方法对当前帧中的运动目标进行提取;Step 5: Read the current video frame, and use the background difference method to extract the moving target in the current frame;

步骤六:利用卡尔曼滤波算法,精确提取划定监控区域内的运动目标;Step 6: Use the Kalman filter algorithm to accurately extract the moving targets within the designated monitoring area;

步骤七:然后利用各物体的特征通过支持向量机的方法,建立各物体的模型以识别监控范围内运动物体的种类;Step 7: Then use the characteristics of each object to establish a model of each object to identify the type of moving object within the monitoring range through the method of support vector machine;

步骤八:若检测出有大型机械的施工活动进入监测区域,则启动报警器报警;当发现有人进入监测范围时,则对人进行进一步的识别、跟踪,依据其在监测范围内的运动时间确定其运动行为,判断是否有私挖光缆的行为,若是则上位机控制报警器报警。Step 8: If it is detected that large-scale machinery construction activities enter the monitoring area, the alarm will be activated; when someone is found to enter the monitoring area, the person will be further identified and tracked, and determined according to their movement time within the monitoring area Its motion behavior is to judge whether there is an act of digging the optical cable privately, and if so, the upper computer controls the alarm to alarm.

所述步骤一中混合高斯背景模型建模原理为:The modeling principle of the mixed Gaussian background model in the first step is:

设每一个像素的灰度值用K个高斯分布描述,通常K值取3~5,K值的大小取决于计算机内存及对算法的速度要求,K值越大,处理灰度变化的能力越强,相应所需的处理时间也就越长,定义像素点灰度值用变量Xt表示,其概率密度函数用K个三维高斯函数表示:Assume that the gray value of each pixel is described by K Gaussian distributions. Usually the K value is 3 to 5. The size of the K value depends on the computer memory and the speed requirements of the algorithm. The larger the K value, the better the ability to deal with gray scale changes. Stronger, the correspondingly longer processing time is required. Define the pixel gray value to be represented by the variable X t , and its probability density function is represented by K three-dimensional Gaussian functions:

PP (( Xx tt )) == ΣΣ ii == 11 kk ωω ii ,, tt ·· ηη (( Xx tt ,, μμ ii ,, tt ,, ΣΣ ii ,, tt ))

式中ωi,t为第i个高斯分布在t时刻的权重,且有η(Xti,t,∑i,t)是t时刻的第i个高斯分布,其均值为μi,t,协方差为∑i,twhere ω i,t is the weight of the i-th Gaussian distribution at time t, and η(X t , μ i, t , ∑ i, t ) is the i-th Gaussian distribution at time t, with mean value μ i, t and covariance ∑ i, t ;

ηη (( Xx tt ,, μμ ii ,, tt ,, ΣΣ ii ,, tt )) == 11 (( 22 ππ )) nno 22 || ΣΣ ii ,, tt || 11 // 22 ee -- 11 22 (( Xx tt -- μμ ii ,, tt )) TT ΣΣ ii ,, tt -- 11 (( Xx tt -- μμ ii ,, tt ))

式中,i=1,...,K;n表示Xt的维数,设R、G、B,3个通道相互独立,并有相同的方差,则有 Σ i , t = Σ i , t σ i 2 I , 表示方差,I表示单位阵。In the formula, i=1,...,K; n represents the dimension of X t , assuming R, G, B, the three channels are independent of each other and have the same variance, then we have Σ i , t = Σ i , t σ i 2 I , Represents the variance, and I represents the identity matrix.

背景图像生成后,需对当前帧中的运动目标进行提取,背景差分方法,其原理如下:首先设Bk为背景图像,fk为当前帧图像,差分图像为Dk,则Dk(x,y)=|fx(x,y)-Bk-1(x,y)|,(x,y)为像素位置,设Rk为差分后二值图像,对Rk进行连通性分析,当某一连通区域的面积大于一定的阈值,则认为检测的目标出现,并认为这个连通的区域就是检测到的目标图像。After the background image is generated, it is necessary to extract the moving target in the current frame. The principle of the background difference method is as follows: first, set B k as the background image, f k as the current frame image, and the difference image as D k , then D k (x , y)=|f x (x, y)-B k-1 (x, y)|, (x, y) is the pixel position, let R k be the binary image after difference, and perform connectivity analysis on R k , when the area of a certain connected region is greater than a certain threshold, it is considered that the detected target appears, and this connected region is considered to be the detected target image.

T为设定的二值化阈值。T is the set binarization threshold.

所述步骤六的具体步骤为:The concrete steps of described step six are:

(6-1)建立卡尔曼滤波器系统线性随机微分方程:X(k)=A·X(k-1)+B·U(k)+W(k),卡尔曼滤波器系统的测量值:Z(k)=H·X(k)+V(k);X(k)是k时刻的系统状态,U(k)是k时刻对系统的控制量,A和B是系统参数,Z(k)是k时刻的测量值,H是测量系统的参数,W(k)和V(k)分别表示过程和测量的噪声;(6-1) Establish the linear stochastic differential equation of the Kalman filter system: X(k)=A X(k-1)+B U(k)+W(k), the measured value of the Kalman filter system : Z(k)=H X(k)+V(k); X(k) is the system state at time k, U(k) is the control quantity of the system at time k, A and B are system parameters, Z (k) is the measured value at time k, H is the parameter of the measurement system, W(k) and V(k) represent the process and measurement noise respectively;

(6-2)假设现在的系统状态是k,根据卡尔曼滤波器系统线性随机微分方程,利用上一帧状态而预测出现在的帧状态:(6-2) Assuming that the current system state is k, according to the linear stochastic differential equation of the Kalman filter system, use the state of the previous frame to predict the state of the current frame:

X(k|k-1)=A·X(k-1|k-1)+B·U(k)(1)X(k|k-1)=A·X(k-1|k-1)+B·U(k)(1)

其中,X(k|k-1)是利用上一帧状态预测的结果,X(k-1|k-1)是上一帧状态最优的结果,U(k)为现在帧状态的控制量,如果没有控制量,它为0;Among them, X(k|k-1) is the result of using the state prediction of the previous frame, X(k-1|k-1) is the result of the optimal state of the previous frame, and U(k) is the control of the current frame state amount, if there is no control amount, it is 0;

(6-3)利用公式(2)对X(k|k-1)的协方差进行更新,(6-3) Use formula (2) to update the covariance of X(k|k-1),

P(k|k-1)=A·P(k-1|k-1)·AT+Q(2),P(k|k-1)是X(k|k-1)P(k|k-1)=A·P(k-1|k-1)· AT +Q(2), P(k|k-1) is X(k|k-1)

对应的协方差,P(k-1|k-1)是X(k-1|k-1)对应的协方差,AT表示A的转置矩阵,Q是系统过程的协方差;The corresponding covariance, P(k-1|k-1) is the covariance corresponding to X(k-1|k-1), AT represents the transpose matrix of A, and Q is the covariance of the system process;

(6-4)收集现在帧状态的测量值,结合帧状态预测值和测量值,得到现在帧状态的最优化估算值X(k|k):(6-4) Collect the measured value of the current frame state, and combine the predicted value and measured value of the frame state to obtain the optimal estimated value X(k|k) of the current frame state:

X(k|k)=X(k|k-1)+Kg(k)·(Z(k)-H·X(k|k-1))(3)X(k|k)=X(k|k-1)+Kg(k)·(Z(k)-H·X(k|k-1))(3)

其中,Kg为卡尔曼增益(KalmanGain);Kg(k)=P(k|k-1)HT/(H·P(k|k-1)·HT+R)(4);Among them, Kg is Kalman Gain (KalmanGain); Kg(k)=P(k|k-1)H T /(H·P(k|k-1)· HT +R)(4);

(6-5)不断更新K状态X(k|k)的协方差:P(k|k)=(I-Kg(k)·H)P(k|k-1)(5)(6-5) Constantly update the covariance of K state X(k|k): P(k|k)=(I-Kg(k)·H)P(k|k-1)(5)

其中I为1的矩阵,对于单模型单测量,I=1;当系统进入k+1状态时,P(k|k)就是式子(2)的P(k|k-1)。Where I is a matrix of 1, for a single model and single measurement, I=1; when the system enters the k+1 state, P(k|k) is P(k|k-1) of the formula (2).

在划定的监控区域内,通过背景建模,差分处理,形态学运算等提取出较为精确地运动目标,然后利用车、人与动物等的特征通过支持向量机的方法,建立车、人与动物模型以识别监控范围内运动物体的种类,检测到的运动前景目标可能包括高大建筑机械、运动人体目标以及野生动物等,一般高大建筑机械的颜色特征比较明显且其面积较大,通过计算前景目标的区域的面积和外接矩形的长宽比等来分别出前景目标。若检测出有大型机械的施工活动进入监测区域,则启动前端告警装置。当发现有人进入监测范围时,则利用以上方法对人进行进一步的识别、跟踪,依据其在监测范围内的运动时间确定其运动行为,看是否有私挖光缆等的行为。In the demarcated monitoring area, through background modeling, difference processing, morphological operations, etc. to extract more accurate moving targets, and then use the characteristics of cars, people and animals through the method of support vector machine to establish the vehicle, people and The animal model is used to identify the types of moving objects within the monitoring range. The detected moving foreground targets may include tall construction machinery, moving human objects, and wild animals. Generally, the color characteristics of tall construction machinery are more obvious and their area is larger. By calculating the foreground The area of the target area and the aspect ratio of the circumscribed rectangle are used to distinguish the foreground target. If it is detected that construction activities of large machinery enter the monitoring area, the front-end alarm device will be activated. When it is found that someone enters the monitoring range, the above methods are used to further identify and track the person, and determine their movement behavior according to their movement time within the monitoring range to see if there is any behavior such as privately digging optical cables.

本发明的有益效果:利用本发明可以对入侵和异物进行检测,若发现异常物体则进行报警,以便工作人员采取有效的措施避免输电线路事故的发生。提醒人体目标盗窃国家电力设备属于违法行为,并将警报信息逐级上传。Beneficial effects of the present invention: the present invention can be used to detect intrusion and foreign objects, and if an abnormal object is found, an alarm is issued, so that staff can take effective measures to avoid transmission line accidents. Remind the human target to steal national power equipment is an illegal act, and upload the alarm information level by level.

附图说明Description of drawings

图1为本发明的系统框图;Fig. 1 is a system block diagram of the present invention;

图2为本发明的部分流程图。Fig. 2 is a partial flow chart of the present invention.

其中,1.图像采集板,2.上位机,3.基站,4.摄像机,5.视频服务器,6.DSP高速压缩电路,7.存储器,8.报警器。Among them, 1. Image acquisition board, 2. Host computer, 3. Base station, 4. Camera, 5. Video server, 6. DSP high-speed compression circuit, 7. Memory, 8. Alarm.

具体实施方式Detailed ways

下面结合附图与实施例对本发明作进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

如图1,一种输电线路物体检测系统,它包括摄像机4,摄像机4通过RS485与视频服务器5连接,视频服务器5输出的视频送入图像采集板1,图像采集板1与上位机2连接,上位机2与基站3连接,上位机2与报警器8连接,所述图像采集板1还与DSP高速压缩电路6和存储器7连接,图像采集板1在接收到上位机2发来的控制命令,上传给视频服务器5,视频服务器5控制摄像机4进行拍照,摄像机4拍摄的图片经过视频服务器5上传给图像采集板1,图像采集板1中的图像经DSP高速压缩电路6将图像压缩与存储器7中的基准图进行配准。As shown in Figure 1, a transmission line object detection system includes a camera 4, the camera 4 is connected to the video server 5 through RS485, the video output by the video server 5 is sent to the image acquisition board 1, and the image acquisition board 1 is connected to the upper computer 2, The upper computer 2 is connected with the base station 3, the upper computer 2 is connected with the alarm 8, and the image acquisition board 1 is also connected with the DSP high-speed compression circuit 6 and the memory 7, and the image acquisition board 1 receives the control command sent by the upper computer 2 , upload to the video server 5, the video server 5 controls the camera 4 to take pictures, the picture taken by the camera 4 is uploaded to the image acquisition board 1 through the video server 5, and the image in the image acquisition board 1 is compressed by the DSP high-speed compression circuit 6 and stored in the memory 7 for registration.

如图2所示,一种基于输电线路物体检测系统的输电线路物体检测方法,具体步骤为:As shown in Figure 2, a transmission line object detection method based on the transmission line object detection system, the specific steps are:

步骤一:读取原始背景图像,采用自适应背景混合高斯模型建模法创建初始混合高斯背景模型;Step 1: read the original background image, and use the adaptive background mixed Gaussian model modeling method to create an initial mixed Gaussian background model;

步骤二:捕获视频帧,检测新的像素值与模板匹配情况,若部分匹配则修正高斯参数,若未匹配则建立另一个混合高斯背景模型;Step 2: capture the video frame, detect the matching between the new pixel value and the template, if there is a partial match, modify the Gaussian parameters, and if there is no match, build another mixed Gaussian background model;

步骤三:建立另一个混合高斯背景模型后,然后返回步骤二;Step 3: After building another mixed Gaussian background model, return to Step 2;

步骤四:生成背景图像;Step 4: Generate a background image;

步骤五:读取当前视频帧,利用背景差分方法对当前帧中的运动目标进行提取;Step 5: Read the current video frame, and use the background difference method to extract the moving target in the current frame;

步骤六:利用卡尔曼滤波算法,精确提取划定监控区域内的运动目标;Step 6: Use the Kalman filter algorithm to accurately extract the moving targets within the designated monitoring area;

步骤七:然后利用各物体的特征通过支持向量机的方法,建立各物体的模型以识别监控范围内运动物体的种类;Step 7: Then use the characteristics of each object to establish a model of each object to identify the type of moving object within the monitoring range through the method of support vector machine;

步骤八:若检测出有大型机械的施工活动进入监测区域,则启动报警器报警;当发现有人进入监测范围时,则对人进行进一步的识别、跟踪,依据其在监测范围内的运动时间确定其运动行为,判断是否有私挖光缆的行为,若是则上位机控制报警器报警。Step 8: If it is detected that large-scale machinery construction activities enter the monitoring area, the alarm will be activated; when someone is found to enter the monitoring area, the person will be further identified and tracked, and determined according to their movement time within the monitoring area Its motion behavior is to judge whether there is an act of digging the optical cable privately, and if so, the upper computer controls the alarm to alarm.

所述步骤一中混合高斯背景模型建模原理为:The modeling principle of the mixed Gaussian background model in the first step is:

设每一个像素的灰度值用K个高斯分布描述,通常K值取3~5,K值的大小取决于计算机内存及对算法的速度要求,K值越大,处理灰度变化的能力越强,相应所需的处理时间也就越长,定义像素点灰度值用变量Xt表示,其概率密度函数用K个三维高斯函数表示:Assume that the gray value of each pixel is described by K Gaussian distributions. Usually, the value of K is 3 to 5. The value of K depends on the computer memory and the speed requirements of the algorithm. The larger the value of K, the better the ability to deal with gray scale changes. Stronger, the correspondingly longer processing time is required. Define the pixel gray value to be represented by the variable X t , and its probability density function is represented by K three-dimensional Gaussian functions:

PP (( Xx tt )) == ΣΣ ii == 11 kk ωω ii ,, tt ·&Center Dot; ηη (( Xx tt ,, μμ ii ,, tt ,, ΣΣ ii ,, tt ))

式中ωi,t为第i个高斯分布在t时刻的权重,且有η(Xti,t,∑i,t)是t时刻的第i个高斯分布,其均值为μi,t,协方差为∑i,twhere ω i,t is the weight of the i-th Gaussian distribution at time t, and η(X t , μ i, t , ∑ i, t ) is the i-th Gaussian distribution at time t, with mean value μ i, t and covariance ∑ i, t ;

ηη (( Xx tt ,, μμ ii ,, tt ,, ΣΣ ii ,, tt )) == 11 (( 22 ππ )) nno 22 || ΣΣ ii ,, tt || 11 // 22 ee -- 11 22 (( Xx tt -- μμ ii ,, tt )) TT ΣΣ ii ,, tt -- 11 (( Xx tt -- μμ ii ,, tt ))

式中,i=1,...,K;n表示Xt的维数,设R、G、B,3个通道相互独立,并有相同的方差,则有 Σ i , t = Σ i , t σ i 2 I , 表示方差,I表示单位阵。In the formula, i=1,...,K; n represents the dimension of X t , assuming R, G, B, the three channels are independent of each other and have the same variance, then we have Σ i , t = Σ i , t σ i 2 I , Represents the variance, and I represents the identity matrix.

背景图像生成后,需对当前帧中的运动目标进行提取,背景差分方法,其原理如下:首先设Bk为背景图像,fk为当前帧图像,差分图像为Dk,则Dk(x,y)=|fx(x,y)-Bk-1(x,y)|,(x,y)为像素位置,设Rk为差分后二值图像,对Rk进行连通性分析,当某一连通区域的面积大于一定的阈值,则认为检测的目标出现,并认为这个连通的区域就是检测到的目标图像。After the background image is generated, it is necessary to extract the moving target in the current frame. The principle of the background difference method is as follows: first, set B k as the background image, f k as the current frame image, and the difference image as D k , then D k (x , y)=|f x (x, y)-B k-1 (x, y)|, (x, y) is the pixel position, let R k be the binary image after difference, and perform connectivity analysis on R k , when the area of a certain connected region is greater than a certain threshold, it is considered that the detected target appears, and this connected region is considered to be the detected target image.

T为设定的二值化阈值。T is the set binarization threshold.

所述步骤六的具体步骤为:The concrete steps of described step six are:

(6-1)建立卡尔曼滤波器系统线性随机微分方程:X(k)=A·X(k-1)+B·U(k)+W(k),卡尔曼滤波器系统的测量值:Z(k)=H·X(k)+V(k);X(k)是k时刻的系统状态,U(k)是k时刻对系统的控制量,A和B是系统参数,Z(k)是k时刻的测量值,H是测量系统的参数,W(k)和V(k)分别表示过程和测量的噪声;(6-1) Establish the linear stochastic differential equation of the Kalman filter system: X(k)=A X(k-1)+B U(k)+W(k), the measured value of the Kalman filter system : Z(k)=H X(k)+V(k); X(k) is the system state at time k, U(k) is the control quantity of the system at time k, A and B are system parameters, Z (k) is the measured value at time k, H is the parameter of the measurement system, W(k) and V(k) represent the process and measurement noise respectively;

(6-2)假设现在的系统状态是k,根据卡尔曼滤波器系统线性随机微分方程,利用上一帧状态而预测出现在的帧状态:(6-2) Assuming that the current system state is k, according to the linear stochastic differential equation of the Kalman filter system, use the state of the previous frame to predict the state of the current frame:

X(k|k-1)=A·X(k-1|k-1)+B·U(k)(1)X(k|k-1)=A·X(k-1|k-1)+B·U(k)(1)

其中,X(k|k-1)是利用上一帧状态预测的结果,X(k-1|k-1)是上一帧状态最优的结果,U(k)为现在帧状态的控制量,如果没有控制量,它为0;Among them, X(k|k-1) is the result of using the state prediction of the previous frame, X(k-1|k-1) is the result of the optimal state of the previous frame, and U(k) is the control of the current frame state amount, if there is no control amount, it is 0;

(6-3)利用公式(2)对X(k|k-1)的协方差进行更新,(6-3) Use formula (2) to update the covariance of X(k|k-1),

P(k|k-1)=A·P(k-1|k-1)·AT+Q(2),P(k|k-1)是X(k|k-1)P(k|k-1)=A·P(k-1|k-1)· AT +Q(2), P(k|k-1) is X(k|k-1)

对应的协方差,P(k-1|k-1)是X(k-1|k-1)对应的协方差,AT表示A的转置矩阵,Q是系统过程的协方差;The corresponding covariance, P(k-1|k-1) is the covariance corresponding to X(k-1|k-1), AT represents the transpose matrix of A, and Q is the covariance of the system process;

(6-4)收集现在帧状态的测量值,结合帧状态预测值和测量值,得到现在帧状态的最优化估算值X(k|k):(6-4) Collect the measured value of the current frame state, and combine the predicted value and measured value of the frame state to obtain the optimal estimated value X(k|k) of the current frame state:

X(k|k)=X(k|k-1)+Kg(k)·(Z(k)-H·X(k|k-1))(3)X(k|k)=X(k|k-1)+Kg(k)·(Z(k)-H·X(k|k-1))(3)

其中,Kg为卡尔曼增益(KalmanGain);Kg(k)=P(k|k-1)HT/(H·P(k|k-1)·HT+R)(4);Among them, Kg is Kalman Gain (KalmanGain); Kg(k)=P(k|k-1)H T /(H·P(k|k-1)· HT +R)(4);

(6-5)不断更新K状态X(k|k)的协方差:P(k|k)=(I-Kg(k)·H)P(k|k-1)(5)(6-5) Constantly update the covariance of K state X(k|k): P(k|k)=(I-Kg(k)·H)P(k|k-1)(5)

其中I为1的矩阵,对于单模型单测量,I=1;当系统进入k+1状态时,P(k|k)就是式子(2)的P(k|k-1)。Where I is a matrix of 1, for a single model and single measurement, I=1; when the system enters the k+1 state, P(k|k) is P(k|k-1) of the formula (2).

在划定的监控区域内,通过背景建模,差分处理,形态学运算等提取出较为精确地运动目标,然后利用车、人与动物等的特征通过支持向量机的方法,建立车、人与动物模型以识别监控范围内运动物体的种类,检测到的运动前景目标可能包括高大建筑机械、运动人体目标以及野生动物等,一般高大建筑机械的颜色特征比较明显且其面积较大,通过计算前景目标的区域的面积和外接矩形的长宽比等来分别出前景目标。若检测出有大型机械的施工活动进入监测区域,则启动前端告警装置。当发现有人进入监测范围时,则利用以上方法对人进行进一步的识别、跟踪,依据其在监测范围内的运动时间确定其运动行为,看是否有私挖光缆等的行为。In the demarcated monitoring area, through background modeling, difference processing, morphological operations, etc. to extract more accurate moving targets, and then use the characteristics of cars, people and animals through the method of support vector machine to establish the vehicle, people and The animal model is used to identify the types of moving objects within the monitoring range. The detected moving foreground targets may include tall construction machinery, moving human objects, and wild animals. Generally, the color characteristics of tall construction machinery are more obvious and their area is larger. By calculating the foreground The area of the target area and the aspect ratio of the circumscribed rectangle are used to distinguish the foreground target. If it is detected that construction activities of large machinery enter the monitoring area, the front-end alarm device will be activated. When it is found that someone enters the monitoring range, the above methods are used to further identify and track the person, and determine their movement behavior according to their movement time within the monitoring range to see if there is any behavior such as privately digging optical cables.

上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific implementation of the present invention has been described above in conjunction with the accompanying drawings, it does not limit the protection scope of the present invention. Those skilled in the art should understand that on the basis of the technical solution of the present invention, those skilled in the art do not need to pay creative work Various modifications or variations that can be made are still within the protection scope of the present invention.

Claims (3)

1.一种输电线路物体检测方法,其特征是,图像采集板在接收到上位机发来的控制命令,上传给视频服务器,视频服务器控制摄像机进行拍照,摄像机拍摄的图片经过视频服务器上传给图像采集板,图像采集板中的图像经DSP高速压缩电路将图像压缩与存储器中的基准图进行配准,具体步骤为:1. A power transmission line object detection method is characterized in that the image acquisition board is uploaded to the video server after receiving the control command sent by the host computer, and the video server controls the camera to take pictures, and the picture taken by the camera is uploaded to the image through the video server Acquisition board, the image in the image acquisition board is registered by the DSP high-speed compression circuit to compress the image and the reference image in the memory, and the specific steps are: 步骤一:读取原始背景图像,生成背景;Step 1: Read the original background image and generate the background; 步骤二:读取当前视频帧,利用背景差分方法对当前帧中的运动目标进行提取;Step 2: read the current video frame, and use the background difference method to extract the moving target in the current frame; 步骤三:利用卡尔曼滤波算法,精确提取划定监控区域内的运动目标;Step 3: Use the Kalman filter algorithm to accurately extract the moving targets within the designated monitoring area; 步骤四:然后利用各物体的特征通过支持向量机的方法,建立各物体的模型以识别监控范围内运动物体的种类;Step 4: Then use the characteristics of each object to establish a model of each object to identify the type of moving object within the monitoring range through the method of support vector machine; 步骤五:若检测出有大型机械的施工活动进入监测区域,则启动报警器报警;当发现有人进入监测范围时,则对人进行进一步的识别、跟踪,依据其在监测范围内的运动时间确定其运动行为,判断是否有私挖光缆的行为,若是则上位机控制报警器报警;Step 5: If it is detected that there are large-scale machinery construction activities entering the monitoring area, the alarm will be activated; when someone is found to enter the monitoring area, the person will be further identified and tracked, and determined according to their movement time within the monitoring area Its motion behavior is to judge whether there is a behavior of digging the optical cable privately, and if so, the host computer will control the alarm to alarm; 所述步骤一的具体步骤为:The concrete steps of described step one are: (1-1)读取原始背景图像,创建初始混合高斯背景模型;(1-1) Read the original background image and create an initial mixed Gaussian background model; (1-2)捕获视频帧,检测新的像素值与模板匹配情况,若部分匹配则修正高斯参数,若未匹配则建立新模型;(1-2) Capture the video frame, detect the matching between the new pixel value and the template, if it partially matches, then modify the Gaussian parameters, and if it does not match, then build a new model; (1-3)求取新的混合高斯背景模型,然后返回步骤(1-2);(1-3) Obtain a new mixed Gaussian background model, then return to step (1-2); (1-4)生成背景。(1-4) Generate background. 2.如权利要求1所述一种输电线路物体检测方法,其特征是,所述步骤三的具体步骤为:2. A kind of transmission line object detection method as claimed in claim 1, is characterized in that, the specific steps of described step 3 are: (6-1)建立卡尔曼滤波器系统线性随机微分方程:X(k)=A·X(k-1)+B·U(k)+W(k),卡尔曼滤波器系统的测量值:Z(k)=H·X(k)+V(k);X(k)是k时刻的系统状态,U(k)是k时刻对系统的控制量,A和B是系统参数,Z(k)是k时刻的测量值,H是测量系统的参数,W(k)和V(k)分别表示过程和测量的噪声;(6-1) Establish the linear stochastic differential equation of the Kalman filter system: X(k)=A X(k-1)+B U(k)+W(k), the measured value of the Kalman filter system : Z(k)=H X(k)+V(k); X(k) is the system state at time k, U(k) is the control quantity of the system at time k, A and B are system parameters, Z (k) is the measured value at time k, H is the parameter of the measurement system, W(k) and V(k) represent the process and measurement noise respectively; (6-2)假设现在的系统状态是k,根据卡尔曼滤波器系统线性随机微分方程,利用上一帧状态而预测出现在的帧状态:(6-2) Assuming that the current system state is k, according to the linear stochastic differential equation of the Kalman filter system, the state of the current frame is predicted by using the state of the previous frame: X(k|k-1)=A·X(k-1|k-1)+B·U(k)(1)X(k|k-1)=A·X(k-1|k-1)+B·U(k)(1) 其中,X(k|k-1)是利用上一帧状态预测的结果,X(k-1|k-1)是上一帧状态最优的结果,U(k)为现在帧状态的控制量,如果没有控制量,它为0;Among them, X(k|k-1) is the result of using the state prediction of the previous frame, X(k-1|k-1) is the result of the optimal state of the previous frame, and U(k) is the control of the current frame state amount, if there is no control amount, it is 0; (6-3)利用公式(2)对X(k|k-1)的协方差进行更新,(6-3) Use formula (2) to update the covariance of X(k|k-1), P(k|k-1)=A·P(k-1|k-1)·AT+Q(2),P(k|k-1)是X(k|k-1)对应的协方差,P(k-1|k-1)是X(k-1|k-1)对应的协方差,AT表示A的转置矩阵,Q是系统过程的协方差;P(k|k-1)=A·P(k-1|k-1)· AT +Q(2), P(k|k-1) is the association corresponding to X(k|k-1) Variance, P(k-1|k-1) is the covariance corresponding to X(k-1|k-1), AT represents the transpose matrix of A, and Q is the covariance of the system process; (6-4)收集现在帧状态的测量值,结合帧状态预测值和测量值,得到现在帧状态的最优化估算值X(k|k):(6-4) Collect the measured value of the current frame state, and combine the predicted value and measured value of the frame state to obtain the optimal estimated value X(k|k) of the current frame state: X(k|k)=X(k|k-1)+Kg(k)·(Z(k)-H·X(k|k-1))(3)X(k|k)=X(k|k-1)+Kg(k)·(Z(k)-H·X(k|k-1))(3) 其中,Kg为卡尔曼增益(KalmanGain);Kg(k)=P(k|k-1)HT/(H·P(k|k-1)·HT+R)(4);Among them, Kg is Kalman Gain (KalmanGain); Kg(k)=P(k|k-1) HT /(H·P(k|k-1)· HT +R)(4); (6-5)不断更新K状态X(k|k)的协方差:P(k|k)=(I-Kg(k)·H)P(k|k-1)(5)(6-5) Constantly update the covariance of K state X(k|k): P(k|k)=(I-Kg(k)·H)P(k|k-1)(5) 其中I为1的矩阵,对于单模型单测量,I=1;当系统进入k+1状态时,P(k|k)就是式子(2)的P(k|k-1)。Where I is a matrix of 1, for a single model and a single measurement, I=1; when the system enters the k+1 state, P(k|k) is P(k|k-1) of the formula (2). 3.一种采用如权利要求1所述输电线路物体检测方法的系统,其特征是,它包括摄像机,摄像机通过RS485与视频服务器连接,视频服务器输出的视频送入图像采集板,图像采集板与上位机连接,上位机与基站连接,上位机与报警器连接,所述图像采集板还与DSP高速压缩电路和存储器连接。3. A system that adopts the transmission line object detection method as claimed in claim 1, is characterized in that it includes a video camera, the video camera is connected with the video server by RS485, and the video output by the video server is sent into the image acquisition board, and the image acquisition board is connected with the video server The upper computer is connected, the upper computer is connected with the base station, the upper computer is connected with the alarm, and the image acquisition board is also connected with the DSP high-speed compression circuit and the memory.
CN201210494908.3A 2012-11-28 2012-11-28 A kind of transmission line of electricity object detecting system and method Active CN102955940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210494908.3A CN102955940B (en) 2012-11-28 2012-11-28 A kind of transmission line of electricity object detecting system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210494908.3A CN102955940B (en) 2012-11-28 2012-11-28 A kind of transmission line of electricity object detecting system and method

Publications (2)

Publication Number Publication Date
CN102955940A CN102955940A (en) 2013-03-06
CN102955940B true CN102955940B (en) 2015-12-23

Family

ID=47764727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210494908.3A Active CN102955940B (en) 2012-11-28 2012-11-28 A kind of transmission line of electricity object detecting system and method

Country Status (1)

Country Link
CN (1) CN102955940B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714319A (en) * 2013-12-18 2014-04-09 国家电网公司 Video intrusion detection method used for power line external force damage-prevention system
CN105352480B (en) * 2015-04-01 2016-09-07 国家电网公司 Foreign bodies on transmission lines species detection method
CN104729483B (en) * 2015-04-01 2016-09-14 国家电网公司 Foreign object type detection platform on transmission line
CN108156452B (en) * 2017-12-22 2020-11-17 深圳怡化电脑股份有限公司 Method, device and equipment for detecting sensor and storage medium
CN109191747A (en) * 2018-08-31 2019-01-11 北京融通智慧科技有限公司 A kind of method and device of transmission line of electricity monitoring
CN109257576B (en) * 2018-11-19 2020-12-25 国网四川省电力公司成都供电公司 Power transmission line external damage prevention monitoring system based on artificial intelligence technology
CN109785361A (en) * 2018-12-22 2019-05-21 国网内蒙古东部电力有限公司 Substation's foreign body intrusion detection system based on CNN and MOG
CN110517429A (en) * 2019-09-10 2019-11-29 浙江蓝迪电力科技有限公司 A kind of Intelligent electronic fence system and processing method
CN111223079A (en) * 2019-12-31 2020-06-02 国网北京市电力公司 Power transmission line detection method and device, storage medium and electronic device
CN111611984A (en) * 2020-06-30 2020-09-01 山西振中电力股份有限公司 A kind of intelligent detection device and method for large-scale machinery in three-span construction of transmission line
CN114446004A (en) * 2022-01-29 2022-05-06 贵州中烟工业有限责任公司 a security system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100502463C (en) * 2005-12-14 2009-06-17 浙江工业大学 A Feature Acquisition Method in Video Detection of Traffic Flow Information
JP4587953B2 (en) * 2005-12-28 2010-11-24 三菱電機株式会社 Intruder detection system
CN201887888U (en) * 2010-11-19 2011-06-29 聂新宇 Network video monitor system
CN202067379U (en) * 2010-11-26 2011-12-07 上海电力带电作业技术开发有限公司 Remote wireless video intelligent monitoring prewarning system for electricity transmission line
CN102254394A (en) * 2011-05-31 2011-11-23 西安工程大学 Antitheft monitoring method for poles and towers in power transmission line based on video difference analysis

Also Published As

Publication number Publication date
CN102955940A (en) 2013-03-06

Similar Documents

Publication Publication Date Title
CN102955940B (en) A kind of transmission line of electricity object detecting system and method
CN106593534B (en) A kind of intelligent tunnel construction safety monitoring system
CN104766320B (en) Many Bernoulli Jacob under thresholding is measured filter Faint target detection and tracking
Yang et al. Deep learning‐based bolt loosening detection for wind turbine towers
CN110826514A (en) Construction site violation intelligent identification method based on deep learning
CN101556142B (en) Visual inspection method for ice thickness of overhead lines
CN103491351A (en) Intelligent video monitoring method for illegal buildings
CN109856643B (en) Movable type non-inductive panoramic sensing method based on 3D laser
CN113052876B (en) Video relay tracking method and system based on deep learning
CN102982341A (en) Self-intended crowd density estimation method for camera capable of straddling
CN104123544A (en) Video analysis based abnormal behavior detection method and system
CN104020751A (en) Campus safety monitoring system and method based on Internet of Things
CN102447835A (en) Non-blind area multi-target cooperative tracking method and system
CN103593679A (en) Visual human-hand tracking method based on online machine learning
CN114814826B (en) Radar orbit area environment sensing method based on target grid
CN114936799A (en) Risk identification method and system in cement fiberboard construction process
CN118037482A (en) Intelligent monitoring management system and method for hydraulic engineering construction
CN103338336A (en) Video detection method for firework early warning of overhead power transmission line passage
CN103425959A (en) Flame video detection method for identifying fire hazard
CN111145222A (en) Fire detection method combining smoke movement trend and textural features
CN104159088A (en) System and method of remote monitoring of intelligent vehicle
CN103888731A (en) Structured description device and system for mixed video monitoring by means of gun-type camera and dome camera
CN115979250B (en) Positioning method based on UWB module, semantic map and visual information
CN114332736A (en) Power site fire safety risk analysis method and system
CN115019254B (en) A method, device, terminal and storage medium for detecting foreign body intrusion in power transmission area

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant