CN109946229A - A kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection method - Google Patents

A kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection method Download PDF

Info

Publication number
CN109946229A
CN109946229A CN201910137821.2A CN201910137821A CN109946229A CN 109946229 A CN109946229 A CN 109946229A CN 201910137821 A CN201910137821 A CN 201910137821A CN 109946229 A CN109946229 A CN 109946229A
Authority
CN
China
Prior art keywords
bracing wire
high speed
speed camera
detection
master cpu
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
Application number
CN201910137821.2A
Other languages
Chinese (zh)
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.)
NANJING WIT ELECTRONIC SCIENCE & TECHNOLOGY Co Ltd
Original Assignee
NANJING WIT ELECTRONIC SCIENCE & TECHNOLOGY 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 NANJING WIT ELECTRONIC SCIENCE & TECHNOLOGY Co Ltd filed Critical NANJING WIT ELECTRONIC SCIENCE & TECHNOLOGY Co Ltd
Priority to CN201910137821.2A priority Critical patent/CN109946229A/en
Publication of CN109946229A publication Critical patent/CN109946229A/en
Pending legal-status Critical Current

Links

Abstract

The present invention relates to a kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection methods, wherein system includes microcontroller and the high speed camera being connected with the microcontroller and LED light source, the LED light source is located at the front end of high speed camera and the optical center of LED light source intersects with the optical center of high speed camera, the center alignment fiducials bracing wire of high speed camera, the microcontroller include master cpu and the memory being connected with the master cpu and LED touch screen.Using DSP processing technique, arithmetic speed is fast, and processing capacity is strong, adapts to complicated algorithm, can accurately detect the presence or absence of double bracing wires of all kinds of profile bar packets or offset;High speed camera uses full view image vision detection mode, supports multiwindow application, freely sets detection range;Touch screen display function, the operating status and all kinds of operation datas of the detection of real-time display current production.

Description

A kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection method
Technical field
The present invention relates to tobacco package technical field of quality detection more particularly to a kind of double bracing wires of cigarette carton packet intelligent digital Detection system and detection method.
Background technique
In cigarette production process, layer of transparent wrapping paper is wrapped up outside packing box, has played sealing, moisture-proof effect, and Packaging is dismantled convenient for user by bracing wire, the problems such as the missing of bracing wire, deviation, seriously affects the quality of carton box cigarette.
Currently, domestic each cigarette enterprise takes much count of the mass defect of CV item packet bracing wire, it is also mounted with various items accordingly Packet stay wire testing apparatus is detected the presence or absence of bracing wire, can not be detected bracing wire using the jogging sensor mode of simple and mechanical principle Offset;After packaging forming, mounting bar packet vision inspection apparatus, such detection is mounted on after cigarette packet shaping, and price is high and deposits The missing inspection, erroneous detection the phenomenon that, exist to transparent wire stay detection obvious insufficient;Using image detecting method, the detection method light source The problems such as decaying is very fast, and detection accuracy is low, detection is not sensitive enough, and daily maintenance adjustment is cumbersome.
Summary of the invention
The purpose of the present invention is to provide a kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection methods, use Image vision technology shoots image full view, and detection accuracy freely determines detection range by way of delineating window, full The double bracing wire craft quality standards of sufficient item packet.
To achieve the above object, technical scheme is as follows:
A kind of double bracing wire detection systems of cigarette carton packet intelligent digital, including microcontroller and the high speed being connected with the microcontroller Camera and LED light source, the LED light source are located at the front end of high speed camera and the optical center of LED light source and high speed camera Optical center intersection, the center alignment fiducials bracing wire of high speed camera, the microcontroller include master cpu and with the master cpu The memory and LED touch screen being connected.
In above scheme, the microcontroller further includes deserializer, be connected to high speed camera and master cpu it Between, the serial signal for transmitting high speed camera is converted to the parallel signal of master cpu identification.
In above scheme, the LED touch screen is equipped with the detection window equal with bracing wire quantity, and detection is corresponding respectively draws Line simultaneously shows detection data.
In above scheme, the microcontroller further includes network chip, and the network chip is electrically connected with master cpu, right Outer connection PC machine, for the image data of master cpu to be transmitted to PC machine.
A kind of double bracing wire detection methods of cigarette carton packet intelligent digital, include the following steps:
S1, Initialize installation, called data memory data, to window Initialize installation, synchronous LED light source and high speed camera The flash of light of Image Acquisition controls;
S2, Image Acquisition, high speed camera cooperated with LED light source shoot and the picture signal of acquisition are converted into LVDS serial signal Transmission;
S3, picture signal transmission, LVDS serial signal are converted into parallel signal through deserializer and transmit through bus transceiver To master cpu;
S4, image-computing analysis, master cpu carries out geometrical normalization processing to image bracing wire size, and image data is sent It is shown to LED touch screen.
Wherein, in step S4, the data of geometrical normalization processing include the first detection window data and the second detection window Data sequentially carry out mean filter to the first detection window data and the second detection window data respectively and seek binary entropy, determine Whether in setting range, rejecting signal is sent if binary entropy numerical value is lower than preset value.
In above scheme, the calculation formula of the binary entropy is H(X)=Σ-P (i, j) * lgP (i, j), wherein i is current Grey scale pixel value, j are the mean value of 8 neighborhood of current pixel, and it is current pixel gray value i that the range of i and j, which are 0~255, P (i, j), The probability occurred with the mean value j of 8 neighborhood of current pixel, while the mean value of current pixel sum of the grayscale values current pixel neighborhood being segmented Accumulation calculating, forming size is the new binary array of 25*25.
The double bracing wire detection systems of cigarette carton packet intelligent digital of the invention and detection method, using DSP processing technique, operation Speed is fast, and processing capacity is strong, adapts to complicated algorithm, can accurately detect the presence or absence of double bracing wires of all kinds of profile bar packets or offset;At a high speed Camera uses full view image vision detection mode, supports multiwindow application, freely sets detection range;Touch screen shows function Can, the operating status and all kinds of operation datas of the detection of real-time display current production.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the double bracing wire detection systems of intelligent digital in one embodiment of the invention;
Fig. 2 is the flow chart of the double bracing wire detection methods of intelligent digital in one embodiment of the invention;
Description of symbols: 1, high speed camera, 2, LED light source, 3, microcontroller, 4, benchmark bracing wire.
Specific embodiment
Technical solution of the present invention is described in further detail with reference to the accompanying drawings and examples.
Such as Fig. 1, the double bracing wire detection systems of cigarette carton packet intelligent digital of the invention, including microcontroller 3 and and microcontroller The connected high speed camera 1 of device 3 and LED light source 2.Wherein, LED light source 2 is located at front end and the LED light source 2 of high speed camera 1 Optical center intersects with the optical center of high speed camera 1, the center alignment fiducials bracing wire 4 of high speed camera 1.Microcontroller 3 includes master control CPU, deserializer, memory and LED touch screen, memory and LED touch screen are electrically connected with master cpu respectively, serial to solve String device is connected between high speed camera 1 and master cpu, and the serial signal for transmitting high speed camera 1 is converted to master control The parallel signal of CPU identification.Wherein, memory includes synchronous DRAM, program storage, data storage, number The setting parameter of memory window is used for according to memory, program storage to synchronize dynamic for storing image processing software program code State random access memory is used to store the image data of acquisition.
When item packet to be detected be drawstring through high speed camera 1 find a view area when, LED light source 2 illuminates bracing wire, high speed camera 1 starts to shoot image, and when item packet glassine paper to be detected is by image acquisition region, 1 cooperated with LED light source 2 of high speed camera is complete At Image Acquisition, and continuous shooting style is used, the acquisition speed of each image is 5-6ms.The item packet that high speed camera 1 is shot Glassine paper picture signal is transmitted to synchronous DRAM, master cpu passes through by dedicated data line and image pick-up card Image processing software carries out geometrical normalization processing to image bracing wire size, makes bracing wire in the same sizeization, and in LED touch screen display Show calculating data.
Wherein, LED touch screen is equipped with the first detection window and the second detection window, detects two bracing wires, such as No. 0 respectively Bracing wire and No. 1 bracing wire, No. 0 bracing wire are correspondingly provided with detected value and setting value window, and No. 1 bracing wire is correspondingly provided with detected value and setting value Window;Detected value is used to show the real time value of current bracing wire on-line checking, setting value, that is, threshold value, for setting detection bracing wire A reference value, when detected value is then rejected lower than a reference value;First detection window, for the detection range of No. 0 bracing wire, the second inspection to be arranged Window is surveyed, for the detection range of No. 1 bracing wire to be arranged, the test spacing of No. 0 bracing wire and No. 1 bracing wire can be set according to the actual situation Fixed, maximum can tune to 10mm.
In order to allow users to facilitate it is succinct system is operated and is arranged, microcontroller 3 further includes network chip, Network chip is internally electrically connected with master cpu, external connection PC machine, complete for the image data of master cpu to be transmitted to PC machine It is controlled at operation.
In one embodiment, the imaging sensor in high speed camera 1 uses PYTHON1300 chip, and defeated using LVDS Out, master cpu uses the 600MHz DSP BF533 chip of ADI company, and deserializer selects DS92LV1212A chip.
Master cpu powers on, called data in-memory data, carries out initialization to PYTHON1300 by 12C bus and sets It sets, and controls the flashing speed of LED light source 2 by timer internal;PYTHON1300 acquires picture signal and by parallel signal LVDS serial signal is converted to, the LVDS serial signal change that DS92LV1212A receives PYTHON1300 transmission is converted into parallel letter Number, parallel signal is transmitted and is transmitted to the PPI interface of master cpu by bus transceiver, and the image data of processing is passed through string by DSP Mouth is sent to LED touch screen, and can be configured by LED touch screen.DSP can also be by network chip DM9000 by picture number According to being uploaded to PC machine, and DSP is configured by PC machine.
A kind of double bracing wire detection methods of cigarette carton packet intelligent digital, include the following steps:
Step 1, Initialize installation, called data memory data, to window Initialize installation, synchronous LED light source 2 and high speed The flash of light of 1 Image Acquisition of camera controls;
The picture signal of acquisition is simultaneously converted into LVDS string by step 2, Image Acquisition, the shooting of 1 cooperated with LED light source 2 of high speed camera The transmission of row signal;
Step 3, picture signal transmission, LVDS serial signal through deserializer are converted into parallel signal and through bus transceivers It is transmitted to master cpu;
Step 4, image-computing analysis, master cpu carry out geometrical normalization processing to image bracing wire size, and by image data LED touch screen is sent to show.
Wherein, in step 4, the data of geometrical normalization processing include the first detection window data and the second detection window Data sequentially carry out mean filter to the first detection window data and the second detection window data respectively and seek binary entropy, determine Whether in setting range, rejecting signal is sent if numerical value is lower than preset value.The calculation formula of binary entropy is H(X)=Σ-P (i, j) * lgP (i, j), wherein i is current pixel gray value, and j is the mean value of 8 neighborhood of current pixel, the range of i and j is 0~ 255, P (i, j) are the probability that the mean value j of 8 neighborhood of current pixel gray value i and current pixel occurs, while current pixel is grey The mean value j of 8 neighborhood of angle value i and current pixel is segmented accumulation calculating, and forming size is the new binary array of 25*25.
DSP electrification reset reads data in data storage, carries out initialization to PYTHON1300 by I2C bus and sets It sets, setting timer internal controls LED light source 2 and glistens, and when high speed camera 1 is normal, interrupts setting to the PPI of DSP, waits PPI data, determine whether valid data, and when data are effective, the first detection window is opened, to the acquisition image of No. 0 bracing wire It carries out mean filter and finds out its binary entropy, when No. 0 bracing wire binary entropy is not when being arranged in range, signal is rejected in submitting;Secondly, Second detection window is opened, and is carried out mean filter to the acquisition image of No. 1 bracing wire and is found out its binary entropy, when No. 1 bracing wire binary Entropy is sent out not when being arranged in range and rejects signal.When the first detection window is without acquisition image, the second detection can be directly entered Window carries out image real time transfer.
In one embodiment, the calculation formula of binary entropy are as follows: H(X)=Σ-P (i, j) * lgP (i, j), wherein i is current Grey scale pixel value, range are the mean value that 0 ~ 255, j is 8 neighborhood of current pixel, and value range is 0 ~ 255, and binary array P (i, j) is The probability of the mean value j appearance of current pixel gray value i, 8 neighborhood of current pixel, array size 256*256.Due to DSP for The floating-point operation of array is too slow, and about 100 milliseconds of each window or more, two windows need 200 milliseconds or more, therefore can not Realize real-time detection.
The present invention is optimized to binary array, specific to optimize are as follows: the probability of current pixel gray value 0 ~ 15 is cumulative Into new array P_IMG (0), the probability of current pixel gray value 16 ~ 25 is added in new array P_IMG (1), by current picture The probability of plain gray value 26 ~ 35 is added in new array P_IMG (2), and so on, finally, by current pixel gray value 246 ~ 255 probability is added in new array P_IMG (24).Equally, the probability of the mean value 0 ~ 15 of 8 neighborhood of current pixel is added to newly In array P_AVG (0), the probability of the mean value 16 ~ 25 of 8 neighborhood of current pixel is added in new array P_AVG (1), it will be current The probability of the mean value 26 ~ 35 of 8 neighborhood of pixel is added in new array P_AVG (2), and so on, finally, current pixel 8 is adjacent The probability of the mean value 246 ~ 255 in domain is added in new array P_AVG (24), and the size of the new binary array of gained is 25*25, than Former array size reduces 100 times, i.e. speed increases 100 times, increases the real-time of system, improves detection speed.
The double bracing wire detection systems of cigarette carton packet intelligent digital of the invention and detection method, using DSP processing technique, operation Speed is fast, and processing capacity is strong, adapts to complicated algorithm, can accurately detect the presence or absence of double bracing wires of all kinds of profile bar packets or offset;At a high speed Camera uses full view image vision detection mode, supports multiwindow application, freely sets detection range;Touch screen shows function Can, the operating status and all kinds of operation datas of the detection of real-time display current production reach the double bracing wire technique quality testing marks of item packet It is quasi-.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects It is described in detail, it should be understood that the foregoing is merely a specific embodiment of the invention, the guarantor that is not intended to limit the present invention Range is protected, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all be contained in this hair Within bright protection scope.

Claims (8)

1. a kind of double bracing wire detection systems of cigarette carton packet intelligent digital, it is characterised in that: including microcontroller (3) and with it is described micro- The connected high speed camera (1) of controller (3) and LED light source (2), before the LED light source (2) is located at high speed camera (1) The optical center of end and LED light source (2) intersects with the optical center of high speed camera (1), the center alignment fiducials bracing wire of high speed camera (1) (4), the microcontroller (3) includes master cpu and the memory being connected with the master cpu and LED touch screen.
2. the double bracing wire detection systems of cigarette carton packet intelligent digital according to claim 1, it is characterised in that: the microcontroller Device (3) further includes deserializer, and the deserializer is connected between high speed camera (1) and master cpu, and being used for will be high The serial signal of fast camera (1) transmission is converted to the parallel signal of master cpu identification.
3. the double bracing wire detection systems of cigarette carton packet intelligent digital according to claim 1, it is characterised in that: the LED touching It touches screen and is equipped with the detection window equal with bracing wire quantity, detect corresponding bracing wire respectively and show detection data.
4. the double bracing wire detection systems of cigarette carton packet intelligent digital according to claim 1, it is characterised in that: the microcontroller Device (3) further includes network chip, and the network chip is electrically connected with master cpu, external connection PC machine, for by master cpu Image data is transmitted to PC machine.
5. the double bracing wire detection systems of cigarette carton packet intelligent digital according to claim 1, it is characterised in that: the high speed is taken the photograph As head (1) selects the imaging sensor of model PYTHON1300 chip.
6. a kind of double bracing wire detection methods of cigarette carton packet intelligent digital, which comprises the steps of:
S1, Initialize installation, called data memory data, to window Initialize installation, synchronous LED light source (2) is taken the photograph with high speed As the flash of light of head (1) Image Acquisition controls;
The picture signal of acquisition is simultaneously converted into LVDS string by S2, Image Acquisition, high speed camera (1) cooperated with LED light source (2) shooting The transmission of row signal;
S3, picture signal transmission, LVDS serial signal are converted into parallel signal through deserializer and transmit through bus transceiver To master cpu;
S4, image-computing analysis, master cpu carries out geometrical normalization processing to image bracing wire size, and image data is sent It is shown to LED touch screen.
7. the double bracing wire detection methods of cigarette carton packet intelligent digital according to claim 6, it is characterised in that: in step S4, The data of geometrical normalization processing include the first detection window data and the second detection window data, are sequentially detected respectively to first Window data and the second detection window data carry out mean filter and seek binary entropy, determine whether in setting range, if binary Entropy numerical value then sends rejecting signal lower than preset value.
8. the double bracing wire detection methods of cigarette carton packet intelligent digital according to claim 7, it is characterised in that: the binary entropy Calculation formula be H(X)=Σ-P (i, j) * lgP (i, j), wherein i is current pixel gray value, and j is 8 neighborhood of current pixel The range of mean value, i and j be 0~255, P (i, j) be current pixel gray value i and the mean value j of 8 neighborhood of current pixel occur it is general Rate, while the mean value of current pixel sum of the grayscale values current pixel neighborhood is segmented accumulation calculating, forming size is new two of 25*25 First array.
CN201910137821.2A 2019-02-25 2019-02-25 A kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection method Pending CN109946229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910137821.2A CN109946229A (en) 2019-02-25 2019-02-25 A kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910137821.2A CN109946229A (en) 2019-02-25 2019-02-25 A kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection method

Publications (1)

Publication Number Publication Date
CN109946229A true CN109946229A (en) 2019-06-28

Family

ID=67006882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910137821.2A Pending CN109946229A (en) 2019-02-25 2019-02-25 A kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection method

Country Status (1)

Country Link
CN (1) CN109946229A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040005086A1 (en) * 2002-07-03 2004-01-08 Equinox Corporation Method and apparatus for using thermal infrared for face recognition
CN1794264A (en) * 2005-12-31 2006-06-28 北京中星微电子有限公司 Method and system of real time detecting and continuous tracing human face in video frequency sequence
CN202089280U (en) * 2011-01-30 2011-12-28 沈阳中科朗运科技有限公司 Visual detection apparatus of small cigarette package and strip package transparent paper drawing line
CN203178196U (en) * 2013-02-05 2013-09-04 厦门烟草工业有限责任公司 Tear-tape detector based on image processing
JP2016048860A (en) * 2014-08-27 2016-04-07 日本電信電話株式会社 Quantum key distribution system and quantum key distribution method
CN107333142A (en) * 2011-06-16 2017-11-07 Ge视频压缩有限责任公司 Context initialization in entropy code
CN209858406U (en) * 2019-02-25 2019-12-27 南京文易特电子科技有限公司 Intelligent digital double-pull-wire detection system for cigarette carton and pack

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040005086A1 (en) * 2002-07-03 2004-01-08 Equinox Corporation Method and apparatus for using thermal infrared for face recognition
CN1794264A (en) * 2005-12-31 2006-06-28 北京中星微电子有限公司 Method and system of real time detecting and continuous tracing human face in video frequency sequence
CN202089280U (en) * 2011-01-30 2011-12-28 沈阳中科朗运科技有限公司 Visual detection apparatus of small cigarette package and strip package transparent paper drawing line
CN107333142A (en) * 2011-06-16 2017-11-07 Ge视频压缩有限责任公司 Context initialization in entropy code
CN203178196U (en) * 2013-02-05 2013-09-04 厦门烟草工业有限责任公司 Tear-tape detector based on image processing
JP2016048860A (en) * 2014-08-27 2016-04-07 日本電信電話株式会社 Quantum key distribution system and quantum key distribution method
CN209858406U (en) * 2019-02-25 2019-12-27 南京文易特电子科技有限公司 Intelligent digital double-pull-wire detection system for cigarette carton and pack

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘庆伟;信明阳;: "新型香烟小包拉线检测器的设计", 中国科技信息, no. 05 *
蔡培良;何邦贵;华卫;蒋晓伟;朱正运;吕忠;陈龙军;: "BV包装机条烟外观质量检测装置的设计", 包装工程, no. 23 *

Similar Documents

Publication Publication Date Title
CN209300267U (en) A kind of cigarette appearance images processing control system and its on-line measuring device
CN109596631B (en) Cigarette packet seal wrong-brand detection device and method based on machine vision technology
CN207185897U (en) A kind of full cigarette presentation quality on-line measuring device and its cigarette machine
CN108454981A (en) A kind of high-speed packaging machine goes out pig's tongue cigarette apparent visual detection device
CN105136804B (en) The acquisition of high-speed band steel surface image and image processing apparatus and method
CN202935608U (en) Cigarette detector based on machine vision technology
CN104613869B (en) Method and system for detecting elliptical hole group based on maximum inscribed circle
CN105734740A (en) Device and method for dynamically detecting multiple targets of yarns of spinning machines
CN103910078A (en) Device for detecting integrity of aluminized paper and lining paper of cigarette packets
CN102034098A (en) Automatic bolt sorting system and automatic bolt sorting method
CN110723342B (en) Cigar quality detection system and detection method
CN104354935B (en) Defect detection device for drawn wire on transparent packaging material
CN102879404A (en) System for automatically detecting medical capsule defects in industrial structure scene
CN103884719A (en) Image acquisition and preprocessing method based on embedded steel plate surface quality detection system
CN109946229A (en) A kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection method
CN208931807U (en) A kind of high-speed packaging machine goes out pig's tongue cigarette apparent visual detection device
CN103984967B (en) A kind of automatic checkout system being applied to Commercial goods labels detection and automatic testing method
WO2021174682A1 (en) Volume measurement device and smart cabinet
CN209858406U (en) Intelligent digital double-pull-wire detection system for cigarette carton and pack
CN203793692U (en) Device for detecting integrity of cigarette packet aluminum-foil paper and inner lining paper
CN201604831U (en) Cigarette stayguy on-line detection system aiming at GDX 500 packing machine
CN212354503U (en) Cigar quality detection system
CN205833645U (en) A kind of appearance delection device of novel cellophane thin film
CN104713483A (en) Detection method and device for photosensitive fibers embedded in anti-counterfeit paper
CN204359702U (en) Bottle rolls cap seal mouth pick-up unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination