CN105890531A - Precision communication relay contact spacing detection method based on sensor imaging system - Google Patents

Precision communication relay contact spacing detection method based on sensor imaging system Download PDF

Info

Publication number
CN105890531A
CN105890531A CN201610475522.6A CN201610475522A CN105890531A CN 105890531 A CN105890531 A CN 105890531A CN 201610475522 A CN201610475522 A CN 201610475522A CN 105890531 A CN105890531 A CN 105890531A
Authority
CN
China
Prior art keywords
communication relay
imaging system
image
contact spacing
relay contact
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.)
Granted
Application number
CN201610475522.6A
Other languages
Chinese (zh)
Other versions
CN105890531B (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.)
Wenzhou University
Original Assignee
Wenzhou University
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 Wenzhou University filed Critical Wenzhou University
Priority to CN201610475522.6A priority Critical patent/CN105890531B/en
Publication of CN105890531A publication Critical patent/CN105890531A/en
Application granted granted Critical
Publication of CN105890531B publication Critical patent/CN105890531B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/14Measuring arrangements characterised by the use of optical techniques for measuring distance or clearance between spaced objects or spaced apertures

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a precision communication relay contact spacing detection method based on a sensor imaging system. The precision communication relay contact spacing detection method comprises the following steps: determining system resolution and imaging system parameters according to the requirement of communication relay contact spacing measurement accuracy; selecting a light source and determining an illumination mode according to specific parameters of a spectral response curve of a CDD imaging system and light scattering ability corresponding to light wavelength; shielding a high-frequency part of an acquired communication relay image, and smoothening the image by using an improved selective cross mask method; and performing edge detection on the smoothened image by using an improved cross structured element expanding corrosion method, and finally, performing high frequency enhancement on the image according to the detected edge, and measuring the contact spacing. The precision communication relay contact spacing detection method disclosed by the invention is high in efficiency, low in cost and high in real-time property, measurement accuracy and reliability.

Description

Accurate communication relay contact spacing detection method based on sensing imaging system
Technical field
The present invention relates to electrical equipment intelligent testing technology field, a kind of accurate communication relay based on sensing imaging system Contact spacing detection method.
Background technology
The rise of mobile communication, computer network, fiber optic communication etc. is greatly promoted the development of communication industry, believes the swift and violent of industry Development makes communication relay have many great changes and development at aspects such as technology, design, manufacturing process and materials. Fast-developing communication technology proposes more harsher requirement to relay, and the space of such as installing plate constantly reduces, little Type is the inexorable trend that each manufacturer faces.So owing to communication relay product is low in energy consumption, volume is little, compact conformation etc. Feature, this just proposes the highest requirement to the precision of parts, technical target of the product measurement etc..If it is known that dress Join precision the highest, can largely reduce low resistance performance under the contact pressure of communication relay, closure state, release shape Insulating properties etc. under state.Emphasis and difficult point during communication relay production and manufacture are the essence of the assembling to contact part Degree controls, and therefore in communication relay quality testing link, needs the assembly precision to its contact part to carry out many index Strict detection.Wherein, the spacing of relay contact is exactly the Testing index that one of which is important.In other words, communication continues The reliability improving communication relay product is had the heaviest by the research of appliance contact spacing parameter intelligence accurate detecting method The meaning wanted.
Summary of the invention
The technical problem to be solved is, not enough for prior art, it is provided that a kind of essence based on sensing imaging system Close communication relay contact spacing detection method.
For solving above-mentioned technical problem, the technical solution adopted in the present invention is: a kind of precision based on sensing imaging system is led to Distance detecting method between letter relay contact, comprises the following steps:
1) require to determine systemic resolution and imaging system parameters according to communication relay contact spacing certainty of measurement;
2) design parameter and wavelength of light correspondence light scattering ability according to the spectral response curve of imaging system carry out light source Selection, determine illumination mode;
3), after the communication relay image HFS shielding that will gather, use the selecting type cross mask means improved to figure As smoothing;
4) image after smoothing uses improvement cross structure element dilation erosion method to carry out rim detection;
5) according to the edge of detection, image carried out metering contact spacing after high frequency enhancement.
Determine that imaging system parameters is as follows: resolution 2000*1500 photosensitive unit, photosensitive size 4.0*4.0um2, photosensitive list Unit effective sensitization area 10*10mm2
Step 3) the process that implements include: choose 5*5 window, in the window with pixel f (x, y) on the basis of point, system Make 9 cross masks, then to pixel (x, 9 cross neighborhoods y) ask variance computing, find the neighborhood that variance is minimum, Seek each point gray scale frequency in the picture in this neighborhood, be converted into the weighter factor of corresponding 9 cross masks, obtain weighting all Value, weighted mean is assigned to pixel f (x, y).
Step 4) the process that implements include: will smooth after image be divided into the sub-block of several 20*20, in 4*4 center square is chosen in heart position, about 2 4*2 rectangular sub blocks, about 2 2*4 rectangular sub blocks are combined into one ten Word structural element;Then this cross structure element is expanded, become a 6*6 centered by described cross structure element Center square, about 2 6*2 rectangular sub blocks, about 2 2*6 rectangular sub blocks are combined into new expansion cross, then will Cross structure element, new expansion cross subtract each other, it is thus achieved that edge, are repeated a number of times until the sub-block of all images all completes This kind of dilation erosion, it is thus achieved that the edge of general image.
Compared with prior art, the had the beneficial effect that present invention of the present invention makes full use of sensing imaging system and has survey Amount belongs to contactless, have wide spectral response range, be greatly improved communication relay detect quality and efficiency, can be quick Accurately acquisition information, possess the advantages such as automatic business processing, the information that is prone to is integrated, it is provided that between a kind of new communication relay contact Distance detecting method, the method efficiency is high, low cost, and real-time is good, and certainty of measurement is high, good reliability.
Accompanying drawing explanation
Fig. 1 is the spectral response curve of matrix CCD of the present invention;
Fig. 2 is that the ring light of the present invention is according to schematic diagram;
Fig. 3 is the selectivity cross mask schematic diagram that the present invention improves;
Fig. 4 (a) is the cross element structure dilation erosion original image that the present invention improves;Fig. 4 (b) is ten that the present invention improves Character table structure dilation erosion expansion plans picture;Fig. 4 (c) is the cross element structure dilation erosion image that the present invention improves;
The original image of Fig. 5 (a) present invention experiment;The spacing testing result of Fig. 5 (b) present invention experiment;
Wherein, 1: camera;2: camera lens;3: annular light source;4: measured object.
Detailed description of the invention
Accurate communication relay contact spacing detection method based on sensing imaging system, including following several steps:
(1) require to determine systemic resolution and imaging system parameters according to communication relay contact spacing certainty of measurement
Communication relay contact spacing measurement is typically to need two dimensional image imaging.Line array CCD need to coordinate with vertical sense The scanning motion of light unit array, due to scanning motion, line array CCD produces displacement s when imaging along scanning direction, causes Imaging area S corresponding to single photosensitive unit becomes big, and imaging time t and scanning motion speed v meet following relation: s=vt; S=l2+ lvt, l here represent the length of testee corresponding on photosensitive unit vertical scanning direction.Continue in view of communication Appliance contact spacing is the least, but the requirement for certainty of measurement is the highest, then be necessary for arranging scanning motion speed The lowest, thus affect the stability of resolution, affect certainty of measurement, then line array CCD scheme is not suitable as present aspect High precision measuring system.So the present invention selects area array CCD imaging system.For typical communication relay, Its contact spacing is small, then the required certainty of measurement realized of detecting system requires more than 10 microns (um).Consider to measure The nargin of precision, the certainty of measurement choosing 5um is more reasonable, then the survey of charge coupled cell (CCD) imaging system Accuracy of measurement should be 2 times of its system resolution road, i.e. systemic resolution should be 2.5um.It is then determined that CCD imaging system System parameter is as follows: resolution 2000*1500 photosensitive unit, photosensitive size 4.0*4.0um2, unit, effective sensitization area 10*10mm2(mm is millimeter).Use this area array CCD, under 2.5um resolution, testing requirement can be met.
(2) design parameter and wavelength of light correspondence light scattering ability according to the spectral response curve of CDD imaging system enter The selection of line light source and determine illumination mode
The high-acruracy survey of the communication relay contact spacing of requirement to be reached, if environment light source is unstable, may result in institute The image intensity collected is unstable, but stable signal intensity is the basis that successive image processes and analyzes;It addition, such as Really the interference of the ambient light in spacing detecting system is too much, and the picture noise that can directly affect system acquisition is excessive, is unfavorable for figure The subsequent treatment of picture, therefore, the design of luminous source system is necessary, and suitable light-source illuminating system is to improve target area Territory and the key of background area contrast.The purpose of design luminous source system is that raising target area is relative with background area Contrast, light source is that it first has to consider.According to following knowledge: the photosensitive unit of (a) CCD is for the light of different wave length The responding ability of line is different (Fig. 1);B () is according to Rayleigh's law: " line diminishes in the microgranule of wavelength of light, to incidence The rule that light scattering is followed is: scattered light is identical with lambda1-wavelength, and the intensity of scattered light is relevant with scattering direction, and and The biquadratic of wavelength is inversely proportional to.”.So need to for the design parameter of the spectral response curve of different CDD imaging systems with And wavelength of light correspondence light scattering ability carries out the compromise selection of light source, the inclined red light source of prioritizing selection.
Direct projection illumination mode makes light more concentrate, and illumination is bigger, the advantage improving energy density, it is contemplated that communication relay Device contact surface precision processing stage is relatively low, belongs to diffuse-reflective material, so selecting direct projection illumination mode.Additionally, ring light Source (Fig. 2) according to different irradiating angles, different colours combination, thus more can highlight object information;Save and install Space, can solve diagonal angle irradiate shadow problem, uniform light diffusion can solve conforming problem, it is possible to install additional as required Polaroid.
(3) use the selecting type cross mask means of improvement to figure after being shielded by the communication relay image HFS of collection As smoothing
Conventional image smoothing method has neighbor smoothing method, frequency domain smoothing method etc., and these smoothing techniques can bring the defect of equalization, The lines that image border is changed thicken.For communication relay contact spacing test problems, the edge of image Part crucial exactly.So using the selecting type mask that i.e. can complete smothing filtering the most not destroyed area edge details to put down Sliding method.Traditional selecting type mask smoothing techniques uses tetragon and pentagonal mask due to it in the polygonal selection of neighborhood Area pixel point repetitive rate cannot ensure identical, although only 9 neighborhoods, but part adjoint point can be caused to reuse repeatedly, And part adjoint point simply uses 1 time, loss of learning is caused to affect smooth effect.Here propose to use cross mask to reduce The degeneration of image border, as shown in Figure 3.Use cross mask to reduce the degeneration of image border, choose 5*5 window, In window with pixel f (x, y) on the basis of point, make 9 cross masks, then to pixel, (x, 9 cross neighborhoods y) are asked Variance computing, finds the neighborhood that variance is minimum, seeks each point gray scale frequency in the picture in this region, be converted into corresponding each district The weighting silver in territory, obtains weighted mean, weighted mean is assigned to pixel (x, y).
(4) image after smoothing uses improvement cross structure element dilation erosion method to carry out rim detection
Dilation erosion algorithm is a kind of morphological method, is that the image after being corroded by the figure image subtraction after expanding obtains image The advantage of this algorithm of edge is to have directionless tendentiousness from effect of noise, the feature that capacity of resisting disturbance is strong.Structure Element is morphologic basic operator, and Rational choice structural element directly affects effect and the quality of image procossing.Structural element Selection be the shape and size of structural element.Structural element can have different shapes, circle, square, rhombus, Hexagon, line segment shape are all the shapes that can select.Difform structural element operation result can be variant, should be for treating The geometry processing image selects.The cross structure element dilation erosion method process improved is as shown in Figure 4: will be smooth Image afterwards is divided into the sub-block of several 20*20, chooses about+2 4*2 rectangle of 4*4 center square in center About+2 2*4 rectangular sub blocks of block are combined into a cross structure element (totally 48 pixels);Then by this stauros constitutive element Element expands, and becomes about+2 about+2,6*2 rectangular sub blocks 2*6 of a 6*6 center square centered by former cross Rectangular sub blocks is combined into new expansion cross, then both subtracts each other (corrosion), it is thus achieved that edge, be repeated a number of times until The sub-block of all images all completes this kind of dilation erosion, it is thus achieved that the edge of general image.
(5) according to the edge of detection, image carried out metering contact spacing after high frequency enhancement
Strengthen the high fdrequency component of original image, by the contrast between neighbor pixel, make image realize sharpening, improve contrast, Make picture distincter.Then find contact position by target recognition, carry out distance measurement.
Setup Experiments is as follows: CCD imaging system parameters is as follows: resolution 2000*1500 photosensitive unit, photosensitive size 4.0*4.0um 2, unit, effective sensitization area 10*10mm2 (mm is millimeter), select inclined red light source (wavelength 500 Nanometer).High-frequency communication relay uses Omron-G5Y model relay.Experimental result is as shown in Figure 5.

Claims (4)

1. an accurate communication relay contact spacing detection method based on sensing imaging system, it is characterised in that bag Include following steps:
1) require to determine systemic resolution and imaging system ginseng according to communication relay contact spacing certainty of measurement Number;
2) according to design parameter and the wavelength of light correspondence light scattering energy of the spectral response curve of imaging system Power carries out the selection of light source, determines illumination mode;
3), after the communication relay image HFS shielding that will gather, the selecting type cross improved is used Image is smoothed by mask means;
4) image after smoothing uses improvement cross structure element dilation erosion method to carry out rim detection;
5) according to the edge of detection, image carried out metering contact spacing after high frequency enhancement.
Accurate communication relay contact spacing detection side based on sensing imaging system the most according to claim 1 Method, it is characterised in that determine that imaging system parameters is as follows: resolution 2000*1500 photosensitive unit, sense Light size 4.0*4.0um2, photosensitive unit effective sensitization area 10*10mm2
Accurate communication relay contact spacing detection side based on sensing imaging system the most according to claim 1 Method, it is characterised in that step 3) the process that implements include: choose 5*5 window, in the window With pixel f (x, y) on the basis of point, make 9 cross masks, then to pixel (x, 9 crosses y) Neighborhood asks variance computing, finds the neighborhood that variance is minimum, seeks each point gray scale frequency in the picture in this neighborhood Rate, is converted into the weighter factor of corresponding 9 cross masks, obtains weighted mean, be assigned to by weighted mean Pixel f (x, y).
Accurate communication relay contact spacing detection side based on sensing imaging system the most according to claim 1 Method, it is characterised in that step 4) the process that implements include: will smooth after image be divided into The sub-block of several 20*20, chooses 4*4 center square, about 2 4*2 rectangle in center Block, about 2 2*4 rectangular sub blocks are combined into a cross structure element;Then by this stauros constitutive element Element expands, and becomes a 6*6 center square centered by described cross structure element, 2 left sides Right 6*2 rectangular sub blocks, about 2 2*6 rectangular sub blocks are combined into new expansion cross, then by cross Structural element, new expansion cross subtract each other, it is thus achieved that edge, are repeated a number of times the son until all images Block all completes this kind of dilation erosion, it is thus achieved that the edge of general image.
CN201610475522.6A 2016-06-24 2016-06-24 Accurate communication relay contact spacing detection method based on sensing imaging system Expired - Fee Related CN105890531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610475522.6A CN105890531B (en) 2016-06-24 2016-06-24 Accurate communication relay contact spacing detection method based on sensing imaging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610475522.6A CN105890531B (en) 2016-06-24 2016-06-24 Accurate communication relay contact spacing detection method based on sensing imaging system

Publications (2)

Publication Number Publication Date
CN105890531A true CN105890531A (en) 2016-08-24
CN105890531B CN105890531B (en) 2018-10-26

Family

ID=56718214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610475522.6A Expired - Fee Related CN105890531B (en) 2016-06-24 2016-06-24 Accurate communication relay contact spacing detection method based on sensing imaging system

Country Status (1)

Country Link
CN (1) CN105890531B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107300562A (en) * 2017-05-19 2017-10-27 温州大学 A kind of X-ray lossless detection method of measuring relay finished product contact spacing
CN110084847A (en) * 2018-01-22 2019-08-02 浙江大学 Relay measuring device and its image processing method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665448B1 (en) * 2000-09-29 2003-12-16 Hewlett-Packard Development Company, L.P. Selective smoothing and sharpening of images by generalized unsharp masking
CN103287464A (en) * 2012-02-24 2013-09-11 中国科学院沈阳计算技术研究所有限公司 Intelligent video surveillance system at railway crossing and implement method of system
CN104112269A (en) * 2014-05-12 2014-10-22 北京联合大学 Solar cell laser-marking parameter detection method based on machine vision and system thereof
CN104408691A (en) * 2014-11-17 2015-03-11 南昌大学 GPU (Graphic Processing Unit)-based parallel selective masking smoothing method
CN104751187A (en) * 2015-04-14 2015-07-01 山西科达自控股份有限公司 Automatic meter-reading image recognition method
CN105627939A (en) * 2015-12-17 2016-06-01 广东正业科技股份有限公司 Device, method and system for detecting micro gap based on industrial equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665448B1 (en) * 2000-09-29 2003-12-16 Hewlett-Packard Development Company, L.P. Selective smoothing and sharpening of images by generalized unsharp masking
CN103287464A (en) * 2012-02-24 2013-09-11 中国科学院沈阳计算技术研究所有限公司 Intelligent video surveillance system at railway crossing and implement method of system
CN104112269A (en) * 2014-05-12 2014-10-22 北京联合大学 Solar cell laser-marking parameter detection method based on machine vision and system thereof
CN104408691A (en) * 2014-11-17 2015-03-11 南昌大学 GPU (Graphic Processing Unit)-based parallel selective masking smoothing method
CN104751187A (en) * 2015-04-14 2015-07-01 山西科达自控股份有限公司 Automatic meter-reading image recognition method
CN105627939A (en) * 2015-12-17 2016-06-01 广东正业科技股份有限公司 Device, method and system for detecting micro gap based on industrial equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ZHANG YANAN 等: "Visual measurement of micro-target pose in ICF experiment", 《COMPUTER SCIENCE AND AUTOMATION ENGINEERING (CSAE), 2012 IEEE INTERNATIONAL CONFERENCE ON》 *
宋文荣: "一种基于图像处理技术的继电器触点间距智能检测方法", 《应用激光》 *
施云龙: "继电器触点间距在线自动检测***设计", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
朱卫华: "改进的选择式掩模法在图像平滑中的应用", 《南昌大学学报(工科版)》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107300562A (en) * 2017-05-19 2017-10-27 温州大学 A kind of X-ray lossless detection method of measuring relay finished product contact spacing
CN107300562B (en) * 2017-05-19 2020-06-16 温州大学 X-ray nondestructive testing method for measuring contact distance of finished relay product
CN110084847A (en) * 2018-01-22 2019-08-02 浙江大学 Relay measuring device and its image processing method
CN110084847B (en) * 2018-01-22 2020-11-06 浙江大学 Relay measuring device

Also Published As

Publication number Publication date
CN105890531B (en) 2018-10-26

Similar Documents

Publication Publication Date Title
CN106846344B (en) A kind of image segmentation optimal identification method based on the complete degree in edge
CN109934811B (en) Optical element surface defect detection method based on deep learning
CN105133471B (en) Linear structured light pavement surface detection system-based pavement depth image production method
CN103345755A (en) Chessboard angular point sub-pixel extraction method based on Harris operator
CN104764712A (en) Method for detecting quality of inner wall of via hole of PCB
CN109716495B (en) Method and system for optical measurement of opening size in wafer
CN104980730B (en) A method of optical center is positioned based on concentric circles theory
CN112001917B (en) Circular perforated part form and position tolerance detection method based on machine vision
CN107610085A (en) A kind of welding point defect detecting system based on computer vision
CN105547834A (en) Fast stress-strain curve measuring system and method based on binocular vision
CN103226829A (en) Image edge detection method based on edge enhancement operator
WO2019244946A1 (en) Defect identifying method, defect identifying device, defect identifying program, and recording medium
CN104966300A (en) Bearing roller image detection system, method and image detection device
CN115100206A (en) Printing defect identification method for textile with periodic pattern
CN105890531A (en) Precision communication relay contact spacing detection method based on sensor imaging system
Zhang et al. Online weld pool contour extraction and seam width prediction based on mixing spectral vision
CN106017328A (en) Method and device for measuring various types of line widths
Selamet et al. Automatic detection and classification of defective areas on metal parts by using adaptive fusion of faster R-CNN and shape from shading
CN109791038B (en) Optical measurement of step size and metallization thickness
CN116879708A (en) Method for detecting faults of printed circuit board by utilizing infrared cloud picture recognition technology
Hao et al. An Image-Based Hairline Crack Identification Method for Metal Parts
Yu et al. Image quality assessment via spatial‐transformed domains multi‐feature fusion
CN113222880A (en) Analytical detection method
Wu et al. Quantification of Tobacco Leaf Appearance Quality Index Based on Computer Vision
CN116336953B (en) System and method for measuring radius and depth of perforation model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Ruan Xiukai

Inventor after: Shi Xiaojing

Inventor after: Liu Zehua

Inventor after: Lao Liying

Inventor after: Zhang Yaoju

Inventor after: Cai Qibo

Inventor after: Dai Yuxing

Inventor after: Zhu Xiangou

Inventor after: Yang Weibo

Inventor after: Cui Guihua

Inventor after: Li Han

Inventor before: Zhang Yaoju

Inventor before: Lao Liying

Inventor before: Liu Zehua

Inventor before: Cai Qibo

Inventor before: Ruan Xiukai

Inventor before: Yang Weibo

Inventor before: Cui Guihua

Inventor before: Tan Yanhua

Inventor before: Li Han

Inventor before: Shi Xiaojing

Inventor before: Zhu Xiangou

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181026