CN103278509B - Foam-appearance-based on-line beer detection method - Google Patents
Foam-appearance-based on-line beer detection method Download PDFInfo
- Publication number
- CN103278509B CN103278509B CN201310202867.0A CN201310202867A CN103278509B CN 103278509 B CN103278509 B CN 103278509B CN 201310202867 A CN201310202867 A CN 201310202867A CN 103278509 B CN103278509 B CN 103278509B
- Authority
- CN
- China
- Prior art keywords
- foam
- beer
- station
- carried out
- detected
- 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
Landscapes
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention discloses a foam-appearance-based on-line beer detection method. At a first detection station, a backlight source is adopted for detecting, and an image of the neck region of a beer bottle is captured by a camera, so that the height and the shape of foam can be detected; and at a second detection station, the top and the side face of the beer bottle is lighted, and an image is captured by a camera which has the same direction as a light source at the side face, so that the size, the fineness and the smoothness of the foam can be detected. After the method is used, according to the detection on the appearance of the foam at the neck of the beer bottle, the quality of beer can be analyzed, and the method is high in detection efficiency.
Description
Technical field
The invention belongs to the online measuring technique field on automatic production line, especially relate to a kind of beer online test method based on foamy appearance.
Background technology
In recent years, along with the raising of the level of consumption and relevant law, regulation perfect, in beer industry, product quality becomes more and more important.Due to the reason such as production technology and encapsulation technology, the situations such as foreign matter, capping are not tight, bottle is damaged may be had in bottled beer after filling occur, these problems have had a strong impact on product quality and reputation, so detection is a pith in production run, it is the key link controlling product quality.At present, the online test method of beer is almost all by artificial visually examine, after the automatic assembly line of some breweries, often can see that numerous detection workmans is at this procedure of execution manual detection, while increasing huge cost of labor and handling cost to factory, labor strength is large, working environment is poor, production efficiency and Detection accuracy still can not be guaranteed, not only waste a large amount of human resources, and loss is very high, verification and measurement ratio is low, detection speed is slow, gathers the defect such as difficulty and testing cost height.
The appearance characteristics such as thickness, Size Distribution, fine and smooth degree of beer foam is an important indicator of reflection beer quality, and it has foamability, the feature of stability and extension cup.Wherein, the formation of foam comprises two-phase foam and heterogeneous foam, only has solution could form obvious foam, and according to Gibbs adsorption equation, the solute (surfactant) in solution is adsorbed on gas-liquid interface.The bubble that beer is formed forms a certain amount of active substance on beer surface, and these active substances are piled up and just defined beer bubble.Bubble is less, and the active substance of formation is more, and the binding ability of these active substances is stronger.In the prior art at present, also not by detecting the foamy appearance of beer, the method for beer quality is judged.
Summary of the invention
The object of the invention is: provide a kind of by analyzing beer quality quality to the detection of beer bottleneck foamy appearance, the beer online test method based on foamy appearance that detection efficiency is high.
Technical scheme of the present invention is: comprise two and detect station, first is detected station and adopts backlight to detect, light source I, camera I and beer bottle are point-blank, the neck area that beer bottle taken by camera I carries out image acquisition, and carry out image procossing, detect the height of foam and the body of foam; Second being detected station from the top of beer bottle and side polishing, by carrying out image acquisition with the equidirectional camera II of side light source, and carrying out image procossing, detect the size of foam and fine and smooth degree; First image processing method detected in station is, after image is carried out auto adapted filtering pre-service, surveyed area is located, extract the lower edges of foam cluster, respectively fitting a straight line is carried out to lower edges, obtain two line segments representing lower edges, calculate the mean distance of two line segments, and compare judgement with setting value; Second image processing method detected in station is, after image is carried out auto adapted filtering pre-service, surveyed area is located, according to foam lower edges, obtain foam regions, binaryzation is carried out to foam regions, and carries out statistical study, obtain statistic histogram, judge according to histogrammic crest and slope.
Further, described second image processing method detected in station is, after image is carried out auto adapted filtering pre-service, surveyed area is located, according to foam lower edges, obtain foam regions, and binaryzation is carried out to foam regions, adopt the moving window of a m*n in foam regions from left to right, each mobile a pixel from top to bottom, calculate the number percent b% of the window total area shared by black picture element in moving window at every turn, statistical study is carried out to all percent value, obtains statistic histogram, judge according to histogrammic crest and slope.
The invention has the beneficial effects as follows: the present invention judges the quality of beer by detecting neck part foamy appearance in filling rear beer bottle, the testing result being detected station by two judges that whether qualified beer quality is, first detect station adopt be backlight detect, light source, camera and beer bottle are point-blank, the neck area of camera shooting beer bottle, detect the height of foam and the body of foam, second is detected station is top from beer bottle and side polishing, by carrying out image acquisition with the equidirectional camera of side light source, and carry out image procossing, detect the size of foam and fine and smooth degree.Online test method of the present invention belongs to automatic detection, avoids the series of problems such as manual detection labour intensity is large, speed is slow, precision is low.The present invention be practical experience on a production line summary basis on put forward, detection method is simple and reliable, practicality and highly versatile, be applicable to the untouched online inspection of beer automatic production line, on high-speed automated production line, can be detected the quality of filling rear beer quality by the outward appearance detecting foam, improve detection speed and Detection job, the detection for beer industry provides a kind of new detection method.
Accompanying drawing explanation
Fig. 1 is the imaging schematic diagram (underproof foam ring) of first detection station in the present invention;
Fig. 2 is the imaging schematic diagram (qualified foam ring) of first detection station in the present invention;
Fig. 3 is the imaging schematic diagram (underproof foam ring) of second detection station in the present invention;
Fig. 4 is the imaging schematic diagram (qualified foam ring) of second detection station in the present invention.
Embodiment
The foam of beer is the important index of of beer quality, it has the feature of foamability, stability and extension cup, wherein, the formation of foam comprises two-phase foam and heterogeneous foam, only have solution could form obvious foam, according to Gibbs adsorption equation, the solute (surfactant) in solution is adsorbed on gas-liquid interface.The bubble that beer is formed forms a certain amount of active substance on beer surface, and these active substances are piled up and just defined beer bubble.Bubble is less, and the active substance of formation is more, and the binding ability of these active substances is stronger.In order to realize online automatic detection on production line, the present invention is investigating to lot of beer factory and after data statistic analysis, the conclusion drawn is: the foam of beer is the important index of of beer quality, by carrying out online foam analysis to the bottled bottled beer in production run after pasteurization machine, can judge whether beer meets product requirement, whether beer filling leaks, and whether beer inside is containing impurity etc. product information.The present invention is according to the principle of foam, adopt automatic technology, by to the size degree of foamy appearance and fine and smooth degree, two stations are adopted to detect, first is detected station is that backlight detects, and second is detected station is from top and side polishing, illuminates bottle, carry out the collection of image, it is detected.
The beer online test method of the present invention based on foamy appearance, its method is as described below:
(1) on beer filling & packing production line, after bottle of liquor entered pasteurization machine, just going out the beer of sterilization machine in the process transmitted, by with the contacting of conveying device, bottleneck there will be size evenly, the foam ring of proper height, and have the foam ring of the bottle interior of foreign matter can because the surface tension of particle is low in beer, bubble can continue formation and development, form the foam of some exquisitenesses, and the height of foam ring increases, also have little foam to rise in the middle part of bottle simultaneously.(beer, after producing, all will enter pasteurization machine and carry out sterilization processing).
(2) detect station first detection station and second and carry out image acquisition and image procossing respectively.
As can be seen from the imaging schematic diagram of first detection station shown in Fig. 1 and Fig. 2, first is detected station and adopts backlight to detect, light source I 3, camera I 2 and beer bottle 1 are point-blank, the neck area that beer bottle taken by camera I 2 carries out image acquisition, and carry out image procossing, detect the height of foam and the body of foam.First image processing method detected in station is, after image is carried out auto adapted filtering pre-service, surveyed area is located, extract the lower edges of foam cluster, and respectively fitting a straight line is carried out to lower edges, obtain two line segments representing lower edges, calculate the mean distance of two line segments, i.e. foam height G.If foam height G is higher than setting value K, then think that this bottled beer has the situations such as the tight or bottle crackle gas leakage of foreign matter, capping.Fig. 1 is underproof foam ring, and Fig. 2 is qualified foam ring.
As can be seen from the imaging schematic diagram of second detection station shown in Fig. 3 and Fig. 4, second is detected station from the top of beer bottle 1 and side polishing, i.e. top light source 6 and side light source 5, by carrying out image acquisition with the equidirectional camera II 4 of side light source 5, and carry out image procossing, detect the size of foam and fine and smooth degree.Second image processing method detected in station is, after image is carried out auto adapted filtering pre-service, surveyed area is located, and according to foam lower edges, obtain foam regions, and binaryzation is carried out to foam regions, adopt the moving window of a m*n in foam regions from left to right, each mobile a pixel from top to bottom, calculate the number percent b% of the window total area shared by black picture element in moving window at every turn, finally statistical study is carried out to all percent value, obtain statistic histogram, obtain experience judge methods according to histogrammic crest and slope.Be underproof foam ring from Fig. 3, Fig. 4 is qualified foam ring.
If there is the tight or bottle crackle gas leakage of foreign matter, capping etc. in bottle, passing through in conveying device transmitting procedure, by the Huo Yulian road contact that contacts with each other between bottle, the density of its foam can raise, size and the fine and smooth degree of foam also change, bubble will constantly become large, and occur the gathering of a large amount of minute bubbles in foam bottom, and foam size is uneven.Therefore detected on station by above two and differentiate, method is reliable, and loss is low, and detection efficiency is high.
Claims (1)
1. the beer online test method based on foamy appearance, comprise two and detect station, it is characterized in that: first is detected station and adopt backlight to detect, light source I, camera I and beer bottle are point-blank, the neck area that beer bottle taken by camera I carries out image acquisition, and carry out image procossing, detect the height of foam and the body of foam; Second being detected station from the top of beer bottle and side polishing, by carrying out image acquisition with the equidirectional camera II of side light source, and carrying out image procossing, detect the size of foam and fine and smooth degree; Described first image processing method detected in station is, after image is carried out auto adapted filtering pre-service, surveyed area is located, extract the lower edges of foam cluster, respectively fitting a straight line is carried out to lower edges, obtain two line segments representing lower edges, calculate the mean distance of two line segments, and compare judgement with setting value; Described second image processing method detected in station is, after image is carried out auto adapted filtering pre-service, surveyed area is located, according to foam lower edges, obtain foam regions, and binaryzation is carried out to foam regions, adopt the moving window of a m*n in foam regions from left to right, each mobile a pixel from top to bottom, calculate the number percent b% of the window total area shared by black picture element in moving window at every turn, statistical study is carried out to all percent value, obtain statistic histogram, judge according to histogrammic crest and slope.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310202867.0A CN103278509B (en) | 2013-05-28 | 2013-05-28 | Foam-appearance-based on-line beer detection method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310202867.0A CN103278509B (en) | 2013-05-28 | 2013-05-28 | Foam-appearance-based on-line beer detection method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103278509A CN103278509A (en) | 2013-09-04 |
| CN103278509B true CN103278509B (en) | 2015-04-22 |
Family
ID=49061090
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310202867.0A Active CN103278509B (en) | 2013-05-28 | 2013-05-28 | Foam-appearance-based on-line beer detection method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103278509B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB201614717D0 (en) | 2016-08-31 | 2016-10-12 | Ge Healthcare Bio Sciences Ab | Detection of foam levels |
| CN107238622A (en) * | 2017-05-26 | 2017-10-10 | 重庆红蜻蜓油脂有限责任公司 | A kind of edible oil quality method of testing, test container and detecting system |
| CN107796815B (en) * | 2017-10-23 | 2019-11-05 | 青岛啤酒股份有限公司 | A kind of evaluation method of beer foam exquisiteness degree |
| CN109626302A (en) * | 2018-12-29 | 2019-04-16 | 苏州西斯派克检测科技有限公司 | A kind of online test method of beer foreign matter in bottles |
| CN116158663A (en) * | 2022-12-29 | 2023-05-26 | 安徽原野星电器科技有限公司 | Milk source state self-adaptive type milk foam machine control system |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6226081B1 (en) * | 1997-03-24 | 2001-05-01 | Optikos Corporation | Optical height of fill detection system and associated methods |
| JP3420895B2 (en) * | 1996-08-20 | 2003-06-30 | 大和製罐株式会社 | Liquid level detector in can |
| CN102519540A (en) * | 2011-12-10 | 2012-06-27 | 山东明佳包装检测科技有限公司 | Detecting method of beer foam compensating liquid level |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102009022691A1 (en) * | 2009-05-26 | 2010-12-30 | Krones Ag | Method and device for determining a foam density |
-
2013
- 2013-05-28 CN CN201310202867.0A patent/CN103278509B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3420895B2 (en) * | 1996-08-20 | 2003-06-30 | 大和製罐株式会社 | Liquid level detector in can |
| US6226081B1 (en) * | 1997-03-24 | 2001-05-01 | Optikos Corporation | Optical height of fill detection system and associated methods |
| CN102519540A (en) * | 2011-12-10 | 2012-06-27 | 山东明佳包装检测科技有限公司 | Detecting method of beer foam compensating liquid level |
Non-Patent Citations (2)
| Title |
|---|
| 《啤酒泡沫及其检测的探讨》;郑坚武等;《现代商检科技》;19971031;第7卷(第5期);第36-38页 * |
| 《基于计算机视觉的熔渣泡沫高度检测方法》;邓淑贤;《中国优秀硕士学位论文全文数据库》;20061015;第13-15页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103278509A (en) | 2013-09-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103278509B (en) | Foam-appearance-based on-line beer detection method | |
| CN105334219B (en) | A kind of bottle mouth defect detection method of residual analysis dynamic threshold segmentation | |
| CN105046697B (en) | A kind of beer bottleneck localization method assessed based on multiple random loop truss and degree of fitting | |
| CN107664644B (en) | A device and method for automatic detection of object appearance based on machine vision | |
| CN101936915B (en) | Method for detecting dirt on central region of bottom of beer bottle | |
| CN103308113B (en) | A kind of product quality on-line measuring device on beer filling & packing production line | |
| CN103364400A (en) | Multistation intelligent syncretic bottled beer online detection device | |
| CN203551472U (en) | Multistate intelligent fused online detecting device for bottled beer | |
| CN104237252A (en) | Machine-vision-based method and device for intelligently detecting surface micro-defects of product | |
| CN103529053B (en) | Bottle mouth defect detection method | |
| CN111766245B (en) | Button cell negative electrode shell defect detection method based on machine vision | |
| CN107944444B (en) | Method and system for detecting foreign matters in bottled liquid | |
| CN102175700A (en) | Method for detecting welding seam segmentation and defects of digital X-ray images | |
| CN103543205A (en) | Method and system for detecting foreign matters in bottled liquid | |
| CN104976959B (en) | A kind of spring sizes on-line measurement system and its method based on machine vision | |
| CN103698337A (en) | Method for automatically detecting adhesion defect of label of flat wine bottle | |
| CN105954301A (en) | Bottleneck quality detection method based on machine vision | |
| CN110108712A (en) | Multifunctional visual defect detection system | |
| CN104952754B (en) | Sorting method of coated silicon wafers based on machine vision | |
| CN103345632A (en) | Method for detecting surface scratch defects of battery tail end | |
| CN102680494A (en) | Real-time detecting method of metal arc plane flaw based on machine vision | |
| CN106353340A (en) | Surface defect detection method for rod-like high-reflectance part | |
| CN118464725A (en) | Intelligent vision online granularity analysis system based on AI algorithm technology | |
| CN109626302A (en) | A kind of online test method of beer foreign matter in bottles | |
| CN203464969U (en) | Online product quality detection device used on beer filling production line |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant |