CN108921812B - Intelligent evaluation method of circuit breaker spring fatigue state based on image recognition - Google Patents

Intelligent evaluation method of circuit breaker spring fatigue state based on image recognition Download PDF

Info

Publication number
CN108921812B
CN108921812B CN201810450389.8A CN201810450389A CN108921812B CN 108921812 B CN108921812 B CN 108921812B CN 201810450389 A CN201810450389 A CN 201810450389A CN 108921812 B CN108921812 B CN 108921812B
Authority
CN
China
Prior art keywords
spring
circuit breaker
fatigue state
fatigue
image
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
CN201810450389.8A
Other languages
Chinese (zh)
Other versions
CN108921812A (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.)
Electric Power Research Institute of Guangxi Power Grid Co Ltd
Original Assignee
Electric Power Research Institute of Guangxi Power Grid 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 Electric Power Research Institute of Guangxi Power Grid Co Ltd filed Critical Electric Power Research Institute of Guangxi Power Grid Co Ltd
Priority to CN201810450389.8A priority Critical patent/CN108921812B/en
Publication of CN108921812A publication Critical patent/CN108921812A/en
Application granted granted Critical
Publication of CN108921812B publication Critical patent/CN108921812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/16Measuring arrangements characterised by the use of optical techniques for measuring the deformation in a solid, e.g. optical strain gauge
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/086Learning methods using evolutionary algorithms, e.g. genetic algorithms or genetic programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
    • G06T7/251Analysis of motion using feature-based methods, e.g. the tracking of corners or segments involving models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Molecular Biology (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Physiology (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Quality & Reliability (AREA)
  • Testing Of Devices, Machine Parts, Or Other Structures Thereof (AREA)
  • Investigating Strength Of Materials By Application Of Mechanical Stress (AREA)

Abstract

The invention discloses an intelligent evaluation method for a fatigue state of a spring of a circuit breaker based on image recognition, and relates to the technical field of circuit breaker detection. According to the intelligent evaluation method for the fatigue state of the spring of the circuit breaker based on image recognition, a basic database for evaluating the spring state of the circuit breaker is established through multiple off-line test sample statistical analysis and classification, a key motion target position in the spring deformation process is detected and analyzed by adopting a high-speed image sequence and an NCC algorithm, the spring deformation detection in the normal opening and closing process of a high-voltage circuit breaker is realized, a curve representing the fatigue state of the spring is obtained, and therefore a characteristic parameter vector of the fatigue state of the spring is obtained; and analyzing the obtained spring fatigue characteristic parameter vector by adopting a GA-SALBP model to obtain the fatigue state value and the stress relaxation condition of the spring of the circuit breaker, thereby realizing the purpose of monitoring the state of the spring of the high-voltage circuit breaker.

Description

基于图像识别的断路器弹簧疲劳状态智能评价方法Intelligent evaluation method of spring fatigue state of circuit breaker based on image recognition

技术领域technical field

本发明属于断路器检测技术领域,尤其涉及一种基于图像识别的断路器弹簧疲劳状态智能评价方法。The invention belongs to the technical field of circuit breaker detection, and in particular relates to an intelligent evaluation method for a circuit breaker spring fatigue state based on image recognition.

背景技术Background technique

高压断路器运行的可靠性对电网的保护与控制至关重要,据统计高压断路器故障大多数都是操动机构故障,而断路器弹簧作为断路器操动机构一个重要组成元件,其可靠性通过影响断路器操动机构,决定着断路器能否正常分合闸。高压断路器弹簧在正常工作中主要承受变化的载荷,其失效形式大多都是疲劳破坏。由于弹簧长期疲劳工作而突然断裂,进而引发的断路器故障的事故常有发生,因此研究操动机构弹簧的疲劳状态监测有着非常重大的意义。The reliability of the high-voltage circuit breaker operation is very important to the protection and control of the power grid. According to statistics, most of the high-voltage circuit breaker failures are operating mechanism failures, and the circuit breaker spring is an important component of the circuit breaker operating mechanism. By affecting the circuit breaker operating mechanism, it determines whether the circuit breaker can be opened and closed normally. High-voltage circuit breaker springs mainly bear varying loads during normal operation, and most of their failure forms are fatigue damage. Due to the long-term fatigue work of the spring and the sudden breakage, the accident of circuit breaker failure often occurs, so it is of great significance to study the fatigue state monitoring of the operating mechanism spring.

目前,对于高压断路器操动机构的监测更多集中在操动机构整体机械性能上,通过直接或者间接的方式测量动触头分合闸行程曲线、分合闸线圈电流等,对弹簧的监测和状态评价方法研究的少之又少。在实际中只能通过定期巡检来发现可能存在问题的弹簧,但依靠肉眼一般难以判断弹簧出现的问题,而且非常耗费人力资源,既费时又费力,效率还不高。而弹簧的疲劳测试机的作用在于对弹簧的疲劳曲线的计算,需要对断路器弹簧拆解后实施测试,并不能实现断路器运行中对操作机构弹簧受力及形变状态进行快速分析。At present, the monitoring of the operating mechanism of the high-voltage circuit breaker is more concentrated on the overall mechanical performance of the operating mechanism, and the monitoring of the spring is measured directly or indirectly by measuring the opening and closing stroke curve of the moving contact, the current of the opening and closing coil, etc. There are very few studies on the method of state assessment. In practice, only regular inspections can be used to find the springs that may have problems, but it is generally difficult to judge the problems of the springs with the naked eye, and it is very labor-intensive, time-consuming and labor-intensive, and the efficiency is not high. The function of the spring fatigue testing machine is to calculate the fatigue curve of the spring, which needs to be tested after the circuit breaker spring is disassembled, and cannot realize the rapid analysis of the force and deformation state of the operating mechanism spring during the operation of the circuit breaker.

基于此,本发明提出一种基于图像识别的断路器弹簧疲劳状态智能评价方法,将计算机视觉、模式识别和神经网络等方法应用在弹簧的疲劳状态监测当中。运用计算机视觉技术检测断路器操作机构弹簧形变,在分合闸过程中动态评价弹簧性能,是一种新型的非接触式断路器机械状态测试方法。将此方法运用在检测断路器弹簧的运动参数当中,具体运用高速摄像机代替传统的位移和形变传感器,得到断路器弹簧的运动图像序列,再通过图像匹配的方法跟踪弹簧运动的过程,最后通过曲线拟合得到弹簧运动曲过程相关工作参数,并以此形变特征建立特征向量,通过与正常状态下弹簧形变进行智能比对,判断弹簧的疲劳状态和应力松弛程度。Based on this, the present invention proposes an intelligent evaluation method for the fatigue state of a circuit breaker spring based on image recognition, and applies methods such as computer vision, pattern recognition and neural network to the monitoring of the fatigue state of the spring. Using computer vision technology to detect the spring deformation of the circuit breaker operating mechanism, and dynamically evaluate the spring performance during the opening and closing process, is a new method of testing the mechanical state of non-contact circuit breakers. This method is used in the detection of the motion parameters of the circuit breaker spring, and the high-speed camera is used instead of the traditional displacement and deformation sensor to obtain the motion image sequence of the circuit breaker spring. The relevant working parameters of the spring motion curve process are obtained by fitting, and the characteristic vector is established based on the deformation characteristics, and the fatigue state and stress relaxation degree of the spring are judged by intelligent comparison with the spring deformation in the normal state.

发明内容SUMMARY OF THE INVENTION

针对现有技术的不足,本发明提供一种基于图像识别的断路器弹簧疲劳状态智能评价方法。In view of the deficiencies of the prior art, the present invention provides an intelligent evaluation method for the fatigue state of a circuit breaker spring based on image recognition.

本发明是通过如下的技术方案来解决上述技术问题的:一种基于图像识别的断路器弹簧疲劳状态智能评价方法,包括以下几个步骤:The present invention solves the above-mentioned technical problems through the following technical solutions: a method for intelligently evaluating the fatigue state of circuit breaker springs based on image recognition, comprising the following steps:

(1)建立断路器弹簧状态评价基础数据库;(1) Establish a basic database for circuit breaker spring state evaluation;

(2)设置实测断路器操作弹簧形变过程的测试装置的参数,捕捉弹簧形变过程中的图像,经过处理后获得弹簧的高速图像序列;(2) Setting the parameters of the test device for measuring the spring deformation process of the circuit breaker, capturing the images in the spring deformation process, and obtaining the high-speed image sequence of the spring after processing;

(3)以弹簧固定端像素坐标为初始点,初始点与弹簧活动端顶端之间的弹簧即为需要识别的运动目标;选取运动目标上的某一区域为匹配模板,采用图像匹配算法识别所述步骤(2)高速图像序列中每一帧图像,获得对应的匹配模板中心像素位置坐标,该像素位置代表操作机构弹簧的实际工作位置;(3) Take the pixel coordinates of the fixed end of the spring as the initial point, and the spring between the initial point and the top of the movable end of the spring is the moving target that needs to be identified; select a certain area on the moving target as the matching template, and use the image matching algorithm to identify the target. In the described step (2) high-speed image sequence, each frame of image obtains the corresponding matching template center pixel position coordinates, and this pixel position represents the actual working position of the operating mechanism spring;

(4)计算每一帧图像中匹配模板中心像素坐标到初始点像素坐标的距离,绘制操作机构弹簧形变过程中运动目标的位移-时间曲线,以及匹配模板中心像素坐标的速度-时间曲线;(4) calculate the distance from matching template center pixel coordinates to initial point pixel coordinates in each frame of image, draw the displacement-time curve of the moving target in the spring deformation process of the operating mechanism, and match the speed-time curve of the template center pixel coordinates;

(5)通过位移-时间曲线和速度-时间曲线获取弹簧工作参数;(5) Obtain spring working parameters through displacement-time curve and velocity-time curve;

(6)从所述步骤(1)的基础数据库中提取有明显代表特征的试验样本,获取试验样本的工作参数和疲劳状态评估值,建立代表高压断路器操作机构弹簧疲劳状态的疲劳特征参数向量;同时获取实测的弹簧疲劳特征参数向量;(6) Extracting test samples with obvious representative characteristics from the basic database in the step (1), obtaining the working parameters and fatigue state evaluation values of the test samples, and establishing a fatigue characteristic parameter vector representing the fatigue state of the spring of the operating mechanism of the high-voltage circuit breaker ; Simultaneously obtain the measured spring fatigue characteristic parameter vector;

(7)采用遗传算法-自适应学习率反向传播(genetic algorithms-self-adaptionlearning rate Backpropation,GA-SALBP)分析弹簧的疲劳状态:提取基础数据库中的典型样本,求取典型样本的疲劳特征参数向量,以典型样本的疲劳特征参数向量作为训练样本,训练GA-SALBP模型;再将未知疲劳状态的弹簧疲劳特征参数向量代入已训练好的GA-SALBP模型中,得到断路器弹簧的疲劳状态值以及应力松弛情况,最后设定疲劳事故预警阈值,实现高压断路器弹簧状态监测的目的。(7) Use genetic algorithms-self-adaption learning rate Backpropation (GA-SALBP) to analyze the fatigue state of the spring: extract the typical samples in the basic database, and obtain the fatigue characteristic parameters of the typical samples The GA-SALBP model is trained by taking the fatigue characteristic parameter vector of the typical sample as the training sample; then the spring fatigue characteristic parameter vector of the unknown fatigue state is substituted into the trained GA-SALBP model, and the fatigue state value of the circuit breaker spring is obtained. And stress relaxation, and finally set the fatigue accident early warning threshold to achieve the purpose of monitoring the spring state of the high-voltage circuit breaker.

进一步的,所述步骤(1)的基础数据库中根据断路器弹簧型号记录有弹簧的固有尺寸,同时记录有弹簧疲劳测试基础数据,断路器弹簧伸缩形变过程与压力和疲劳程度关系。Further, in the basic database of the step (1), the inherent size of the spring is recorded according to the model of the circuit breaker spring, and the basic data of the spring fatigue test is recorded, and the expansion and deformation process of the circuit breaker spring is related to the pressure and fatigue degree.

进一步的,所述步骤(2)的测试装置为高速摄像机,所述高速摄像机需设置的参数包括拍摄焦距、触发速度、相机帧率、分辨率和曝光时间,且根据断路器型号以及分合闸时间设置高速摄像机的拍摄时长,确定标定高速摄像机拍摄图像每个像素在实际拍摄平面中的实际尺寸。Further, the test device of the step (2) is a high-speed camera, and the parameters that the high-speed camera needs to set include shooting focal length, trigger speed, camera frame rate, resolution and exposure time, and according to the circuit breaker model and opening and closing. Time sets the shooting duration of the high-speed camera, and determines the actual size of each pixel of the image captured by the high-speed camera in the actual shooting plane.

进一步的,确定拍摄图像每个像素在实际拍摄平面中实际尺寸的方法为:在与拍摄的断路器弹簧同一平面内放置已知具体尺寸的标尺,获取所述标尺在图像中的像素长度,以标尺实际尺寸和像素长度的商作为图像每个像素在实际拍摄平面中的实际尺寸。Further, the method for determining the actual size of each pixel of the photographed image in the actual photographing plane is as follows: placing a scale with a known specific size in the same plane as the photographed circuit breaker spring, and obtaining the pixel length of the scale in the image to obtain the scale. The quotient of the actual size of the ruler and the pixel length is taken as the actual size of each pixel of the image in the actual shooting plane.

进一步的,所述步骤(5)弹簧工作参数包括弹簧初始工作高度、弹簧最终工作高度、伸缩时间、弹簧最大运动行程、弹簧中间圈径向往复的次数以及弹簧工作的最大加速度;Further, the working parameters of the spring in the step (5) include the initial working height of the spring, the final working height of the spring, the expansion and contraction time, the maximum movement stroke of the spring, the number of times of radial reciprocation of the spring intermediate ring and the maximum acceleration of the spring;

以初始帧匹配模板中心像素坐标到初始点像素坐标的距离作为弹簧初始工作高度,以结束帧匹配模板中心像素坐标到初始点像素坐标的距离作为弹簧最终工作高度,取位移-时间曲线上界与下界的差值作为弹簧最大运动行程hmTake the distance from the center pixel coordinate of the initial frame matching template to the initial point pixel coordinate as the initial working height of the spring, and take the distance from the center pixel coordinate of the end frame matching template to the initial point pixel coordinate as the final working height of the spring, and take the upper bound of the displacement-time curve and The difference of the lower bound is taken as the maximum travel of the spring h m .

进一步的,采用图像相邻帧对应位置灰度差分法确定初始帧和结束帧。Further, the initial frame and the end frame are determined by using the grayscale difference method of the corresponding positions of adjacent frames of the image.

进一步的,所述弹簧初始工作高度Ht0的计算表达式为Ht0=k|s0-s|,弹簧最终工作高度Ht的计算表达式为Ht=k|st-s|,弹簧伸缩时间t为y=st±ε与位移-时间曲线的交点的最大值;Further, the calculation expression of the initial working height H t0 of the spring is H t0 =k|s 0 -s|, the calculation expression of the final working height H t of the spring is H t =k|s t -s|, the spring The telescopic time t is the maximum value of the intersection of y=s t ±ε and the displacement-time curve;

其中,s0为初始帧匹配模板中心像素坐标,s为初始点像素坐标,st为结束帧匹配模板中心像素坐标,k为图像每个像素在实际拍摄平面中的实际尺寸,ε为认定的弹簧伸缩幅度的最大值。Among them, s 0 is the center pixel coordinate of the initial frame matching template, s is the pixel coordinate of the initial point, s t is the center pixel coordinate of the end frame matching template, k is the actual size of each pixel of the image in the actual shooting plane, and ε is the identified The maximum value of spring expansion and contraction.

进一步的,所述步骤(7)采用GA-SALBP模型进行弹簧疲劳状态分析的具体过程为:Further, described step (7) adopts GA-SALBP model to carry out the concrete process of spring fatigue state analysis as follows:

(7.1)设输入为弹簧疲劳状态特征参数的N维向量x,设基础数据库中有M个样本,计算每个特征参数的均值,并与各个样本的特征值做比对,剔除由环境因素影响或是识别记录误差而造成部分特征参数明显存在异常的样本,剩下合适的M′个样本,形成N×M′的断路器操作机构弹簧的特征参数矩阵和M′个疲劳状态程度评估值及应力松弛度;(7.1) Suppose the input is the N-dimensional vector x of the characteristic parameters of spring fatigue state, and suppose there are M samples in the basic database, calculate the mean value of each characteristic parameter, and compare it with the characteristic value of each sample, excluding the influence of environmental factors Or identify the samples with obvious abnormality in some characteristic parameters caused by recording errors, and leave appropriate M' samples to form an N×M' characteristic parameter matrix of the circuit breaker operating mechanism spring and M' fatigue state degree evaluation values and stress relaxation;

(7.2)建立BP神经网络,根据弹簧疲劳状态特征参数的数量确定中间层的神经元个数,BP神经网络的权值个数为弹簧特征参数个数N加上评价指标个数后与中间层神经元个数的积;运用GA遗传算法得到BP神经网络误差较小的一组完整的权值作为BP神经网络的初始权值,再将样本数值即弹簧的特征参数矩阵代入,进行BP神经网络的学习和训练;(7.2) Establish a BP neural network, and determine the number of neurons in the middle layer according to the number of characteristic parameters of the spring fatigue state. The product of the number of neurons; the GA genetic algorithm is used to obtain a complete set of weights with a small error in the BP neural network as the initial weights of the BP neural network, and then the sample value, that is, the characteristic parameter matrix of the spring, is substituted into the BP neural network. learning and training;

(7.3)在训练过程中根据弹簧性能评估误差能量及学习率调整权值,用前后两次调整权值后误差能量的变化调整学习率;根据需要调整学习率的变化快慢,优点在于不仅免去了误差的增减判断,而且不用设定增/减因子,在误差增大的时候降低学习率,误差减小方向适当提高学习率;(7.3) In the training process, the error energy and the learning rate are adjusted according to the spring performance, and the learning rate is adjusted by the change of the error energy after adjusting the weight twice before and after; It can judge the increase or decrease of the error, and there is no need to set the increase/decrease factor. When the error increases, the learning rate is reduced, and the learning rate is appropriately increased in the direction of error reduction;

(7.4)当误差能量小于设定阈值,即输入任意一个弹簧样本的疲劳状态特征参数得到的结果与实际此样本的疲劳状态评估值非常接近时,BP神经网络则训练完成;此时通过图像识别跟踪待测操作机构弹簧运动过程,计算疲劳状态特征参数向量,代入训练完成的BP神经网络,即分析出其疲劳状态,达到断路器操作机构弹簧疲劳状态智能评价的目的。(7.4) When the error energy is less than the set threshold, that is, the result obtained by inputting the fatigue state characteristic parameters of any spring sample is very close to the actual fatigue state evaluation value of the sample, the BP neural network is trained; Track the spring movement process of the operating mechanism to be tested, calculate the characteristic parameter vector of the fatigue state, and substitute it into the trained BP neural network, that is, analyze its fatigue state, and achieve the purpose of intelligent evaluation of the spring fatigue state of the circuit breaker operating mechanism.

进一步的,所述步骤(7.3)学习率的调整表示式为

Figure BDA0001658299830000051
k的取值为大于1的常数。Further, the adjustment expression of the learning rate in the step (7.3) is:
Figure BDA0001658299830000051
The value of k is a constant greater than 1.

与现有技术相比,本发明所提供的基于图像识别的断路器弹簧疲劳状态智能评价方法,通过多次离线测试样本统计分析、分类建立断路器弹簧状态评价基础数据库,采用高速图像序列和NCC算法检测分析弹簧形变过程中关键运动目标位置,实现高压断路器正常分合闸过程中弹簧形变检测,得到表征弹簧疲劳状态的曲线,从而获取弹簧疲劳特征参数向量;采用GA-SALBP模型对获得的弹簧疲劳特征参数向量进行分析,即得到断路器弹簧的疲劳状态值以及应力松弛情况,实现高压断路器弹簧状态监测的目的;采用GA-SALBP模型对获得的弹簧疲劳特征参数向量进行分析时,结合断路器弹簧性能评估误差能量指标实现对测试弹簧性能的评估,使整个评价方法更加有效、计算速度更快。Compared with the prior art, the intelligent evaluation method of circuit breaker spring fatigue state based on image recognition provided by the present invention establishes a basic database for circuit breaker spring state evaluation through statistical analysis and classification of multiple offline test samples, and adopts high-speed image sequence and NCC. The algorithm detects and analyzes the key moving target positions in the spring deformation process, realizes the spring deformation detection in the normal opening and closing process of the high-voltage circuit breaker, obtains the curve representing the spring fatigue state, and obtains the spring fatigue characteristic parameter vector; the GA-SALBP model is used to compare the obtained The spring fatigue characteristic parameter vector is analyzed, that is, the fatigue state value and stress relaxation of the circuit breaker spring are obtained, and the purpose of monitoring the spring state of the high-voltage circuit breaker is realized. When the GA-SALBP model is used to analyze the obtained spring fatigue characteristic parameter vector, the combination of The error energy index of circuit breaker spring performance evaluation realizes the evaluation of test spring performance, which makes the whole evaluation method more effective and faster in calculation speed.

附图说明Description of drawings

为了更清楚地说明本发明的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一个实施例,对于本领域普通技术人员来说,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only an embodiment of the present invention, which is very important in the art. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.

图1是本发明一种基于图像识别的断路器弹簧疲劳状态智能评价方法的流程示意图;Fig. 1 is a schematic flowchart of an image recognition-based intelligent evaluation method for spring fatigue state of circuit breaker according to the present invention;

图2是本发明弹簧参数描述示意图;Fig. 2 is the schematic diagram describing the spring parameter of the present invention;

图3是本发明GA-SALBP神经网络判断操作机构弹簧疲劳状态及应力松弛程度的流程示意图。FIG. 3 is a schematic flow chart of the GA-SALBP neural network of the present invention for judging the spring fatigue state and stress relaxation degree of the operating mechanism.

具体实施方式Detailed ways

下面结合本发明实施例中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

如图1所示,本发明所提供的一种基于图像识别的断路器弹簧疲劳状态智能评价方法,包括以下几个步骤:As shown in FIG. 1 , an image recognition-based intelligent evaluation method for circuit breaker spring fatigue state provided by the present invention includes the following steps:

(1)建立断路器弹簧状态评价基础数据库。(1) Establish the basic database of circuit breaker spring state evaluation.

基础数据库中根据断路器弹簧型号记录有弹簧的固有尺寸,该固有尺寸包括弹簧的直径d,弹簧中径D,内径D1,外径D2,自由高度H0,螺旋角α,原始节距b,弹簧圈数n(部分参数之间可以相互推导);同时记录有弹簧疲劳测试基础数据,断路器弹簧伸缩形变过程与压力和疲劳程度关系,该关系包括弹簧工作高度、运动速度、受力伸缩形变曲线及振荡频率等描述弹簧性能的关键参数。基础数据库中的数据样本是通过弹簧疲劳测试机模拟断路器分合闸状态的现场,由高速摄像机拍摄和分析识别弹簧伸缩过程特征,结合力学传感器测试结果,通过同类弹簧在疲劳测试机的反复试验而获得的,该数据样本经统计分类后存入基础数据库中,即为断路器弹簧状态评价基础数据库。The intrinsic size of the spring is recorded in the basic database according to the type of the circuit breaker spring. The intrinsic size includes the diameter d of the spring, the middle diameter D of the spring, the inner diameter D 1 , the outer diameter D 2 , the free height H 0 , the helix angle α, and the original pitch b, the number of spring coils n (part of the parameters can be derived from each other); at the same time, the basic data of the spring fatigue test are recorded, and the relationship between the expansion and contraction process of the circuit breaker spring and the pressure and fatigue degree, the relationship includes the working height of the spring, the movement speed, the force The key parameters that describe the spring performance, such as the expansion and contraction curve and the oscillation frequency. The data samples in the basic database are on-site simulating the opening and closing state of the circuit breaker through a spring fatigue testing machine. The characteristics of the spring expansion and contraction process are identified by shooting and analysis by a high-speed camera. Combined with the test results of the mechanical sensor, through repeated tests of similar springs in the fatigue testing machine The obtained data samples are stored in the basic database after statistical classification, which is the basic database for spring state evaluation of circuit breakers.

(2)设置实测断路器操作弹簧形变过程的测试装置的参数,捕捉弹簧形变过程中的图像,经过处理后获得弹簧的高速图像序列。(2) Set the parameters of the test device for measuring the spring deformation process of the circuit breaker, capture the images in the spring deformation process, and obtain the high-speed image sequence of the spring after processing.

测试装置为高速摄像机,在待测断路器弹簧附近寻找合适位置安装高速摄像机,调节高速摄像机的参数使操作机构弹簧图像清晰;高速摄像机需设置的参数包括拍摄焦距、触发速度、相机帧率、分辨率和曝光时间,且根据断路器型号以及分合闸时间设置高速摄像机的拍摄时长,确定标定高速摄像机拍摄图像每个像素在实际拍摄平面中的实际尺寸k(mm)。The test device is a high-speed camera. Find a suitable position to install the high-speed camera near the spring of the circuit breaker to be tested, and adjust the parameters of the high-speed camera to make the spring image of the operating mechanism clear; the parameters to be set for the high-speed camera include shooting focal length, trigger speed, camera frame rate, resolution rate and exposure time, and set the shooting time of the high-speed camera according to the type of circuit breaker and the opening and closing time, and determine the actual size k (mm) of each pixel of the image captured by the calibrated high-speed camera in the actual shooting plane.

确定该实际尺寸k的方法为:在与拍摄的断路器弹簧同一平面内放置已知具体尺寸的标尺,获取标尺在图像中的像素长度,以标尺实际尺寸和像素长度的商作为图像每个像素在实际拍摄平面中的实际尺寸k,便于计算最终弹簧工作参数,且与弹簧自由状态参数做比对,使得结果更加直观。The method of determining the actual size k is: place a ruler with a known specific size in the same plane as the photographed circuit breaker spring, obtain the pixel length of the ruler in the image, and take the quotient of the actual size of the ruler and the pixel length as each pixel of the image The actual size k in the actual shooting plane is easy to calculate the final spring working parameters, and compared with the spring free state parameters, making the results more intuitive.

当断路器分合闸线圈电流触发超过阈值时,判断为断路器分合闸开始时刻,控制高速摄像机开始捕捉图像,再经过图像采集,预处理,存储工作获得高压断路器弹簧的高速图像序列。When the current trigger of the circuit breaker opening and closing coil exceeds the threshold, it is judged that the opening and closing of the circuit breaker starts, and the high-speed camera is controlled to start capturing images, and then the high-speed image sequence of the high-voltage circuit breaker spring is obtained through image acquisition, preprocessing, and storage.

(3)在高速图像序列中搜索弹簧运动的初始帧,以弹簧固定端像素坐标为初始点A,用于计算弹簧在形变过程中的实际工作长度及运动速度变化,以弹簧活动端顶端临近区域(即匹配模板)为目标点B,初始点与目标点之间的弹簧即为需要识别的运动目标(如图2所示);通过目标点B分辨断路器分合闸过程中的运动,此即为明显的断路器操作机构弹簧的特征节间。(3) Search the initial frame of the spring motion in the high-speed image sequence, take the pixel coordinates of the fixed end of the spring as the initial point A, and use it to calculate the actual working length and movement speed changes of the spring during the deformation process. (ie the matching template) is the target point B, and the spring between the initial point and the target point is the moving target to be identified (as shown in Figure 2); That is the characteristic internode of the spring of the obvious circuit breaker operating mechanism.

采用图像匹配算法(NCC算法)识别步骤(2)高速图像序列中每一帧图像的弹簧顶端临近区域(即匹配模板)中心像素位置(即弹簧特征节间在每一帧图像中的像素位置),该像素位置代表操作机构弹簧的实际工作位置。The image matching algorithm (NCC algorithm) is used to identify step (2) the central pixel position of the spring top adjacent area (ie matching template) of each frame of image in the high-speed image sequence (ie the pixel position of the spring feature node in each frame of image) , the pixel position represents the actual working position of the operating mechanism spring.

(4)计算每一帧图像中目标点B像素坐标到初始点A像素坐标的距离(即弹簧的工作高度),绘制操作机构弹簧形变过程中运动目标的位移-时间曲线,以及目标点B的速度-时间曲线,速度值为弹簧目标点B在运动方向上位移-时间曲线的逐点斜率值。(4) Calculate the distance from the pixel coordinates of the target point B to the pixel coordinates of the initial point A in each frame of the image (that is, the working height of the spring), draw the displacement-time curve of the moving target during the spring deformation of the operating mechanism, and the target point B Velocity-time curve, the velocity value is the point-by-point slope value of the displacement-time curve of the spring target point B in the movement direction.

(5)通过位移-时间曲线和速度-时间曲线获取弹簧工作参数,弹簧工作参数包括弹簧初始工作高度、弹簧最终工作高度、伸缩时间、弹簧最大运动行程、弹簧中间圈径向往复的次数以及弹簧工作的最大加速度;以初始帧目标点像素坐标s0到初始点像素坐标s的距离作为弹簧初始工作高度Ht0,以结束帧目标点像素坐标st到初始点像素坐标s的距离作为弹簧最终工作高度Ht,通过位移-时间曲线得到弹簧的伸缩时间t,取位移-时间曲线上界与下界的差值作为弹簧最大运动行程hm,计算弹簧在伸缩时间内中间圈径向往复的次数fc(即在弹簧伸缩时间内弹簧上目标点B的方向变化次数),并求取弹簧工作的最大加速度am(5) Obtain the working parameters of the spring through the displacement-time curve and the speed-time curve. The working parameters of the spring include the initial working height of the spring, the final working height of the spring, the expansion and contraction time, the maximum movement stroke of the spring, the number of times of radial reciprocation of the spring intermediate ring and the spring. The maximum acceleration of work; the distance from the pixel coordinate s 0 of the initial frame target point to the pixel coordinate s of the initial point is used as the initial working height H t0 of the spring, and the distance from the pixel coordinate s t of the end frame target point to the pixel coordinate s of the initial point is used as the final spring of the spring. Working height H t , the expansion and contraction time t of the spring is obtained from the displacement-time curve, and the difference between the upper and lower bounds of the displacement-time curve is taken as the maximum movement stroke h m of the spring, and the number of times of radial reciprocation of the middle ring of the spring in the expansion and contraction time is calculated. f c (that is, the number of changes in the direction of the target point B on the spring during the spring expansion and contraction time), and obtain the maximum acceleration a m of the spring.

弹簧初始工作高度Ht0的计算表达式为Ht0=k|s0-s|,弹簧最终工作高度Ht的计算表达式为Ht=k|st-s|,弹簧伸缩时间t为y=st±ε与位移-时间曲线的交点的最大值;ε为认定的弹簧伸缩幅度的最大值,ε默认取0-2个像素,消除弹簧伸缩幅度过小而可能是因为识别误差而引起的动作,k为一个系数,反应弹簧实际尺寸与像素长度之间的计算关系。The calculation expression of the initial working height H t0 of the spring is H t0 =k|s 0 -s|, the calculation expression of the final working height H t of the spring is H t =k|s t -s|, and the spring expansion and contraction time t is y = s t ±ε and the maximum value of the intersection of the displacement-time curve; ε is the maximum value of the identified spring expansion and contraction amplitude, and ε takes 0-2 pixels by default, eliminating the fact that the spring expansion and contraction amplitude is too small, which may be caused by identification errors The action of , k is a coefficient, which reflects the calculated relationship between the actual size of the spring and the pixel length.

采用图像相邻帧对应位置灰度差分法确定初始帧和结束帧,滤除大量无关的静止的帧图像,避免断路器操作前后大量冗余图像影响处理速度。The initial frame and the end frame are determined by the gray difference method of the corresponding positions of adjacent frames of the image, and a large number of irrelevant still frame images are filtered out, so as to avoid a large number of redundant images before and after the circuit breaker operation affecting the processing speed.

(6)从步骤(1)的基础数据库中提取有明显代表特征的试验样本,获取试验样本的工作参数和疲劳状态评估值;通过主成分提取,分析试验样本之间数据的相关性获得因弹簧疲劳状态改变而可能发生变化的弹簧工作参数,建立代表高压断路器操作机构弹簧疲劳状态的疲劳特征参数向量,减小参数的复杂程度;同时获取实测的弹簧疲劳特征参数向量[hm,am,fc];(6) Extract the test samples with obvious representative characteristics from the basic database in step (1), and obtain the working parameters and fatigue state evaluation values of the test samples; through the extraction of principal components, analyze the correlation of the data between the test samples to obtain the spring The spring working parameters that may change due to the change of the fatigue state, establish the fatigue characteristic parameter vector representing the fatigue state of the spring of the operating mechanism of the high-voltage circuit breaker to reduce the complexity of the parameters; at the same time, obtain the measured spring fatigue characteristic parameter vector [h m , a m ,f c ];

(7)采用遗传算法-自适应学习率反向传播(genetic algorithms-self-adaptionlearning rate Backpropation,GA-SALBP)分析弹簧的疲劳状态:提取基础数据库中的典型样本,求取典型样本的疲劳特征参数向量,以典型样本的疲劳特征参数向量作为训练样本,训练GA-SALBP模型;再将未知疲劳状态的弹簧疲劳特征参数向量代入已训练好的GA-SALBP模型中,得到断路器弹簧的疲劳状态值(0~1之间的值)以及应力松弛情况,最后设定疲劳事故预警阈值(可以根据实际工作要求调整)作为发生弹簧疲劳断裂事故发生的预警值,实现高压断路器弹簧状态监测的目的。(7) Use genetic algorithms-self-adaption learning rate Backpropation (GA-SALBP) to analyze the fatigue state of the spring: extract the typical samples in the basic database, and obtain the fatigue characteristic parameters of the typical samples The GA-SALBP model is trained by taking the fatigue characteristic parameter vector of the typical sample as the training sample; then the spring fatigue characteristic parameter vector of the unknown fatigue state is substituted into the trained GA-SALBP model, and the fatigue state value of the circuit breaker spring is obtained. (value between 0 and 1) and stress relaxation conditions, and finally set the fatigue accident early warning threshold (which can be adjusted according to actual work requirements) as the early warning value for the occurrence of spring fatigue fracture accidents, to achieve the purpose of high-voltage circuit breaker spring state monitoring.

如图3所示,采用GA-SALBP模型进行弹簧疲劳状态分析的具体过程为:As shown in Figure 3, the specific process of using the GA-SALBP model to analyze the fatigue state of the spring is as follows:

(7.1)设输入为弹簧疲劳状态特征参数的N维向量x,设基础数据库中有M个样本,计算每个特征参数的均值,并与各个样本的特征值做比对,剔除由环境因素影响或是识别记录误差而造成部分特征参数明显存在异常的样本,剩下合适的M′个样本,形成N×M′的断路器操作机构弹簧的特征参数矩阵和M′个疲劳状态程度评估值及应力松弛度。(7.1) Suppose the input is the N-dimensional vector x of the characteristic parameters of spring fatigue state, and suppose there are M samples in the basic database, calculate the mean value of each characteristic parameter, and compare it with the characteristic value of each sample, excluding the influence of environmental factors Or identify the samples with obvious abnormality in some characteristic parameters caused by recording errors, and leave appropriate M' samples to form an N×M' characteristic parameter matrix of the circuit breaker operating mechanism spring and M' fatigue state degree evaluation values and Stress relaxation.

(7.2)建立三层BP神经网络,根据弹簧疲劳状态特征参数的数量确定中间层的神经元个数,BP神经网络的权值个数为弹簧特征参数个数N加上评价指标个数后与中间层神经元个数的积;运用GA遗传算法得到BP神经网络误差较小的一组完整的权值作为BP神经网络的初始权值,再将样本数值即弹簧的特征参数矩阵代入,进行BP神经网络的学习和训练。(7.2) Establish a three-layer BP neural network, and determine the number of neurons in the middle layer according to the number of spring fatigue state characteristic parameters. The number of weights of the BP neural network is the number of spring characteristic parameters N plus the number of evaluation indicators and the The product of the number of neurons in the middle layer; the GA genetic algorithm is used to obtain a complete set of weights with small errors in the BP neural network as the initial weights of the BP neural network, and then the sample value, that is, the characteristic parameter matrix of the spring, is substituted into the BP neural network. Learning and training of neural networks.

(7.3)在训练过程中根据弹簧性能评估误差能量

Figure BDA0001658299830000091
(即实际弹簧疲劳状态程度评估值及应力松弛度的误差值平方和的
Figure BDA0001658299830000092
ej(n)为第j次弹簧疲劳状态程度评估值与应力松弛度误差)及学习率η调整权值w,用前后两次调整权值后误差能量的变化调整学习率η,学习率的调整表示式为
Figure BDA0001658299830000093
p的取值为大于1的常数,η(n)为第n次训练过程中的学习率,为调整后第n+1次训练过程学习率,e(n)和e(n+1)为递归的两次训练弹簧性能评估误差能量;根据需要调整学习率的变化快慢,优点在于不仅免去了误差的增减判断,而且不用设定增/减因子,在误差增大的时候降低学习率,误差减小方向适当提高学习率。(7.3) Evaluate error energy from spring properties during training
Figure BDA0001658299830000091
(that is, the sum of the squares of the actual spring fatigue state evaluation value and the error value of the stress relaxation degree
Figure BDA0001658299830000092
e j (n) is the j-th spring fatigue state evaluation value and stress relaxation error) and the learning rate η to adjust the weight w, and the learning rate η is adjusted by the change of the error energy after adjusting the weight twice before and after. The adjusted expression is
Figure BDA0001658299830000093
The value of p is a constant greater than 1, η(n) is the learning rate in the nth training process, and is the learning rate in the n+1th training process after adjustment, e(n) and e(n+1) are Recursive two training spring performance evaluation error energy; adjust the speed of change of the learning rate according to the need, the advantage is that not only does the error increase or decrease judgment, but also does not need to set the increase/decrease factor, and reduce the learning rate when the error increases , the error reduction direction appropriately increases the learning rate.

(7.4)当误差能量小于设定阈值,即输入任意一个弹簧样本的疲劳状态特征参数得到的结果与实际此样本的疲劳状态评估值非常接近时,BP神经网络则训练完成;此时通过图像识别跟踪待测操作机构弹簧运动过程,计算疲劳状态特征参数向量,代入训练完成的BP神经网络,即分析出其疲劳状态,达到断路器操作机构弹簧疲劳状态智能评价的目的。(7.4) When the error energy is less than the set threshold, that is, the result obtained by inputting the fatigue state characteristic parameters of any spring sample is very close to the actual fatigue state evaluation value of the sample, the BP neural network is trained; Track the spring movement process of the operating mechanism to be tested, calculate the characteristic parameter vector of the fatigue state, and substitute it into the trained BP neural network, that is, analyze its fatigue state, and achieve the purpose of intelligent evaluation of the spring fatigue state of the circuit breaker operating mechanism.

利用遗传算法获取BP神经网络的初始权值和阈值在保证BP神经网络的计算精度上加速了BP神经网络的收敛速度,自适应学习率的训练方法使得BP神经网络最后会有较好的精度同时收敛速度也相对较快。The use of genetic algorithm to obtain the initial weights and thresholds of the BP neural network accelerates the convergence speed of the BP neural network while ensuring the calculation accuracy of the BP neural network. The convergence rate is also relatively fast.

以上所揭露的仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或变型,都应涵盖在本发明的保护范围之内。The above disclosure is only the specific embodiment of the present invention, but the protection scope of the present invention is not limited to this. should be included within the protection scope of the present invention.

Claims (8)

1.一种基于图像识别的断路器弹簧疲劳状态智能评价方法,其特征在于,包括以下几个步骤:1. an intelligent evaluation method for circuit breaker spring fatigue state based on image recognition, is characterized in that, comprises the following steps: (1)建立断路器弹簧状态评价基础数据库;(1) Establish a basic database for circuit breaker spring state evaluation; (2)设置实测断路器操作弹簧形变过程的测试装置的参数,捕捉弹簧形变过程中的图像,经过处理后获得弹簧的高速图像序列;(2) Setting the parameters of the test device for measuring the spring deformation process of the circuit breaker, capturing the images in the spring deformation process, and obtaining the high-speed image sequence of the spring after processing; (3)以弹簧固定端像素坐标为初始点,初始点与弹簧活动端顶端之间的弹簧即为需要识别的运动目标;选取运动目标上的某一区域为匹配模板,采用图像匹配算法识别所述步骤(2)高速图像序列中每一帧图像,获得对应的匹配模板中心像素位置坐标;(3) Take the pixel coordinates of the fixed end of the spring as the initial point, and the spring between the initial point and the top of the movable end of the spring is the moving target that needs to be identified; select a certain area on the moving target as the matching template, and use the image matching algorithm to identify the target. In the step (2) high-speed image sequence, each frame of image obtains the corresponding matching template center pixel position coordinates; (4)计算每一帧图像中匹配模板中心像素坐标到初始点像素坐标的距离,绘制操作机构弹簧形变过程中运动目标的位移-时间曲线,以及匹配模板中心像素坐标的速度-时间曲线;(4) calculate the distance from matching template center pixel coordinates to initial point pixel coordinates in each frame of image, draw the displacement-time curve of the moving target in the spring deformation process of the operating mechanism, and match the speed-time curve of the template center pixel coordinates; (5)通过位移-时间曲线和速度-时间曲线获取弹簧工作参数;(5) Obtain spring working parameters through displacement-time curve and velocity-time curve; (6)从所述步骤(1)的基础数据库中提取有明显代表特征的试验样本,获取试验样本的工作参数和疲劳状态评估值,建立代表高压断路器操作机构弹簧疲劳状态的疲劳特征参数向量;同时获取实测的弹簧疲劳特征参数向量;(6) Extracting test samples with obvious representative characteristics from the basic database in the step (1), obtaining the working parameters and fatigue state evaluation values of the test samples, and establishing a fatigue characteristic parameter vector representing the fatigue state of the spring of the operating mechanism of the high-voltage circuit breaker ; Simultaneously obtain the measured spring fatigue characteristic parameter vector; (7)采用GA-SALBP模型分析弹簧的疲劳状态:提取基础数据库中的典型样本,求取典型样本的疲劳特征参数向量,以典型样本的疲劳特征参数向量作为训练样本,训练GA-SALBP模型;再将未知疲劳状态的弹簧疲劳特征参数向量代入已训练好的GA-SALBP模型中,得到断路器弹簧的疲劳状态值以及应力松弛情况,最后设定疲劳事故预警阈值,实现高压断路器弹簧状态监测的目的;(7) Using the GA-SALBP model to analyze the fatigue state of the spring: extract the typical samples in the basic database, obtain the fatigue characteristic parameter vector of the typical sample, and use the fatigue characteristic parameter vector of the typical sample as the training sample to train the GA-SALBP model; Then, the spring fatigue characteristic parameter vector of the unknown fatigue state is substituted into the trained GA-SALBP model to obtain the fatigue state value and stress relaxation of the circuit breaker spring. Finally, the fatigue accident warning threshold is set to realize the monitoring of the spring state of the high voltage circuit breaker. the goal of; 所述步骤(7)采用GA-SALBP模型进行弹簧疲劳状态分析的具体过程为:The specific process of using the GA-SALBP model to analyze the fatigue state of the spring in the step (7) is as follows: (7.1)设输入为弹簧疲劳状态特征参数的N维向量x,设基础数据库中有M个样本,计算每个特征参数的均值,并与各个样本的特征值做比对,剔除由环境因素影响或是识别记录误差而造成部分特征参数明显存在异常的样本,剩下合适的M′个样本,形成N×M′的断路器操作机构弹簧的特征参数矩阵和M′个疲劳状态程度评估值及应力松弛度;(7.1) Suppose the input is the N-dimensional vector x of the characteristic parameters of spring fatigue state, and suppose there are M samples in the basic database, calculate the mean value of each characteristic parameter, and compare it with the characteristic value of each sample, excluding the influence of environmental factors Or identify the samples with obvious abnormality in some characteristic parameters caused by recording errors, and leave appropriate M' samples to form an N×M' characteristic parameter matrix of the circuit breaker operating mechanism spring and M' fatigue state degree evaluation values and stress relaxation; (7.2)建立BP神经网络,根据弹簧疲劳状态特征参数的数量确定中间层的神经元个数,BP神经网络的权值个数为弹簧特征参数个数N加上评价指标个数后与中间层神经元个数的积;运用GA遗传算法得到BP神经网络误差较小的一组完整的权值作为BP神经网络的初始权值,再将样本数值即弹簧的特征参数矩阵代入,进行BP神经网络的学习和训练;(7.2) Establish a BP neural network, and determine the number of neurons in the middle layer according to the number of characteristic parameters of the spring fatigue state. The product of the number of neurons; the GA genetic algorithm is used to obtain a complete set of weights with a small error in the BP neural network as the initial weights of the BP neural network, and then the sample value, that is, the characteristic parameter matrix of the spring, is substituted into the BP neural network. learning and training; (7.3)在训练过程中根据弹簧性能评估误差能量及学习率调整权值,用前后两次调整权值后误差能量的变化调整学习率;(7.3) In the training process, the error energy and the learning rate are adjusted according to the spring performance evaluation, and the learning rate is adjusted by the change of the error energy after adjusting the weights twice before and after; (7.4)当误差能量小于设定阈值,即输入任意一个弹簧样本的疲劳状态特征参数得到的结果与实际此样本的疲劳状态评估值非常接近时,BP神经网络则训练完成;此时通过图像识别跟踪待测操作机构弹簧运动过程,计算疲劳状态特征参数向量,代入训练完成的BP神经网络,即分析出其疲劳状态,达到断路器操作机构弹簧疲劳状态智能评价的目的。(7.4) When the error energy is less than the set threshold, that is, the result obtained by inputting the fatigue state characteristic parameters of any spring sample is very close to the actual fatigue state evaluation value of the sample, the BP neural network is trained; Track the spring movement process of the operating mechanism to be tested, calculate the characteristic parameter vector of the fatigue state, and substitute it into the trained BP neural network, that is, analyze its fatigue state, and achieve the purpose of intelligent evaluation of the spring fatigue state of the circuit breaker operating mechanism. 2.如权利要求1所述的基于图像识别的断路器弹簧疲劳状态智能评价方法,其特征在于,所述步骤(1)的基础数据库中根据断路器弹簧型号记录有弹簧的固有尺寸,同时记录有弹簧疲劳测试基础数据,断路器弹簧伸缩形变过程与压力和疲劳程度关系。2. The method for intelligently evaluating the fatigue state of a circuit breaker spring based on image recognition as claimed in claim 1, wherein the basic database of the step (1) records the inherent size of the spring according to the circuit breaker spring model, and simultaneously records There are basic data of spring fatigue test, and the relationship between the expansion and contraction process of circuit breaker spring is related to pressure and fatigue degree. 3.如权利要求1所述的基于图像识别的断路器弹簧疲劳状态智能评价方法,其特征在于,所述步骤(2)的测试装置为高速摄像机,所述高速摄像机需设置的参数包括拍摄焦距、触发速度、相机帧率、分辨率和曝光时间,且根据断路器型号以及分合闸时间设置高速摄像机的拍摄时长,确定标定高速摄像机拍摄图像每个像素在实际拍摄平面中的实际尺寸。3. the circuit breaker spring fatigue state intelligent evaluation method based on image recognition as claimed in claim 1, is characterized in that, the test device of described step (2) is high-speed camera, and the parameter that described high-speed camera needs to set includes shooting focal length , trigger speed, camera frame rate, resolution and exposure time, and set the shooting time of the high-speed camera according to the circuit breaker model and opening and closing time, and determine the actual size of each pixel of the image captured by the calibrated high-speed camera in the actual shooting plane. 4.如权利要求3所述的基于图像识别的断路器弹簧疲劳状态智能评价方法,其特征在于,确定拍摄图像每个像素在实际拍摄平面中实际尺寸的方法为:在与拍摄的断路器弹簧同一平面内放置已知具体尺寸的标尺,获取所述标尺在图像中的像素长度,以标尺实际尺寸和像素长度的商作为图像每个像素在实际拍摄平面中的实际尺寸。4. The method for intelligently evaluating the fatigue state of circuit breaker springs based on image recognition as claimed in claim 3, wherein the method for determining the actual size of each pixel of the photographed image in the actual photographing plane is: A ruler with a known specific size is placed in the same plane, the pixel length of the ruler in the image is obtained, and the quotient of the actual size of the ruler and the pixel length is taken as the actual size of each pixel of the image in the actual shooting plane. 5.如权利要求1所述的基于图像识别的断路器弹簧疲劳状态智能评价方法,其特征在于,所述步骤(5)弹簧工作参数包括弹簧初始工作高度、弹簧最终工作高度、伸缩时间、弹簧最大运动行程、弹簧中间圈径向往复的次数以及弹簧工作的最大加速度;5. The method for intelligently evaluating the fatigue state of circuit breaker springs based on image recognition according to claim 1, wherein the step (5) spring working parameters include the initial working height of the spring, the final working height of the spring, the expansion and contraction time, the spring The maximum movement stroke, the number of times of radial reciprocation of the intermediate ring of the spring and the maximum acceleration of the spring; 以初始帧匹配模板中心像素坐标到初始点像素坐标的距离作为弹簧初始工作高度,以结束帧匹配模板中心像素坐标到初始点像素坐标的距离作为弹簧最终工作高度,取位移-时间曲线上界与下界的差值作为弹簧最大运动行程hmTake the distance from the center pixel coordinate of the initial frame matching template to the initial point pixel coordinate as the initial working height of the spring, and take the distance from the center pixel coordinate of the end frame matching template to the initial point pixel coordinate as the final working height of the spring, and take the upper bound of the displacement-time curve and The difference of the lower bound is taken as the maximum travel of the spring h m . 6.如权利要求5所述的基于图像识别的断路器弹簧疲劳状态智能评价方法,其特征在于,采用图像相邻帧对应位置灰度差分法确定所述的初始帧和结束帧。6 . The method for intelligently evaluating the fatigue state of circuit breaker springs based on image recognition according to claim 5 , wherein the initial frame and the end frame are determined by using a grayscale difference method of corresponding positions of adjacent frames of the image. 7 . 7.如权利要求5所述的基于图像识别的断路器弹簧疲劳状态智能评价方法,其特征在于,所述弹簧初始工作高度Ht0的计算表达式为Ht0=k|s0-s|,弹簧最终工作高度Ht的计算表达式为Ht=k|st-s|,弹簧伸缩时间t为y=st±ε与位移-时间曲线的交点的最大值;7 . The method for intelligently evaluating the fatigue state of a circuit breaker spring based on image recognition according to claim 5 , wherein the calculation expression of the initial working height H t0 of the spring is H t0 =k|s 0 −s|, 8 . The calculation expression of the final working height H t of the spring is H t =k|s t -s|, and the spring expansion and contraction time t is the maximum value of the intersection of y=s t ±ε and the displacement-time curve; 其中,s0为初始帧匹配模板中心像素坐标,s为初始点像素坐标,st为结束帧匹配模板中心像素坐标,k为图像每个像素在实际拍摄平面中的实际尺寸,ε为认定的弹簧伸缩幅度的最大值。Among them, s 0 is the center pixel coordinate of the initial frame matching template, s is the pixel coordinate of the initial point, s t is the center pixel coordinate of the end frame matching template, k is the actual size of each pixel of the image in the actual shooting plane, and ε is the identified The maximum value of spring expansion and contraction. 8.如权利要求1所述的基于图像识别的断路器弹簧疲劳状态智能评价方法,其特征在于,所述步骤(7.3)学习率的调整表示式为
Figure FDA0003305612880000041
p的取值为大于1的常数,e(n)和e(n+1)为递归的两次训练弹簧性能评估误差能量。
8. The method for intelligently evaluating the fatigue state of circuit breaker springs based on image recognition according to claim 1, wherein the adjustment expression of the learning rate in the step (7.3) is:
Figure FDA0003305612880000041
The value of p is a constant greater than 1, and e(n) and e(n+1) are the error energies of the recursive two training spring performance evaluations.
CN201810450389.8A 2018-05-11 2018-05-11 Intelligent evaluation method of circuit breaker spring fatigue state based on image recognition Active CN108921812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810450389.8A CN108921812B (en) 2018-05-11 2018-05-11 Intelligent evaluation method of circuit breaker spring fatigue state based on image recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810450389.8A CN108921812B (en) 2018-05-11 2018-05-11 Intelligent evaluation method of circuit breaker spring fatigue state based on image recognition

Publications (2)

Publication Number Publication Date
CN108921812A CN108921812A (en) 2018-11-30
CN108921812B true CN108921812B (en) 2022-04-22

Family

ID=64403753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810450389.8A Active CN108921812B (en) 2018-05-11 2018-05-11 Intelligent evaluation method of circuit breaker spring fatigue state based on image recognition

Country Status (1)

Country Link
CN (1) CN108921812B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109655248A (en) * 2018-12-18 2019-04-19 安徽江淮汽车集团股份有限公司 Solenoid valve response time test method
CN112097673B (en) * 2019-06-18 2022-11-15 上汽通用汽车有限公司 Virtual matching method and system for vehicle body parts
CN111067531A (en) * 2019-12-11 2020-04-28 中南大学湘雅医院 Method and device for wound measurement, and storage medium
CN111649883B (en) * 2020-05-25 2022-04-05 河北金力新能源科技股份有限公司 Evaluation method of circular knife spring of splitting machine and circular knife spring elasticity testing device used in evaluation method
CN111947906A (en) * 2020-08-10 2020-11-17 广西电网有限责任公司电力科学研究院 GIS opening and closing coil's action life test system
CN114492724A (en) * 2020-10-23 2022-05-13 河南平高电气股份有限公司 Method and system for detecting spring operating mechanism of circuit breaker
CN112798242A (en) * 2020-12-25 2021-05-14 合肥开关厂有限公司 Method for calculating spring fatigue degree of vacuum circuit breaker
CN113791339B (en) * 2021-07-19 2024-07-19 国网浙江省电力有限公司乐清市供电公司 Circuit breaker performance state detection method based on R-NCC image recognition algorithm
CN115356095B (en) * 2022-08-16 2024-09-24 广西电网有限责任公司电力科学研究院 Method for evaluating state performance of opening and closing spring of circuit breaker based on variance of motion equation
CN118822958B (en) * 2024-06-20 2025-03-07 阿米斯科自动化元件(深圳)有限公司 A method for evaluating the health status of electromagnetic coils based on image features
CN118967561B (en) * 2024-07-11 2025-03-11 嘉兴泰恩弹簧有限公司 Mattress spring deformation detection method and device based on image recognition

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101102004B1 (en) * 2005-12-30 2012-01-04 삼성전자주식회사 Method and system for quantifying fatigue for 3D stereoscopic image
US9390517B2 (en) * 2011-01-25 2016-07-12 Samsung Sdi Co., Ltd. System for image analysis and method thereof
CN102693450B (en) * 2012-05-16 2014-11-12 北京理工大学 A prediction method for crankshaft fatigue life based on genetic nerve network
CN103839412B (en) * 2014-03-27 2015-12-02 北京建筑大学 A kind of crossing dynamic steering ratio combination method of estimation based on Bayes's weighting
CN104062111A (en) * 2014-06-13 2014-09-24 云南电力试验研究院(集团)有限公司电力研究院 Method for collecting mechanical characteristic parameters of breaker based on high-speed camera
CN106651906A (en) * 2015-10-30 2017-05-10 国网山西省电力公司电力科学研究院 Test method for motion characteristic of high-voltage breaker based on improved Gaussian mixture model
CN107884164B (en) * 2017-09-25 2019-07-26 广西电网有限责任公司电力科学研究院 A method for detecting spring performance of circuit breaker based on NCC-SAR algorithm
CN107860564B (en) * 2017-09-25 2019-10-18 广西电网有限责任公司电力科学研究院 A Weak State On-line Testing Device for Operating Spring of High Voltage Circuit Breaker
CN107860562B (en) * 2017-09-25 2019-06-14 广西电网有限责任公司电力科学研究院 A method for testing the softness of operating springs of high-voltage circuit breakers

Also Published As

Publication number Publication date
CN108921812A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108921812B (en) Intelligent evaluation method of circuit breaker spring fatigue state based on image recognition
Aydin et al. Defect classification based on deep features for railway tracks in sustainable transportation
CN111209434B (en) Substation equipment inspection system and method based on multi-source heterogeneous data fusion
CN107860562B (en) A method for testing the softness of operating springs of high-voltage circuit breakers
CN108765373A (en) A kind of insulator exception automatic testing method based on integrated classifier on-line study
CN113920400B (en) Metal surface defect detection method based on improvement YOLOv3
CN108956614A (en) A kind of pit rope dynamic method for detection fault detection and device based on machine vision
CN103149087B (en) Follow-up window and digital image-based non-contact real-time strain measurement method
CN107884164B (en) A method for detecting spring performance of circuit breaker based on NCC-SAR algorithm
US11867763B2 (en) Method for monitoring circuit breaker and apparatus and internet of things using the same
CN106651906A (en) Test method for motion characteristic of high-voltage breaker based on improved Gaussian mixture model
CN111753877B (en) Product quality detection method based on deep neural network migration learning
CN117056814B (en) A method for diagnosis of transformer voiceprint vibration fault
CN111899216A (en) A kind of abnormal detection method of high-speed rail catenary insulator fasteners
CN111678699A (en) A method and system for early fault monitoring and diagnosis of rolling bearing
CN110568082A (en) A Discrimination Method for Cable Broken Wire Based on Acoustic Emission Signal
CN119023677A (en) A highly accurate intelligent detection system for wiring harness defects
CN108009566A (en) A kind of modified PCA damage detecting methods when under empty window
KR20210077496A (en) Equipment failure prediction system having multi-channel sensors for receiving acoustic signals in the ultrasonic band
CN112069621B (en) Method for predicting residual service life of rolling bearing based on linear reliability index
CN109166122A (en) Circuit breaker operation mechanism telescopic spring characteristic test method based on image procossing
CN110057588B (en) Bearing early fault detection and diagnosis method and system based on fusion of singular value and graph theory
Zou et al. Circuit breaker energy storage spring deformation characteristics test method based on identification region estimation and optimization of SSD-P algorithm
CN117710327A (en) Automatic recording method for concrete impermeability test based on image recognition
Li et al. Methods for the rapid detection of boundary condition variations in structural systems

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
GR01 Patent grant
GR01 Patent grant