CN106018412A - Bottle cap surface production date detection method based on visible light communication - Google Patents
Bottle cap surface production date detection method based on visible light communication Download PDFInfo
- Publication number
- CN106018412A CN106018412A CN201610315544.6A CN201610315544A CN106018412A CN 106018412 A CN106018412 A CN 106018412A CN 201610315544 A CN201610315544 A CN 201610315544A CN 106018412 A CN106018412 A CN 106018412A
- Authority
- CN
- China
- Prior art keywords
- bottle cap
- visible ray
- signal
- visible light
- visible
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
- G01N2021/8887—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
Abstract
The invention relates to a bottle cap surface production date detection method based on visible light communication. The method comprises the steps that an image of a product which is provided with a bottle cap and passes through a production line is shot through an industrial camera; the image is subjected to median filtering, binaryzation is conducted on the image according to a preset fixed threshold value, the edge of the bottle cap is found in the image subjected to binaryzation and serves as a circle edge, a coordinate system is established by taking a circle center as the original point, and therefore the portion inside the circle edge serves as a processing area; whether the product is qualified or not is judged by taking a production data spray code as the detection target, and online detection on the production date on the surface of the bottle cap is achieved. The bottle cap surface production date detection method based on visible light communication is characterized in that a visible light communication module can be used for sensing changes of external light rays and control brightness of an LED ring light source irradiated on the surface of the bottle cap. By means of a visible light communication technology, the influence of surrounding light on the system is solved, and the accuracy and reliability of detection are improved.
Description
Technical field
The present invention relates to a kind of bottle cap surface production date online test method, belong to visible light communication field.
Background technology
In the industrial production line such as beverage, medicated beer, such as during bottle cap produces, need to print the date of manufacture on bottle cap, usually have coding and obscure or leakage
The situation of spray.These substandard products come into the market and can cause the quality of consumer's distrust product, and impact is sold, and even result in drink expired product by mistake
The problems such as health risk.
For above-mentioned situation, current existing technology is to use a set of on-line detecting system based on machine vision, sets up a set of optical imagery, image
Gather and numeral image process and analysis is the detecting system of platform.Not only there is theoretical foundation, and have the biggest economic worth, it can be ensured that
Reduce in maximum magnitude and stop above-mentioned phenomenon and occur, improve product quality.Such as patent application 2015107440350 provides one and regards based on machine
The bottle cap surface production date detection method felt.
But in bottle cap context of detection, usually the environment of surrounding is had higher requirements, the threshold value of image procossing is had a significant impact by the power of such as light,
The natural light difference in daytime and evening is very big in the factory, directly affects the setting of threshold value in detection algorithm.
Summary of the invention
It is an object of the invention to, overcome the limitation that in prior art, bottle cap detection is affected by environment, propose a kind of bottle cap based on visible light communication
Surface production date detection method.The method passes through visible light communication technology, solves the detection ambient light impact on system, is just improve detection
Really rate and reliability.Technical scheme is as follows:
A kind of bottle cap surface production date detection method based on visible light communication, utilizes the industrial camera shooting product with bottle cap by production line
Image;Image is carried out medium filtering, according to default fixed threshold, image is carried out binaryzation, image the most after binarization finds bottle
Lid edge is as round edge, and sets up coordinate system with the center of circle for initial point, thus as processing region inside round edge, using date of manufacture coding as detection
Target, it is determined whether qualified, it is achieved the on-line checking on bottle cap surface production date, it is characterised in that
Utilize the change of visible light communication module perception ambient, control to be radiated at bottle cap surface LED annular light source bright secretly, it is seen that optic communication
Module includes visible ray receiver module, visible ray generation module, visible ray coding module and visible ray control module, and step is as follows:
(1) visible ray receiver module perception external world visible light ray change and by light signal collection now;
(2) visible ray generation module receives the optical signal that visible ray receiver module is transmitted, and utilizes light sensor and uses high level signal with low
Level signal is converted into visible ray digital signal;
(3) visible ray coding module receives the visible ray digital signal that visible ray generation module transmits, and by binary cell to visible ray numeral
Signal encodes, and visible light signal after being encoded also sends visible ray control module to;
(4) visible light signal after coding is contrasted, according to comparing result by digital signal by visible ray control module with the optical signal value preset
Be converted to optical signal thus regulate the luminosity of LED annular light source.
The invention has the beneficial effects as follows: visible light communication is combined with machine vision on-line checking by the present invention, solve surrounding to detection algorithm
Impact, improve the accuracy rate of detection.Secondly, the method is affected by environment less, even if environmental change is big, it is also ensured that binary-state threshold
Keep constant, improve the accuracy rate of detection bottle cap date of manufacture;The method can be attached on existing production line, realize limit produce frontier inspection survey
Line detects.The present invention is the most accurately detection of bottle cap surface production date be applicable to automated production.
Accompanying drawing explanation
Fig. 1 is for the device schematic diagram detected the bottle cap surface production date based on visible light communication of the present invention.
The visible light communication module used in Fig. 2 present invention.
The flow chart of the visible light communication transmission method that Fig. 3 regulates based on LED luminance.
The coded method flow chart of Fig. 4 visible light signal.
Relation schematic diagram between Fig. 5 signal and level.
The main interface of Fig. 6 visible light communication module regulation LED luminance.
Detailed description of the invention:
The present invention will be further described with instantiation below in conjunction with the accompanying drawings.
See Fig. 1, the bottle cap surface production date detecting system device based on visible light communication of the present invention, functionally divides 6 modules, i.e. passes
Send band 1, image capture module 2, optical trigger 3, lighting module 4, visible light communication module 5, image procossing and identification 6.Above-mentioned image
Acquisition module 2 uses 1,200,000 pixel CCD camera, and lighting module 4 uses LED annular light source, image procossing and identification module 6 to use industrial computer.
Bottle to be measured is transported to station of taking pictures by conveyer belt 1, and described photoelectric trigger device 3 is used for detecting whether bottle arrives picture-taking position, in order to produce arteries and veins
Rushing signal and be transported to industrial computer 6, industrial computer sends signal triggering camera 2 and takes pictures;Visible light communication module 5 regulates by gathering external optical signals
The brightness of annular light source 4, provides illumination to improve picture quality when annular light source 4 is taken pictures for camera, CCD camera is positioned at directly over conveyer belt 1,
And take pictures by the middle of annular light source, the image of shooting is transported in industrial computer 6 process.
See Fig. 2: the visible light communication module that uses in the present invention and see Fig. 3: the visible light communication based on LED luminance regulation of the present invention
The flow chart of transmission method, step is as follows:
(1) visible ray receiver module A1 visible light ray in the perception ambient atmosphere environment change and by light signal collection now, be transported to
In next module, reach the real-time synchronization with ambient.
(2) visible ray generation modules A 2 is used for receiving the optical signal that described visible ray receiver module A1 is transmitted, and converts thereof into visible ray numeral
Signal.In the process, it is seen that light generation module utilizes the light sensor carried and uses high level signal and low level signal to be converted into number
Word signal.
(3) visible ray coding module A3 is for receiving the visible ray digital signal that described visible ray generation modules A 2 transmits, and believes visible ray numeral
Number encode.In the process, it is seen that data to be transmitted is encoded by pumped FIR laser module by binary cell.
(4) visible ray sending module A4 sends the visible light signal after the coding of reception to visible ray control module A5.
(5) visible ray control module A5 can be by the visible light signal after the coding that described visible ray sending module A4 receives and the optical signal preset
Value contrasts, and finally utilizes the electrical to optical converter carried to convert digital signals into optical signal thus regulates the state of LED annular light source A6.Institute
The state stating LED annular light source A6 specifically refers to its luminosity, because the luminosity of LED can directly affect production on bottle cap detected
The picture quality on date.
Seeing Fig. 4, be the coded method flow chart of a kind of visible light signal that the present embodiment provides, this coded method includes:
1) persistent period of each high level, and each low level persistent period are set.Such as, the persistent period arranging each high level is
2ms, each low level persistent period is 30ms.
2) making a distinction with low level delay between high level group, each high level group represents signal with the number of high level.Such as: each high electricity
The flat persistent period is 2ms, often organizes most four high level, and often group level number represents that 2bit signal, four groups of signals represent a byte.That is: when one
When high level number is 1 in group, represent 00;When high level number is 2, representation signal 01, when high level signal number is 3 interval scales
Signal 10;When high level number is 4, representation signal 11.The signal corresponding relation of high level number and representative is as shown in Table 1:
Table one
High level number | 1 | 2 | 3 | 4 |
Signal (2bit) | 00 | 01 | 10 | 11 |
3) signal of each group is combined, it is thus achieved that coded data.See the relation schematic diagram as shown in Figure 5 between signal and level, Fig. 5
In four groups of signals represent 00,11,01,10 respectively, the low level time delay between each signal is 30ms, and the signal after combination is a word
Joint is represented in binary as: 00110110.
4) coded system that this example provides, represents signal with the number of high level, to distinguish low level time delay between high level group,
Simple and convenient.
See the main interface of Fig. 6: visible light communication module regulation LED luminance, in figure 5 it can be seen that
(1) this visible light communication module can be attached by two kinds of communication modes with LED annular light source, be RS232 serial ports respectively with
Too network interface, this example uses RS232 serial ports.
(2) this visible light communication module the most at most can pass through CH1 by external 4 LED light sources respectively, and CH2, CH3, CH4 control
Its brightness, shows the most external 1 LED light source in this example.
(3) this visible light communication module adjustable light-source brightness rank is that 0-255 level can set, and each passage exports with the brightness degree value set,
The brightness value arranging LED light source in this example is 137, and LED lamp is flicker per second million times when lighting, and sending speed is 10 15Gbits/s
Optical signal.
Each technical characteristic of the above example can combine arbitrarily, for making description succinct, not to each technical characteristic institute in above-mentioned example
Possible combination is all described, but, as long as the combination of these technical characteristics does not exist contradiction, all it is considered as the scope that invention is recorded.
Summing up content described above, bottle cap surface production date detection method step based on visible light communication is as follows:
(1) on the premise of visible light communication module uses said method to regulate LED annular light source brightness, industrial camera is placed into production line
Station to be measured directly over workpiece conveyor, and the product with bottle cap on position to be measured, will be placed, the regulation exposure compensating of camera own makes it with front
State the LED annular light source regulated and jointly act on bottle cap background image and the date of manufacture coding obtaining contrast maximum.
(2) starting conveyer belt, bottle to be measured arrives camera site with conveyer belt, triggers camera and obtains bottle cap image to be measured, arrives through channel transfer
Industrial computer image processing system.
(3) first image is carried out medium filtering, then image is carried out binaryzation, set suitable threshold value, improve image recognition rate.Then
Image after binarization finds bottle cap edge as round edge, and set up coordinate system with the center of circle for initial point, thus as processing region inside round edge,
Date of manufacture coding, as detection target, can set suitably detection object pixel size according to practical situation, when number of targets is in the threshold value set
It is qualified to be then judged to, is otherwise judged to defective.
Claims (2)
1. a bottle cap surface production date detection method based on visible light communication, utilize industrial camera shooting by production line with bottle cap
The image of product;Image is carried out medium filtering, according to default fixed threshold, image is carried out binaryzation, image the most after binarization is looked for
To bottle cap edge as round edge, and set up coordinate system with the center of circle for initial point, thus as processing region inside round edge, using date of manufacture coding as
Detection target, it is determined whether qualified, it is achieved the on-line checking on bottle cap surface production date, it is characterised in that
Utilize the change of visible light communication module perception ambient, control to be radiated at bottle cap surface LED annular light source bright secretly, it is seen that optic communication
Module includes visible ray receiver module, visible ray generation module, visible ray coding module and visible ray control module, and step is as follows:
(1) visible ray receiver module perception external world visible light ray change and by light signal collection now;
(2) visible ray generation module receives the optical signal that visible ray receiver module is transmitted, and utilizes light sensor and uses high level signal with low
Level signal is converted into visible ray digital signal;
(3) visible ray coding module receives the visible ray digital signal that visible ray generation module transmits, and by binary cell to visible ray numeral
Signal encodes, and visible light signal after being encoded also sends visible ray control module to;
(4) visible light signal after coding is contrasted, according to comparing result by digital signal by visible ray control module with the optical signal value preset
Be converted to optical signal thus regulate the luminosity of LED annular light source.
Bottle cap surface production date detection method based on visible light communication the most according to claim 1, it is characterised in that step (3)
In, by binary cell to the cryptoprinciple of visible ray encoding digital signals it is: make a distinction with low level delay between high level group,
Each high level group represents signal with the number of high level.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610315544.6A CN106018412A (en) | 2016-05-12 | 2016-05-12 | Bottle cap surface production date detection method based on visible light communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610315544.6A CN106018412A (en) | 2016-05-12 | 2016-05-12 | Bottle cap surface production date detection method based on visible light communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106018412A true CN106018412A (en) | 2016-10-12 |
Family
ID=57100618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610315544.6A Pending CN106018412A (en) | 2016-05-12 | 2016-05-12 | Bottle cap surface production date detection method based on visible light communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106018412A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106932006A (en) * | 2017-04-12 | 2017-07-07 | 浙江硕和机器人科技有限公司 | A kind of product quality testing equipment based on machine vision |
CN108734945A (en) * | 2017-04-20 | 2018-11-02 | 台达电子工业股份有限公司 | The sensor instruction transmission realized by light source and configuration method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0634575A (en) * | 1992-07-21 | 1994-02-08 | Asahi Chem Ind Co Ltd | Bottle inspection method |
CN104756602A (en) * | 2012-10-18 | 2015-07-01 | 首尔半导体株式会社 | Light emitting apparatus |
CN204810630U (en) * | 2015-07-27 | 2015-11-25 | 西北农林科技大学 | Wireless regulation and control system of experiment by candling based on singlechip |
CN105115425A (en) * | 2015-08-31 | 2015-12-02 | 江苏大学 | Vision-based precision measuring instrument of small-size part |
CN105301003A (en) * | 2015-11-05 | 2016-02-03 | 天津大学 | Method for detecting bottle cap surface production date based on machine vision |
CN105424722A (en) * | 2015-11-05 | 2016-03-23 | 天津大学 | Bottle cap unqualified product marking method based on machine vision |
-
2016
- 2016-05-12 CN CN201610315544.6A patent/CN106018412A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0634575A (en) * | 1992-07-21 | 1994-02-08 | Asahi Chem Ind Co Ltd | Bottle inspection method |
CN104756602A (en) * | 2012-10-18 | 2015-07-01 | 首尔半导体株式会社 | Light emitting apparatus |
CN204810630U (en) * | 2015-07-27 | 2015-11-25 | 西北农林科技大学 | Wireless regulation and control system of experiment by candling based on singlechip |
CN105115425A (en) * | 2015-08-31 | 2015-12-02 | 江苏大学 | Vision-based precision measuring instrument of small-size part |
CN105301003A (en) * | 2015-11-05 | 2016-02-03 | 天津大学 | Method for detecting bottle cap surface production date based on machine vision |
CN105424722A (en) * | 2015-11-05 | 2016-03-23 | 天津大学 | Bottle cap unqualified product marking method based on machine vision |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106932006A (en) * | 2017-04-12 | 2017-07-07 | 浙江硕和机器人科技有限公司 | A kind of product quality testing equipment based on machine vision |
CN108734945A (en) * | 2017-04-20 | 2018-11-02 | 台达电子工业股份有限公司 | The sensor instruction transmission realized by light source and configuration method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI532331B (en) | Transmitting and receiving apparatus and method for light communication, and the light communication system and method thereof | |
CN105865570A (en) | Machine vision-based glass bottle liquid level detection method | |
CN105634602A (en) | Remote visible light communication system | |
CN103017869A (en) | Water level measuring system and method based on digital image processing | |
CN106052793A (en) | Machine vision based liquid level sub-quality product marking method | |
CN104113744A (en) | All-weather colour camera white balance processing method and device | |
CN105891765A (en) | Equipment for intelligent detection of electric meter defects | |
CN107346653A (en) | A kind of GAMMA curves adjusting process and device based on deep learning | |
CN104113743A (en) | Colour camera automatic white balance processing method and device under low illumination | |
CN109461156B (en) | Threaded sealing plug assembly detection method based on vision | |
CN106018412A (en) | Bottle cap surface production date detection method based on visible light communication | |
CN108875820A (en) | Information processing method and device, electronic equipment, computer readable storage medium | |
CN108120353A (en) | A kind of flash hole detection device and its method based on smart camera | |
CN201707305U (en) | Inspection system for inspecting quality of container caps | |
CN101937505B (en) | Target detection method and equipment and used image acquisition device thereof | |
CN104360257B (en) | A kind of LED creepage detection methods and device | |
CN106841226B (en) | Cable orientation detection and correction system | |
CN207218700U (en) | A kind of monocular alignment system based on visible light communication | |
CN104776799B (en) | Detection device and method before the cosmetic welding of shadow feature are built using lateral light | |
CN103973952A (en) | Four-dimensional human body recognition device | |
CN109697422B (en) | Optical motion capture method and optical motion capture camera | |
CN105301003A (en) | Method for detecting bottle cap surface production date based on machine vision | |
CN105572080A (en) | Non-contact automatic float glass tin surface recognition device and method | |
CN105865569A (en) | Glass bottle liquid level detection method based on visible light communication | |
CN107833223B (en) | Fruit hyperspectral image segmentation method based on spectral information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161012 |