CN110929707A - Converter station scanning detection method, system and medium based on image processing - Google Patents

Converter station scanning detection method, system and medium based on image processing Download PDF

Info

Publication number
CN110929707A
CN110929707A CN201910940544.9A CN201910940544A CN110929707A CN 110929707 A CN110929707 A CN 110929707A CN 201910940544 A CN201910940544 A CN 201910940544A CN 110929707 A CN110929707 A CN 110929707A
Authority
CN
China
Prior art keywords
image
converter station
monitoring
image processing
detection method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910940544.9A
Other languages
Chinese (zh)
Inventor
朱添益
康文
蒋久松
毛志平
郑映斌
张宏
熊富强
章建军
周展帆
王梦玲
叶天舒
李宇文
邵珂
彭舟
黄晨
王应坤
刘源
田桂花
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Electric Power Co Ltd Maintenance Co
State Grid Corp of China SGCC
State Grid Hunan Electric Power Co Ltd
Original Assignee
Hunan Electric Power Co Ltd Maintenance Co
State Grid Corp of China SGCC
State Grid Hunan 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 Hunan Electric Power Co Ltd Maintenance Co, State Grid Corp of China SGCC, State Grid Hunan Electric Power Co Ltd filed Critical Hunan Electric Power Co Ltd Maintenance Co
Priority to CN201910940544.9A priority Critical patent/CN110929707A/en
Publication of CN110929707A publication Critical patent/CN110929707A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J13/00Controls for manipulators
    • B25J13/08Controls for manipulators by means of sensing devices, e.g. viewing or touching devices
    • B25J13/087Controls for manipulators by means of sensing devices, e.g. viewing or touching devices for sensing other physical parameters, e.g. electrical or chemical properties
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1674Programme controls characterised by safety, monitoring, diagnostic
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1679Programme controls characterised by the tasks executed
    • B25J9/1689Teleoperation
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1694Programme controls characterised by use of sensors other than normal servo-feedback from position, speed or acceleration sensors, perception control, multi-sensor controlled systems, sensor fusion
    • B25J9/1697Vision controlled systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • G06T5/30Erosion or dilatation, e.g. thinning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/80Geometric correction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种基于图像处理的换流站扫描检测方法、系统及介质,将换流站现场显示屏的实时照片经过一系列的图像处理过程获取数据检测结果,可最终会被显示在手机及电脑客户端,能够完全不影响换流站现有监控系统的工作、确实换流站现有监控系统内外网隔离情况下即可实现监控数据的网络化输出,防止换流站现有监控系统因为网络数据输出而暴露安全漏洞,为换流站人工智能监控提供了一种新型思路,在减少人工成本的同时,保证了监测的准确性,有利于换流站安全稳定运行,不仅适用于各换流站监视报警,还可广泛应用于除换流站以外的电力系统的许多场景。

Figure 201910940544

The invention discloses a converter station scanning detection method, system and medium based on image processing. The real-time photos of the on-site display screen of the converter station are obtained through a series of image processing processes to obtain data detection results, which can finally be displayed on a mobile phone. It can realize the network output of monitoring data under the condition that the existing monitoring system of the converter station is isolated from the internal and external networks, preventing the existing monitoring system of the converter station from being affected at all. The exposure of security loopholes due to the output of network data provides a new idea for artificial intelligence monitoring of converter stations. While reducing labor costs, it ensures the accuracy of monitoring and is conducive to the safe and stable operation of converter stations. It is not only suitable for various The converter station monitoring and alarming can also be widely used in many scenarios of the power system other than the converter station.

Figure 201910940544

Description

Converter station scanning detection method, system and medium based on image processing
Technical Field
The invention belongs to the field of converter station fault detection, and particularly relates to a converter station scanning detection method, a converter station scanning detection system and a converter station scanning detection medium based on image processing.
Background
With the rapid development of information technology and the increasing public safety concerns of society, the intelligent scanning monitoring system has been widely applied in national defense and military, traffic monitoring, sensitive important occasions and common civil fields. The massive information brought by the rapid development of the intelligent scanning monitoring system exceeds the range of the processing capacity of manpower, and the intellectualization is the inevitable trend of the development of the intelligent scanning technology.
The current intelligent scanning technology has matured in a whole day after ten years of development, but still is in a static scanning stage, and two defects mainly exist: firstly, static scanning and secondly, the analysis and evaluation function is weak. The traditional static scanning analysis is based on syntax analysis or compiler, and the defects of the analysis codes are analyzed by using a rule pattern (patterns) matched with the codes to evaluate the codes, and the codes are reported as long as the patterns are matched or similar, so that the truth and falsity of the codes need to be manually distinguished. Simple code would not be a problem or acceptable in the case of a small amount of code, but if the code is a large amount of code, complex code, the traditional scanning technology would be hardly feasible, because it would waste a lot of time for development and security auditors, and sometimes the human eye is unable to do so.
At the present stage, long-term safe and stable operation of the converter station needs long-term real-time monitoring of workers, alarm information needs to be processed in time, only a few or even no serious fault information exists in one day, but the workers need to monitor the station in the whole process, huge working cost is spent, and a great amount of labor is wasted.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: aiming at the problems in the prior art, the method, the system and the medium for scanning and detecting the convertor station based on image processing are provided, real-time pictures of a field display screen of the convertor station are processed by a series of image processing processes to obtain data detection results, can be finally displayed on mobile phone and computer client, can completely not affect the work of the current monitoring system of the convertor station, can realize the networked output of the monitoring data under the condition of ensuring the isolation of the internal network and the external network of the current monitoring system of the convertor station, prevents the current monitoring system of the convertor station from exposing security holes due to the output of network data, provides a novel idea for the artificial intelligent monitoring of the convertor station, the method has the advantages that the labor cost is reduced, the monitoring accuracy is guaranteed, the safe and stable operation of the converter stations is facilitated, the method is suitable for monitoring and alarming of each converter station, and the method can be widely applied to a plurality of scenes of power systems except the converter stations.
In order to solve the technical problems, the invention adopts the technical scheme that:
a converter station scanning detection method based on image processing comprises the following implementation steps:
1) acquiring a monitoring image of a monitoring center display screen of a converter station;
2) carrying out image preprocessing, image correction, image denoising and edge information extraction on a monitored image, wherein the image preprocessing specifically refers to carrying out image graying processing;
3) and performing character segmentation and character recognition on the monitored image to obtain a detection result.
Optionally, after the detection result is obtained in step 3), a step of performing early warning detection is further included, and the detailed steps include: and aiming at each kind of data in the detection result, finding out a corresponding early warning threshold value from a preset early warning threshold value database, judging whether the data exceeds the corresponding early warning threshold value, and if the data exceeds the corresponding early warning threshold value, pushing an alarm message to a specified mobile terminal device or a monitoring center.
Optionally, the step 1) of obtaining the monitoring image of the monitoring center display screen of the converter station is specifically realized by a mobile trolley provided with a camera on a mechanical arm, and the mobile trolley moves along a track laid on the ground or a table near the monitoring center display screen to adjust the shooting angle of the monitoring center display screen so as to realize picture quality adjustment.
Optionally, the image correction in step 2) specifically refers to correction by using a reverse mapping method, where the correction by using the reverse mapping method refers to deriving coordinates of a corresponding original image through coordinates of a target image, and determining gray levels of non-integer coordinate points by using a linear interpolation method to implement non-linear correction on a distorted image; the gray scale of the non-integer coordinate point is shown as the following formula:
Figure BDA0002222761240000021
in the above formula, y is the gray scale of the non-integer coordinate point, (x)0,y0)、(x1,y1) For known coordinates, (x, y) is [ x ]0,x1]Some value in the interval, α, is represented as an interpolation coefficient.
Optionally, the image denoising in step 2) specifically includes denoising the image by using a mean filtering method, and a function expression of denoising the image by using the mean filtering method is shown as follows:
g(x,y)=1/m∑f(x,y)
in the above formula, g (x, y) is the gray level of the processed image on the pixel point, m is the total number of pixels including the current pixel in the de-noised image template, and f (x, y) is the gray level of the original image on the pixel point.
Optionally, the extracting of the edge information in step 2) specifically refers to extracting the image edge information by using a sobel operator, where the sobel operator is shown as follows:
Figure BDA0002222761240000022
in the above formula, GxRepresenting a lateral edge detection image; gyExpressed as a longitudinal edge detection image; g represents the gradient magnitude; θ represents the gradient direction.
Optionally, the detailed steps of step 3) include:
3.1) performing expansion operation on the monitored image by using a mathematical morphology method, dividing the image into a plurality of communicated areas, and marking to complete label positioning;
3.2) carrying out character segmentation on the determined connected region, utilizing a vertical projection method to carry out segmentation, accumulating gray values of all lines of the monitoring image, adopting self-adaptive threshold segmentation to find out an optimal threshold segmentation point, converting the gray image into a binary image, and finally utilizing a horizontal vertical projection method to find out boundary points between characters so as to segment each data character;
3.3) identifying the characters of each kind of data by using a machine learning model to obtain the detection result of each kind of data.
Optionally, step 3.3) is preceded by a step of training a machine learning model, and the detailed steps include:
s1) obtaining a monitoring image sample of a monitoring center display screen of the converter station;
s2) performing sample expansion on the monitoring image sample, wherein the expansion comprises one or more of rotation, inclination, deformation, noise addition and width change;
s3) carrying out image preprocessing, image correction, image denoising and edge information extraction on the monitored image sample after the sample, wherein the image preprocessing specifically refers to carrying out image graying processing;
s4) performing dilation operation on the monitored image by a mathematical morphology method, dividing the image into a plurality of communicated areas, and marking to complete label positioning;
s5) carrying out character segmentation on the determined connected region, carrying out segmentation by using a vertical projection method, accumulating gray values of all lines of the monitored image, finding out an optimal threshold segmentation point by adopting self-adaptive threshold segmentation, converting the gray image into a binary image, finally finding out boundary points between characters by using a horizontal vertical projection method so as to segment each data character, and setting a label for each segmented data character so as to establish a training data set;
s6) completing training of the machine learning model through the training data set.
In addition, the invention also provides a convertor station scanning detection system based on image processing, which comprises a mobile trolley, wherein a camera is mounted on a mechanical arm, a control terminal is arranged in the mobile trolley, the control terminal comprises a data acquisition module, a microprocessor, a communication module and a power module, the camera is connected with the microprocessor through the data acquisition module, the microprocessor is connected with the communication module, the power module is respectively connected with the data acquisition module, the microprocessor, the communication module and the camera, the microprocessor is programmed or configured to execute the steps of the convertor station scanning detection method based on image processing, or a computer program which is programmed or configured to execute the convertor station scanning detection method based on image processing is stored in a storage medium of the microprocessor.
Furthermore, the present invention also provides a computer readable storage medium having stored thereon a computer program programmed or configured to execute the image processing based converter station scan detection method.
Compared with the prior art, the invention has the following advantages:
the invention obtains the data detection result by the real-time picture of the field display screen of the convertor station through a series of image processing processes, and the data detection result can be finally displayed on a mobile phone and a computer client, so that the work of the existing monitoring system of the convertor station can be completely not influenced, the networked output of the monitoring data can be realized under the condition of really isolating the internal network and the external network of the existing monitoring system of the convertor station, the safety leak of the existing monitoring system of the convertor station due to the network data output is prevented, a novel thought is provided for the artificial intelligent monitoring of the convertor station, the monitoring accuracy is ensured while the labor cost is reduced, the safe and stable operation of the convertor station is facilitated, and the system is not only suitable for monitoring and alarming of each convertor station, but also can be widely applied to a plurality of scenes of electric.
Drawings
FIG. 1 is a basic flow diagram of a method according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a main view (facing a monitored display screen) according to an embodiment of the present invention.
FIG. 3 is a schematic side view of the embodiment of the present invention.
Fig. 4 is a schematic top view of the embodiment of the invention.
FIG. 5 is a schematic structural diagram of a button activation device according to an embodiment of the present invention.
Detailed Description
As shown in fig. 1, the implementation steps of the image processing-based converter station scan detection method of the embodiment include:
1) acquiring a monitoring image of a monitoring center display screen of a converter station;
2) carrying out image preprocessing, image correction, image denoising and edge information extraction on the monitored image, wherein the image preprocessing specifically refers to carrying out image graying processing to reduce the data processing amount of the image;
3) and performing character segmentation and character recognition on the monitored image to obtain a detection result.
In this embodiment, the step 1) of obtaining the monitoring image of the monitoring center display screen of the converter station is specifically realized by a mobile trolley provided with a camera on a mechanical arm, and the mobile trolley moves along a track laid on the ground or a table surface near the monitoring center display screen to adjust the shooting angle of the monitoring center display screen so as to realize picture quality adjustment. The movable trolley moves back and forth, and the scanning camera continuously shoots the field display screen.
As shown in fig. 2, fig. 3 and fig. 4, the device (intelligent monitoring robot) for acquiring the monitoring image of the monitoring center display screen of the converter station in step 1) of this embodiment includes a track 1 and a mobile trolley 2 having a function of traveling on the track 1, a control component is arranged inside the mobile trolley 2, an image acquisition device 3 for monitoring the operation data screen of the main control room of the transformer substation is arranged on the mobile trolley 2, the mobile trolley 2 is further connected with a button touch device 4 for touching the adjustment button of the operation data screen of the main control room of the transformer substation, and both the image acquisition device 3 and the button touch device 4 are connected with the control component. The mobile trolley 2 is provided with the image acquisition device 3 for monitoring the operation data screen of the transformer substation master control room, and data acquisition can be realized by monitoring the operation data screen of the transformer substation master control room through the camera on the premise of not interfering the transformer substation master control system to realize internal and external network isolation. The embodiment comprises a track 1 and a movable trolley 2 walking on the track 1, so that the position of the movable trolley on the track can be adjusted as required, the interference of illumination on the operation data screen of the transformer substation master control room can be overcome, and the image acquisition quality of the operation data screen of the transformer substation master control room is ensured. The moving trolley 2 is also connected with a button touch device 4 for touching an adjusting button of a running data screen of a main control room of the transformer substation, and on one hand, the brightness and contrast of the running data screen of the main control room of the transformer substation can be adjusted through the button touch device 4 for adjusting the button, so that the image acquisition quality of the running data screen of the main control room of the transformer substation is ensured; on the other hand, the on-off state of the operation data screen of the substation master control room can be controlled according to needs to realize energy conservation.
In this embodiment, the control assembly includes a power module, a controller and a data communication module that are connected in sequence, and the image acquisition device 3 and the button touching device 4 are connected with the controller.
As shown in fig. 2, the bottom of the mobile trolley 2 is provided with a walking wheel 21 and a walking motor for controlling the walking wheel 21 to move, the walking wheel 21 is arranged on the track 1, the walking wheel 21 is provided with a brake 22, the walking motor and the brake 22 are both connected with the output end of the control component, the walking and braking of the mobile trolley 2 on the track 1 can be conveniently controlled through the structure, and the mobile trolley 2 can be conveniently controlled to stop through the brake 22, so that the imaging quality is ensured; in this embodiment, the brake 22 is specifically an HDDDWX micro electromagnetic brake.
As shown in fig. 3, the image capturing device 3 includes a mechanical arm assembly 31 and a camera 32 installed at an end of the mechanical arm assembly 31, so that the camera 32 can be adjusted to a proper position, and the image capturing quality of the operation data screen of the substation main control room is ensured. In this embodiment, the mechanical arm assembly 31 comprises a plurality of sections of sequentially hinged mechanical arms, a rotation driving steering engine is arranged between the mechanical arm assembly 31 and the movable trolley 2, a rotation driving steering engine is arranged between adjacent mechanical arms, the rotation driving steering engine is connected with the output end of the control assembly, and the output end of the camera 32 is connected with the control assembly.
As shown in FIG. 3, the end of the robot arm assembly 31 is further provided with an infrared distance measuring sensor array 33, the infrared distance measuring sensor array 33 comprises a plurality of infrared distance measuring sensors, and output ends of the infrared distance measuring sensors are connected with the control assembly. The transformer substation master control room operation data screen can be conveniently scanned through the infrared distance measuring sensor array 33, so that the accurate position of the screen center of the transformer substation master control room operation data screen can be determined according to the blocking condition of the transformer substation master control room operation data screen on infrared rays.
In order to increase the angle of the moving trolley 2 walking on the track 1 relative to the running data screen of the transformer substation main control room and reduce the stroke of the moving trolley 2, as shown in fig. 4, the track 1 is an arc-shaped track, and the running data screen of the transformer substation main control room is positioned in the direction of the circle center side of the arc-shaped track, so that the stroke of the moving trolley 2 can be reduced to the maximum extent, the distance change of the moving trolley 2 relative to the running data screen of the transformer substation main control room is ensured to be smaller, and the image acquisition quality can be adjusted quickly.
As shown in fig. 5, the button activating device 4 includes a base 42 having a clamping groove 41, a clamping bolt 43 is disposed on a side wall of the base 42 located on at least one side of the clamping groove 41, a sliding groove 44 disposed along a length direction of the clamping groove 41 is disposed on one side of the base 42 located on one side of the clamping groove 41, a linear reciprocating motor 45 is disposed on one side of the sliding groove 44, a through hole is disposed in a middle portion of a sliding block 451 of the linear reciprocating motor 45, a telescopic motor 46 is mounted on the sliding block 451, a telescopic shaft of the telescopic motor 46 is inserted into the through hole and a pressing head of an adjusting button for touching an operation data screen of a main control room of a transformer substation is mounted on an end portion of the telescopic shaft, and control ends of the linear reciprocating motor 45 and the telescopic. The operating principle of the button actuation device 4 is as follows: the clamping groove 41 is sleeved at the bottom of the operation data screen of the transformer substation main control room at a proper height in advance, so that the sliding groove 44 and the bottom adjusting button of the operation data screen of the transformer substation main control room are at the same height, and then the clamping bolts 43 at two sides are adjusted (through inner hexagons on the surfaces of the clamping bolts 43) to clamp the operation data screen of the transformer substation main control room, so that the operation data screen of the transformer substation main control room is fixedly installed. Under the monitoring of the camera 32, the sliding block 451 can slide above the designated adjusting button of the running data screen of the corresponding transformer substation main control room through the linear reciprocating motor 45, and then the adjusting button of the running data screen of the transformer substation main control room can be touched by the stretching motor 46 to work so that the pressing head extends out, so that on one hand, the brightness and contrast of the running data screen of the transformer substation main control room can be adjusted, and the image acquisition quality of the running data screen of the transformer substation main control room is ensured; on the other hand, the on-off state of the operation data screen of the main control room of the transformer substation can be controlled according to needs to achieve energy saving, the telescopic motor 46 can start a plurality of adjusting buttons, and the use is flexible and convenient.
Because the screen has more distortion and noise points during imaging, the image correction in step 2) in this embodiment specifically refers to correction by using a reverse mapping method, where the correction by using the reverse mapping method refers to deriving coordinates of a corresponding original image through coordinates of a target image, and determining gray levels of non-integer coordinate points by using a linear interpolation method to implement nonlinear correction on a distorted image; the gray scale of the non-integer coordinate point is shown as the following formula:
Figure BDA0002222761240000061
in the above formula, y is the gray scale of the non-integer coordinate point, (x)0,y0)、(x1,y1) For known coordinates, (x, y) is [ x ]0,x1]Some value in the interval, α is denoted as an insertionA value coefficient.
In order to achieve the image smoothing effect, the image denoising in step 2) in this embodiment specifically means denoising an image by using a mean filtering method, and a function expression of denoising the image by using the mean filtering method is shown as follows:
g(x,y)=1/m∑f(x,y)
in the above formula, g (x, y) is the gray level of the processed image on the pixel point, m is the total number of pixels including the current pixel in the de-noised image template, and f (x, y) is the gray level of the original image on the pixel point.
In this embodiment, the extracting of the edge information in step 2) specifically refers to extracting the image edge information by using a sobel operator, where the sobel operator is shown as follows:
Figure BDA0002222761240000062
in the above formula, GxRepresenting a lateral edge detection image; gyExpressed as a longitudinal edge detection image; g represents the gradient magnitude; θ represents the gradient direction.
In this embodiment, the graying processing of the image in step 2) selects a weighted average value method, and the expression is as follows:
Figure BDA0002222761240000071
in the above formula, R, G, B represents three basic colors of red, green and blue, respectively, WR、WG、WBRespectively R, G, B.
In this embodiment, the detailed steps of step 3) include:
3.1) performing expansion operation on the monitored image by using a mathematical morphology method, dividing the image into a plurality of communicated areas, and marking to complete label positioning; in this embodiment, the specific expression of the expansion calculation is as follows:
Figure BDA0002222761240000072
in the above formula, A, B represents two different structures; (x, y) are denoted image elements. The equation shows that expanding a with structure B translates the origin of structure element B to the image pixel (x, y) location. If the intersection of B and A at the image pixel (x, y) is not empty (that is, at least one of the image values corresponding to A at the element position of B being 1 is 1), the pixel (x, y) corresponding to the output image is assigned to 1, otherwise, the pixel is assigned to 0.
3.2) carrying out character segmentation on the determined connected region, utilizing a vertical projection method to carry out segmentation, accumulating gray values of all lines of the monitored image, adopting self-adaptive threshold segmentation (OTSU, also called Otsu method) to find out an optimal threshold segmentation point, converting the gray image into a binary image, and finally utilizing a horizontal vertical projection method to find out boundary points between characters so as to segment each data character;
3.3) identifying the characters of each kind of data by using a machine learning model to obtain the detection result of each kind of data.
In this embodiment, the detailed step of segmenting by using the vertical projection method in step 3.2) includes:
3.2.1) obtaining a convertor station display screen image which is only provided with characters after positioning according to the finished label positioning, obtaining the total number of pixel values in the column direction through calculation, and performing vertical projection on the pixel values;
3.2.2) selecting a smaller pixel and a smaller threshold value, scanning the image to find the left end of the character, and then finding the right end of the character according to the height-width ratio of the display screen of the convertor station;
3.2.3) repeating the step 3.2.2) to sequentially cut out other characters in the display screen of the convertor station, and finishing the determination of the left and right boundaries of the characters and storing the characters in a set array;
3.2.4) horizontally projecting the character segmented in the step 3.2.3) to find the upper and lower boundaries of the character;
3.2.5) output a standard character sub-graph (the previous steps resulted in an array of characters whose elements are not uniform in size and the character size used for different character recognition libraries is not uniform).
In this embodiment, step 3.3) is preceded by a step of training a machine learning model, and the detailed steps include:
s1) obtaining a monitoring image sample of a monitoring center display screen of the converter station;
s2) performing sample expansion on the monitoring image sample, wherein the expansion comprises one or more of rotation, inclination, deformation, noise addition and width change;
s3) carrying out image preprocessing, image correction, image denoising and edge information extraction on the monitored image sample after the sample, wherein the image preprocessing specifically refers to carrying out image graying processing;
s4) performing dilation operation on the monitored image by a mathematical morphology method, dividing the image into a plurality of communicated areas, and marking to complete label positioning;
s5) carrying out character segmentation on the determined connected region, carrying out segmentation by using a vertical projection method, accumulating gray values of all lines of the monitored image, finding out an optimal threshold segmentation point by adopting self-adaptive threshold segmentation, converting the gray image into a binary image, finally finding out boundary points between characters by using a horizontal vertical projection method so as to segment each data character, and setting a label for each segmented data character so as to establish a training data set;
s6) completing training of the machine learning model through the training data set.
In this embodiment, the step of performing early warning detection is further included after the detection result is obtained in step 3), and the detailed steps include: and aiming at each kind of data in the detection result, finding out a corresponding early warning threshold value from a preset early warning threshold value database, judging whether the data exceeds the corresponding early warning threshold value, and if the data exceeds the corresponding early warning threshold value, pushing an alarm message to a specified mobile terminal device or a monitoring center.
In addition, this embodiment further provides a converter station scanning detection system based on image processing, including a mobile cart having a camera mounted on a mechanical arm, the mobile cart being provided with a control terminal, the control terminal including a data acquisition module, a microprocessor, a communication module and a power module, the camera being connected to the data acquisition module and the microprocessor, the microprocessor being connected to the communication module, the power module being connected to the data acquisition module, the microprocessor, the communication module and the camera, respectively, the microprocessor being programmed or configured to execute the steps of the converter station scanning detection method based on image processing, or a storage medium of the microprocessor being stored with a computer program programmed or configured to execute the converter station scanning detection method based on image processing.
In this embodiment, the camera includes a surface scanning camera, a line scanning camera, and a matching light source, and the selection of the surface scanning camera, the line scanning camera, and the matching light source needs to be determined according to actual conditions. The system adopts a high-speed camera with 320 ten thousand pixels (2048 x 1080), the precision can reach 0.03mm/Pixel, the frame rate can reach 70fps or more, such as DALSA G2-GM10-T1921, and the light source adopts an annular shadowless light source, so that the system has the advantages of large irradiation area, small volume and good illumination uniformity. The line scan camera adopts a line scan camera with horizontal resolution 2048, vertical resolution 2 and line frequency of 100 KHZ; the precision can reach 0.03mm/Pixel, the frame rate can reach 30fps or more, such as DALSA P4-CM-02K10D, the light source is a high-brightness linear light source, and the illumination intensity is high and the illumination uniformity is good.
Furthermore, the present embodiment also provides a computer readable storage medium having stored thereon a computer program programmed or configured to execute the aforementioned image processing-based converter station scan detection method.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.

Claims (10)

1.一种基于图像处理的换流站扫描检测方法,其特征在于实施步骤包括:1. a converter station scanning detection method based on image processing, is characterized in that implementing step comprises: 1)获取换流站的监控中心显示屏的监控图像;1) Obtain the monitoring image of the display screen of the monitoring center of the converter station; 2)对监控图像进行图像预处理、图像矫正、图像去噪、提取边缘信息,所述图像预处理具体是指进行图像灰度化处理;2) Perform image preprocessing, image correction, image denoising, and edge information extraction on the monitoring image, and the image preprocessing specifically refers to performing image grayscale processing; 3)对监控图像进行字符分割和字符识别获得检测结果。3) Perform character segmentation and character recognition on the monitoring image to obtain detection results. 2.根据权利要求1所述的基于图像处理的换流站扫描检测方法,其特征在于,步骤3)获得检测结果之后还包括进行预警检测的步骤,详细步骤包括:针对检测结果中的每一种数据,从预设的预警门槛值数据库中找出对应的预警门槛值,并判断该数据是否超出对应的预警门槛值,如果超出对应的预警门槛值则向指定的移动终端设备或者监控中心推送报警消息。2. The converter station scanning detection method based on image processing according to claim 1, is characterized in that, after step 3) obtains the detection result, also comprises the step of carrying out early warning detection, and the detailed step comprises: for each in the detection result The corresponding early warning threshold value is found from the preset early warning threshold value database, and it is judged whether the data exceeds the corresponding early warning threshold value. If it exceeds the corresponding early warning threshold value, it will be pushed to the designated mobile terminal device or monitoring center Alarm message. 3.根据权利要求1所述的基于图像处理的换流站扫描检测方法,其特征在于,步骤1)获取换流站的监控中心显示屏的监控图像具体是指通过机械臂上安装有摄像头的移动小车实现的,所述移动小车沿着监控中心显示屏附近地面或台面上铺设一条轨道运动以调节监控中心显示屏的拍摄角度以实现画面质量调节。3. the converter station scanning detection method based on image processing according to claim 1, is characterized in that, step 1) obtains the monitoring image of the monitor center display screen of the converter station specifically refers to by installing the camera on the mechanical arm. It is realized by a mobile trolley, and the mobile trolley moves along the ground or on the table near the display screen of the monitoring center to adjust the shooting angle of the display screen of the monitoring center to realize the adjustment of picture quality. 4.根据权利要求1所述的基于图像处理的换流站扫描检测方法,其特征在于,步骤2)中的图像矫正具体是指采用逆向映射法进行矫正,所述采用逆向映射法进行矫正是指通过目标图像的坐标推导得出相应原图像的坐标,并用线性插值法对非整数坐标点的灰度进行判定,实现对失真图像进行非线性的矫正;其中非整数坐标点的灰度如下式所示:4. the converter station scanning detection method based on image processing according to claim 1, is characterized in that, the image correction in step 2) specifically refers to adopting inverse mapping method to correct, and the described adopting inverse mapping method to correct is Refers to deriving the coordinates of the corresponding original image through the coordinates of the target image, and using the linear interpolation method to determine the grayscale of the non-integer coordinate points to achieve nonlinear correction of the distorted image; the grayscale of the non-integer coordinate points is as follows. shown:
Figure FDA0002222761230000011
Figure FDA0002222761230000011
上式中,y为非整数坐标点的灰度,(x0,y0)、(x1,y1)为已知坐标,(x,y)为[x0,x1]区间内的某一数值,α表示为插值系数。In the above formula, y is the grayscale of the non-integer coordinate point, (x 0 , y 0 ), (x 1 , y 1 ) are the known coordinates, and (x, y) is in the interval [x 0 , x 1 ] A certain value, α is expressed as an interpolation coefficient.
5.根据权利要求1所述的基于图像处理的换流站扫描检测方法,其特征在于,步骤2)中的图像去噪具体是指采用均值滤波法对图像去噪,且采用均值滤波法对图像去噪的函数表达式如下式所示:5. the converter station scanning detection method based on image processing according to claim 1, is characterized in that, the image denoising in step 2) specifically refers to adopting the mean value filtering method to denoise the image, and adopting the mean value filtering method to denoise the image. The function expression of image denoising is as follows: g(x,y)=1/m∑f(x,y)g(x,y)=1/m∑f(x,y) 上式中,g(x,y)为处理后图像在像素点上的灰度,m为去噪图像模板中包含当前像素在内的像素总个数,f(x,y)为原始图像在像素点上的灰度。In the above formula, g(x,y) is the grayscale of the processed image on the pixel point, m is the total number of pixels in the denoised image template including the current pixel, and f(x,y) is the original image at Grayscale on pixels. 6.根据权利要求1所述的基于图像处理的换流站扫描检测方法,其特征在于,步骤2)中的提取边缘信息具体是指采用sobel算子提取图像边缘信息,且sobel算子如下式所示:6. the converter station scanning detection method based on image processing according to claim 1, is characterized in that, the extraction edge information in step 2) specifically refers to adopting sobel operator to extract image edge information, and sobel operator is as follows shown:
Figure FDA0002222761230000021
Figure FDA0002222761230000021
上式中,Gx表示横向边缘检测图像;Gy表示为纵向边缘检测图像;G表示梯度大小;θ表示梯度方向。In the above formula, G x represents the horizontal edge detection image; G y represents the vertical edge detection image; G represents the gradient size; θ represents the gradient direction.
7.根据权利要求1所述的基于图像处理的换流站扫描检测方法,其特征在于,步骤3)的详细步骤包括:7. The converter station scanning detection method based on image processing according to claim 1, wherein the detailed steps of step 3) comprise: 3.1)选用数学形态学方法对监控图像进行膨胀运算,将图像分割为几个连通的区域,并进行标记完成标签定位;3.1) Select the mathematical morphology method to perform the expansion operation on the monitoring image, divide the image into several connected areas, and mark to complete the label positioning; 3.2)对确定下来的连通区域进行字符分割,利用垂直投影法进行分割,将监控图像所有行灰度值累加,采用自适应阈值分割找出最佳的阈值分割点,将灰度图像转化为二值图像,最后利用水平垂直投影法找出字符与字符之间的边界点,从而分割出每一种数据字符;3.2) Perform character segmentation on the determined connected area, use the vertical projection method for segmentation, accumulate the gray values of all lines of the monitoring image, use adaptive threshold segmentation to find the best threshold segmentation point, and convert the gray image into two value image, and finally use the horizontal and vertical projection method to find the boundary point between the characters, so as to segment each data character; 3.3)将每一种数据的字符使用机器学习模型进行识别,得到每一种数据的检测结果。3.3) Use the machine learning model to identify the characters of each type of data, and obtain the detection results of each type of data. 8.根据权利要求7所述的基于图像处理的换流站扫描检测方法,其特征在于,步骤3.3)之前还包括训练机器学习模型的步骤,详细步骤包括:8. The converter station scanning detection method based on image processing according to claim 7, is characterized in that, before step 3.3) also comprises the step of training machine learning model, and detailed step comprises: S1)获取换流站的监控中心显示屏的监控图像样本;S1) obtain the monitoring image sample of the monitor center display screen of the converter station; S2)对监控图像样本进行样本扩充,所述扩充包括旋转、倾斜、变形、添加噪声、宽度变化中的一种或多种;S2) sample expansion is performed on the monitoring image sample, and the expansion includes one or more of rotation, inclination, deformation, noise addition, and width change; S3)对样本后的监控图像样本进行图像预处理、图像矫正、图像去噪、提取边缘信息,所述图像预处理具体是指进行图像灰度化处理;S3) performing image preprocessing, image correction, image denoising, and extraction of edge information on the monitored image sample after the sample, and the image preprocessing specifically refers to performing image grayscale processing; S4)选用数学形态学方法对监控图像进行膨胀运算,将图像分割为几个连通的区域,并进行标记完成标签定位;S4) selecting the mathematical morphology method to perform expansion operation on the monitoring image, dividing the image into several connected regions, and marking to complete label positioning; S5)对确定下来的连通区域进行字符分割,利用垂直投影法进行分割,将监控图像所有行灰度值累加,采用自适应阈值分割找出最佳的阈值分割点,将灰度图像转化为二值图像,最后利用水平垂直投影法找出字符与字符之间的边界点,从而分割出每一种数据字符,针对分割出每一种数据字符设定标签,从而建立训练数据集;S5) Perform character segmentation on the determined connected area, use vertical projection method for segmentation, accumulate the gray value of all lines of the monitoring image, use adaptive threshold segmentation to find the best threshold segmentation point, and convert the gray image into two value image, and finally use the horizontal and vertical projection method to find the boundary points between characters, thereby segmenting each data character, and setting labels for each segmented data character, thereby establishing a training data set; S6)通过训练数据集完成对机器学习模型的训练。S6) Complete the training of the machine learning model through the training data set. 9.一种基于图像处理的换流站扫描检测系统,其特征在于,包括机械臂上安装有摄像头的移动小车,所述移动小车中设有控制终端,所述控制终端包括数据采集模块、微处理器、通讯模块以及电源模块,所述摄像头通数据采集模块和微处理器相连,所述微处理器和通讯模块相连,所述电源模块分别与数据采集模块、微处理器、通讯模块、摄像头相连,所述微处理器被编程或配置以执行权利要求1~8中任意一项所述基于图像处理的换流站扫描检测方法的步骤,或所述微处理器的存储介质上存储有被编程或配置以执行权利要求1~8中任意一项所述基于图像处理的换流站扫描检测方法的计算机程序。9. A converter station scanning detection system based on image processing, characterized in that it comprises a mobile trolley with a camera installed on a robotic arm, the mobile trolley is provided with a control terminal, and the control terminal includes a data acquisition module, a micro a processor, a communication module and a power supply module, the camera is connected to the microprocessor through the data acquisition module, the microprocessor is connected to the communication module, and the power supply module is respectively connected to the data acquisition module, the microprocessor, the communication module and the camera connected, the microprocessor is programmed or configured to execute the steps of the image processing-based converter station scanning detection method according to any one of claims 1 to 8, or the microprocessor has a storage medium stored with A computer program programmed or configured to execute the image processing-based scanning detection method of a converter station according to any one of claims 1 to 8 . 10.一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储有被编程或配置以执行权利要求1~8中任意一项所述基于图像处理的换流站扫描检测方法的计算机程序。10. A computer-readable storage medium, characterized in that the computer-readable storage medium is programmed or configured to execute the image processing-based scanning and detection method for a converter station according to any one of claims 1 to 8. computer program.
CN201910940544.9A 2019-09-30 2019-09-30 Converter station scanning detection method, system and medium based on image processing Pending CN110929707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910940544.9A CN110929707A (en) 2019-09-30 2019-09-30 Converter station scanning detection method, system and medium based on image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910940544.9A CN110929707A (en) 2019-09-30 2019-09-30 Converter station scanning detection method, system and medium based on image processing

Publications (1)

Publication Number Publication Date
CN110929707A true CN110929707A (en) 2020-03-27

Family

ID=69848876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910940544.9A Pending CN110929707A (en) 2019-09-30 2019-09-30 Converter station scanning detection method, system and medium based on image processing

Country Status (1)

Country Link
CN (1) CN110929707A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113524194A (en) * 2021-04-28 2021-10-22 重庆理工大学 Target grabbing method of robot vision grabbing system based on multi-mode feature deep learning
CN113865511A (en) * 2021-10-26 2021-12-31 国网湖南省电力有限公司 Overhead line ground wire corrosion detection device, unmanned aerial vehicle and application method
CN114069865A (en) * 2021-11-22 2022-02-18 中国南方电网有限责任公司超高压输电公司广州局 Converter station operation monitoring system, method and device, computer equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130089263A1 (en) * 2011-10-11 2013-04-11 Tandent Vision Science, Inc. System and method for digital image signal compression using intrinsic images
CN103886294A (en) * 2014-03-24 2014-06-25 北京国网富达科技发展有限责任公司 Method and system for recognizing number of movement times of arrester for convertor station based on images
CN105321289A (en) * 2015-12-04 2016-02-10 中国建筑设计院有限公司 Intelligent analyzing and alarming system and method of all-day monitored image
CN108573261A (en) * 2018-04-17 2018-09-25 国家电网公司 A kind of read out instrument recognition methods suitable for Intelligent Mobile Robot
CN207965544U (en) * 2017-12-06 2018-10-12 中国能源建设集团云南省电力设计院有限公司 A kind of smart substation equipment fault pre-alarming mechanism
CN109308447A (en) * 2018-07-29 2019-02-05 国网上海市电力公司 Method for Automatically Extracting Equipment Operating Parameters and Operating Status in Electric Power Remote Monitoring

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130089263A1 (en) * 2011-10-11 2013-04-11 Tandent Vision Science, Inc. System and method for digital image signal compression using intrinsic images
CN103886294A (en) * 2014-03-24 2014-06-25 北京国网富达科技发展有限责任公司 Method and system for recognizing number of movement times of arrester for convertor station based on images
CN105321289A (en) * 2015-12-04 2016-02-10 中国建筑设计院有限公司 Intelligent analyzing and alarming system and method of all-day monitored image
CN207965544U (en) * 2017-12-06 2018-10-12 中国能源建设集团云南省电力设计院有限公司 A kind of smart substation equipment fault pre-alarming mechanism
CN108573261A (en) * 2018-04-17 2018-09-25 国家电网公司 A kind of read out instrument recognition methods suitable for Intelligent Mobile Robot
CN109308447A (en) * 2018-07-29 2019-02-05 国网上海市电力公司 Method for Automatically Extracting Equipment Operating Parameters and Operating Status in Electric Power Remote Monitoring

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113524194A (en) * 2021-04-28 2021-10-22 重庆理工大学 Target grabbing method of robot vision grabbing system based on multi-mode feature deep learning
CN113865511A (en) * 2021-10-26 2021-12-31 国网湖南省电力有限公司 Overhead line ground wire corrosion detection device, unmanned aerial vehicle and application method
CN114069865A (en) * 2021-11-22 2022-02-18 中国南方电网有限责任公司超高压输电公司广州局 Converter station operation monitoring system, method and device, computer equipment and medium

Similar Documents

Publication Publication Date Title
CN108827316B (en) Mobile robot visual positioning method based on improved Apriltag
US8848978B2 (en) Fast obstacle detection
CN110929707A (en) Converter station scanning detection method, system and medium based on image processing
CN103996191B (en) A kind of detection method of black and white chessboard table images angle point based on Least-squares minimization
CN109523551B (en) A method and system for obtaining the walking posture of a robot
CN107347151A (en) binocular camera occlusion detection method and device
CN112304954B (en) Part surface defect detection method based on line laser scanning and machine vision
CN103345644B (en) The object detection method of on-line training and device
CN107194395B (en) Object dynamic positioning method based on color identification and contour extraction
CN106663322B (en) The method and apparatus of feature in image for identification
JP2006171929A (en) Facial area estimation system, facial area estimation method and facial area estimation program
CN102236784A (en) Screen area detection method and system
CN108550159B (en) Flue gas concentration identification method based on image three-color segmentation
CN109687382B (en) Relay protection pressing plate switching state identification method based on color template matching
CN103440629B (en) Laser labelling is from the digital image processing method of the Video Extensometer of motion tracking
CN102096802A (en) Face detection method and device
CN107085707A (en) A license plate location method based on traffic surveillance video
CN105893944A (en) Depth information static gesture segmentation method
CN105572143B (en) The detection method of rolled material surface periodic defect in calender line
CN109190742A (en) A kind of coding/decoding method of the coding characteristic point based on gray feature
CN109584258A (en) Meadow Boundary Recognition method and the intelligent mowing-apparatus for applying it
TWI383690B (en) Method for image processing
CN109658441A (en) Foreground detection method and device based on depth information
CN114066993A (en) Power distribution cabinet control panel segmentation method based on machine vision
CN112648920B (en) Mask opening size measuring method, mask plate stretching device and screen expanding machine

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200327