CN111361303A - Working method of automatic code spraying and detecting system for biological DNA card bag - Google Patents

Working method of automatic code spraying and detecting system for biological DNA card bag Download PDF

Info

Publication number
CN111361303A
CN111361303A CN202010271001.5A CN202010271001A CN111361303A CN 111361303 A CN111361303 A CN 111361303A CN 202010271001 A CN202010271001 A CN 202010271001A CN 111361303 A CN111361303 A CN 111361303A
Authority
CN
China
Prior art keywords
image
code spraying
packaging bag
controller
preset
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.)
Granted
Application number
CN202010271001.5A
Other languages
Chinese (zh)
Other versions
CN111361303B (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.)
Chongqing College of Electronic Engineering
Original Assignee
Chongqing College of Electronic Engineering
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 Chongqing College of Electronic Engineering filed Critical Chongqing College of Electronic Engineering
Priority to CN202010271001.5A priority Critical patent/CN111361303B/en
Publication of CN111361303A publication Critical patent/CN111361303A/en
Application granted granted Critical
Publication of CN111361303B publication Critical patent/CN111361303B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/407Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for marking on special material
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/407Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for marking on special material
    • B41J3/4073Printing on three-dimensional objects not being in sheet or web form, e.g. spherical or cubic objects
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/44Typewriters or selective printing mechanisms having dual functions or combined with, or coupled to, apparatus performing other functions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/44Typewriters or selective printing mechanisms having dual functions or combined with, or coupled to, apparatus performing other functions
    • B41J3/445Printers integrated in other types of apparatus, e.g. printers integrated in cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Abstract

The invention provides a working method of an automatic code spraying and detecting system for biological DNA card bags, which comprises the following steps: s1, initializing the system; s2, counting the number of the packaging bags passing through the coding device; s3, when the controller detects that the packaging bag is at the code spraying position of the code spraying device, the controller controls the code spraying device to spray codes on the packaging bag; s4, when the controller detects that the packaging bag is located at the position below the industrial camera, the controller controls the industrial camera to shoot the packaging bag, and the shot image is used as an image to be processed; and S5, removing unqualified products by the sucker manipulator, and conveying the qualified products to a qualified product storage table. The invention has high automation degree, reduces the labor intensity of workers and improves the production efficiency.

Description

Working method of automatic code spraying and detecting system for biological DNA card bag
Technical Field
The invention belongs to the technical field of detection, and particularly relates to a working method of an automatic code spraying and detecting system for biological DNA card bags.
Background
The current code spraying production line generally comprises a paging machine, a code spraying device and a conveying line, wherein the paging machine separates packaging bags one by one, the packaging bags are conveyed to the code spraying device through the conveying line to be sprayed with codes, and finally, the code spraying device is manually checked to judge whether the code spraying is qualified or not and reject unqualified products, and the current code spraying device production line has the following problems: the number of the packaging bags cannot be counted, the code spraying time of the code spraying device cannot be accurately controlled, the code spraying position is prone to deviation, the shooting time of the industrial camera cannot be accurately controlled, incomplete images of the packaging bags are prone to being shot, and the problems need to be solved urgently.
Disclosure of Invention
The invention aims to at least solve the technical problems in the prior art, and particularly creatively provides a working method of an automatic code spraying and detecting system for biological DNA card bags, which has a simple and reliable position adjusting mechanism, is easy to adjust and can detect the code spraying quality by a machine.
In order to realize the above purpose, the invention provides a working method of an automatic code spraying and detecting system for biological DNA card bags, which comprises the following steps:
s1, initializing the system;
s2, counting the number of the packaging bags passing through the coding device;
s3, when the controller detects that the packaging bag is at the code spraying position of the code spraying device, the controller controls the code spraying device to spray codes on the packaging bag;
s4, when the controller detects that the packaging bag is located at the position below the industrial camera, the controller controls the industrial camera to shoot the packaging bag, and the shot image is used as an image to be processed;
and S5, removing unqualified products by the sucker manipulator, and conveying the qualified products to a qualified product storage table.
In a preferred embodiment of the present invention, step S1 includes the following steps:
s11, the controller sends a zero clearing signal to the encoder to clear the encoder;
s12, the controller sends a cut-off level t to the code spraying proximity sensor1After time, said t1If the number is positive, sending a conduction level to the code spraying proximity sensor to enable the conduction level to supply power to the code spraying proximity sensor;
s13, the controller sends a cut-off level t to the proximity sensor2After time, said t2If the number is positive, sending a conduction level to the detection proximity sensor to supply power to the detection proximity sensor;
s14, the controller sends a control command to the limit motor to enable the limit motor to drive the limit bolt to rotate, and the gap between the roller and the first conveying line is minimized;
and S15, the controller simultaneously sends control commands to the first motor and the second motor respectively to enable the baffle bars to move to the rightmost sides of the two baffle bar sliding grooves, and sends control commands to the third motor and the fourth motor to enable the baffle bars to move to the two tail ends of the vertical sliding grooves, and the storage area is the largest at the moment.
In a preferred embodiment of the present invention, in step S2, the number of the packing bags is calculated by:
nT=2πR×NT/L,
wherein R represents the rolling radius of the roller, NTRepresenting the total number of turns of the encoder during the first conveyor line running time T; n isTIndicates the number of packages passing through the coding device.
In a preferred embodiment of the present invention, in step S3, the method for the controller to detect whether the packaging bag is at the code spraying position of the code spraying device includes:
if the code spraying proximity sensor inputs high level to the controller, the packaging bag is located at a code spraying position of the code spraying device, and the controller controls the code spraying device to spray codes on the packaging bag;
if the code spraying proximity sensor inputs low level to the controller, the packaging bag is not located at the code spraying position of the code spraying device, and the packaging bag is waited to be located at the code spraying position of the code spraying device;
in step S4, the method for the controller to detect whether the packaging bag is in the photographing position of the industrial camera is as follows:
if the high level input to the controller by the proximity sensor is detected, the packaging bag is located at a photographing position of the industrial camera, and the controller controls the industrial camera to photograph the packaging bag;
if the input level of the proximity sensor to the controller is low, the packaging bag is not in the photographing position of the industrial camera, and the packaging bag is waited to be in the photographing position of the industrial camera.
In a preferred embodiment of the present invention, in step S4, the method for determining whether the image to be processed is a non-defective product or a defective product includes:
s41, the controller processes the acquired image to be processed to obtain a processed image;
s42, the controller determines whether the obtained processed image is consistent with a preset image:
if the obtained processing image is consistent with the preset image, the packaging bag is a qualified product; executing the next image to be processed;
if the obtained processing image is inconsistent with the preset image, the packaging bag is an unqualified product; and executing the next image to be processed.
In a preferred embodiment of the present invention, step S41 includes the following steps:
s411, calibrating a code spraying area in the image to be processed to obtain a calibrated image;
s412, identifying the characteristic points of the calibration image, and judging the similarity between the calibration image and a preset image:
if the similarity between the calibration image and the preset image is greater than or equal to a preset image threshold value, the image to be processed is a processed image; step S42 is executed;
if the similarity between the calibration image and the preset image is smaller than the preset image threshold value, the packaging bag shot by the industrial camera is a defective product; and executing the next image to be processed.
In a preferred embodiment of the present invention, in step S411, the method for calibrating the code-spraying area in the image to be processed includes: and moving the initial selection frame to a code spraying area, wherein the width and the height of the initial selection frame are W and H respectively, and if the gray value outside the initial selection frame is not in the preset gray value range, the height or the width of the selection frame is increased.
In a preferred embodiment of the present invention, in step S412, the similarity calculation method includes:
Figure BDA0002443162530000021
wherein, aijExpressing the gray value at the characteristic point (I, j) of the calibration image, and expressing the number of pixel points in each line in the calibration image by I; j represents the number of pixel points in each column in the calibration image;
Figure BDA0002443162530000023
representing the calibrated image coefficients; bijExpressing the gray value at the characteristic point (I, j) of the preset image, and expressing the number of pixel points in each row in the preset image by I'; j' represents the number of pixel points in each row in the preset image;
Figure BDA0002443162530000024
representing a preset image coefficient;
Figure BDA0002443162530000022
PI1、PI2pixel values, W, for a calibration image and a preset image, respectively1、W2Width, H, of the calibration image and the preset image, respectively1、H2Respectively the heights of the calibration image and the preset image;
if S is greater than or equal to S0,S0If the image is the preset image threshold value, the image to be processed is a processed image;
if S is less than S0And the packaging bag is unqualified.
In a preferred embodiment of the present invention, the method of determining whether the obtained processed image coincides with the preset image in step S42 is:
s421, reading image information P in the obtained processing image, wherein the image information P comprises one or any combination of characters, numbers and letters;
s422, reading image information Q in a preset image; the image information Q comprises one or any combination of characters, numbers and letters;
S423,P={p1,p2,p3,…,pm},Q={q1,q2,q3,…,qnp is an image information set in a processed image, and Q is an image information set in a preset image;
if p isi=qjI ═ j ═ 1,2,3.., m, and m ═ n; the obtained processing image is consistent with the preset image, and the packaging bag is a qualified product;
wherein p isiProcessing the ith element in the image information set in the image; i is a positive integer less than or equal to m; q. q.sjThe method comprises the steps of setting j-th elements in an image information set in a preset image; j is a positive integer less than or equal to n;
otherwise, the obtained processing image is inconsistent with the preset image, and the packaging bag is a defective product.
In a preferred embodiment of the present invention, step S4 further includes: if the brightness of the image shot by the industrial camera is less than or equal to the first brightness of the preset image, the controller sends a control command to the first lamp tube to light the first lamp tube; if the brightness of the image shot by the industrial camera is still less than or equal to the first brightness of the preset image after the first lamp tube is lightened, the controller sends a control command to the second lamp tube to lighten the second lamp tube;
if the brightness of the image shot by the industrial camera is greater than or equal to the second brightness of the preset image, and the second brightness of the preset image is greater than the first brightness of the preset image, the controller sends a control command to the second lamp tube to enable the second lamp tube to be turned off; if the brightness of the image shot by the industrial camera is still greater than or equal to the second brightness of the preset image after the second lamp tube is extinguished, the controller sends a control command to the first lamp tube to extinguish the first lamp tube;
after the system initialization in step S1, the method further includes: the controller sends a control command to the limiting motor to enable the limiting motor to drive the limiting bolt to rotate, and the roller and the limiting bolt are connected with each otherIncreasing the clearance between the first conveying lines; l ═ l1-l0,l1Is the thickness of the packaging bag, /)0A preset thickness;
the controller respectively and simultaneously sends control commands to the first motor and the second motor to enable the baffle strips to move leftwards, and sends control commands to the third motor and the fourth motor to enable the baffle plates to move towards the middle, and at the moment, the storage area is equal to the length and the width of the packaging bag.
In conclusion, due to the adoption of the technical scheme, the automatic feeding device is high in automation degree, reduces the labor intensity of workers and improves the production efficiency.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic block diagram of the process of the present invention.
Fig. 2 is a schematic structural diagram of the present invention.
Fig. 3 is a top view of the present invention.
Fig. 4 is a schematic structural diagram of an encoding apparatus.
Fig. 5 is a top view of the encoding device.
Fig. 6 is a schematic structural diagram of the inkjet detection device.
Fig. 7 is a left side view of fig. 6.
Fig. 8 is a schematic circuit connection diagram of the code-spraying proximity sensor of the present invention.
FIG. 9 is a schematic diagram of the detection proximity sensor circuit connection of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
The invention provides a working method of an automatic code spraying and detecting system for biological DNA card bags, which comprises the following steps as shown in figure 1:
s1, initializing the system;
s2, counting the number of the packaging bags passing through the coding device;
s3, when the controller detects that the packaging bag is at the code spraying position of the code spraying device, the controller controls the code spraying device to spray codes on the packaging bag;
s4, when the controller detects that the packaging bag is located at the position below the industrial camera, the controller controls the industrial camera to shoot the packaging bag, and the shot image is used as an image to be processed;
and S5, removing unqualified products by the sucker manipulator, and conveying the qualified products to a qualified product storage table.
In a preferred embodiment of the present invention, step S1 includes the following steps:
s11, the controller sends a zero clearing signal to the encoder to clear the encoder;
s12, the controller sends a cut-off level t to the code spraying proximity sensor1After time, said t1If the number is positive, sending a conduction level to the code spraying proximity sensor to enable the conduction level to supply power to the code spraying proximity sensor;
s13, the controller sends a cut-off level t to the proximity sensor2After time, said t2If the number is positive, sending a conduction level to the detection proximity sensor to supply power to the detection proximity sensor;
s14, the controller sends a control command to the limit motor to enable the limit motor to drive the limit bolt to rotate, and the gap between the roller and the first conveying line is minimized;
and S15, the controller simultaneously sends control commands to the first motor and the second motor respectively to enable the baffle bars to move to the rightmost sides of the two baffle bar sliding grooves, and sends control commands to the third motor and the fourth motor to enable the baffle bars to move to the two tail ends of the vertical sliding grooves, and the storage area is the largest at the moment.
In a preferred embodiment of the present invention, in step S2, the number of the packing bags is calculated by:
nT=2πR×NT/L,
wherein L is the length of a single packaging bag along the moving direction of the first conveying line; r represents the rolling radius of the roller, NTRepresenting the total number of turns of the encoder during the first conveyor line running time T; n isTIndicates the number of packages passing through the coding device.
In a preferred embodiment of the present invention, in step S3, the method for the controller to detect whether the packaging bag is at the code spraying position of the code spraying device includes:
if the code spraying proximity sensor inputs high level to the controller, the packaging bag is located at a code spraying position of the code spraying device, and the controller controls the code spraying device to spray codes on the packaging bag;
if the code spraying proximity sensor inputs low level to the controller, the packaging bag is not located at the code spraying position of the code spraying device, and the packaging bag is waited to be located at the code spraying position of the code spraying device;
in step S4, the method for the controller to detect whether the packaging bag is in the photographing position of the industrial camera is as follows:
if the high level input to the controller by the proximity sensor is detected, the packaging bag is located at a photographing position of the industrial camera, and the controller controls the industrial camera to photograph the packaging bag;
if the input level of the proximity sensor to the controller is low, the packaging bag is not in the photographing position of the industrial camera, and the packaging bag is waited to be in the photographing position of the industrial camera.
In a preferred embodiment of the present invention, in step S4, the method for determining whether the image to be processed is a non-defective product or a defective product includes:
s41, the controller processes the acquired image to be processed to obtain a processed image;
s42, the controller determines whether the obtained processed image is consistent with a preset image:
if the obtained processing image is consistent with the preset image, the packaging bag is a qualified product; executing the next image to be processed;
if the obtained processing image is inconsistent with the preset image, the packaging bag is an unqualified product; and executing the next image to be processed.
In a preferred embodiment of the present invention, step S41 includes the following steps:
s411, calibrating a code spraying area in the image to be processed to obtain a calibrated image;
s412, identifying the characteristic points of the calibration image, and judging the similarity between the calibration image and a preset image:
if the similarity between the calibration image and the preset image is greater than or equal to a preset image threshold value, the image to be processed is a processed image; step S42 is executed;
if the similarity between the calibration image and the preset image is smaller than the preset image threshold value, the packaging bag shot by the industrial camera is a defective product; and executing the next image to be processed.
In a preferred embodiment of the present invention, in step S411, the method for calibrating the code-spraying area in the image to be processed includes: and moving the initial selection frame to a code spraying area, wherein the width and the height of the initial selection frame are W and H respectively, and if the gray value outside the initial selection frame is not in the preset gray value range, the height or the width of the selection frame is increased.
In a preferred embodiment of the present invention, in step S412, the similarity calculation method includes:
Figure BDA0002443162530000051
wherein, aijExpressing the gray value at the characteristic point (I, j) of the calibration image, and expressing the number of pixel points in each line in the calibration image by I; j represents the number of pixel points in each column in the calibration image;
Figure BDA0002443162530000053
representing the calibrated image coefficients; bijExpressing the gray value at the characteristic point (I, j) of the preset image, and expressing the number of pixel points in each row in the preset image by I'; j' meterDisplaying the number of pixel points in each row in a preset image;
Figure BDA0002443162530000054
representing a preset image coefficient;
Figure BDA0002443162530000052
PI1、PI2pixel values, W, for a calibration image and a preset image, respectively1、W2Width, H, of the calibration image and the preset image, respectively1、H2Respectively the heights of the calibration image and the preset image;
if S is greater than or equal to S0,S0If the image is the preset image threshold value, the image to be processed is a processed image;
if S is less than S0And the packaging bag is unqualified.
In a preferred embodiment of the present invention, the method of determining whether the obtained processed image coincides with the preset image in step S42 is:
s421, reading image information P in the obtained processing image, wherein the image information P comprises one or any combination of characters, numbers and letters;
s422, reading image information Q in a preset image; the image information Q comprises one or any combination of characters, numbers and letters;
S423,P={p1,p2,p3,…,pm},Q={q1,q2,q3,…,qnp is an image information set in a processed image, and Q is an image information set in a preset image;
if p isi=qjJ ═ 1,2,3 …, m, and m ═ n; the obtained processing image is consistent with the preset image, and the packaging bag is a qualified product;
wherein p isiProcessing the ith element in the image information set in the image; i is a positive integer less than or equal to m; q. q.sjThe method comprises the steps of setting j-th elements in an image information set in a preset image; j is a positive integer less than or equal to n;
otherwise, the obtained processing image is inconsistent with the preset image, and the packaging bag is a defective product.
In a preferred embodiment of the present invention, step S4 further includes: if the brightness of the image shot by the industrial camera is less than or equal to the first brightness of the preset image, the controller sends a control command to the first lamp tube to light the first lamp tube; if the brightness of the image shot by the industrial camera is still less than or equal to the first brightness of the preset image after the first lamp tube is lightened, the controller sends a control command to the second lamp tube to lighten the second lamp tube;
if the brightness of the image shot by the industrial camera is greater than or equal to the second brightness of the preset image, and the second brightness of the preset image is greater than the first brightness of the preset image, the controller sends a control command to the second lamp tube to enable the second lamp tube to be turned off; if the brightness of the image shot by the industrial camera is still greater than or equal to the second brightness of the preset image after the second lamp tube is extinguished, the controller sends a control command to the first lamp tube to extinguish the first lamp tube;
after the system initialization in step S1, the method further includes: the controller sends a control command to the limiting motor, so that the limiting motor drives the limiting bolt to rotate, and the gap between the roller and the first conveying line is increased by l; l ═ l1-l0,l1Is the thickness of the packaging bag, /)0A preset thickness;
the controller respectively and simultaneously sends control commands to the first motor and the second motor to enable the baffle strips to move leftwards, and sends control commands to the third motor and the fourth motor to enable the baffle plates to move towards the middle, and at the moment, the storage area is equal to the length and the width of the packaging bag.
As shown in fig. 2 to 7, the invention also discloses an automatic code spraying and detecting system for biological DNA card bags, which mainly comprises a paging machine operating platform 17, a paging machine 20, a first conveying line 1, a coding device, a code spraying detection device, a second conveying line 18, a sucker manipulator 21, an unqualified product storage frame 22, a qualified product storage platform 19, a baffle bracket 23 and a baffle 24, wherein the coding device comprises a coder 2, a connecting plate 3, a coder mounting frame 4, a roller 5, an elastic element 6 and a limiting piece 7, and the code spraying detection device comprises a code spraying proximity sensor 8, a code spraying device 9, a code spraying device bracket 10, a code spraying mechanism main bracket 11, a sensor bracket 12, a bracket mounting seat 13, a detection proximity sensor 14, a detection device 15 and a detection device mounting frame 16. The code spraying proximity signal output end of the code spraying proximity sensor 8 is connected with the code spraying proximity signal input end of the controller, the detection proximity signal output end of the detection proximity sensor 14 is connected with the detection proximity signal input end of the controller, the sorting machine operating platform 17, the first conveying line 1, the second conveying line 18 and the qualified product storage platform 19 are sequentially arranged from front to back, the sorting machine 20 is arranged on the sorting machine operating platform 17, the coding device and the code spraying detection device are arranged above the first conveying line 1, the sucker manipulator 21 and the unqualified product storage frame 22 are arranged on one side of the second conveying line 18, the sorting machine 20 can sort stacks of packaging bags one by one onto the first conveying line 1, the packaging bags are sequentially coded by the coding device on the first conveying line 1, the code spraying proximity sensor 8 is used for sensing, the code spraying device 9 is used for spraying codes, the detection proximity sensor 14 is used for sensing, and the detection device 15 is used for identifying, and then the packaging bags are conveyed to a second conveying line 18, unqualified products are removed from the packaging bags on the second conveying line 18 through a sucker manipulator 21 and are placed in an unqualified product storage frame 22, and finally qualified products are conveyed to a qualified product storage table 19.
Further, a rack is installed on one side of the first conveying line 1, an encoder installation rack 4 is installed on the rack, specifically, the encoder installation rack 4 comprises a vertical adjusting support 4a and a transverse adjusting support 4b, the vertical adjusting support 4a is L-shaped, a vertical section of the vertical adjusting support 4a is provided with a vertical strip-shaped hole extending vertically, the rack is provided with at least one row of threaded holes arranged at intervals left and right, the vertical adjusting support 4a is fixed on the rack through bolts penetrating through the vertical strip-shaped hole and the threaded holes on the rack, so that the overall height of the vertical adjusting support 4a and the transverse adjusting support 4b can be adjusted through the bolts, the horizontal section of the vertical adjusting support 4a is provided with at least one row of threaded holes arranged at intervals left and right, the transverse adjusting support 4b is provided with a horizontal strip-shaped hole extending horizontally and corresponding to the threaded holes of the vertical adjusting support 4a, the horizontal adjusting bracket 4b is fixed on the vertical adjusting bracket 4a through a bolt which passes through the horizontal strip-shaped hole and the threaded hole of the vertical adjusting bracket 4a, so that the horizontal position of the horizontal adjusting bracket 4b relative to the vertical adjusting bracket 4a can be adjusted.
Further, transversely adjust the one end downwardly bending type one-tenth erection section at support 4b near 1 middle part of first transfer chain, install connecting plate 3 on this erection section, this connecting plate 3 is located the top of first transfer chain 1, the one end of connecting plate 3 articulates on the erection section, the other end is provided with gyro wheel 5 and encoder 2, the rotation axis of encoder 2 links to each other with gyro wheel 5's rotation axis, encoder 2's count output links to each other with the count input of controller, when wrapping bag when following gyro wheel 5 below process on first transfer chain 1, can force gyro wheel 5 upwards to lift up, make gyro wheel 5 take place to rotate simultaneously, encoder 2 produces the angle displacement under gyro wheel 5's drive, thereby the count is once. Between the connecting plate 3 and the encoder mounting frame 4, an elastic element 6 is provided for urging the connecting plate 3 to return quickly, and in this embodiment, the elastic element 6 is preferably a tension spring for allowing the connecting plate 3 to return quickly, i.e., for urging the roller 5 to return quickly. A limiting piece 7 for limiting the initial position of the roller 5 is further arranged on the connecting plate 3. Specifically, the limiting part 7 comprises a bolt fixing block 7a and a limiting bolt 7b in threaded connection with the bolt fixing block 7a, a limiting motor for driving the limiting bolt 7b to rotate is arranged at one end of the limiting bolt 7b, the rotating end of the limiting motor is connected with one end of the limiting bolt 7b, the control signal input end of the limiting motor is connected with the control signal output end of the limiting motor of the controller, and the shell of the limiting motor is connected with the bolt fixing block 7a through at least two pressure springs; the bolt fixing block 7a is fixed on the connecting plate 3, when the roller 5 is at the initial position, the limiting end of the limiting bolt 7b is abutted against the encoder mounting frame 4, so that the initial position of the roller 5 can be effectively limited, the roller 5 and the first conveying line 1 have a gap, the gap is smaller than the thickness of the packaging bag, and the roller 5 can be forced to be lifted upwards when the packaging bag passes through the gap; rotate through spacing motor and drive spacing bolt 7b and rotate, adjust the length of stretching out of spacing bolt 7b on bolt fixing block 7a, can adjust the initial position of gyro wheel 5 automatically to be applicable to the wrapping bag of different models, simple structure is reliable, easily the operation.
Further, a code spraying proximity sensor 8, a code spraying device 9, a detection proximity sensor 14 and a detection device 15 are sequentially arranged from front to back along the conveying direction of the belt conveying line 1, a code spraying signal input end of the code spraying device is connected with a code spraying signal output end of the controller, a detection signal output end of the detection device is connected with a detection signal input end of the controller, namely the code spraying proximity sensor 8 is positioned in front of the code spraying device 9, when the code spraying proximity sensor 8 detects a to-be-sprayed code (packaging bag), a signal is transmitted to the controller, and the code spraying device 9 is controlled by the controller to spray codes; the detection proximity sensor 14 is located in front of the detection device 15, when the detection proximity sensor 14 detects that an object (packaging bag) to be detected is detected, a signal is transmitted to the controller, the controller controls the detection device 15 to identify the code spraying quality of the object to be detected, unqualified parts are convenient to reject, the efficiency is high, the error is small, the omission phenomenon is hardly caused, and the qualification rate of outgoing products is ensured.
Further, the code spraying mechanism main support 11 is installed above the first conveying line 1, the code spraying mechanism main support 11 is a portal frame consisting of two beams 11a extending left and right and two longitudinal beams 11b, the two longitudinal beams 11b are respectively fixed on the left and right sides of the first conveying line 1, the two beams 11a are distributed at intervals from top to bottom and span above the belt of the first conveying line 1, a vertically extending chute is arranged on the longitudinal beam 11b, and a horizontally extending chute is arranged on the transverse beam 11 a.
Further, the code spraying proximity sensor 8 is installed on a main bracket 11 of the code spraying mechanism through a sensor bracket 12, and the up-down, left-right and front-back positions can be adjusted through the sensor bracket 12. Specifically, the sensor bracket 12 is mounted in a slide groove of one of the longitudinal beams 11b via a bracket mounting base 13, and the bracket mounting base 13 can slide up and down along the slide groove and can be fixed to the longitudinal beam 11b via a bolt. The sensor support 12 is formed by connecting a plurality of rotatable and slidably adjustable mounting adjusting rods in a combined manner, the position of the code spraying proximity sensor 8 can be adjusted at will within a space range, and the method is simple and reliable. The code spraying device 9 can be installed in a sliding groove of a cross beam 11a below the main support 11 of the code spraying mechanism in a left-right sliding mode through the code spraying device support 10, and the code spraying device support 10 is composed of a vertical screw rod sliding table 10a extending vertically and a horizontal screw rod sliding table 10b extending left and right. In this embodiment, the number of ink jet numbering machine 9 is two, and two ink jet numbering machines 9 distribute around along belt conveyor line 1's direction of delivery to control the setting of staggering, can spout the sign indicating number respectively to the different positions of wrapping bag simultaneously, in the use of wrapping bag, even under one of them information code wearing and tearing lead to unable discernment's the condition, still can discern another information code, improved the reliability of information code. It should be noted that the left code spraying device bracket 10 is installed in the sliding groove of the cross beam 11a through the sliding block, an adjusting bracket capable of sliding left and right is arranged in the sliding groove of the cross beam 11a, the sliding groove extending left and right is arranged on the adjusting bracket, and the right code spraying device bracket 10 is installed in the sliding groove of the adjusting bracket 11c through the sliding block.
Further, the detection proximity sensor 14 and the detection device 15 are mounted on the main support 11 of the code spraying mechanism through the detection device mounting frame 16, and can be adjusted to be in left-right, up-down positions through the detection device mounting frame 16, the detection device 15 comprises an industrial camera 15a and a lighting device 15b, an image signal output end of the industrial camera is connected with an image signal input end of the controller, and the industrial camera 15a is located above the lighting device 15 b. The lighting device 15b provides illumination for the belt conveyor line 1 below the industrial camera 15a, so that the industrial camera 15a can more clearly capture the code-sprayed image on the packaging bag. Wherein the detection device mounting frame 16 is mounted on the upper cross member 11 a. The lighting device 15b comprises two lamp tubes which are arranged in bilateral symmetry and extend forwards and backwards, namely a first lamp tube and a second lamp tube respectively, a lighting first circuit board is arranged in the first lamp tube, and M light-emitting diodes, M triodes and M resistors are arranged on the lighting first circuit board; m light emitting diodes are respectively Light Emitting Diodes (LEDs)1Light Emitting Diode (LED)2Light Emitting Diode (LED)3… …, light emitting diode LEDMThe M triodes are triodes Q1Triode Q2Triode Q3… …, triode QMM resistors are respectively resistors R1Resistance R2Resistance R3… …, resistor RM(ii) a Its triode Q1Collector electrode and Light Emitting Diode (LED)1Are connected with the cathode of the LED1Positive electrode and resistor R1First end ofConnected by a resistor R1The second end of the triode Q is connected with a +5V power supply1Is connected to power ground, a triode Q1The base electrode of the first lead is connected with the first end of the shared first lead; triode Q2Collector electrode and Light Emitting Diode (LED)2Are connected with the cathode of the LED2Positive electrode and resistor R2Is connected to a first terminal of a resistor R2The second end of the triode Q is connected with a +5V power supply2Is connected to power ground, a triode Q2The base electrode of the first lead is connected with the first end of the shared first lead; triode Q3Collector electrode and Light Emitting Diode (LED)3Are connected with the cathode of the LED3Positive electrode and resistor R3Is connected to a first terminal of a resistor R3The second end of the triode Q is connected with a +5V power supply3Is connected to power ground, a triode Q3The base electrode of the first lead is connected with the first end of the shared first lead; … …, respectively; triode QMCollector electrode and Light Emitting Diode (LED)MAre connected with the cathode of the LEDMPositive electrode and resistor RMIs connected to a first terminal of a resistor RMThe second end of the triode Q is connected with a +5V power supplyMIs connected to power ground, a triode QMThe base electrode of the first lead is connected with the first end of the shared first lead; the second end of the shared first wire is connected with the first light control output end of the controller; a lighting second circuit board is arranged in the second lamp tube, and M light-emitting diodes, M triodes and M resistors are arranged on the lighting second circuit board; m light emitting diodes are respectively Light Emitting Diodes (LEDs)M+1Light Emitting Diode (LED)M+2Light Emitting Diode (LED)M+3… …, light emitting diode LED2MThe M triodes are triodes QM+1Triode QM+2Triode QM+3… …, triode Q2MM resistors are respectively resistors RM+1Resistance RM+2Resistance RM+3… …, resistor R2M(ii) a Its triode QM+1Collector electrode and Light Emitting Diode (LED)M+1Are connected with the cathode of the LEDM+1Positive electrode and resistor RM+1Is connected to a first terminal of a resistor RM+1The second end of the triode Q is connected with a +5V power supplyM+1Is connected to power ground, a triode QM+1The base electrode of the first lead is connected with the first end of the shared second lead; triode QM+2Collector electrode and Light Emitting Diode (LED)M+2Are connected with the cathode of the LEDM+2Positive electrode and resistor RM+2Is connected to a first terminal of a resistor RM+2The second end of the triode Q is connected with a +5V power supplyM+2Is connected to power ground, a triode QM+2The base electrode of the first lead is connected with the first end of the shared second lead; triode QM+3Collector electrode and Light Emitting Diode (LED)M+3Are connected with the cathode of the LEDM+3Positive electrode and resistor RM+3Is connected to a first terminal of a resistor RM+3The second end of the triode Q is connected with a +5V power supplyM+3Is connected to power ground, a triode QM+3The base electrode of the first lead is connected with the first end of the shared second lead; … …, respectively; triode Q2MCollector electrode and Light Emitting Diode (LED)2MAre connected with the cathode of the LED2MPositive electrode and resistor R2MIs connected to a first terminal of a resistor R2MThe second end of the triode Q is connected with a +5V power supply2MIs connected to power ground, a triode Q2MThe base electrode of the first lead is connected with the first end of the shared second lead; the second end of the shared second wire is connected with the second light control output end of the controller; the light of two fluorescent tubes all shines on the conveyer belt between the two, not only can provide abundant illumination to do benefit to industrial camera 15a accurately discernment and spout the sign indicating number quality, simple structure is reliable moreover, low cost, and the illumination position between two fluorescent tubes is aimed at downwards to industrial camera 15 a's camera, and industrial camera can be with the image transmission who shoots to industrial control computer (controller) in, compare through the system, thereby detect spouting the sign indicating number quality.
Furthermore, the table top of the qualified product storage table 19 is arranged in a backward and forward manner, a baffle bracket 23 and two baffles 24 which are oppositely arranged left and right and extend forwards and backwards are arranged on the table top, the baffle bracket 23 comprises a baffle bar 23a which is in contact with the table top and two baffle bar sliding grooves 23b which are oppositely arranged left and right and extend forwards and backwards, motors which drive the transverse telescopic rods to extend and shorten are respectively arranged in the tail ends of the two baffle bar sliding grooves 23b and are respectively a first motor and a second motor, the control signal input end of the first motor is connected with the control signal output end of the first motor of the controller, the control signal input end of the second motor is connected with the control signal output end of the second motor of the controller, and the baffle bars 23a slide forwards and backwards through the extension and the shortening of the transverse telescopic rods;
extend and with the parallel bar hole of mesa about being provided with on blend stop 23a, two baffle 24 end connects anti-drop behind the bar hole, still includes two the vertical spout that extends about setting up between baffle 24 is provided with the motor that the vertical telescopic link of drive extension and shorten respectively in two ends of vertical spout, is third motor and fourth motor respectively, and the control signal input of third motor links to each other with the third motor control signal output of controller, and the control signal input of fourth motor links to each other with the fourth motor control signal output of controller, makes its two with shortening the extension through vertical telescopic link interval increase and reduction between baffle 24.
Further, spout a yard proximity sensor 8 including spouting the yard and being close power module, spout a yard and be close light emission module and spout a yard and be close light receiving module, spout a yard and be close power module's power output end and spout a yard power input end that is close light emission module and spout a yard respectively and be close light receiving module and link to each other, spout a yard and be close light emission module emitted light and receive by spouting a yard when being close light receiving module, spout a yard and be close light receiving module level output and alternate. Wherein, spout a yard and be close power module and include: the first power supply is respectively connected with the first end of an output loop of the relay J1 and an emitter of the triode Q3, a collector of the triode Q3 is connected with the first end of an input loop of the relay J1, the second end of the input loop of the relay J1 is connected with a power ground, the second end of the output loop of the relay J1 is respectively connected with a power input end of the light emitting module and a power input end of the light receiving module, and a base of the triode Q3 is connected with a code spraying approach power supply signal output end of the controller; when the code spraying of the controller is close to the output conduction level of the power supply signal output end, the triode Q3 of the controller is conducted, the input loop of the relay J1 is electrified, the output loop of the relay J1 is changed from a normally open state to a closed state, and a first power supply is output outwards to supply power for the light emitting module and the light receiving module; on the contrary, when the code spraying of the controller is close to the output cut-off level of the power supply signal output end, the triode Q3 is cut off, the input loop of the relay J1 loses power, the output loop of the relay J1 is in a normally open state, and the first power supply is stopped being output outwards.
The code spraying light emission module comprises a discharge terminal DIS of a timing chip U3 connected to a first terminal of a resistor R10, a first terminal of a resistor R11 and an anode of a diode D2, a trigger terminal TR of a timing chip U3 and a threshold terminal TH of a timing chip U3 connected to a second terminal of a resistor R11, a first terminal of a capacitor C10 and a cathode of a diode D2, a second terminal of a capacitor C10 connected to a power ground, a power supply terminal MR of the timing chip U3 and a power supply terminal VDD of the timing chip U3 connected to the second terminal of the resistor R3 and the power supply output terminal of the power supply module, a ground terminal GND of the timing chip U3 connected to a power supply ground, a control terminal VC of the timing chip U3 connected to the first terminal of the capacitor C → a power supply terminal of the timing chip U3, a power supply terminal VC → a power supply terminal of the timing chip U3, a timing chip C, a timing chip U3 connected to a power supply terminal of the timing chip, a power supply terminal of the timing chip U3, a timing chip U3, a timing chip emitting pulse signal, a pulse signal from a power supply, a power supply voltage when the timing chip U72, a power supply voltage is applied to the timing chip, a constant of the timing chip, a power supply voltage of the timing chip, a power supply terminal V, a constant of the timing chip, a timing chip U3, a timing chip, a power supply terminal of the timing chip U3, a timing chip is constant of the timing chip, a timing chip U3, a timing chip, a power supply terminal V, a timing chip C, a timing chip U3, a timing chip C3, a timing chip C, a timing chip emitter, a timing chip C, a timing chip 72, a timing chip.
The code spraying and approaching light receiving module comprises: the cathode of the light receiving tube LED1 is connected to the first end of the capacitor C9 and the first end of the resistor R9, the second end of the capacitor C9 is connected to the power ground, the second end of the resistor R9 is connected to the first end of the capacitor C8, the first end of the inductor L1, the first end of the resistor R1, the first end of the capacitor C5 and the power supply terminal VCC of the filter amplifier chip U2, the second end of the resistor R1 is connected to the power supply output terminal of the power supply module, the anode of the light receiving tube LED1 is connected to the signal input terminal IN of the filter amplifier chip U2, the second end of the capacitor C8 and the second end of the inductor L1 are connected to the filter adjustment terminal F0 of the filter amplifier chip U2, the integrating terminal C3 of the filter amplifier chip U2 is connected to the second end of the capacitor C3 and the first end of the resistor R3, the second end of the resistor R3 is connected to the power ground, the gain adjustment terminal C3 of the filter amplifier chip U3 is connected to the second end of the capacitor C3, and the second end of the capacitor C3 is, the second end of the resistor R8 is connected with the power ground, the detection end C2 of the filter amplification chip U2 is connected with the first end of the capacitor C7, the second end of the capacitor C7 is connected with the power ground, the ground end GND of the filter amplification chip U2 is connected with the power ground, the signal output end OUT of the filter amplification chip U2 is connected with the signal INPUT end INPUT of the decoding chip U1, the timing resistor TRES of the decoding chip U1 is connected with the first end of the resistor R6, the second end of the resistor R6 is connected with the first end of the capacitor C4, the second end of the capacitor C4 is connected with the power ground, the ground end GND of the decoding chip U6329 is connected with the power ground, the loop filter end LPF of the decoding chip U1 is connected with the first end of the capacitor C3, the second end of the capacitor C3 is connected with the power ground, the timing capacitor end TCAP of the decoding chip U1 is connected with the power ground, the V + of the decoding chip 1 is respectively connected with the first end of the power supply terminal of the resistor R395, the second end of the resistor R5 is connected with the first end of the resistor R1, the second end of the capacitor C2 and the cathode of the diode D1 are respectively connected with a power ground, the OUTPUT end OUTPUT of the decoding chip U1 is connected with the first end of the capacitor C1, the OUTPUT filter end OUTFI of the decoding chip U1 is respectively connected with the second end of the capacitor C1 and the base of the triode Q1, the emitter of the triode Q1 is connected with the first end of the resistor R2, the second end of the resistor R2 is connected with the power OUTPUT end of the power supply module, the collector of the triode Q1 is connected with the first end of the resistor R3, the second end of the resistor R3 is respectively connected with the first end of the resistor R4 and the code spraying proximity signal input end of the controller, and the second end of the resistor R4 is connected with the. The receiving frequency is adjusted to 35KHZ by the capacitor C8 and the inductor L1, and after the receiving frequency is amplified and detected in the filtering amplification chip U2, a 1.5KHZ modulation signal is output by a signal output end OUT of the filtering amplification chip U2. When the signal INPUT terminal INPUT of the decoding chip U1 INPUTs a signal of 1.5KHZ, the OUTPUT terminal OUTPUT of the decoding chip U1 OUTPUTs a conducting level, and the pulse width is about 1.5 seconds through the capacitor C3 and the capacitor C4. That is, the conduction level turns on the driving transistor Q1, and a high level is input to the code spraying approach signal input end of the controller.
As shown in fig. 8, the specific connection circuit of the code-spraying proximity sensor is as follows: the +12V power supply is respectively connected with the first end of an output loop of the relay J1 and an emitter of the triode Q3, a collector of the triode Q3 is connected with the first end of an input loop of the relay J1, the second end of the input loop of the relay J1 is connected with the power ground, and a base of the triode Q3 is connected with a code spraying approach power supply signal output end of the controller; a discharge terminal DIS of the timing chip U3 is connected to a first terminal of a resistor R10, a first terminal of a resistor R11 and an anode of a diode D2, a trigger terminal TR of the timing chip U3 and a threshold terminal TH of the timing chip U3 are connected to a second terminal of a resistor R11, a first terminal of a capacitor C10 and a cathode of a diode D2, a second terminal of a capacitor C10 is connected to a power ground, a reset terminal MR of the timing chip U3 and a power terminal VDD of the timing chip U3 are connected to a second terminal of the resistor R10 and a second terminal of an output circuit of the relay J1, a ground terminal of the timing chip U3 is connected to the power ground, a control terminal VC of the timing chip U3 is connected to a first terminal of the capacitor C11, a second terminal of the capacitor C11 is connected to the power ground, and an output terminal VO of the timing chip U3 is connected to a first terminal GND of a resistor R12; a discharge end DIS of the timing chip U4 is connected to a second end of the resistor R12 and a first end of the resistor R13, a trigger end TR of the timing chip U4 and a threshold end TH of the timing chip U4 are connected to a second end of the resistor R13 and a first end of the capacitor C12, respectively, a second end of the capacitor C12 is connected to a power ground, a reset end MR of the timing chip U4 and a power supply end VDD of the timing chip U4 are connected to a second end of an output loop of the relay J1, a ground end GND of the timing chip U4 is connected to the power ground, a control end VC of the timing chip U4 is connected to a first end of the capacitor C13, a second end of the capacitor C13 is connected to the power ground, and an output end VO of the timing chip U4 is connected to a first end of the resistor R14; the second end of the resistor R14 is connected with the base electrode of the triode Q2, the emitter electrode of the triode Q2 is connected with the first end of the resistor R15, the second end of the resistor R15 is connected with the second end of the output loop of the relay J1, the collector electrode of the triode Q2 is connected with the first end of the resistor R16, the second end of the resistor R16 is connected with the anode of the light emitting tube LED2, the cathode of the light emitting tube LED2 is connected with the first end of the resistor R17, and the second end of the resistor R17 is connected with the power ground; the cathode of the light receiving tube LED1 is connected to the first end of the capacitor C9 and the first end of the resistor R9, the second end of the capacitor C9 is connected to the ground, the second end of the resistor R9 is connected to the first end of the capacitor C8, the first end of the inductor L1, the first end of the resistor R1, the first end of the capacitor C5 and the power supply terminal VCC of the filter amplifier chip U2, the second end of the resistor R1 is connected to the second end of the output loop of the relay J1, the anode of the light receiving tube LED1 is connected to the signal input terminal IN of the filter amplifier chip U2, the second end of the capacitor C8 and the second end of the inductor L1 are connected to the filter adjustment terminal F0 of the filter amplifier chip U2, the integrating terminal C3 of the filter amplifier chip U2 is connected to the second end of the capacitor C5 and the first end of the resistor R7, the second end of the resistor R7 is connected to the ground, and the gain adjustment terminal C7 of the filter amplifier chip U7 is connected to the first end 7, a second terminal of the capacitor C6 is connected to a first terminal of the resistor R8, a second terminal of the resistor R8 is connected to a power ground, a detection terminal C2 of the filter amplifier chip U2 is connected to a first terminal of the capacitor C7, a second terminal of the capacitor C7 is connected to the power ground, a ground terminal GND of the filter amplifier chip U2 is connected to the power ground, a signal output terminal OUT of the filter amplifier chip U2 is connected to a signal INPUT terminal INPUT of the decoder chip U1, a timing resistor terminal TRES of the decoder chip U1 is connected to a first terminal of the resistor R6, a second terminal of the resistor R6 is connected to a first terminal of the capacitor C4, a second terminal of the capacitor C4 is connected to the power ground, a ground terminal GND of the decoder chip U1 is connected to the power ground, a loop filter terminal of the decoder chip U1 is connected to a first terminal of the capacitor C3, a second terminal of the capacitor C3 is connected to the power ground, a timing capacitor terminal TCAP of the decoder chip U1 is connected to the power ground, and a first terminal of the decoder chip U5, A first end of a capacitor C2 is connected with an anode of a diode D1, a second end of a resistor R5 is connected with a first end of a resistor R1, a second end of the capacitor C2 and a cathode of a diode D1 are respectively connected with a power ground, an OUTPUT terminal OUTPUT of a decoding chip U1 is connected with a first end of a capacitor C1, an OUTPUT filter terminal OUTFI of the decoding chip U1 is respectively connected with a second end of a capacitor C1 and a base of a transistor Q1, an emitter of the transistor Q1 is connected with a first end of the resistor R2, a second end of a resistor R2 is connected with a second end of an OUTPUT loop of the relay J1, a collector of the transistor Q1 is connected with a first end of a resistor R3, a second end of the resistor R3 is respectively connected with a first end of a resistor R4 and a code spraying proximity signal input end of the controller, and a second end of a resistor R4 is connected with the. In this embodiment, the model of the timing chip U3 and the model of the timing chip U4 are NE555, the model of the filtering and amplifying chip U2 is CX20106A or μ PC1373, and the model of the decoding chip U1 is LM 567.
The light source circuit of the light source circuit of the light source circuit of the light source circuit of the light source circuit of the light source circuit of the light source circuit of.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A working method of an automatic code spraying and detecting system for biological DNA card bags is characterized by comprising the following steps:
s1, initializing the system;
s2, counting the number of the packaging bags passing through the coding device;
s3, when the controller detects that the packaging bag is at the code spraying position of the code spraying device, the controller controls the code spraying device to spray codes on the packaging bag;
s4, when the controller detects that the packaging bag is located at the position below the industrial camera, the controller controls the industrial camera to shoot the packaging bag, and the shot image is used as an image to be processed;
and S5, removing unqualified products by the sucker manipulator, and conveying the qualified products to a qualified product storage table.
2. The method for operating an automatic code spraying and detecting system for biological DNA card bags according to claim 1, wherein in step S1, the method comprises the following steps:
s11, the controller sends a zero clearing signal to the encoder to clear the encoder;
s12, controllerSending a cut-off level t to a code spraying proximity sensor1After time, said t1If the number is positive, sending a conduction level to the code spraying proximity sensor to enable the conduction level to supply power to the code spraying proximity sensor;
s13, the controller sends a cut-off level t to the proximity sensor2After time, said t2If the number is positive, sending a conduction level to the detection proximity sensor to supply power to the detection proximity sensor;
s14, the controller sends a control command to the limit motor to enable the limit motor to drive the limit bolt to rotate, and the gap between the roller and the first conveying line is minimized;
and S15, the controller simultaneously sends control commands to the first motor and the second motor respectively to enable the baffle bars to move to the rightmost sides of the two baffle bar sliding grooves, and sends control commands to the third motor and the fourth motor to enable the baffle bars to move to the two tail ends of the vertical sliding grooves, and the storage area is the largest at the moment.
3. The method for operating an automatic code spraying and detecting system for biological DNA card bags according to claim 1, wherein in step S2, the number of bags is calculated by:
nT=2πR×NT/L,
wherein R represents the rolling radius of the roller, NTRepresenting the total number of turns of the encoder during the first conveyor line running time T; n isTIndicates the number of packages passing through the coding device.
4. The method for operating an automatic code spraying and detecting system for biological DNA card bags according to claim 1, wherein in step S3, the method for the controller to detect whether the packaging bag is at the code spraying position of the code spraying device is as follows:
if the code spraying proximity sensor inputs high level to the controller, the packaging bag is located at a code spraying position of the code spraying device, and the controller controls the code spraying device to spray codes on the packaging bag;
if the code spraying proximity sensor inputs low level to the controller, the packaging bag is not located at the code spraying position of the code spraying device, and the packaging bag is waited to be located at the code spraying position of the code spraying device;
in step S4, the method for the controller to detect whether the packaging bag is in the photographing position of the industrial camera is as follows:
if the high level input to the controller by the proximity sensor is detected, the packaging bag is located at a photographing position of the industrial camera, and the controller controls the industrial camera to photograph the packaging bag;
if the input level of the proximity sensor to the controller is low, the packaging bag is not in the photographing position of the industrial camera, and the packaging bag is waited to be in the photographing position of the industrial camera.
5. The method for operating an automatic code spraying and detecting system for biological DNA card bags according to claim 1, wherein in step S4, the method for judging whether the images to be processed are qualified products or unqualified products comprises:
s41, the controller processes the acquired image to be processed to obtain a processed image;
s42, the controller determines whether the obtained processed image is consistent with a preset image:
if the obtained processing image is consistent with the preset image, the packaging bag is a qualified product; executing the next image to be processed;
if the obtained processing image is inconsistent with the preset image, the packaging bag is an unqualified product; and executing the next image to be processed.
6. The method for operating an automatic code spraying and detecting system for biological DNA card bags according to claim 5, wherein the step S41 comprises the following steps:
s411, calibrating a code spraying area in the image to be processed to obtain a calibrated image;
s412, identifying the characteristic points of the calibration image, and judging the similarity between the calibration image and a preset image:
if the similarity between the calibration image and the preset image is greater than or equal to a preset image threshold value, the image to be processed is a processed image; step S42 is executed;
if the similarity between the calibration image and the preset image is smaller than the preset image threshold value, the packaging bag shot by the industrial camera is a defective product; and executing the next image to be processed.
7. The method for operating an automatic code spraying and detecting system for biological DNA card bags according to claim 6, wherein in step S411, the method for calibrating the code spraying area in the image to be processed comprises: and moving the initial selection frame to a code spraying area, wherein the width and the height of the initial selection frame are W and H respectively, and if the gray value outside the initial selection frame is not in the preset gray value range, the height or the width of the selection frame is increased.
8. The method for operating an automatic code spraying and detecting system for biological DNA card bags according to claim 6, wherein in step S412, the similarity calculation method comprises:
Figure FDA0002443162520000031
wherein, aijExpressing the gray value at the characteristic point (I, j) of the calibration image, and expressing the number of pixel points in each line in the calibration image by I; j represents the number of pixel points in each column in the calibration image;
Figure FDA0002443162520000032
representing the calibrated image coefficients; bijExpressing the gray value at the characteristic point (I, j) of the preset image, and expressing the number of pixel points in each row in the preset image by I'; j' represents the number of pixel points in each row in the preset image;
Figure FDA0002443162520000033
representing a preset image coefficient;
Figure FDA0002443162520000034
PI1、PI2pixel values, W, for a calibration image and a preset image, respectively1、W2Respectively for calibration images and for pre-calibrationLet us say the width of the image, H1、H2Respectively the heights of the calibration image and the preset image;
if S is greater than or equal to S0,S0If the image is the preset image threshold value, the image to be processed is a processed image;
if S is less than S0And the packaging bag is unqualified.
9. The method for operating an automatic code spraying and detecting system for biological DNA card bags according to claim 5, wherein the method for judging whether the obtained processed image is consistent with the preset image in step S42 comprises:
s421, reading image information P in the obtained processing image, wherein the image information P comprises one or any combination of characters, numbers and letters;
s422, reading image information Q in a preset image; the image information Q comprises one or any combination of characters, numbers and letters;
S423,P={p1,p2,p3,…,pm},Q={q1,q2,q3,…,qnp is an image information set in a processed image, and Q is an image information set in a preset image;
if p isi=qjI ═ j ═ 1,2,3.., m, and m ═ n; the obtained processing image is consistent with the preset image, and the packaging bag is a qualified product;
wherein p isiProcessing the ith element in the image information set in the image; i is a positive integer less than or equal to m; q. q.sjThe method comprises the steps of setting j-th elements in an image information set in a preset image; j is a positive integer less than or equal to n;
otherwise, the obtained processing image is inconsistent with the preset image, and the packaging bag is a defective product.
10. The method for operating an automatic code spraying and detecting system for biological DNA card bags according to claim 1, wherein in step S4, the method further comprises: if the brightness of the image shot by the industrial camera is less than or equal to the first brightness of the preset image, the controller sends a control command to the first lamp tube to light the first lamp tube; if the brightness of the image shot by the industrial camera is still less than or equal to the first brightness of the preset image after the first lamp tube is lightened, the controller sends a control command to the second lamp tube to lighten the second lamp tube;
if the brightness of the image shot by the industrial camera is greater than or equal to the second brightness of the preset image, and the second brightness of the preset image is greater than the first brightness of the preset image, the controller sends a control command to the second lamp tube to enable the second lamp tube to be turned off; if the brightness of the image shot by the industrial camera is still greater than or equal to the second brightness of the preset image after the second lamp tube is extinguished, the controller sends a control command to the first lamp tube to extinguish the first lamp tube;
after the system initialization in step S1, the method further includes: the controller sends a control command to the limiting motor, so that the limiting motor drives the limiting bolt to rotate, and the gap between the roller and the first conveying line is increased by l; l ═ l1-l0,l1Is the thickness of the packaging bag, /)0A preset thickness;
the controller respectively and simultaneously sends control commands to the first motor and the second motor to enable the baffle strips to move leftwards, and sends control commands to the third motor and the fourth motor to enable the baffle plates to move towards the middle, and at the moment, the storage area is equal to the length and the width of the packaging bag.
CN202010271001.5A 2020-04-08 2020-04-08 Working method of automatic code spraying and detecting system for biological DNA card bag Active CN111361303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010271001.5A CN111361303B (en) 2020-04-08 2020-04-08 Working method of automatic code spraying and detecting system for biological DNA card bag

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010271001.5A CN111361303B (en) 2020-04-08 2020-04-08 Working method of automatic code spraying and detecting system for biological DNA card bag

Publications (2)

Publication Number Publication Date
CN111361303A true CN111361303A (en) 2020-07-03
CN111361303B CN111361303B (en) 2021-03-02

Family

ID=71201273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010271001.5A Active CN111361303B (en) 2020-04-08 2020-04-08 Working method of automatic code spraying and detecting system for biological DNA card bag

Country Status (1)

Country Link
CN (1) CN111361303B (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3795452A (en) * 1973-02-28 1974-03-05 Us Air Force Instrument for automatically inspecting integrated circuit masks for pinholes and spots
JPS572069A (en) * 1980-06-04 1982-01-07 Ricoh Co Ltd Fixing method
JPS58194590A (en) * 1982-05-11 1983-11-12 Canon Inc Printer
US4672258A (en) * 1984-06-18 1987-06-09 Fuji Photo Film Co., Ltd. Semiconductor light source device in image output device
US8562096B2 (en) * 2009-11-24 2013-10-22 Ricoh Company, Ltd. Image forming apparatus, image formation method, and computer-readable medium
CN203439340U (en) * 2013-08-20 2014-02-19 镇江恒顺生物工程有限公司 Automatic tablet counting machine
CN103674961A (en) * 2012-09-14 2014-03-26 株式会社其恩斯 Appearance inspection device, appearance inspection method, and program
CN203592808U (en) * 2013-12-04 2014-05-14 浙江工业大学 Print control device of franking machine
CN203753486U (en) * 2013-12-30 2014-08-06 武汉华工赛百数据系统有限公司 Online multi-form tagging and dynamic acquisition device
CN203805509U (en) * 2013-11-05 2014-09-03 绿安盛得(北京)安全防伪技术有限公司 Anti-counterfeit printing device for cryptical code
CN204774108U (en) * 2015-05-13 2015-11-18 广州市铭钰标识科技有限公司 Mould a tub laser marking vision detection system
CN107270841A (en) * 2017-08-17 2017-10-20 三只松鼠股份有限公司 A kind of packaging bag coding defects detection mechanism
CN207050691U (en) * 2017-06-23 2018-02-27 无锡大洋高科热能装备有限公司 A kind of automatic meter-measuring device
CN109201515A (en) * 2018-07-02 2019-01-15 北京金诺时代科技发展有限公司 Golden promise fully-automatic intelligent spray printing vision detection system
CN110329605A (en) * 2019-07-10 2019-10-15 合肥友高物联网标识设备有限公司 It is a kind of based on vertical or horizontal packing machine endowed detection control method
CN110333242A (en) * 2019-07-15 2019-10-15 武汉楚锐视觉检测科技有限公司 A kind of detection method and its system of PET bottle quality

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3795452A (en) * 1973-02-28 1974-03-05 Us Air Force Instrument for automatically inspecting integrated circuit masks for pinholes and spots
JPS572069A (en) * 1980-06-04 1982-01-07 Ricoh Co Ltd Fixing method
JPS58194590A (en) * 1982-05-11 1983-11-12 Canon Inc Printer
US4672258A (en) * 1984-06-18 1987-06-09 Fuji Photo Film Co., Ltd. Semiconductor light source device in image output device
US8562096B2 (en) * 2009-11-24 2013-10-22 Ricoh Company, Ltd. Image forming apparatus, image formation method, and computer-readable medium
CN103674961A (en) * 2012-09-14 2014-03-26 株式会社其恩斯 Appearance inspection device, appearance inspection method, and program
CN203439340U (en) * 2013-08-20 2014-02-19 镇江恒顺生物工程有限公司 Automatic tablet counting machine
CN203805509U (en) * 2013-11-05 2014-09-03 绿安盛得(北京)安全防伪技术有限公司 Anti-counterfeit printing device for cryptical code
CN203592808U (en) * 2013-12-04 2014-05-14 浙江工业大学 Print control device of franking machine
CN203753486U (en) * 2013-12-30 2014-08-06 武汉华工赛百数据系统有限公司 Online multi-form tagging and dynamic acquisition device
CN204774108U (en) * 2015-05-13 2015-11-18 广州市铭钰标识科技有限公司 Mould a tub laser marking vision detection system
CN207050691U (en) * 2017-06-23 2018-02-27 无锡大洋高科热能装备有限公司 A kind of automatic meter-measuring device
CN107270841A (en) * 2017-08-17 2017-10-20 三只松鼠股份有限公司 A kind of packaging bag coding defects detection mechanism
CN109201515A (en) * 2018-07-02 2019-01-15 北京金诺时代科技发展有限公司 Golden promise fully-automatic intelligent spray printing vision detection system
CN110329605A (en) * 2019-07-10 2019-10-15 合肥友高物联网标识设备有限公司 It is a kind of based on vertical or horizontal packing machine endowed detection control method
CN110333242A (en) * 2019-07-15 2019-10-15 武汉楚锐视觉检测科技有限公司 A kind of detection method and its system of PET bottle quality

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周征 杨建平: "《传感器与检测技术》", 30 September 2017, 西安电子科技大学出版社 *

Also Published As

Publication number Publication date
CN111361303B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
US7908968B2 (en) Vertical marking system
CN209829620U (en) Express delivery parcel automatic sorting line
CN107215525A (en) Automatic equipment and its production method with stamp, patch code and barcode scanning function
US4680464A (en) Optical detecting system for article counting machine
CN211968924U (en) Automatic paging, code spraying and detection production line
CN111361303B (en) Working method of automatic code spraying and detecting system for biological DNA card bag
KR102646278B1 (en) Unmanned Inspection Device Applicable to High-Mix Low-Volume Production and Vision Inspection Method Using thereof
CN105540256A (en) Adsorption device of CCD checking machine
KR20170128967A (en) Abalone spat counter equipment
CN107826350B (en) Leveling device and leveling and classifying method
CN204465732U (en) A kind of online visual quality detects machine
CN111570298A (en) Bad piece removing device for mask
CN111438067A (en) Automatic code spraying and detecting intelligent working system for biological DNA card bags
CN111461045A (en) Code spraying identification method based on machine learning
CN109239103A (en) A kind of moveable coding detection verifying equipment
CN210534021U (en) Inductance outward appearance detecting system
CN213356405U (en) Tropical aluminum deviation alarm
CN212645638U (en) Detection device for identifying laser mark of memory
CN214703360U (en) Assembly line visual detection equipment
CN212633466U (en) Bad piece removing device for mask
CN212846486U (en) Automatic conveying device for food production line
CN113770034A (en) Material sorting system based on electronic tags
CN209102626U (en) A kind of dispensing detection device
US6145647A (en) Automatic corrector for electronic parts queuing machines
CN211733246U (en) Ticket checking machine with adjustable visual detection device

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
GR01 Patent grant
GR01 Patent grant