CN103010531B - System and method for detecting arrangement confusion and inverted arrangement of cigarettes in cigarette warehouse - Google Patents

System and method for detecting arrangement confusion and inverted arrangement of cigarettes in cigarette warehouse Download PDF

Info

Publication number
CN103010531B
CN103010531B CN201210478855.6A CN201210478855A CN103010531B CN 103010531 B CN103010531 B CN 103010531B CN 201210478855 A CN201210478855 A CN 201210478855A CN 103010531 B CN103010531 B CN 103010531B
Authority
CN
China
Prior art keywords
cigarette
image
white
connected domain
processing unit
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
Application number
CN201210478855.6A
Other languages
Chinese (zh)
Other versions
CN103010531A (en
Inventor
杨建林
岳海涛
段云鹏
邱志勇
杨晓龙
刘昌武
张玉柱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Tobacco Hunan Industrial Co Ltd
Original Assignee
China Tobacco Hunan Industrial Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Tobacco Hunan Industrial Co Ltd filed Critical China Tobacco Hunan Industrial Co Ltd
Priority to CN201210478855.6A priority Critical patent/CN103010531B/en
Publication of CN103010531A publication Critical patent/CN103010531A/en
Application granted granted Critical
Publication of CN103010531B publication Critical patent/CN103010531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a system and a method for detecting arrangement confusion and inverted arrangement of cigarettes in a cigarette warehouse. The system comprises an image acquisition unit, a display, an image processing unit, a multichannel video signal controller and an alarm unit; both the display and the image processing unit are connected with the image acquisition unit; and both the multichannel video signal controller and the alarm unit are connected with the image processing unit. The method comprises the following steps of: carrying out gray processing on cigarette arrangement images acquired by the detection system. carrying out pixel statistics on each white connected domain in the images which are subjected to corrosion and expansion processing, and obtaining a pixel area value S; comparing the S with a cigarette end pixel area M in a cigarette image of cigarettes which are normally arranged; judging whether the cigarettes in the current image are abnormal; and timely triggering alarm. The integral system has a simple structure and is low in cost; the cigarette arrangement detection method on the basis of the system is simple and efficient; labor intensity of workers is reduced; detection efficiency is improved; and detection on invertedly arranged cigarettes fills up a gap of cigarette packaging equipment.

Description

A kind of to the checking system of cigarette malalignment and upside-down mounting in cigarette storehouse and method
Technical field
The present invention relates to checking system and the method for cigarette malalignment and upside-down mounting in a kind of cigarette storehouse.
Background technology
In the cigarette machine equipment of tobacco business, the cigarette of GDX2 wrapping machine packaging source is the cigarette delivery device by upstream, in whole course of conveying, often because of a variety of causes, can often occur the phenomenon of cigarette malalignment, horizontal cigarette and upside-down mounting cigarette.Generally, the cigarette of these improper arrangements enters into cigarette storehouse bottom time, utilizes the detecting device of optical fiber transducer to identify the cigarette of cigarette bottom of the reservior end, and when without cigarette, light is not blocked, and this timer sends signal and makes equipment downtime.Operating personal need be after equipment stops, and by manually cigarette being put in order to can again start shooting (this behavior belongs to passive processing mode), this just causes the shutdown number of times of equipment greatly to increase, and equipment efficiency reduces.Cause operating personal to require a great deal of time in process of production and energy, the cigarette of going to pay close attention in cigarette storehouse is carried and arranging situation, and labour intensity is large, and work efficiency reduces.In addition, to the detection of upside-down mounting cigarette (anti-dress), be a blank in cigarette machine equipment quality prevention field, be a cigarette product technology of the package insurmountable difficult problem always.
Summary of the invention
In a kind of cigarette of the present invention storehouse, cigarette malalignment and the checking system of upside-down mounting and the object of method are to solve cigarette and enter before cigarette storehouse the entanglement occurring in arranging, the problem that upside-down mounting phenomenon cannot be found in time.
A checking system for cigarette malalignment and upside-down mounting in cigarette storehouse, comprises image acquisition units, telltale, graphics processing unit, multi-channel video signal controller and alarm unit; Telltale is all connected with image acquisition units with graphics processing unit, and multi-channel video signal controller is all connected with graphics processing unit with alarm unit; Image acquisition units at least comprises two pick up cameras, and pick up camera is arranged on the both sides of cigarette dressing mechanism.
Described cigarette dressing mechanism adopts low speed, stable, failure-free power driven, and when guaranteeing that cigarette arrives imaging, cigarette will have a metastable shape, avoids system can occur not detect or error detection, guarantees the normal detection of system.
A method of inspection for cigarette malalignment and upside-down mounting in cigarette storehouse, adopts the checking system of cigarette malalignment and upside-down mounting in above-mentioned cigarette storehouse, comprises the steps:
Step 1: multi-channel video signal controller is controlled two pick up cameras and equally spaced gathered the image in cigarette arrangement process simultaneously, detects as follows to the two width images that gather successively:
Step 2: image is carried out to gray scale processing, obtain gray level image A;
Step 3: the white portion in the gray level image A obtaining in step 2 is corroded to operation, then this white portion is carried out to expansive working, thereby the white lines removal that the hole between cigarette in gray level image A is formed obtains image B;
Step 4: image B is carried out to binary conversion treatment and obtain image C;
Step 5: the number of pixels to the white connected domain occurring in image C is added up, each cigarette end or crooked cigarette are corresponding with a connected domain, utilize the elemental area of pick up camera to convert and obtain the size of each pixel in image, number of pixels in cumulative white connect domain, obtains the size of white connect domain;
Step 6: successively white connect domain size is differentiated;
1) if present image is to be positioned at the cigarette direct picture that cigarette front camera obtains, successively the area S of each the white connected domain in image is differentiated, if S is greater than M, the cigarette that wherein M is current camera acquisition is arranged the elemental area of the cigarette end of a cigarette in normal image, judge that the situation that cigarette is crooked has appearred in current white connected domain, enters step 7; Otherwise, continue to judge whether the area of next white connected domain belongs to normal range, until after the institute's adularescent connected domain in present image has been detected, return to step 1, lower piece image is detected;
2) if present image is to be positioned at the cigarette back side image that cigarette back surface camera obtains, successively the area S of each the white connected domain in image is differentiated, if within the scope of 0.6M<S<M, the cigarette that wherein M is current camera acquisition is arranged the elemental area of the cigarette end of a cigarette in normal image, judge that the situation of cigarette upside-down mounting has appearred in current white connected domain, enters step 7; Otherwise, continue to judge whether the area of next white connected domain belongs to normal range, until after the institute's adularescent connected domain in present image has been detected, return to step 2, lower piece image is detected;
Step 7: occur cigarette arrangement abnormal condition, graphics processing unit gives the alarm signal to alarm unit, returns to step 1.
Beneficial effect
Checking system and the method for cigarette malalignment and upside-down mounting in a kind of cigarette of the present invention storehouse, this system comprises image acquisition units, telltale, graphics processing unit, multi-channel video signal controller and alarm unit; Telltale is all connected with image acquisition units with graphics processing unit, and multi-channel video signal controller is all connected with graphics processing unit with alarm unit; The pixels statistics that carries out that the method looks like to carry out the white connected domain in the image after gray scale processing, corrosion and expansion process by the cigarette Pareto diagram to checking system collection obtains elemental area value S, utilize S and the cigarette end elemental area M arranging in normal cigarette image to compare, judge in present image, whether cigarette arrangement is abnormal, if there is extremely timely trigger alarm; By the cigarette Pareto diagram entering on the cigarette dressing mechanism before cigarette storehouse is looked like to carry out Real-time Collection and identification, realized the automation that cigarette storehouse is detected, and accomplished to report to the police in advance, trouble-shooting and need not shutting down, has improved the efficiency of equipment greatly in advance; Out the energy thorough liberation of operating personal, make operating personal have the more time to go to pay close attention to product design simultaneously; The blank of tobacco package equipment has been filled up in the detection of upside-down mounting cigarette, has played good supplementary function to improving the quality of products.
Accompanying drawing explanation
Fig. 1 is structural representation of the present invention;
Fig. 2 is cigarette overhaul flow chart of the present invention;
The cigarette Pareto diagram that Fig. 3 obtains cigarette dressing mechanism front for employing cigarette arrangement of the present invention method of inspection looks like to carry out the procedure chart of Check processing, and wherein, figure a is the cigarette Pareto diagram that is positioned at the camera acquisition in cigarette dressing mechanism front; Figure b is for carrying out the gray-scale map after gray scale processing to figure a; Figure c for to figure b corrode with expansive working after design sketch; Figure d is for carrying out the design sketch after binary conversion treatment to figure c;
The cigarette Pareto diagram that Fig. 4 obtains the cigarette dressing mechanism back side for employing cigarette arrangement of the present invention method of inspection looks like to carry out the procedure chart of Check processing, and wherein, figure a is the cigarette Pareto diagram that is positioned at the camera acquisition at the cigarette dressing mechanism back side; Figure b is for carrying out the gray-scale map after gray scale processing to figure a; Figure c for to figure b corrode with expansive working after design sketch; Figure d is for carrying out the design sketch after binary conversion treatment to figure c.
The specific embodiment
Below in conjunction with accompanying drawing, the present invention will be further described.
As shown in Figure 1, the structural representation for the checking system of cigarette malalignment and upside-down mounting in a kind of cigarette of the present invention storehouse, comprises image acquisition units, telltale, graphics processing unit, multi-channel video signal controller and alarm unit; Telltale is all connected with image acquisition units with graphics processing unit, and multi-channel video signal controller is all connected with graphics processing unit with alarm unit; Image acquisition units at least comprises two pick up cameras, is arranged on respectively the both sides of cigarette dressing mechanism;
Described cigarette dressing mechanism, for carrying out smooth processing to cigarette stream two ends; Cigarette in cigarette storehouse is the movement of falling object, in transfer passage, cigarette is a lot, formed cigarette stream, the two ends of cigarette stream have obvious concavo-convex generation, the clappers of cigarette dressing mechanism carry out flapping of interval 2 seconds to cigarette in the reserved space of cigarette transfer passage wallboard, the convex-concave surface of cigarette stream is clapped whole, when guaranteeing that cigarette arrives imaging and detects, keep cigarette surfacing.
As shown in Figure 2, be the diagram of circuit of the method for inspection of cigarette malalignment and upside-down mounting in a kind of cigarette of the present invention storehouse, the resolution of the pick up camera adopting in the present embodiment is 640 * 480, concrete steps are as follows:
Step 1: control two images equally spaced collection cigarette arrangement process of image acquisition units while from multi-channel video signal controller, successively two width figure are detected as follows;
Step 2: image is carried out to gray scale processing, obtain gray level image A;
Step 3: the white portion obtaining in step 2 is corroded to operation, then white portion is carried out to expansive working, thereby white lines thin in figure are removed, obtain image B;
Step 4: image B is carried out to binary conversion treatment;
Step 5: the number of pixels to the white connected domain in step 4 is added up, utilizes camera pixel to convert to obtain the size of each pixel in image, and the number of pixels in cumulative white connect domain obtains the size of white connect domain;
Step 6: white connect domain size is differentiated;
1) if present image is to be positioned at the cigarette direct picture that cigarette front camera obtains, successively the area S of each the white connected domain in image is differentiated, if S surpasses 2000, the elemental area size that the cigarette of current camera acquisition is arranged the cigarette end of a cigarette in normal image is 2000, judge that the situation that cigarette is crooked has appearred in current white connected domain, enters step 7; Otherwise, continue to judge whether the area of next white connected domain belongs to normal range, until after the institute's adularescent connected domain in present image has been detected, return to step 1, lower piece image is detected;
2) if present image is to be positioned at the cigarette back side image that cigarette back surface camera obtains, successively the area S of each the white connected domain in image is differentiated, if S is in 1500~2000 scopes, the elemental area size that the cigarette of current camera acquisition is arranged the cigarette end of a cigarette in normal image is 2000, judge that the situation of cigarette upside-down mounting has appearred in current white connected domain, enters step 7; Otherwise, continue to judge whether the area of next white connected domain belongs to normal range, until after the institute's adularescent connected domain in present image has been detected, return to step 2, lower piece image is detected;
Step 7: occur cigarette arrangement abnormal condition, graphics processing unit gives the alarm signal to alarm unit, then returns to step 1.
As shown in Figure 3, for adopting the present invention to adopt the procedure chart that looks like to carry out Check processing to being positioned at cigarette Pareto diagram that cigarette dressing mechanism front obtains.
In Fig. 3, scheming a is the cigarette Pareto diagram that is positioned at the camera acquisition in cigarette dressing mechanism front; Figure b is for carrying out the gray-scale map after gray scale processing to figure a; Figure c for to figure b corrode with expansive working after design sketch; Figure d is for carrying out the design sketch after binary conversion treatment to figure c; White connected domain number N in this figure d is added up, and obtaining N is 212; Successively the elemental area of white connected domain is added up, because present image is direct picture, if the elemental area of white connected domain surpasses 2000, graphics processing unit sends alerting signal to alarm unit; When the 161st white connected domain being detected, the elemental area of finding current white connected domain is 2237, and now graphics processing unit sends alerting signal to alarm unit, shows the crooked arrangement of cigarette; And then detect the elemental area of next white connected domain, until detected the elemental area size of institute's adularescent connected domain of present image, whether surpass 2000.
In Fig. 4, scheming a is the cigarette Pareto diagram that is positioned at the camera acquisition at the cigarette dressing mechanism back side; Figure b is for carrying out the gray-scale map after gray scale processing to figure a; Figure c for to figure b corrode with expansive working after design sketch; Figure d is for carrying out the design sketch after binary conversion treatment to figure c; White connected domain number N in this figure d is added up, and obtaining N is 2; Successively the elemental area of white connected domain is added up because present image is direct picture, if the elemental area of white connected domain between 1200~2000, graphics processing unit sends alerting signal to alarm unit; When two white connected domains that detect successively in figure, the elemental area of finding first white connected domain is 1920, and now graphics processing unit sends alerting signal to alarm unit, shows cigarette upside-down mounting and arranges; And then the elemental area that detects next white connected domain is 1810, now graphics processing unit sends alerting signal again to alarm unit, shows cigarette upside-down mounting and arranges.
By the cigarette Pareto diagram entering on the cigarette dressing mechanism before cigarette storehouse is looked like to carry out Real-time Collection and identification, realized the automation that cigarette storehouse is detected, and accomplished to report to the police in advance, trouble-shooting and need not shutting down, has improved the efficiency of equipment greatly in advance; Out the energy thorough liberation of operating personal, make operating personal have the more time to go to pay close attention to product design simultaneously; The blank of tobacco package equipment has been filled up in the detection of upside-down mounting cigarette, has played good supplementary function to improving the quality of products.

Claims (1)

1. the method for inspection of cigarette malalignment and upside-down mounting in a cigarette storehouse, it is characterized in that, the checking system that adopts cigarette malalignment and upside-down mounting in a kind of cigarette storehouse, in described cigarette storehouse, the checking system of cigarette malalignment and upside-down mounting comprises image acquisition units, telltale, graphics processing unit, multi-channel video signal controller and alarm unit; Telltale is all connected with image acquisition units with graphics processing unit, and multi-channel video signal controller is all connected with graphics processing unit with alarm unit; Image acquisition units at least comprises two pick up cameras, and pick up camera is arranged on the both sides of cigarette dressing mechanism;
Comprise the steps:
Step 1: multi-channel video signal controller is controlled two pick up cameras and equally spaced gathered the image in cigarette arrangement process simultaneously, detects as follows to the two width images that gather successively:
Step 2: image is carried out to gray scale processing, obtain gray level image A;
Step 3: the white portion in the gray level image A obtaining in step 2 is corroded to operation, then this white portion is carried out to expansive working, thereby the white lines removal that the hole between cigarette in gray level image A is formed obtains image B;
Step 4: image B is carried out to binary conversion treatment and obtain image C;
Step 5: the number of pixels to the white connected domain occurring in image C is added up, each cigarette end or crooked cigarette are corresponding with a connected domain, utilize the elemental area of pick up camera to convert and obtain the size of each pixel in image, number of pixels in cumulative white connect domain, obtains the size of white connect domain;
Step 6: successively white connect domain size is differentiated;
1) if present image is to be positioned at the cigarette direct picture that cigarette front camera obtains, successively the area S of each the white connected domain in image is differentiated, if S is greater than M, the cigarette that wherein M is current camera acquisition is arranged the elemental area of the cigarette end of a cigarette in normal image, judge that the situation that cigarette is crooked has appearred in current white connected domain, enters step 7; Otherwise, continue to judge whether the area of next white connected domain belongs to normal range, until after the institute's adularescent connected domain in present image has been detected, return to step 1, lower piece image is detected;
2) if present image is to be positioned at the cigarette back side image that cigarette back surface camera obtains, successively the area S of each the white connected domain in image is differentiated, if within the scope of 0.6M<S<M, the cigarette that wherein M is current camera acquisition is arranged the elemental area of the cigarette end of a cigarette in normal image, judge that the situation of cigarette upside-down mounting has appearred in current white connected domain, enters step 7; Otherwise, continue to judge whether the area of next white connected domain belongs to normal range, until after the institute's adularescent connected domain in present image has been detected, return to step 2, lower piece image is detected;
Step 7: occur cigarette arrangement abnormal condition, graphics processing unit gives the alarm signal to alarm unit, returns to step 1.
CN201210478855.6A 2012-11-22 2012-11-22 System and method for detecting arrangement confusion and inverted arrangement of cigarettes in cigarette warehouse Active CN103010531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210478855.6A CN103010531B (en) 2012-11-22 2012-11-22 System and method for detecting arrangement confusion and inverted arrangement of cigarettes in cigarette warehouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210478855.6A CN103010531B (en) 2012-11-22 2012-11-22 System and method for detecting arrangement confusion and inverted arrangement of cigarettes in cigarette warehouse

Publications (2)

Publication Number Publication Date
CN103010531A CN103010531A (en) 2013-04-03
CN103010531B true CN103010531B (en) 2014-08-20

Family

ID=47959755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210478855.6A Active CN103010531B (en) 2012-11-22 2012-11-22 System and method for detecting arrangement confusion and inverted arrangement of cigarettes in cigarette warehouse

Country Status (1)

Country Link
CN (1) CN103010531B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103895913B (en) * 2014-03-05 2016-01-13 楚天科技股份有限公司 A kind of method and device detecting transmission bottle state
CN106697377B (en) * 2017-01-12 2019-06-04 龙岩烟草工业有限责任公司 The horizontal cigarette detection method of cigarette transfer passage, device and system
CN109917660B (en) * 2018-07-25 2021-09-28 永康市巴九灵科技有限公司 Cabinet platform based environment detection system
CN110135256B (en) * 2019-04-12 2021-06-01 红云红河烟草(集团)有限责任公司 Method and apparatus for judging horizontal smoke
CN110127132A (en) * 2019-04-26 2019-08-16 山东中烟工业有限责任公司 A kind of unrest cigarette detection system and method
CN110790213A (en) * 2019-11-07 2020-02-14 陈定良 Vehicle-mounted gas station
CN112595240B (en) * 2020-12-22 2022-09-27 红云红河烟草(集团)有限责任公司 Method for automatically monitoring data by using cigarettes
CN114158764A (en) * 2021-12-13 2022-03-11 龙岩烟草工业有限责任公司 Messy smoke detection method, messy smoke detection device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4000658A1 (en) * 1989-01-13 1990-08-09 Gd Spa TESTING SYSTEM FOR THE END OF CIGARETTE GROUPS
US6446632B1 (en) * 1999-02-01 2002-09-10 Focke & Co. (Gmbh & Co.) Process and apparatus for detecting and eliminating defective and/or incorrectly positioned cigarettes
CN2827883Y (en) * 2005-04-20 2006-10-18 昆明卷烟厂 Detection processing system for back packaging and upside down packaging of cigaretter case packing machine
CN202030022U (en) * 2011-04-20 2011-11-09 任久生 Messed cigarette detecting device for cigarette conveyance
CN102502000A (en) * 2011-10-25 2012-06-20 中国电子科技集团公司第四十一研究所 Method for detecting lack and upending of cigarettes in cigarette packet on basis of machine vision technology
CN203064257U (en) * 2012-11-22 2013-07-17 湖南中烟工业有限责任公司 System for detecting cigarette disorderly arrangement and upside-down charging inside cigarette warehouse

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4000658A1 (en) * 1989-01-13 1990-08-09 Gd Spa TESTING SYSTEM FOR THE END OF CIGARETTE GROUPS
US6446632B1 (en) * 1999-02-01 2002-09-10 Focke & Co. (Gmbh & Co.) Process and apparatus for detecting and eliminating defective and/or incorrectly positioned cigarettes
CN2827883Y (en) * 2005-04-20 2006-10-18 昆明卷烟厂 Detection processing system for back packaging and upside down packaging of cigaretter case packing machine
CN202030022U (en) * 2011-04-20 2011-11-09 任久生 Messed cigarette detecting device for cigarette conveyance
CN102502000A (en) * 2011-10-25 2012-06-20 中国电子科技集团公司第四十一研究所 Method for detecting lack and upending of cigarettes in cigarette packet on basis of machine vision technology
CN203064257U (en) * 2012-11-22 2013-07-17 湖南中烟工业有限责任公司 System for detecting cigarette disorderly arrangement and upside-down charging inside cigarette warehouse

Also Published As

Publication number Publication date
CN103010531A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103010531B (en) System and method for detecting arrangement confusion and inverted arrangement of cigarettes in cigarette warehouse
CN205142361U (en) Bolt state check out test set
CN101833118B (en) Detection method of plate clamping for PCB (Printed Circuit Board) horizontal line
CN205022961U (en) Anti - cigarette detecting system of indiscriminate cigarette based on PLC and vision sensing
CN203064257U (en) System for detecting cigarette disorderly arrangement and upside-down charging inside cigarette warehouse
CN102661952A (en) Image-based steel wire rope breakage detection device
CN106645187B (en) Tobacco bale outward appearance detects removing devices based on IPC technique
CN204314230U (en) A kind of damage detection device for high voltage cable
CN105059870A (en) Belt tearing detection device based on image processing
CN105217096A (en) A kind of trunkful method of inspection and check implement
CN103241521A (en) Belt operation control system and control method thereof
CN102490940B (en) Machine vision-based pill number detection device and detection method
CN204759441U (en) Two -dimensional code check out test set and corresponding detecting system
CN202464233U (en) Pill quantity detection device based on machine vision
CN204831206U (en) Online length measurement system of non -contact panel
CN204489907U (en) Belt transporter is piled up, is torn intelligent detection device
CN205150430U (en) Strip cigarette detection device that acts as go -between
CN214111987U (en) Full-automatic sesame oil production line who spouts sign indicating number
CN204602641U (en) A kind of stokehold plug-in unit quality automatic checkout equipment
CN103803267B (en) A kind of method of inspection of belt conveyor material flow checking system of transported material
CN209780916U (en) Outer lining trolley system
CN202686863U (en) Cigarette position detection alarm device for cigarette sorting line
CN201946574U (en) Device for detecting cleanliness of surface of silicon wafer
CN202257664U (en) Bundled copper pipe counting device based on machine visual sense
CN201849682U (en) Cigarette carton lacking piece detecting device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant