Summary of the invention
Object of the present invention, exactly for overcoming the deficiencies in the prior art, for the problem of prior art existence, provides a kind of design of novel solar cell surface defect detection equipment, and the method for utilizing this equipment to test.For the strong reflection characteristic on solar battery sheet surface, consider the impact of light illumination technology effects on surface defects detection, adopt low angle annular White LED light source.
Consider that solar cell surface has strong, the regular feature of grain, adopted the method detecting for concrete classification of defects.For unfilled corner, by image is carried out, image is cut apart, wavelet transformation and two dimension 7 × 7 pixel field medium filtering processing obtain unfilled corner defect image; For crackle, by being carried out to two dimension median filter, wavelet transformation, image binaryzation and edge detection process, image obtains the defect image that comprises unfilled corner, crackle and electrode.The impact of differentiating in order to eliminate unfilled corner and electrode pair crackle, carries out the region that communicates with border that removes in morphology processing to testing image, obtains only comprising the image of crack defect.Then carry out the identification of defect by choosing corresponding characteristic parameter.
The present invention realizes by such technical scheme: solar cell surface defect detection equipment, comprise structural member and detection circuitry, it is characterized in that, structural member is made up of display rack, observation platform and installing rack, fixedly mounts light source shelf, camera frame, electronic box on observation platform; Mounting testing circuit system in electronic box; Detection circuitry comprises light illuminating unit, image acquisition units, graphics processing unit, display unit;
The AFT-D12 light source controller that light illuminating unit is produced by Ai Feite photoelectricity and white low angle annular LED cold light source connect and compose;
Image acquisition units comprises CCD camera VS078FC and M0814MP model camera lens;
Graphics processing unit comprises self-control V6000 image processor and MV-E1394Dual image pick-up card, self-control V6000 image processor is made up of computer motherboard, internal memory, CPU, hard disk and cabinet, in the computer motherboard bus slot of self-control V6000 image processor, MV-E1394Dual image pick-up card is installed; Display unit is made up of 19 inches of LCDs; Be placed on display rack as the solar cell of detected object;
The white low angle annular LED cold light source of light illuminating unit is by AFT-D12 light-source controller controls, direct irradiation is in the solar cell surface of detected object, the CCD camera VS078FC of image acquisition units collects solar panel surface image information, then CCD camera VS078FC is by connecting the vision cable of MV-E1394Dual image pick-up card, the V6000 image processor that image information is sent to graphics processing unit is processed, V6000 image processor the most at last result is sent to the host computer of display unit, shows result by display.
The method of utilizing described solar cell surface defect detection equipment to detect, it is characterized in that, adopt low angle annular White LED light source, by image is carried out, image is cut apart, wavelet transformation and two dimension 7 × 7 pixel field medium filtering processing obtain unfilled corner defect image; For crackle, by being carried out to two dimension median filter, wavelet transformation, image binaryzation, rim detection and morphological operator processing, image obtains the defect image of crackle, comprise the steps:
Step 1, utilize checkout equipment to obtain solar panel image, open light source, adopt video camera by solar panel IMAQ to processing unit, solar panel image reads in graphics processing unit, and shows at host computer interface;
Step 2, by graphics processing unit, image is converted into gray level image;
Step 3, by image is carried out, image is cut apart, wavelet transformation and two dimension 7 × 7 pixel field medium filtering processing obtain unfilled corner defect image; Comprising:
A) two dimension 7 × 7 neighborhood of pixels medium filtering processing: (7 × 7 pixels are number of pixels)
Be two dimension median filter, be characterized in rejecting abnormalities point in the situation that not reducing contrast, suppress disturbing pulse and spotted noise, keep level and smooth or round and smooth image border;
B) figure image intensifying, image binaryzation, removes electrode processing: utilize wavelet transformation to strengthen image; Carry out afterwards binary conversion treatment, make to demonstrate two kinds of obvious visual effects of black and white; Carry out rim detection with Canny operator again, mark image border; Finally utilize morphological operator by the order of corrosion again that first expands, image is processed, remove image border, so that subsequent detection;
C) unfilled corner feature extraction: adopt 8 connection labelling methods correctly to separate cutting apart the different defects that obtain;
D) unfilled corner defect recognition: chosen area area A, rectangular degree R, elongation L, tetra-kinds of characteristic parameters of decentralization K carry out unfilled corner identification;
Step 4, in carrying out withstep 3, obtain by image is carried out to two dimension median filter, wavelet transformation, image binaryzation and edge detection process the defect image that comprises unfilled corner, crackle and electrode, comprising:
A) twodimension 3 × 3 neighborhood of pixels medium filterings, wavelet transformation: that is two dimension median filter, be characterized in rejecting abnormalities point in the situation that not reducing contrast, suppress disturbing pulse and spotted noise, keep level and smooth or round and smooth image border; (3 × 3 is number of pixels)
B) figure image intensifying, binaryzation, morphology processing, removes the region communicating with border;
Identical with unfilled corner, utilize wavelet transformation to strengthen image; Carry out afterwards binary conversion treatment, make to demonstrate two kinds of obvious visual effects of black and white; Carry out rim detection with Canny operator again, marking image edge; Finally utilize morphological operator (first expand and corrode again) to process image, remove image border, so that subsequent detection;
C) crack extracts: adopt 8 connection labelling methods correctly to separate cutting apart the different defects that obtain;
Step 5, obtain defect recognition result, graphics processing unit the most at last result is sent to the host computer of display unit, shows result by display.
Beneficial effect is: the present invention detects and compares with infrared scan detection method with artificial visual, and detection efficiency and accuracy rate significantly improve.Operation is simple for the method, saves a large amount of labours, alleviated labour intensity.
Embodiment
For a more clear understanding of the present invention, describe in conjunction with the accompanying drawings and embodiments the present invention in detail:
Solar cell surface defect detection equipment, circuit comprises light illuminating unit, image acquisition units, graphics processing unit, display unit, and light illuminating unit is made up of AFT-D12 type light source controller (direct current 12V power supply adaptor) and white low angle annular LED cold light source.(light source controller is 12V DC power supply)
Image acquisition units is by MV-VS078FC model C CD camera (highest resolution 1024X768, 8 bit data outputs, frame per second 30fps, the colored CCD of lining by line scan), M0814MP model camera lens (image planes size 2/3 ", minimum object distance 0.1m, focal length 8mm), MV-E1394Dual model image pick-up card (adopts the two control chips of professional TSB43AB22A, high speed serialization real time data flow transmission, the every passage of data transmission rate reaches 400Mb/s, 6 core interfaces provide 12V power supply) and IEEE1394A model camera output interface formation, graphics processing unit is by the CPU of Intel (R) Core (TM) I3-2120CPU@3.30GHz, 3.29GHz, 1.98GB internal memory, 500GB hard disk forms, display unit comprises DELL19 inch LCDs.
Be image acquisition units under the effect of light illuminating unit, the solar panel information collecting is sent to graphics processing unit and processes, result is presented at display unit the most at last.
Light illuminating unit: white low angle annular LED cold light source;
Collecting unit: MV-VS078FC model C CD camera, M0814MP model camera lens, MV-E1394Dual model image pick-up card, IEEE1394A model camera output interface;
Processing unit: CPU:Intel (R) Core (TM) I3-2120CPU@3.30GHz;
Internal memory: 3.29GHz, 1.98GB hard disk: 500GB
Display unit: DELL19 inch LCDs;
Utilize described solar cell surface defect detection equipment to carry out detection method, adopt low angle annular White LED light source, by image is carried out, image is cut apart, wavelet transformation and two dimension 7 × 7 pixel field medium filtering processing obtain unfilled corner defect image; For crackle, by being carried out to two dimension median filter, wavelet transformation, image binaryzation, rim detection and morphological operator processing, image obtains the defect image of crackle, comprise the steps:
Step 1, utilize checkout equipment to obtain solar panel image, open light source, adopt video camera by solar panel IMAQ to processing unit, solar panel image reads in graphics processing unit and shows at host computer interface.
Step 2, by graphics processing unit, image is converted into gray level image;
Step 3, by image is carried out, image is cut apart, wavelet transformation and two dimension 7 × 7 pixel field medium filtering processing obtain unfilled corner defect image; Comprising:
A) two dimension 7 × 7 neighborhood of pixels medium filterings:
Be two dimension median filter, be characterized in rejecting abnormalities point in the situation that not reducing contrast, suppress disturbing pulse and spotted noise, keep level and smooth or round and smooth image border.
Two dimensional imagef(x,y) principle of two dimension median filter is:
In formula,f(x,y) be two-dimensional data matrix set,g(x,y) be the gray value of window center point after medium filtering.
B) figure image intensifying, image binaryzation, remove electrode:
Utilize wavelet transformation to strengthen image; Carry out afterwards binary conversion treatment, make to demonstrate two kinds of obvious visual effects of black and white; Carry out rim detection with Canny operator again, marking image edge; Finally utilize morphological operator (first expand and corrode again) to process image, remove image border, so that subsequent detection.
Order
f(
i,
j) be original image,
g(
i,
j) be the later image of binaryzation, threshold value is
t, its span is 0~255, the expression formula of binaryzation conversion
.
First Canny algorithm is chosen two-dimensional Gaussian function and is carried out smoothing processing:
Adopt the finite difference of 2 × 2 neighborhood single order local derviations in Canny algorithm to assign to calculate:
In formula,
be respectively the filtered device of original image
in the result of row, column effect.
Conventional Mathematical Morphology operator have expansion (dilation), corrosion (erosion), and on this basis development open (opening) and close (closing) computing.Utilize these operators and their combination shape and the structure to image to analyze and process, solve the problem that suppresses noise, rim detection, feature extraction field.Introduce the concept of several operators below.
Making Ω is two-dimentional Euclidean space, and A is image, and B is structural element, and A, B are all subsets of Ω, and Φ is empty set.
In formula,
the mapping of structural element B about initial point.The meaning of above-mentioned expression formula is owned after image A is expanded by B
xafter translation
at least there is the common element of a non-zero with A.Expansion is used for filling hole.
The result of the implication B corrosion A of above formula is all B translationsxafterwards all by the point of Axset-inclusion.Corrosion is the dual operations of expanding, and its effect is acnode and the spike of removing image.
The definition of opening operation is:
To be A expanded by B the implication of above formula after B corrosion again, and opening operation is used for filtering and is less than the bur of structural element, for suppressing positive pulse noise, and the isolated spot of removal of images and burr;
The definition of closed operation is:
The implication of above formula is that A is corroded by B after B expands again, and closed operation can be filled the breach or the hole that are less than structural element, is usually used in suppressing negative pulse noise, fills up image crack and leak.
C) unfilled corner feature extraction
Adopt 8 connection labelling methods correctly to separate cutting apart the different defects that obtain;
Labeling process is as follows:
1) if four adjoint point values considering are 0, give sopthe mark value that point is new.
2), if only having the value of a point in these four adjoint points is 1, willpthe sign flag Cheng Yuqi of point is identical.
3) if having the value of two or more adjoint points is 1, markpthe symbol of point, with one of them is identical during these are put, is recorded the equivalence of this adjoint point symbol simultaneously.
D) unfilled corner defect recognition
Chosen area area A, rectangular degree R, elongation L, tetra-kinds of characteristic parameters of decentralization K carry out unfilled corner identification.
Unfilled corner defect characteristic parameter area table
| Defect type | AreaA(pixel) | Rectangular degreeR | ElongationL | DecentralizationK |
| Unfilled corner | A>30 | R>0.48 | L>1.0 | K>13.2 |
For crackle, by being carried out to two dimension median filter, wavelet transformation, image binaryzation, rim detection and morphological operator processing, image obtains the defect image of crackle simultaneously, comprising:
A) 3 × 3 neighborhood of pixels medium filterings, wavelet transformation:
That is two dimension median filter, be characterized in rejecting abnormalities point in the situation that not reducing contrast, be used for suppressing disturbing pulse and spotted noise, keep level and smooth or round and smooth image border;
Two dimensional imagef(x,y) principle of two dimension median filter is:
In formula,f(x,y) be two-dimensional data matrix set,g(x,y) be the gray value of window center point after medium filtering.
B) figure image intensifying, binaryzation, morphology processing, removes the region communicating with border;
Identical with unfilled corner, utilize wavelet transformation to strengthen image; Carry out afterwards binary conversion treatment, make to demonstrate two kinds of obvious visual effects of black and white; Carry out rim detection with Canny operator again, mark image border; Finally utilize morphological operator (first expand and corrode again) to process image, remove image border, so that subsequent detection.
Order
f(
i,
j) be original image,
g(
i,
j) be the later image of binaryzation, threshold value is
t, its span is 0~255, the expression formula of binaryzation conversion
.
First Canny algorithm is chosen two-dimensional Gaussian function and is carried out smoothing processing:
Adopt the finite difference of 2 × 2 neighborhood single order local derviations in Canny algorithm to assign to calculate:
In formula,
be respectively the filtered device of original image
in the result of row, column effect.
Conventional Mathematical Morphology operator have expansion (dilation), corrosion (erosion), and on this basis development open (opening) and close (closing) computing.Utilize these operators and their combination shape and the structure to image to analyze and process, to solve the problem that suppresses noise, rim detection, feature extraction field.Introduce the concept of several operators below.
Making Ω is two-dimentional Euclidean space, and A is image, and B is structural element, and A, B are all subsets of Ω, and Φ is empty set.
In formula,
the mapping of structural element B about initial point.The meaning of above-mentioned expression formula is owned after image A is expanded by B
xafter translation
at least there is the common element of a non-zero with A.Expansion is used for filling hole.
Corrosion:
The result of the implication B corrosion A of above formula is all B translationsxafterwards all by the point of Axset-inclusion.Corrosion is the dual operations of expanding, and its effect is acnode and the spike of removing image.
The definition of opening operation is:
The implication of above formula is that A is expanded by B after B corrosion again.Opening operation is used for filtering and is less than the bur of structural element, is used for suppressing positive pulse noise, the isolated spot of removal of images and burr.
The definition of closed operation is:
The implication of above formula is that A is corroded by B after B expands again.Closed operation is used for filling the breach or the hole that are less than structural element, suppresses negative pulse noise, fills up image crack and leak.
C) crack extracts and adopts 8 connection labelling methods correctly to separate cutting apart the different defects that obtain;
Labeling process is as follows:
1) if four adjoint point values considering are 0, give sopthe mark value that point is new.
2), if only having the value of a point in these four adjoint points is 1, willpthe sign flag Cheng Yuqi of point is identical.
3) if having the value of two or more adjoint points is 1, markpthe symbol of point, with one of them is identical during these are put, is recorded the equivalence of this adjoint point symbol simultaneously.
D) crack defect identification
Chosen area area A, rectangular degree R, elongation L, tetra-kinds of characteristic parameters of decentralization K carry out Identification of Cracks.
Crack defect characteristic parameter scope table
| Defect type | AreaA(pixel) | Rectangular degreeR | ElongationL | DecentralizationK |
| Crackle | | R<0.66 | L>1.3 | K>8.5 |
Step 4, acquisition defect recognition result;
Be applied to the system operation interface of researching and developing a man-machine interaction based on VC++6.0.Enter after this system, region, upper left side can show the image of the solar panel of taking in real time, click operation button, system can be carried out defects detection to current cell panel, defect image after detection completes can be presented at respectively the respective regions of below, interface, and the number of the unfilled corner detecting and crack defect can show by pop-up window.
According to the above description, can realize the solution of the present invention in conjunction with art technology.