CN209858406U - Intelligent digital double-pull-wire detection system for cigarette carton and pack - Google Patents

Intelligent digital double-pull-wire detection system for cigarette carton and pack Download PDF

Info

Publication number
CN209858406U
CN209858406U CN201920234909.1U CN201920234909U CN209858406U CN 209858406 U CN209858406 U CN 209858406U CN 201920234909 U CN201920234909 U CN 201920234909U CN 209858406 U CN209858406 U CN 209858406U
Authority
CN
China
Prior art keywords
speed camera
control cpu
pull
microcontroller
main control
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
CN201920234909.1U
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 CN201920234909.1U priority Critical patent/CN209858406U/en
Application granted granted Critical
Publication of CN209858406U publication Critical patent/CN209858406U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The utility model relates to a digital two detection system that act as go-between of cigarette strip package intelligence, including microcontroller and with high-speed camera and the LED light source that microcontroller links to each other, the light center that the LED light source is located the front end of high-speed camera and the LED light source intersects with the light center of high-speed camera, and the center of high-speed camera is aimed at the benchmark and is acted as go-between, microcontroller include main control CPU and with memory and the LED touch-sensitive screen that main control CPU is connected. By adopting the DSP processing technology, the operation speed is high, the processing capacity is strong, the method can adapt to complex algorithms, and the existence or the deviation of double pull wires of various types of strip packages can be accurately detected; the high-speed camera adopts a full-view image visual detection mode, supports multi-window application and freely sets a detection range; and the touch screen has a display function, and displays the running state and various running data of the current product detection in real time.

Description

