CN110987383B - An image-based measurement method of high-frequency two-position reciprocating action state - Google Patents
An image-based measurement method of high-frequency two-position reciprocating action state Download PDFInfo
- Publication number
- CN110987383B CN110987383B CN201911313677.XA CN201911313677A CN110987383B CN 110987383 B CN110987383 B CN 110987383B CN 201911313677 A CN201911313677 A CN 201911313677A CN 110987383 B CN110987383 B CN 110987383B
- Authority
- CN
- China
- Prior art keywords
- image
- industrial camera
- frequency
- industrial
- exposure
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M11/00—Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
- G01M11/08—Testing mechanical properties
- G01M11/081—Testing mechanical properties by using a contact-less detection method, i.e. with a camera
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C11/00—Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention relates to a method for measuring a high-frequency two-position reciprocating motion state based on an image, and belongs to the technical field of image processing. The motion trail of a high-speed reciprocating motion object is obtained by prolonging the exposure time, and the motion trail is subjected to gray level processing and further subjected to differential processing with a standard image. And analyzing the reliability of the score of the movement of the object which moves back and forth at high speed between the two polar positions according to the obtained difference result.
Description
Technical Field
The invention relates to a method for measuring a high-frequency two-position reciprocating motion state based on an image, and belongs to the technical field of image processing.
Background
The object motion detection technology is one of the basic technologies of modern industry and is the key for ensuring the product quality. With the improvement and improvement of industrial manufacturing technology and processing technology, higher requirements are put on detection means, detection speed and precision, and therefore, the traditional contact type measurement method cannot meet the requirements. Therefore, non-contact measurement methods based on photoelectric, electromagnetic, and other technologies are emerging. With the rapid development of machine vision technology, non-contact measurement means based on image detection are widely used in various fields. The vision measurement technology uses the image as a means or carrier for detecting and transmitting information, extracts useful signals from the image, and obtains various required parameters by processing the detected image, and has the characteristics of non-contact, full-field measurement, high precision and high automation degree. However, at present, the visual measurement of the reciprocating motion of a high-speed moving object is usually tested by an expensive high-frequency industrial camera, and the required cost is high. In order to avoid the use of a high frame rate camera and reduce the measurement cost, the invention hopes to provide a method for measuring the high-frequency two-position reciprocating motion state based on an image.
Disclosure of Invention
In order to avoid using a high frame rate camera when measuring the reciprocating motion of a moving object, thereby reducing the cost, the invention provides a method for measuring the high-frequency two-position reciprocating motion state based on an image, which has the following specific scheme:
a method for measuring a high-frequency two-position reciprocating motion state based on an image comprises the following steps:
(1) taking two industrial cameras, namely a first industrial camera and a second industrial camera, adjusting the placing positions and angles of the two cameras to enable the moving part to move within the field range of the two industrial cameras and enable the cameras to be focused on the whole moving track of the object to be measured;
(2) setting the exposure time of the two industrial cameras as integral multiple of the time required by the moving object to carry out one reciprocating motion, wherein the two industrial cameras adopt a pulse width triggering mode and a non-overlapping working mode in the testing process;
(3) the first industrial camera starts exposure operation when receiving a rising edge trigger signal; stopping exposure operation when the first industrial camera receives a falling edge trigger signal, and starting exposure operation by the second industrial camera; stopping exposure operation when the second industrial camera receives the rising edge trigger signal, starting exposure operation of the first industrial camera at the same time, and starting the next exposure cycle; the obtained image data is transmitted back to the computer for processing;
(4) sampling to obtain the round-trip motion of the moving object for integer times, and carrying out gray level processing and light intensity normalization processing on the image. Firstly, collecting an image of a moving part, converting the image into a Gray image according to a weighting method, calculating the Gray image such as Gray ═ R + G + B)/3 to obtain a Gray value F (x, y) of the image, and taking the Gray value F (x) of a fixed mark point on the image in order to eliminate the influence of the time variation of the light source intensity on the Gray value of the image0,y0),Fg(x,y)=F(x,y) /F(x0,y0) Namely the normalized image gray scale. The gray value of the normalized standard image for comparison obtained in normal operation is recorded as Bg(x, y), the gray value of the nth frame image obtained in the test is fng(x, y). In order to reduce the amount of computation, the measured image is compared with the standard image, and only the images of the two extreme position regions need to be compared. The comparisons described below are therefore all made for two extreme position areas. The specific comparison method is as follows:
will f isng(x, y) and the standard image gray value Bg(x, y) are subtracted to obtain a difference result Dn(x, y); one by oneEach pixel point is subjected to binarization processing to obtain a binarization image Rn(ii) a When D is presentn(x,y)>At T-delta, Rn(x, y) 255, when Dn(x,y)<At T-delta, Rn(x, y) is 0, wherein the threshold value T is 1/N of the gray value of a certain pixel point at the extreme position of the standard image, namely T is Bg(x, y)/N, delta is an allowable deviation; and (3) taking a pixel with the numerical value of 255 in the binary image as a foreground target pixel and a pixel with the numerical value of 0 as a background pixel, and judging the swing condition of the moving object according to the distribution condition of the extreme position pixels in the binary image.
And the time when the moving part starts to move in the third step is just the time when the first industrial camera starts to expose, and the setting can ensure that an integral number of times of moving part imaging pictures can be sampled after one exposure.
And in the third step, the first industrial camera and the second industrial camera transmit data back to the computer for processing when exposure operation is not performed, the setting can ensure that meter leakage is avoided, and the cameras can acquire information at any time.
The first industrial camera acquires odd frame images, and the second industrial camera acquires even frame images.
The exposure time of the two industrial cameras is less than or equal to the time interval between each frame. The setting can avoid image coincidence between frames, and the industrial camera can output complete pictures.
The difference in the fourth step is inversely related to reliability. The larger the difference, the lower the reliability of the reciprocating motion of the moving object.
The principle of the invention is as follows:
a camera with a common frame rate is adopted, an integral number of times of swing component imaging pictures are sampled after one exposure, the motion trail of an object which moves at a high speed between two polar positions is recorded, the gray scale processing is carried out on the object, the obtained image gray scale value is subjected to the difference processing with the standard gray scale value under the normal operation (namely, the object can reach the two polar positions each time), and the larger the difference value at the end point position is, the lower the reliability of the reciprocating motion of the moving object is.
Has the advantages that:
1. for a moving object which performs high-frequency reciprocating motion in the measurement, a high-frame-rate camera is not needed, so that the measurement cost is reduced;
2. compared with the traditional detection means and method, the method provided by the invention has the advantages of high efficiency, high reliability and high universality.
Drawings
FIG. 1 is a schematic view of alternate operation of two industrial cameras;
fig. 2 is a flowchart of performing image post-processing.
Detailed Description
The following is further explained with reference to the drawings of the specification.
A method for measuring the high-frequency two-position reciprocating motion state based on an image is used for testing the reliability of the reciprocating swing of a cutter head of a needle selector in a circular knitting machine at two limit positions.
A needle selector swing measuring platform is built and mainly comprises a tested electromagnetic needle selector, a three-degree-of-freedom micro-displacement adjusting platform, a control circuit, a voltage-stabilized power supply and two industrial cameras with the model number of G3-GM 10-C1240. The method comprises the steps that two industrial cameras are named as a first industrial camera and a second industrial camera respectively, exposure trigger modes of the first industrial camera and the second industrial camera are set to be pulse width trigger modes, and working modes of the two industrial cameras are selected to be non-overlapping working modes. To avoid coincidence between frames due to too long exposure time, the exposure time of the first industrial camera was set to 1/50s and the exposure time of the second industrial camera was set to 1/50 s. The tested needle selector is fixed on the platform, and the three-degree-of-freedom micro-displacement adjusting platform is adjusted, so that the motion trail of the tool bit of the tested needle selector is within the effective detection range of the first industrial camera and the second industrial camera. The output of the stabilized voltage power supply is connected with a control circuit, and the control circuit outputs excitation voltage (the normal working voltage of the needle selector is generally 24V) to drive the needle selector to swing back and forth at the two limit positions. The needle selector tool bit swings from the left side to the right side under the driving of the forward pulse voltage, and the starting time of the swing of the needle selector tool bit is the sending time of the driving pulse. When the needle selector tool bit receives the driving pulse signal, a rising edge trigger signal of the pulse width trigger signal is given to the first industrial camera, so that the first industrial camera starts exposure at the swing starting moment of the needle selector. The first industrial camera starts exposure operation when receiving a rising edge trigger signal of the pulse width trigger signal and stops exposure operation when receiving a falling edge trigger signal; when the first industrial camera stops exposure, the second industrial camera starts exposure operation; and stopping the exposure operation when the second industrial camera receives the rising edge trigger signal, starting the exposure operation of the first industrial camera and starting the next exposure cycle. The first industrial camera and the second industrial camera are exposed in turn, so that the image data stored in the memory can be transmitted to the computer for image data processing when the first industrial camera and the second industrial camera are not exposed, and simultaneously, the collected images can be ensured as many as possible, and the working efficiency is improved.
When the fatigue test is performed on the needle selector under the driving voltage of 24V, the swing frequency of the cutter head reaches 1000 times/second, and the exposure time of the two cameras is 1/50s, so that each frame image comprises 20 motion tracks, namely N is 20. For each image, converting the color image into a Gray image according to the formula Gray ═ R + G + B)/3, and performing light source standardization processing on each pixel, namely dividing each pixel by the Gray value of the fixed mark point in the image, which is called a normalized image. And averaging the gray scale of each pixel point in the 100 frames of normalized images initially acquired by the needle selector to obtain an initial standard image. And comparing the 100 frames of images with the initial standard image to remove the 20 frames of images with large deviation. The remaining 80 normalized images were re-averaged to be the standard image for the actual measurement. Each frame of image in the experimental test is also converted into a normalized gray image according to the formula. Taking the gray value of each pixel point in the area around the limit position (the width is one tenth of the track width) to make difference, and setting the x coordinate of the pixel point at the left limit position as 0 and the x at the right limit position as xPole(s)The coordinates are given as if for 0<|x-x Pole(s)|<xPole(s)/20,0<|x|<xPole(s)Each 20 satisfies fng(x,y)-Bg(x,y)=DnIf (x, y) ═ 0, it means that the motion trajectory in the frame image is normal. If one of the conditions is not satisfied, the description is givenThe moving part swings abnormally. Recording the gray value difference D between the abnormal image and the standard imagen(x, y), and continuing to perform binarization processing on the abnormal image. Selecting proper deviation value delta according to measurement requirements>0, if Dn(x,y)>Bg(x,y)/20-δ,Rn(x, y) 255, when Dn(x,y)<Bg(x, y)/20-delta, Rn(x, y) ═ 0. R in the binary image obtained finallynThe pixel distribution area with (x, y) ═ 255 is the swing abnormal area. If 0<|Dn(x,y)-Bg(x,y)/20|<δ, meaning not swung into place once, 0<|Dn(x,y)-2*Bg(x,y)/20|<δ, representing not swinging into position 2 times, 0<|Dn(x,y)-3*Bg(x,y)/20|<δ, which represents not swinging into position 3 times, and so on. And recording the times of not swinging to the right position, wherein the more times, the worse the reliability is.
The above-mentioned embodiments are only used for explaining the inventive concept of the present invention, and do not limit the protection of the claims of the present invention, and any insubstantial modifications of the present invention using this concept shall fall within the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911313677.XA CN110987383B (en) | 2019-12-19 | 2019-12-19 | An image-based measurement method of high-frequency two-position reciprocating action state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911313677.XA CN110987383B (en) | 2019-12-19 | 2019-12-19 | An image-based measurement method of high-frequency two-position reciprocating action state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110987383A CN110987383A (en) | 2020-04-10 |
CN110987383B true CN110987383B (en) | 2021-07-13 |
Family
ID=70095760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911313677.XA Active CN110987383B (en) | 2019-12-19 | 2019-12-19 | An image-based measurement method of high-frequency two-position reciprocating action state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110987383B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1801007A (en) * | 2005-10-10 | 2006-07-12 | 郑贯天 | Apparatus and method for measuring period of swinging object |
CN101482518A (en) * | 2009-01-09 | 2009-07-15 | 东华大学 | On-line quality detection system for movable band-shaped material |
CN101517568A (en) * | 2006-07-31 | 2009-08-26 | 生命力有限公司 | System and method for performing motion capture and image reconstruction |
CN101819024A (en) * | 2010-03-22 | 2010-09-01 | 中南大学 | Machine vision-based two-dimensional displacement detection method |
CN104458760A (en) * | 2013-09-13 | 2015-03-25 | 楚天科技股份有限公司 | Automatic light inspection machine foreign matter detection device |
CN108364306A (en) * | 2018-02-05 | 2018-08-03 | 北京建筑大学 | A kind of vision real-time detection method of high speed periodic motion |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011055351A (en) * | 2009-09-03 | 2011-03-17 | Fujifilm Corp | Photographing device and control method thereof |
-
2019
- 2019-12-19 CN CN201911313677.XA patent/CN110987383B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1801007A (en) * | 2005-10-10 | 2006-07-12 | 郑贯天 | Apparatus and method for measuring period of swinging object |
CN101517568A (en) * | 2006-07-31 | 2009-08-26 | 生命力有限公司 | System and method for performing motion capture and image reconstruction |
CN101482518A (en) * | 2009-01-09 | 2009-07-15 | 东华大学 | On-line quality detection system for movable band-shaped material |
CN101819024A (en) * | 2010-03-22 | 2010-09-01 | 中南大学 | Machine vision-based two-dimensional displacement detection method |
CN104458760A (en) * | 2013-09-13 | 2015-03-25 | 楚天科技股份有限公司 | Automatic light inspection machine foreign matter detection device |
CN108364306A (en) * | 2018-02-05 | 2018-08-03 | 北京建筑大学 | A kind of vision real-time detection method of high speed periodic motion |
Non-Patent Citations (1)
Title |
---|
《电磁选针器实时检测系统》;袁嫣红 等;《纺织学报》;20180331;第39卷(第3期);第143-147页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110987383A (en) | 2020-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12313561B2 (en) | Stroboscopic stepped illumination defect detection system | |
CN109969736B (en) | An intelligent detection method for deviation fault of large carrying belt | |
US10638021B2 (en) | Measurement device, processing device, and article manufacturing method | |
US20210344892A1 (en) | Method and system for determining optimal exposure time and number of exposures in structured light-based 3d camera | |
US8045763B2 (en) | Method and apparatus for recognizing and determining the position of at least one teat cup | |
EP2490438B1 (en) | Vision measuring device | |
CN101387493B (en) | Non-contact photoelectric detection method for shape, position and size of iron tower component holes | |
CN108254063B (en) | Vibration measuring device and method for tracking rotating blade | |
CN103454285A (en) | Transmission chain quality detection system based on machine vision | |
CN112858321A (en) | Steel plate surface defect detection system and method based on linear array CCD | |
US20150042784A1 (en) | Image photographing method and image photographing device | |
CN106768987B (en) | With the multi-target tracking method of the breaker test macro of high-speed cmos imaging | |
CN104486550A (en) | Image focus detecting device and method for aerial camera | |
Abdelhedi et al. | Design of automatic vision-based inspection system for monitoring in an olive oil bottling line | |
CN111521838A (en) | A hot-rolled coil velocity measurement method combined with line and area scan cameras | |
CN108489830B (en) | Crack Growth Measurement System | |
CN110987383B (en) | An image-based measurement method of high-frequency two-position reciprocating action state | |
CN110160455A (en) | Clearance surface difference detection system | |
TW201520669A (en) | Bevel-axial auto-focus microscopic system and method thereof | |
CN114152626B (en) | Method and device applied to defect height measurement | |
JP2020036227A (en) | Imaging timing control device, imaging system, and imaging method | |
CN208623750U (en) | Intelligent industrial camera | |
JP2020036226A (en) | Imaging timing control device, imaging system, and imaging method | |
CN104864808A (en) | Method for precisely measuring size of workpiece along transmission direction in rolling transmission process | |
CN116765149B (en) | Seamless steel tube perforation top detecting system based on machine vision |
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 |