Magnetic trace image line scanning collecting method and device thereof during magnetic detects
Technical field
The present invention relates to the line sweep acquisition method of magnetic trace image in a kind of magnetic detection, the method is carried out the line sweep imaging to the measured object surface, forms the magnetic trace image on measured object surface, image data processing, more objective appraisal measured object.
Background technology
It is one of five big conventional lossless detection methods that magnetic detects.In today of information-based high speed development, realized preservation and reproduction already for all the other four kinds to detection signal, and the aftertreatment of data, even can remote monitoring, promptly open special software and just can realize detection, but magnetic detects the stage that also rests on flaw detection personnel visualization so far product in office.This makes the human factor of testing result increase, and makes that responsibility is difficult to divide because the measured object surface image can not reproduce this again.This method is an electricity consumption magnetic field magnetisation magnetizable objects, spray magnetic powder fluid then at body surface, under the effect in magnetic field, magnetic powder fluid is evenly distributed on body surface, assemble but have a large amount of magnetics at the surface imperfection place, visual have the nonmagnetic powder accumulation area just can finish detection.Yet different equipment, owing to the quality of object being magnetized size, magnetic powder fluid or the like a series of reasons all can have influence on the magnetic amount that the defective place can be assembled, certainly many more easy more defectives of telling, but certainly will cause badly but be not the gathering that the zone of defective also has magnetic, so also be not easy to tell real defective on some surfaces.Magnetic has special test piece in detecting, and mark Huaihe River defective is arranged in this test piece.In conditioning equipment, test piece is attached to specimen surface, can be clear to tell drawbacks of the standard in the test piece as the acceptance criteria of equipment.
Recent years is along with the fast development of digital product, occurred with digital camera the testee mode that the back preserves image of taking pictures, this technology is exactly to adjust the aperture of camera in advance, and the position of focal length and light source is up to can the clear drawbacks of the standard of telling in the test piece on the image.
Accompanying drawing 1 is the digital camera principle schematic.4 zones that can cover of camera lens are the border circular areas in 2, this regional reflex light enters in the camera through camera lens 4, also should be distributed on the border circular areas, but sensor devices is area array CCD 5 (CCD is an imageing sensor) in the camera, can only be the phototransformation that is radiated on the area array CCD that electric signal is handled by signal processing system, so have only the middle rectangular area of border circular areas to be only the overlay area of real camera in the overlay area 2, in this manual, as not adding special instruction, the overlay area 2 of camera all refer in particular to CCD can sensitization the rectangular area.Test piece 3 is attached on the measured object table in the camera overlay area 2, regulates camera lens, focal length etc. and make the phase function take the image of test piece 3 clearly, just can implement detection other parts or inspected object as standard.
Because the restriction of CCD in camera lens and the camera, the scope that camera can be taken pictures is certain.That is to say that piece image can only cover the zone of fixed size, i.e. overlay area among Fig. 12, but in fact, the size major part of institute's inspected object 1 has all exceeded this zone.Solution has two kinds: a kind of is to clap multiple image, up to covering the object all surface, splices all images again and obtains full exterior view; Another is the mode with the video camera video recording, the scanning object, and continuous images acquired becomes video, this section video is preserved as the data that detect again.This dual mode all has shortcoming separately.
The mode of clapping multiple image also can save as the picture format file of standard to image information so that aftertreatment, but because the different reflective amounts of the illuminance of each point of body surface are also different, suppose that the thing surface is a plane, because the influence of parasitic lights such as environment, the edge of image light intensity that camera is adopted will be weaker than zone line, macroscopic the time, just be difficult for finding to be in the defective of image border like this, suppose that the thing table is a curved surface, the light intensity that each different places of curved surface are reflected into camera just has bigger difference; Different two width of cloth images, even if be in the place of image same position, also because a variety of causes causes light intensity inconsistent, the image that obtains of splicing can't guarantee that at all the drawbacks of the standard of different local test pieces can both clearly differentiate like this, directly have influence on the result of judgement, it preserves that the full surface image data of getting off also have only certain significance for reference and effect that indefiniteness says something.
The mode of video camera video recording allows the surperficial relative motion of camera lens and measured object exactly, make the camera lens scanning cross full surface, the image of real time scan is transferred to computing machine to be observed for the flaw detection personnel, its mode does not have the difference of essence with the mode of clapping multiple image, it is more crypto set of image, data volume is difficult to too greatly handle, and what sensor devices all adopted in the camera lens is area array CCD.
In this dual mode, what the thing mass color entered the camera lens process is an open environment, so just makes a large amount of spuious surround lightings enter camera lens, is received by CCD, causes the uncertainty of image data to increase.
This dual mode can be realized detecting at far-end, promptly real-time image/video is transferred to computer terminal, judge for the flaw detection personnel, but its limitation is still very big, essentially, this mode just is equivalent to extend human eye, can Personal Safety be improved away from tested object.
Summary of the invention
The object of the present invention is to provide magnetic trace image line scanning collecting method in a kind of simple and practical magnetic detection, magnetic trace image to the inspected object surface extracts, preserves in magnetic detects to reach, and can make intelligent distinguishing to the testee quality by data processing equipment.
The present invention is achieved through the following technical solutions:
Magnetic trace image line scanning collecting method during a kind of magnetic detects, it is to adopt linear array CCD camera the diffuse light on measured object surface to be selected to collect the method for magnetic trace image in magnetic detects.
It may further comprise the steps:
(1) surveyed area on selected measured object surface fixes light source and annular seal space, and hookup wire array CCD camera in described annular seal space offers slit on the sidewall of described closed chamber straight-on camera camera lens, and the outside of this sidewall is facing to the surveyed area on measured object surface;
(2) light source sends the surveyed area that directional light incides described measured object surface, and the position of adjusting annular seal space, light source and angle make to diffuse and enter annular seal space and camera lens by slit;
(3) regulate camera: can paste test piece in the overlay area of sensitization in the lip-deep CCD of measured object institute, the adjusting camera is until making it can obtain test piece image clearly;
(4) gather the trace of the magnetic clearly image that enters the diffuse light of camera lens by slit;
(5) by measured object and camera are done relative motion, whole thing table is carried out image acquisition, obtain the magnetic trace image of full thing table, simultaneously distance that moves and the image that collects are all sent to data processing equipment according to the step of (2)-(4).
The device of magnetic trace image line scanning collecting method during a kind of described magnetic detects, comprise light source, annular seal space, linear array CCD camera and data processing equipment, described linear array CCD camera is installed in the annular seal space, offer slit on the sidewall of this closed chamber straight-on camera camera lens, described light source is arranged on its directional light through position that the diffuse light of measured object surface reflection can be collected by line array CCD through slit, the data that described line array CCD collects are connected to data processing equipment, thus, described light source is gathered and is input to data processing equipment through the diffuse light of measured object surface reflection through slit by line array CCD.
The present invention compared with prior art has the following advantages:
The most important of the present invention adopts line array CCD exactly, and has done a series of respective change in others.As shown in Figure 2, for 6 line array CCDs, camera overlay area 2 line just on the thing table, in order to obtain the image of full thing table, the adjacent last overlay area of mobile camera or the object image acquisition that tries again, simultaneously distance that moves and the image that collects are all sent to data processing equipment, add new image information in appropriate position, move again, gather again, so just can make thing table coated region 2 inswept, obtain the picture of full thing table.Test piece 3 be attached to 2 can be inswept the zone, under the intact situation of adjustings such as camera lens, focal length, just can obtain the image of test piece clearly 3.Remove to detect other object with same state, just can obtain high-quality thing table magnetic trace image, thereby tested object is made effectively evaluating.
Because the direct reflection of curved surface is more complicated only, if there is not annular seal space, always have some specular lights and received by CCD, yet specular light is very strong by camera lens, with being a speck in the direct reflection photoimaging gained image, so specular light is not suitable for detection; Add diffusing of zones beyond some overlay areas 2, on behalf of the light of the intensity signal of surveyed area, these received by CCD, causes imaging mistake or can not imaging.Enter into camera in order to eliminate too much surround lighting, improve the stability and the accuracy of images acquired, camera is packed in the closed chamber, the sidewall of straight-on camera is opened a slit in closed chamber, like this, the thing mass color just can enter into camera lens along light path by slit, and this device can prevent effectively that the parasitic light of surround lighting and thing table from entering camera and being accepted by CCD, improves the accuracy of testing result greatly.
The frequency of operation of line array CCD (can finish the number of times of a complete image acquisition in one second) is than high many of area array CCD, so detection speed of the present invention is slow unlike the area array CCD mode, exactly because the but raising greatly of line array CCD frequency of operation is also strict more thereupon to the requirement of light source.CCD when work, in the integral time of setting, light signal is taken a sample by photosensitive unit, with the power of light be converted to each photosensitive unit electric charge what.So size that how much can draw this zone quantity of illumination in this time period by each photosensitive unit electric charge.Obviously, what of conversion electric charge the length of integral time and the size of intensity of illumination all can have influence on, and remove the quantity of illumination available integral time, get an average intensity of illumination, like this, the charge number of CCD conversion just has a simple proportional relation with average intensity of illumination within the specific limits.For area array CCD, the picture number of gathering in a second is about 10, the acquisition time that can be used for each pictures is about 100mS, for line array CCD, it is more than 1000 that per second is gathered the picture number, be subjected to various condition restriction less than 1mS. the timing up of average every pictures, it is not all to equate at any time that ordinary light source has very big ripple to exist to be the light intensity of light source, but in mean value fluctuation clocklike up and down, so, if integral time, during the cycle, the average intensity of illumination in any two integral time had very big difference less than light-intensity variation, badly influence the stability that CCD gathers.Adopt the very little light source of ripple in the present invention, to guarantee the stability and the accuracy of image acquisition.
Description of drawings
Fig. 1 tradition face scanning imagery synoptic diagram;
Fig. 2 center line scanning imagery of the present invention synoptic diagram;
The structural representation of Fig. 3 closed chamber of the present invention;
Fig. 4 cylinder curved surface image scanning sectional view.
Embodiment
The present invention is further illustrated below in conjunction with Fig. 2, Fig. 3, Fig. 4:
Magnetic trace image line scanning collecting method master is in the magnetic detection range, to the methodology of the extraction of thing table magnetic trace image, processing.Realization of the present invention realizes based on camera 4, closed chamber 7, low ripple light source 9 and the data processing equipment (figure slightly) of line array CCD 6, the camera 4 of described line array CCD 6 is installed in annular seal space 7 inwalls, offer slit 71 on the sidewall of these closed chamber 7 straight-on camera camera lenses, described light source 9 can be collected data processing equipment diffusing of measured object 1 surface by line array CCD 6 through slit 71.
The surface of magnetic detected object is a curved surface often.As shown in Figure 4, a periphery object is used the sectional view that the present invention extracts magnetic trace image, line array CCD 6 is a point in this sectional view, and camera overlay area 2 is a point also, and described low ripple light source 9 is the rectangle source of parallel light.
Shown in Fig. 3,4: measured object 1 is a cylindrical section, according to demand, fixes light source 9 and annular seal space 7, installs linear array CCD camera 4 in the annular seal space 7, allows the sidewall outside of annular seal space 7 of slit facing to the surface of measured object 1;
Light source 9 sends the surface that directional light 11 incides measured object 1, incident ray to the thing surface can produce reflection, reflection has two kinds of direct reflection light 12 and diffuse lights, the direct reflection of curved surface is more complicated only, with regard to the thing surface among Fig. 4, specular light 12 should be a covering of the fan, if there is not annular seal space, always having some specular lights is received by CCD by camera lens, and specular light is very strong, with being a speck in the direct reflection photoimaging gained image, so specular light is not suitable for detection; Add diffusing of zones beyond some overlay areas 2, on behalf of the light of the intensity signal of surveyed area, these received by CCD, causes imaging mistake or can not imaging easily.Allow diffuse light enter camera lens among the present invention and carry out the line array CCD imaging by slit.As shown in Figure 4, a branch of camera lens that enters in the diffuse light 13 of overlay area 2 is received by line array CCD 6.Of particular note, light area, thing table any point all diffuses, and the diffuse light of overlay area 2 has only drawn in Fig. 4.
In order to obtain clearly image, the position of adjusting annular seal space 7, light source 9 and angle make to diffuse and enter the camera lens of camera 4 by slit 71; Paste test piece 3 in the overlay area of 6 energy sensitization of the lip-deep line array CCD of measured object, the camera lens of regulating camera 4 is until making it can obtain test piece image clearly;
Enter the trace of the magnetic clearly image of the diffuse light of camera lens by slit 71 with above-mentioned state acquisition;
By measured object 1 and camera 2 are done relative motion, according to above-mentioned steps whole thing table is carried out image acquisition, obtain the magnetic trace image of full thing table, simultaneously distance that moves and the image that collects are all sent to data processing equipment, magnetic trace image to the inspected object surface extracts, preserves in magnetic detects to reach, and can make intelligent distinguishing to the testee quality with this by data processing equipment.
Obviously, the above embodiment of the present invention only is for example of the present invention clearly is described, and is not to be qualification to embodiments of the present invention.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here can't give exhaustive to all embodiments.Everyly belong to the row that conspicuous variation that technical scheme of the present invention extends out or change still are in protection scope of the present invention.