Intelligent digital double-pull-wire detection system for cigarette carton and pack
Technical Field
The utility model relates to a tobacco package quality testing technical field especially relates to a cigarette strip package intelligence digit double-wire detection system.
Background
In the cigarette production process, the packaging box is wrapped by a layer of transparent packaging paper, so that the effects of sealing and moisture proofing are achieved, the packaging box is convenient for a user to disassemble through the stay wires, and the quality of the carton cigarette is seriously affected due to the problems of loss, deviation and the like of the stay wires.
At present, each cigarette enterprise in China pays attention to the quality defect of the CV-shaped package pull wire, various package pull wire detection devices are correspondingly installed, and the micro-motion sensor mode of simple mechanical principle is adopted to detect the existence of the pull wire, so that the deviation of the pull wire cannot be detected; after the package is formed, a strip pack visual detection device is installed, and the detection is installed after the cigarette pack is formed, so that the price is high, the phenomena of missing detection and false detection exist, and the detection of the transparent stay wire is obviously insufficient; the image detection method has the problems of fast light source attenuation, low detection precision, insufficient sensitivity in detection, troublesome daily maintenance and adjustment and the like.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide a two detection system that act as go-between of cigarette strip package intelligence adopts image vision technique, shoots the full angle of vision of image, and the detection precision freely confirms detection range through drawing the form of establishing the window, satisfies two technological quality standards that act as go-between of strip package.
In order to achieve the above purpose, the technical scheme of the utility model is as follows:
the intelligent digital double-pull-wire detection system for the cigarette carton comprises a microcontroller, a high-speed camera and an LED light source, wherein the high-speed camera and the LED light source are connected with the microcontroller, the LED light source is positioned at the front end of the high-speed camera, the optical center of the LED light source is intersected with the optical center of the high-speed camera, the center of the high-speed camera is aligned to a reference pull wire, and the microcontroller comprises a main control CPU, a memory and an LED touch screen, wherein the memory and the LED touch screen are connected with the main control CPU.
In the above scheme, the microcontroller further comprises a serial deserializer connected between the high-speed camera and the main control CPU, and configured to convert a serial signal transmitted by the high-speed camera into a parallel signal recognized by the main control CPU.
In the scheme, the LED touch screen is provided with detection windows with the number equal to that of the stay wires, and the detection windows respectively detect the corresponding stay wires and display detection data.
In the above scheme, the microcontroller further comprises a network chip, the network chip is electrically connected with the main control CPU, is externally connected with a PC, and is used for transmitting image data of the main control CPU to the PC.
In the scheme, the high-speed camera is an image sensor with a PYTHON1300 chip.
The utility model discloses a cigarette strip package intelligent digital double-pull-wire detection system, which adopts DSP processing technology, has fast operation speed and strong processing capacity, can adapt to complex algorithm, and can accurately detect the existence or the deviation of each type of strip package double-pull-wire; the high-speed camera adopts a full-view image visual detection mode, supports multi-window application and freely sets a detection range; and the touch screen has a display function, and displays the running state and various running data of the current product detection in real time.
Drawings
Fig. 1 is a schematic structural diagram of an intelligent digital dual-pull-wire detection system according to an embodiment of the present invention;
description of reference numerals: 1. high-speed camera, 2, LED light source, 3, microcontroller, 4, benchmark acting as go-between.
Detailed Description
The technical solution of the present invention will be further described in detail with reference to the accompanying drawings and embodiments.
As shown in fig. 1, the utility model discloses a cigarette strip package intelligence digit double-wire detection system, including microcontroller 3 and the high-speed camera 1 and the LED light source 2 that link to each other with microcontroller 3. The LED light source 2 is positioned at the front end of the high-speed camera 1, the optical center of the LED light source 2 is intersected with the optical center of the high-speed camera 1, and the center of the high-speed camera 1 is aligned with the reference stay wire 4. The microcontroller 3 comprises a main control CPU, a deserializer, a memory and an LED touch screen, wherein the memory and the LED touch screen are respectively electrically connected with the main control CPU, and the deserializer is connected between the high-speed camera 1 and the main control CPU and used for converting serial signals transmitted by the high-speed camera 1 into parallel signals identified by the main control CPU. The memory comprises a synchronous dynamic random memory, a program memory and a data memory, wherein the data memory is used for storing the setting parameters of the window, the program memory is used for storing the program code of the image processing software, and the synchronous dynamic random memory is used for storing the acquired image data.
When the strip package pull wire to be detected passes through the viewing area of the high-speed camera 1, the LED light source 2 illuminates the pull wire, the high-speed camera 1 starts to shoot images, when the strip package cellophane to be detected passes through the image acquisition area, the high-speed camera 1 is matched with the LED light source 2 to complete image acquisition, a continuous shooting mode is adopted, and the acquisition speed of each image is 5-6 ms. The strip-packaged cellophane image signals shot by the high-speed camera 1 are transmitted to the synchronous dynamic random access memory through a special data line and an image acquisition card, the main control CPU performs geometric normalization processing on the sizes of image pull wires through image processing software to enable the sizes of the pull wires to be consistent, and the calculated data are displayed on the LED touch screen.
The LED touch screen is provided with a first detection window and a second detection window, and two pull wires, such as a 0 pull wire and a 1 pull wire, are respectively detected, wherein the 0 pull wire is correspondingly provided with a detection value window and a setting value window, and the 1 pull wire is correspondingly provided with a detection value window and a setting value window; the detection value is used for displaying a real-time value of the current stay wire online detection, the set value is a threshold value which is a reference value of the detection stay wire, and the detection value is rejected when being lower than the reference value; the first detection window is used for setting the detection range of the 0 # stay wire, the second detection window is used for setting the detection range of the 1 # stay wire, the test distance between the 0 # stay wire and the 1 # stay wire can be set according to the actual situation, and the maximum distance can be adjusted to 10 mm.
In order to enable a user to conveniently and simply operate and set the system, the microcontroller 3 further comprises a network chip, the network chip is internally and electrically connected with the main control CPU, and is externally connected with a PC (personal computer) and used for transmitting image data of the main control CPU to the PC to complete operation control.
In one embodiment, the image sensor in the high-speed camera 1 uses a PYTHON1300 chip and uses LVDS output, the main control CPU uses a 600MHz DSP BF533 chip of ADI corporation, and the serializer uses a DS92LV1212A chip.
The main control CPU is electrified, data in the data memory are called, the PYTHON1300 is initialized through the 12C bus, and the flash speed of the LED light source 2 is controlled through the internal timer; the PYTHON1300 acquires image signals and converts the parallel signals into LVDS serial signals, the DS92LV1212A receives the LVDS serial signals transmitted by the PYTHON1300 and converts the LVDS serial signals into the parallel signals, the bus transceiver transmits and transmits the parallel signals to a PPI interface of the main control CPU, and the DSP transmits the processed image data to the LED touch screen through a serial port and can be set through the LED touch screen. The DSP can also upload the image data to the PC through the network chip DM9000, and the DSP is set through the PC.
An intelligent digital double-pull-wire detection method for cigarette cartons and packets comprises the following steps:
firstly, initializing, namely calling data of a data storage, initializing a window, and synchronizing flash control of image acquisition of an LED light source 2 and a high-speed camera 1;
secondly, image acquisition, namely, shooting by matching the high-speed camera 1 with the LED light source 2 and converting the acquired image signal into an LVDS serial signal for transmission;
step three, image signal transmission, LVDS serial signals are converted into parallel signals through a serializer/deserializer and transmitted to a main control CPU through a bus transceiver;
and fourthly, calculating and analyzing the image, and carrying out geometric normalization processing on the size of the image stay wire by the main control CPU and sending the image data to the LED touch screen for display.
In the fourth step, the data subjected to geometric normalization processing comprises first detection window data and second detection window data, mean value filtering is respectively carried out on the first detection window data and the second detection window data in sequence, binary entropy is obtained, whether the data are within a set range or not is judged, and if the numerical value is lower than a preset value, a rejection signal is sent. The calculation formula of the binary entropy is H (X) = Sigma-P (i, j) × lgP (i, j), wherein i is the gray value of the current pixel, j is the average value of the neighborhood of the current pixel 8, the ranges of i and j are 0-255, and P (i, j) is the probability of the occurrence of the gray value i of the current pixel and the average value j of the neighborhood of the current pixel 8, and meanwhile, the gray value i of the current pixel and the average value j of the neighborhood of the current pixel 8 are calculated in a segmented accumulation mode to form a new binary array with the size of 25 × 25.
The method comprises the steps that a DSP is powered on and reset, data in a data storage device are read, PYTHON1300 is initialized through an I2C bus, an internal timer is set to control an LED light source 2 to flash, when a high-speed camera 1 is normal, PPI of the DSP is interrupted and set, PPI data are waited for, whether the data are valid data or not is judged, when the data are valid, a first detection window is opened, mean filtering is carried out on collected images of a stay wire No. 0, binary entropy of the collected images is obtained, and when the binary entropy of the stay wire No. 0 is not in a set range, an eliminating signal is sent out; and secondly, opening a second detection window, carrying out mean value filtering on the collected image of the No. 1 stay wire, solving the binary entropy of the image, and sending out a rejection signal when the binary entropy of the No. 1 stay wire is not in a setting range. When the first detection window does not acquire images, the first detection window can directly enter the second detection window to perform image data processing.
In one embodiment, the formula of the binary entropy is h (x) = Σ -P (i, j) × lgP (i, j), where i is the current pixel gray scale value and ranges from 0 ~ 255, j is the mean value of the current pixel 8 neighborhood and ranges from 0 ~ 255, the binary array P (i, j) is the probability of the occurrence of the current pixel gray scale value i and the mean value j of the current pixel 8 neighborhood, and the array size is 256.
The utility model discloses carry out the optimization to the binary array, specifically optimize to add up the probability of current pixel grey value 0 ~ to new array P _ IMG (0), add up the probability of current pixel grey value 16 ~ to new array P _ IMG (1), add up the probability of current pixel grey value 26 ~ to new array P _ IMG (2), so on, finally, add up the probability of current pixel grey value 246 ~ to new array P _ IMG (24). The same, add up the probability of mean value 0 ~ of current pixel 8 neighborhood to new array P _ AVG (0), add up the probability of mean value 16 ~ of current pixel 8 neighborhood to new array P _ IMG (1), add up the probability of mean value 26 ~ of current pixel 8 neighborhood to new array P _ AVG (2), so on, analogize, add up the probability of mean value 16 of current pixel 8 neighborhood to new array P _ IMG (1) to new array P _ AVG (24), the speed ratio that the system is reduced by 100 times, the original speed ratio is increased.
The utility model discloses a cigarette strip package intelligent digital double-pull-wire detection system, which adopts DSP processing technology, has fast operation speed and strong processing capacity, can adapt to complex algorithm, and can accurately detect the existence or the deviation of each type of strip package double-pull-wire; the high-speed camera adopts a full-view image visual detection mode, supports multi-window application and freely sets a detection range; the touch screen has a display function, displays the running state and various running data of the current product detection in real time, and achieves the detection standard of strip-pack double-stay wire process quality.
The above-mentioned embodiments further explain in detail the objects, technical solutions and advantages of the present invention, and it should be understood that the above-mentioned embodiments are only the embodiments of the present invention, and are not intended to limit the scope of the present invention, any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention should be included within the scope of the present invention.

Claims (5)

1. The utility model provides a two detection system that acts as go-between of cigarette strip package intelligence which characterized in that: including microcontroller (3) and with high-speed camera (1) and LED light source (2) that microcontroller (3) link to each other, LED light source (2) are located the front end of high-speed camera (1) and the optical center of LED light source (2) and intersect with the optical center of high-speed camera (1), and the center of high-speed camera (1) is aimed at benchmark and is acted as go-between (4), microcontroller (3) including master control CPU and with memory and the LED touch-sensitive screen that master control CPU is connected.
2. The intelligent digital double-pull-line detection system for cigarette cartons and packets according to claim 1, wherein: the microcontroller (3) further comprises a serial deserializer which is connected between the high-speed camera (1) and the main control CPU and used for converting serial signals transmitted by the high-speed camera (1) into parallel signals recognized by the main control CPU.
3. The intelligent digital double-pull-line detection system for cigarette cartons and packets according to claim 1, wherein: the LED touch screen is provided with detection windows with the same number as the pull wires, and the detection windows are used for respectively detecting the corresponding pull wires and displaying detection data.
4. The intelligent digital double-pull-line detection system for cigarette cartons and packets according to claim 1, wherein: the microcontroller (3) further comprises a network chip, wherein the network chip is electrically connected with the main control CPU, is externally connected with a PC and is used for transmitting the image data of the main control CPU to the PC.
5. The intelligent digital double-pull-line detection system for cigarette cartons and packets according to claim 1, wherein: the high-speed camera (1) is an image sensor with a PYTHON1300 chip.
CN201920234909.1U 2019-02-25 2019-02-25 Intelligent digital double-pull-wire detection system for cigarette carton and pack Active CN209858406U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920234909.1U CN209858406U (en) 2019-02-25 2019-02-25 Intelligent digital double-pull-wire detection system for cigarette carton and pack

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920234909.1U CN209858406U (en) 2019-02-25 2019-02-25 Intelligent digital double-pull-wire detection system for cigarette carton and pack

Publications (1)

Publication Number Publication Date
CN209858406U true CN209858406U (en) 2019-12-27

Family

ID=68932112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920234909.1U Active CN209858406U (en) 2019-02-25 2019-02-25 Intelligent digital double-pull-wire detection system for cigarette carton and pack

Country Status (1)

Country Link
CN (1) CN209858406U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109946229A (en) * 2019-02-25 2019-06-28 南京文易特电子科技有限公司 A kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109946229A (en) * 2019-02-25 2019-06-28 南京文易特电子科技有限公司 A kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection method

Similar Documents

Publication Publication Date Title
CN102034098A (en) Automatic bolt sorting system and automatic bolt sorting method
CN109353777A (en) The conveyer belt longitudinal ripping detecting device of multi-features is felt based on double vision
CN101482518A (en) On-line quality detection system for movable band-shaped material
CN209858406U (en) Intelligent digital double-pull-wire detection system for cigarette carton and pack
CN101531258B (en) Machine vision-based instant noodle seasoning packet automatic detection instrument and method
CN202393715U (en) Automatic detecting device for grey cloth defect spot
CN108454981A (en) A kind of high-speed packaging machine goes out pig's tongue cigarette apparent visual detection device
CN108696727A (en) Industrial camera
US20220321840A1 (en) Method for transmitting high bandwidth camera data through serdes links
CN109714621A (en) A kind of multichannel dynamic video analogy method and its processing system that timing is configurable
CN105136804A (en) High-speed strip steel surface image acquiring and image processing apparatus and method thereof
CN104424383A (en) Infrared image based hardware processing algorithm effectiveness performance evaluation device and method
CN205022961U (en) Anti - cigarette detecting system of indiscriminate cigarette based on PLC and vision sensing
CN104354935B (en) Defect detection device for drawn wire on transparent packaging material
CN210720185U (en) Small cigarette packet end face detection device based on machine vision technology
CN103984967B (en) A kind of automatic checkout system being applied to Commercial goods labels detection and automatic testing method
CN112947350A (en) Apply to industrial automation equipment's remote monitering system
CN108111777A (en) A kind of dark angle correction system and method
CN211741094U (en) Surface defect detection device for transparent mirror printing and gold stamping process
CN204064959U (en) Based on the high speed web inspection system of Camera Link interface
CN209928033U (en) Intelligent contraband identification equipment
CN203793692U (en) Device for detecting integrity of cigarette packet aluminum-foil paper and inner lining paper
CN203396716U (en) Small packet bottom surface appearance detection system for cigarette-packing machine
CN109946229A (en) A kind of double bracing wire detection systems of cigarette carton packet intelligent digital and detection method
CN107862245A (en) A kind of method for monitoring abnormality of client power distribution room

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant