CN209606300U - A kind of packing machine vision-based detection automatic light source regulation device - Google Patents

A kind of packing machine vision-based detection automatic light source regulation device Download PDF

Info

Publication number
CN209606300U
CN209606300U CN201920021260.5U CN201920021260U CN209606300U CN 209606300 U CN209606300 U CN 209606300U CN 201920021260 U CN201920021260 U CN 201920021260U CN 209606300 U CN209606300 U CN 209606300U
Authority
CN
China
Prior art keywords
converter
controller
light
electric signal
battle array
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
CN201920021260.5U
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.)
Hongyun Honghe Tobacco Group Co Ltd
Original Assignee
Hongyun Honghe Tobacco Group 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 Hongyun Honghe Tobacco Group Co Ltd filed Critical Hongyun Honghe Tobacco Group Co Ltd
Priority to CN201920021260.5U priority Critical patent/CN209606300U/en
Application granted granted Critical
Publication of CN209606300U publication Critical patent/CN209606300U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

The utility model relates to a kind of packing machine vision-based detection automatic light source regulation devices, including light-inductive resistance, A/D converter, controller, D/A converter, LED light battle array and power supply.The light-inductive resistance is connect with the A/D converter electric signal;The A/D converter is connect with the controller electric signal;The controller is connect by I/O interface with the D/A converter electric signal;The D/A converter is connect with the LED light battle array electric signal;The power supply is electrically connected with the A/D converter, the controller, the D/A converter and the LED light battle array respectively.When vision detection system works normally, device is set as automatic mode, at this point, 51 single-chip microcontrollers, in real time according to light-sensitive element, the current value that A/D converter is measured adjusts it to the stable state set.If measured value is bigger than normal, device need to increase the PWM duty cycle of LED gusts of control, and vice versa.

Description

A kind of packing machine vision-based detection automatic light source regulation device
Technical field
The utility model belongs to Cigarette processing equipment technical field, and especially a kind of is cigarette packer vision detection system The automatic light source regulation device for stablizing illumination brightness is provided.
Background technique
During cigarette package, guarantee that the presentation quality of cigarette packet plume is that cigarette product quality control procedure is most important Link.Small box of cigarettes rely primarily on the transmission of the frictional force between conveyor belt in entire transmission process, and cigarette packet is transmitting There is turn-over and pile in the process, therefore seal has phenomena such as misplacing, fold, loss and occurs.In addition, being packed in transparent paper of small box It it is easy to produce long side in forming process takes a mouthful face and be pasted not strongly, phenomena such as out-of-flatness, bubble wrinkle.
In actual production process, for this type cigarette packet quality appearance defect, mainly by industrial camera to cigarette packet Snapshots are carried out, cigarette packet appearance photo is obtained and passes through binary conversion treatment.Cigarette packet feature is extracted to be compared with qualified cigarette packet feature It whether there is above-mentioned Appearance quality defect to smoke packet is obtained in turn.In the treatment process of binaryzation, the setting of threshold value is especially heavy It wants, the main influence factor of threshold value is extraneous illumination, and the threshold size under different illumination brightness lumens is different.
In existing used packing machine vision detection system, the setting of threshold value is the light according to provided by lighting source It is set according to lumen.Due to the variation of extraneous illumination condition and lighting source life time decay, lead to ring locating for entire vision detection system There is fluctuation in the illumination lumen in border, the threshold size of setting is not always within the scope of reasonable value, and binary image occurs special Difference in sign will generate error when being compared with the characteristic image of qualified cigarette packet.In actual production process just Can exist and phenomenon is rejected to the error detection rejecting or leak detection of cigarette packet.It can work packing machine vision detection system one It is the key that guarantee accurate rejecting Appearance quality defect cigarette packet under a metastable illumination lumen.
Utility model content
The purpose of the utility model is to provide a kind of packing machine vision-based detection automatic light source regulation devices, to solve vision inspection Examining system is fluctuated because illumination lumen exists, and the problem of cause to cigarette packet erroneous detection.
The utility model is achieved through the following technical solutions:
A kind of packing machine vision-based detection automatic light source regulation device, including light-inductive resistance, A/D converter, controller, D/A converter, LED light battle array and power supply;
The light-inductive resistance is connect with the A/D converter electric signal;The A/D converter and controller electricity Signal connection;
The controller is connect by I/O interface with the D/A converter electric signal;The D/A converter and the LED The connection of lamp array electric signal;
The power supply is electrically connected with the A/D converter, the controller, the D/A converter and the LED light battle array respectively It connects.
It further include mode selection button, the mode selection button includes automatic mode key and manual mode key.
In the automatic mode key, by the light-inductive resistance, A/D converter, the controller, described Successively electric signal connects for D/A converter and the LED light battle array;
The power supply is electrically connected with the A/D converter, the controller, the D/A converter and the LED light battle array respectively It connects;
In the manual mode key, the controller is connect with the LED light battle array electric signal, the power supply respectively with The controller and LED light battle array electrical connection.
Including mode indicating lamp, the mode indicating lamp includes automatic mode indicator light and manual mode indicator light;It is described Automatic mode indicator light is corresponding with automatic mode key, and the manual mode indicator light is opposite with the manual mode key It answers.
The light-inductive resistance uses the photo resistance of model GL5549.
The controller is 51 single-chip microcontrollers.
The beneficial effects of the utility model are:
When vision detection system works normally, device is set as automatic mode, at this point, 51 single-chip microcontrollers are in real time according to photosensitive member Part, the current value that A/D converter is measured adjust it to the stable state set.If measured value is bigger than normal, device need to increase control LED gusts of PWM duty cycle, vice versa.Guarantee that detection system can work under constant illumination lumen, so that preset Binarization threshold, which is stablized, effectively can more accurately detect the unqualified cigarette packet rejected and have Appearance quality defect, subtract as far as possible It is few accidentally to pick, the case where mistake is picked.
By suitable hardware selection and software configuration, device can be stable, efficiently, reliably, easy to maintain.
Detailed description of the invention
Fig. 1 is the flow chart of the utility model vision-based detection automatic light source regulation device;
Fig. 2 is utility model vision-based detection automatic light source regulation device work-based logic figure.
Description of symbols
1 light-inductive resistance, 2 power supplys, 3 A/D converters, 4, controller, 5 D/A converters, 6 LED light battle arrays, 7 keys Indicator light, 8 mode selection buttons.
Specific embodiment
The technical solution of the utility model is described in detail by the following examples, embodiment below is only exemplary , it is only capable of for explanation and illustration the technical solution of the utility model, and be not to be construed as to technical solutions of the utility model Limitation.
The application provides a kind of packing machine vision-based detection automatic light source regulation device, for providing for packing machine vision-based detection The lighting source of constant lumen.The critical issue that the technical program mainly solves includes core control circuit interface microcontroller circuit Design, the design of LED voltage regulator circuit mould port and intelligent control program are write.
As shown in Figure 1, include light-inductive resistance 1, A/D converter 3, controller 4, D/A converter 5, LED light battle array 6 and Power supply 2, mode selection button 8 and mode indicating lamp 7.It is to extraneous illumination variation accurate stable real to guarantee in the present embodiment When acquisition monitoring, light-inductive resistance selects the high GL5549 photo resistance of sensitivity, and designs the guarantee of current stabilization shunt circuit It is stablized and safety.
Light-inductive resistance is connect with A/D converter electric signal;A/D converter is connect with controller electric signal;This implementation In example, controller is STC89C51 type single-chip microcontroller as main control module and carries out signal processing data operation.
Controller is connect by I/O interface with D/A converter electric signal;D/A converter is connect with LED light battle array electric signal.
Power supply is electrically connected with A/D converter, controller, D/A converter and LED light battle array respectively, the power supply in the present embodiment For DC5V power supply.
In the present embodiment, mode selection button includes automatic mode key and manual mode key.
In automatic mode key, by light-inductive resistance 1, A/D converter 3, controller 4, D/A converter 5 and LED light Successively electric signal connects battle array 6.
Power supply 2 is electrically connected with A/D converter 3, controller 4, D/A converter 5 and LED light battle array 6 respectively;In automatic mode Under, the ambient light analog signal transmission that identifies of brightness Acquisition Circuit of light-inductive resistance composition into A/D converter into For row analog quantity to the conversion of numerical quantities, output end is connected to the input terminal of single-chip microcontroller, and numerical signal is transported by single-chip microcontroller kernel It calculates, is output to D/A converter, by control LED light battle array in the duty ratio of a power-up period, carry out the brightness of realization device output Lumen is of different sizes, so that the work of packing machine vision detection system guarantees that it can accurately detect cigarette under constant light environment Packet presentation quality.
In manual mode key, controller 4 is connect with 6 electric signal of LED light battle array, power supply respectively with controller and LED light Battle array electrical connection, brightness Acquisition Circuit and other signal processing circuits will be shielded.The function of mode selection button becomes adjusting manually Function is saved, the plus-minus of output brightness lumen is realized by key, meets the needs of debugging maintenance.
Mode indicating lamp includes automatic mode indicator light and manual mode indicator light;Automatic mode indicator light and automatic mode Key is corresponding, and manual mode indicator light is corresponding with manual mode key.
As depicted in figs. 1 and 2, a kind of system of the packing machine vision-based detection automatic light source regulation device based on 51 single-chip microcontrollers Working principle are as follows:
Before entering operating mode, it is necessary first to initialize apparatus system, 51 single-chip microcontrollers can be ceaselessly to each of which The port I/O is scanned;External interrupt will be triggered after scanning push button signalling, mode selection button is carried out judging whether to change The output brightness for becoming self-checking device, continues to detect external break events if not changing;It, will if triggering changes brightness Luminance compensation or decaying under either automatically or manually mode can be realized according to the needs of packing machine vision-based detection, guarantee packing machine work Make under the illumination condition of 150 lumens or so, reduces and the case where mistake picks cigarette packet is accidentally picked according to caused by due to detection light, guarantee have The product of Appearance quality defect does not come into the market.
While there has been shown and described that the embodiments of the present invention, for the ordinary skill in the art, It is understood that these embodiments can be carried out with a variety of variations in the case where not departing from the principles of the present invention and spirit, repaired Change, replace and deform, the scope of the utility model is by appended claims and its equivalent limits.

Claims (6)

1. a kind of packing machine vision-based detection automatic light source regulation device, which is characterized in that converted including light-inductive resistance, A/D Device, controller, D/A converter, LED light battle array and power supply;
The light-inductive resistance is connect with the A/D converter electric signal;The A/D converter and the controller electric signal Connection;
The controller is connect by I/O interface with the D/A converter electric signal;The D/A converter and the LED light battle array Electric signal connection;
The power supply is electrically connected with the A/D converter, the controller, the D/A converter and the LED light battle array respectively.
2. packing machine vision-based detection automatic light source regulation device according to claim 1, which is characterized in that further include mode Selection key, the mode selection button include automatic mode key and manual mode key.
3. packing machine vision-based detection automatic light source regulation device according to claim 2, which is characterized in that described automatic When mode key, by the light-inductive resistance, the A/D converter, the controller, the D/A converter and the LED Successively electric signal connects lamp array;
The power supply is electrically connected with the A/D converter, the controller, the D/A converter and the LED light battle array respectively;
In the manual mode key, the controller is connect with the LED light battle array electric signal, the power supply respectively with it is described Controller and LED light battle array electrical connection.
4. packing machine vision-based detection automatic light source regulation device according to claim 2, which is characterized in that refer to including mode Show that lamp, the mode indicating lamp include automatic mode indicator light and manual mode indicator light;The automatic mode indicator light with from Dynamic mode key is corresponding, and the manual mode indicator light is corresponding with the manual mode key.
5. packing machine vision-based detection automatic light source regulation device according to claim 1, which is characterized in that the photaesthesia Resistance is answered to use the photo resistance of model GL5549.
6. packing machine vision-based detection automatic light source regulation device according to claim 1, which is characterized in that the controller For 51 single-chip microcontrollers.
CN201920021260.5U 2019-01-07 2019-01-07 A kind of packing machine vision-based detection automatic light source regulation device Active CN209606300U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920021260.5U CN209606300U (en) 2019-01-07 2019-01-07 A kind of packing machine vision-based detection automatic light source regulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920021260.5U CN209606300U (en) 2019-01-07 2019-01-07 A kind of packing machine vision-based detection automatic light source regulation device

Publications (1)

Publication Number Publication Date
CN209606300U true CN209606300U (en) 2019-11-08

Family

ID=68399973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920021260.5U Active CN209606300U (en) 2019-01-07 2019-01-07 A kind of packing machine vision-based detection automatic light source regulation device

Country Status (1)

Country Link
CN (1) CN209606300U (en)

Similar Documents

Publication Publication Date Title
CN102539895A (en) USB (universal serial bus) port detecting circuit
TW201326767A (en) LED luminance detecting system and method
CN201607238U (en) Intelligent photoelectrical direct reader
CN209606300U (en) A kind of packing machine vision-based detection automatic light source regulation device
CN211478591U (en) Module power supply multichannel intelligent test and ageing device
CN201804057U (en) Spectral characteristic identification device for photoresistor
CN210142085U (en) Beer bottle automated inspection's image acquisition device based on machine vision
CN107765194A (en) A kind of flashing light tester
CN204514471U (en) A kind of intensity of illumination pick-up unit
CN102548105B (en) Second-level automatic optical inspection (AOI) light source and AOI system
CN205539238U (en) Intelligent detection equipment that can compatible quick charger
CN205049641U (en) Group battery cell voltage detection device
CN203909271U (en) Voltage drop tool
CN102175688A (en) Colour code detector
CN205210119U (en) Can automatic switch -over when chip testing testing arrangement of test gear
CN105929288B (en) A kind of lightning protection device on-line checking circuit
CN205157751U (en) LED pilot lamp tester based on CCD
CN207366078U (en) A kind of wear-resistant illumination photometer
CN210802699U (en) Color detection and identification device
CN216206029U (en) Express delivery envelope product inspection control system
CN205539237U (en) Intelligent detector that can compatible quick charger
CN105137128B (en) Multichannel ripple power supplies automatic sectionalizer
CN104298979A (en) Device and method for identifying biological test paper
CN204650860U (en) A kind of modulus electricity experiment table
CN210958883U (en) Automatic LED brightness adjusting device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant