Utility model content
The utility model provides a kind of image capturing system and automated optical detection equipment, which uses lightGrid ruler solves in CIS camera image acquisition system and subject is needed to keep asking for constant airspeed in image acquisition processTopic realizes application of the CIS camera image acquisition system in actually detected.
In a first aspect, the utility model provides a kind of image capturing system, which includes:
CIS camera, grating scale and transmission device;
The grating scale is connect with transmission device and the CIS camera respectively;
The transmission device drives the object to be shot mobile for carrying object to be shot;
The grating scale sends pulse triggering signal to the CIS camera in the every mobile preset displacement of object to be shot;The CIS camera acquires a frame image to the object to be shot when receiving the pulse triggering signal.
Optionally, described image acquisition system further include:
Light source board, the light source board provide illumination for the object to be shot.
Optionally, the preset displacement is the CIS camera on the moving direction for being parallel to the object to be shotThe size of one pixel.
Optionally, the described image acquisition system further includes industrial personal computer, and the industrial personal computer includes capture card, the acquisitionCard is connect with the CIS camera, and the capture card is used to obtain the image of the CIS camera acquisition.
Optionally, the industrial personal computer further includes control card, and the control card is connect with the grating scale, and the control card is usedIn the displacement information for the object to be shot for receiving the grating scale acquisition.
Optionally, the industrial personal computer further includes memory, the memory respectively with the capture card and the controlCard connection;The memory is used to store the image of the CIS camera acquisition and the displacement information of the object to be shot.
Optionally, described image acquisition system further includes processor, and the processor is connect with the memory;The placeReason device is used to be formed the target image of the object to be shot according to the image mosaic for acquiring the CIS camera.
Optionally, the CIS camera includes at least three imaging sensors, and at least three imaging sensor is in product wordType arrangement;There is centainly inclined along the object to be shot moving direction in the image of two neighboring described image sensor shootingIt moves.
Optionally, the CIS camera includes automatic light source, and the automatic light source provides illumination for the object to be shot.
Second aspect, the utility model additionally provide a kind of automated optical detection equipment, which includes first aspect instituteThe image capturing system stated.
The utility model provides a kind of image capturing system, the every mobile preset displacement of object to be shot, grating in the systemRuler sends a pulse triggering signal to CIS camera, and CIS camera receives a pulse triggering signal and shoots a frame image, becauseThis image capturing system does not need object to be shot movement velocity and keeps constant, and realizes the Image Acquisition based on CIS cameraApplication of the system in actually detected.
Embodiment one
Fig. 1 is the structural schematic diagram for the image capturing system that the utility model embodiment one provides, as shown in Figure 1, the figureAs acquisition system includes CIS camera 101, grating scale 102 and transmission device 103;
Grating scale 102 is connect with transmission device 103 and CIS camera 101 respectively;
Transmission device 103 drives object to be shot 104 mobile for carrying object to be shot 104;
Grating scale 102 sends pulse triggering signal to CIS camera 101 in 104 every mobile preset displacement of object to be shot;CIS camera 101 acquires a frame image to object to be shot 104 when receiving pulse triggering signal.
The problem of being easy to happen distortion due to the image that traditional CCD camera is generally faced with acquisition solves this problemUsually there are two types of schemes: using complicated image distortion correction algorithm process image or using more accurate optical system.ThisA large amount of cost undoubtedly is increased to user and negative effect is caused to the reliability of acquisition system.And CIS camera is aLinear Array Realtime camera, characteristic are 1:1 reduction objects, and the image of acquisition will not be distorted, the processing additional without these.ThisOutside, when object to be shot width dimensions are larger, CCD camera can not one acquisition whole object to be shot image.It is usually usedMultiple groups camera one acquisition is realized using the method for one group of camera multi collect topography splicing to whole image acquisition,This significantly affects the precision and efficiency of detection.CIS camera can be with adaptation to local conditions, and the shooting for adapting to larger object width dimensions is wantedIt asks, it is most wide up to 1.3 meters at present.CCD camera imaging needs a larger object distance, this results in the automatic light based on CCD cameraLearn detection device bulky dimensions.And the object distance of CIS camera only has more than ten millimeters and camera lens and sensor devices Construction integration, reducesAutomated optical detection equipment size, quite convenient for installation and debugging.Based on the above reasons, Image Acquisition provided by the utility modelSystem uses CIS camera.
Grating scale is made of scale grating and grating reading head two parts.Scale grating is generally fixed to lathe fixed partOn part, grating reading head is on lathe movable part.The grating reading head of the utility model grating scale is mounted on transmission device,As transmission device moves together.The every mobile pre-determined distance of object to be shot, grating scale generate a pulse triggering signal, CISCamera receives the pulse triggering signal and shoots a frame image.In the existing image capturing system based on CIS camera everyCertain time, CIS camera shoot a frame image, this requires the constant airspeed of object to be shot during shooting, if speed becomes fasterThe leakage that will cause object to be shot parts of images is clapped, if slowing, it will cause the repetition of image shooting, and meeting after image mosaicImage fault is caused, the precision of detection is greatly reduced, and keeps speed of moving body constant, this is in actual industrial productionIt is difficult to realize, because the mechanical structure of movement always has certain tolerance, speed can be in nonlinear change.Which has limitedApplication of the CIS camera in image capturing system.And the utility model introduces light in the image capturing system based on CIS cameraAfter grid ruler, as long as object to be shot moves pre-determined distance, grating scale generates a pulse triggering signal, and triggering CIS camera is clappedA frame image is taken the photograph, the image taking of the system and the displacement of object to be shot are related, and it is unrelated to move speed.Therefore, this realityThe use in actual industrial detection may be implemented with the image capturing system of novel offer.
The every mobile pre-determined distance of object to be shot in the image capturing system of the utility model, grating scale generate a pulseTrigger signal, CIS camera receive the pulse triggering signal and shoot a frame image.The image taking of CIS camera with it is to be capturedThe displacement of object is related, unrelated with the speed of object to be shot, is not necessary to guaranty that the movement speed of object in shooting process is keptIt is constant, solve CIS camera in Image Acquisition, it is necessary to assure the problem of movement speed of object must be kept constant is realizedThe application of image capturing system based on CIS camera in actual industrial detection.
Optionally, with continued reference to Fig. 1, as shown in Figure 1, image capturing system further include: light source board 105, light source board 105 areObject to be shot 104 provides illumination.
Optionally, CIS camera 101 includes automatic light source, and automatic light source is that object to be shot 104 provides illumination.
It should be noted that Fig. 1 merely exemplary mode for giving a kind of pair of object to be shot and carrying out illumination, not structureThe restriction of pairs of the utility model, during actual use, illumination methods appropriate can be selected according to the actual situation.
CIS camera is during shooting object to be shot, it usually needs light source carries out illumination to object to be shot, increasesAdd the brightness of shooting image, improves the quality of shooting image.There are two types of light sources, another one is the light source that CIS camera carriesKind be light source board, when specifically used, can be used alone one of light source and carry out illumination, can also both be used in combination and treatIt shoots object and carries out illumination.Fig. 2,3,4 are three kinds of different illumination sides of object to be shot provided by the embodiment of the utility modelFormula, illumination methods as shown in Figure 2 carry out illumination to object to be shot only with light source board, and object to be shot is arranged in lightBetween source plate and CIS camera, illumination is carried out to object to be shot by the way of transmission, which is suitable for object to be capturedBody light transmission itself or the case where needing detection hole quality with holes itself;Only with CIS camera automatic light source in Fig. 3, for wait clapIt takes the photograph object and illumination is provided;Fig. 4 combines light source board and CIS camera itself light source, and light source board and CIS camera are in object to be shotThe same side.
Optionally, it is the CIS camera 101 on the moving direction for being parallel to object to be shot 104 that preset displacement, which can be set,A pixel size.
When object to be shot size of every one pixel of movement on the moving direction for being parallel to object to be shot 104,Grating scale generates a pulse triggering signal, and CIS camera shoots a frame image, i.e., the width of captured image is a pixel,So that the details of object to be shot becomes apparent from image, it is more suitable for high-precision and detects.It in other embodiments, can be with rootAccording to the demand of resolution ratio, the specific value of preset displacement is set, such as preset displacement is in the shifting for being parallel to object to be shot 104The size of multiple pixels of CIS camera 101 on dynamic direction, it is not limited in the embodiment of the present invention.
Optionally, image capturing system further includes industrial personal computer 109, and industrial personal computer 109 includes capture card 106, capture card 106 withCIS camera 101 connects, and capture card 106 is used to obtain the image of the acquisition of CIS camera 101.
Capture card can choose CameraLink capture card in the utility model embodiment, and CIS camera is by collected figureAs being transferred to CameraLink capture card by CameraLink interface, wherein CameraLink capture card passes through peripheral elementExpansion interface (Peripheral Component Interconnect, PCI) interface is mounted on industrial control computer mainboard.
Before CIS camera, configuration parameter by CameraLink capture card, is sent to CIS camera by industrial personal computer, rightCamera is initialized.
Optionally, industrial personal computer 109 further includes control card 107, and control card 107 is connect with grating scale 102, and control card 107 is usedIn the displacement information for receiving the object to be shot 104 that grating scale 102 acquires.
When the every mobile pre-determined distance of object to be shot, grating scale generates one group of digitally encoded signal comprising displacement information,And control card is sent it to, control card is decoded processing to it after receiving digital coding.Grating scale selection simultaneously is anyDigital coding pulse signal, that is, pulse triggering signal all the way, is sent to CIS camera, and triggering camera shoots a frame image.
Optionally, industrial personal computer 109 further includes memory 108, memory 108 respectively with capture card 106 and control card 107Connection;Memory 108 is used to store the image of the acquisition of CIS camera 101 and the displacement information of object to be shot 104.
CameraLink capture card sends memory for the image data received and stores;Furthermore control card logarithmWord encoded signal is decoded that treated, and data also are stored in memory.Memory stores the data of measurement, sideJust customer analysis data after carry out control to product total quality.
Optionally, image capturing system further includes processor, and processor is connect with memory 108;Processor is used for basisThe image mosaic that CIS camera 101 is acquired forms the target image of object to be shot 104.
Processor obtains image acquisition data from memory, and will carry out splicing by image one by one, is formedThe image of object to be shot.Displacement information after decoding is obtained from control card simultaneously, the developed width size of object is calculated, is used in combinationDeveloped width size is corrected spliced image as standard, using certain algorithm, obtains target image, 1:1'sRestore object to be shot.
Optionally, CIS camera 101 includes at least three imaging sensors, and at least three imaging sensors are in ' Pin '-shapedColumn;There are certain offsets along 104 moving direction of object to be shot for the image of two adjacent images sensor shooting.
Each imaging sensor in the image capture module of traditional CIS camera is arranged in "-" type, is adopted carrying out imageWhen collection, each imaging sensor can acquire a part of image, and by being spliced to obtain a full line figure to each section imagePicture.But in meeting between the image of each imaging sensor acquisition of "-" type arrangement, there are certain gap, which still canThe detection accuracy of CIS camera is substantially reduced, although the compensation way by gap interpolation can reduce gap to a certain extentInfluence to detection accuracy, but scene is detected for high-precision, the detection accuracy positioned at the object of gap area still can notGuarantee.And imaging sensor is in Chinese character pin-shaped arrangement, the image of two adjacent images sensor shooting is along the object to be shot side of movementThere is certain offset upwards, which deposits so that image captured by each imaging sensor is along the object to be shot side of movementGap is not present upwards, the complete image of a line can be spliced to form, when solving "-" type arrangement, picture in the horizontal directionThe problem of element is lost.In addition, when imaging sensor is in Chinese character pin-shaped arrangement, the two adjacent images on object to be shot moving directionNot in the same horizontal line, two adjacent images sensor acquires on vertical object to be shot moving direction at the center of sensorThere is offset in image, it is therefore desirable to carry out being displaced accordingly on vertical object to be shot moving direction to acquired image and mendIt repays, the image mosaic of multi collect is then formed into complete image.CIS camera is by the same water after bit shift compensation of acquisitionThe image that prosposition is set is sent to CameraLink capture card, and processor obtains image data from CameraLink capture card, andImage is spliced, and referring to the displacement information obtained from control card, the practical width of resulting object to be shot after calculatingSize is spent, spliced image is corrected using certain algorithm, 1:1's reduces object to be shot, realizes the figureAs application of the acquisition system in high-precision detection.
The mobile pre-determined distance of object to be shot in image capturing system provided by the utility model, grating scale generate oneA pulse triggering signal, CIS camera receive the pulse triggering signal and shoot a frame image.Whole image collection process is not necessarily toThe constant airspeed for guaranteeing object to be shot, realizes the practical application of CIS camera in the industrial production.In addition, the utility modelIt include at least three imaging sensors using CIS camera, at least three imaging sensors are in Chinese character pin-shaped arrangement, can further be mentionedHigh measurement accuracy.