CN111545487A - Small bag appearance detection device and small bag appearance defect identification method - Google Patents

Small bag appearance detection device and small bag appearance defect identification method Download PDF

Info

Publication number
CN111545487A
CN111545487A CN202010623702.0A CN202010623702A CN111545487A CN 111545487 A CN111545487 A CN 111545487A CN 202010623702 A CN202010623702 A CN 202010623702A CN 111545487 A CN111545487 A CN 111545487A
Authority
CN
China
Prior art keywords
camera
roller
conveying
unit
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010623702.0A
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.)
China Tobacco Guizhou Industrial Co Ltd
Original Assignee
China Tobacco Guizhou Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Tobacco Guizhou Industrial Co Ltd filed Critical China Tobacco Guizhou Industrial Co Ltd
Priority to CN202010623702.0A priority Critical patent/CN111545487A/en
Publication of CN111545487A publication Critical patent/CN111545487A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/34Sorting according to other particular properties
    • B07C5/342Sorting according to other particular properties according to optical properties, e.g. colour
    • B07C5/3422Sorting according to other particular properties according to optical properties, e.g. colour using video scanning devices, e.g. TV-cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The invention discloses a packet appearance detection device and a packet appearance defect identification method, wherein the device comprises a transmission mechanism, a sub-packaging unit, an image acquisition unit and a rejection unit; the subpackage units are symmetrically arranged on two sides of the conveying mechanism and comprise speed reducing belts used for being in contact with the small bags, and the conveying speed of the speed reducing belts is smaller than that of the conveying belts; the image acquisition unit comprises three cameras and reflectors, and images of all surfaces except the bottom surface of the small bag can be acquired through the cooperation of the cameras and the reflectors; the rejecting unit is connected with the transmission mechanism and comprises a rejecting electromagnetic valve and a rejecting channel, and the rejecting electromagnetic valve and the rejecting channel are respectively positioned on two sides of the transmission mechanism. The invention realizes the distance control of the adjacent small packets before being transmitted to the detection area, and reduces the space occupancy rate.

Description

Small bag appearance detection device and small bag appearance defect identification method
Technical Field
The invention relates to the technical field of tobacco machinery, in particular to a small bag appearance detection device and a small bag appearance defect identification method.
Background
Small packet tobacco bale is before carrying out the outward appearance and detecting, generally need pass through the conveyer belt with packet continuouslying conveying to the detection zone, the mode commonly used now is through conveyer belt transmission packet, but, the distance between the adjacent packet is difficult to control, easily causes to take place to wrap the phenomenon even in the detection zone, leads to when detecting a packet, and another packet gets into detection zone interference detection, causes the erroneous judgement to the packet outward appearance.
And the parcel is after getting into the detection zone, need detect the parcel except that the part of bottom surface, if set up the camera and directly shoot the parcel, need make and keep distance far away between camera and the parcel, otherwise be difficult to acquire the complete surface image of parcel, and the camera needs the support to fix around the parcel transmission line, this a large amount of place space that has taken around the transmission line has reduced space utilization.
Disclosure of Invention
The invention aims to provide a small packet appearance detection device and a small packet appearance defect identification method, which are used for solving the problems in the prior art, realizing distance control of adjacent small packets before being transmitted to a detection area and reducing space occupancy rate.
The invention provides a packet appearance detection device, which comprises:
the conveying mechanism is provided with a conveying belt for conveying the small bags;
the subpackage units are symmetrically arranged on two sides of the conveying mechanism and comprise speed reducing belts used for being in contact with the small bags, and the conveying speed of the speed reducing belts is smaller than that of the conveying belts;
the image acquisition unit comprises a first camera, a second camera, a third camera, a first reflector, a second reflector and a third reflector, wherein the first camera and the second camera are respectively arranged at two sides of the conveying mechanism, the first camera acquires images of the front surface of the small bag and the side surface of the small bag close to one side of the first camera through reflection of the first reflector, the second camera acquires images of the rear surface of the small bag and the side surface of the small bag close to one side of the second camera through reflection of the second reflector, the third camera is arranged above the conveying mechanism, and the third camera acquires images of the top surface of the small bag through reflection of the third reflector;
the rejecting unit is connected with the transmission mechanism and comprises a rejecting electromagnetic valve and a rejecting channel, and the rejecting electromagnetic valve and the rejecting channel are respectively positioned on two sides of the transmission mechanism.
The device for detecting the appearance of the small packet preferably further comprises a speed reducing motor, a base plate, a first roller, a second roller, a driving wheel and a tensioning mechanism;
the first roller, the second roller, the driving wheel and the tensioning mechanism are rotationally arranged on the base plate, the first roller and the second roller are distributed in the packet transmission direction, the connecting line of the positions of the first roller, the second roller and the driving wheel is triangular, and the speed reducing belt is wound on the first roller, the second roller and the driving wheel;
the tensioning mechanism and the driving wheel are respectively positioned on two sides of the speed reducing belt, and the tensioning mechanism is tightly pressed on the speed reducing belt;
the fixing part of the speed reducing motor is fixedly arranged on the substrate, an output shaft of the speed reducing motor is connected with the driving wheel, and the linear speed of the driving wheel is smaller than the transmission speed of the transmission mechanism.
In the above-described apparatus for inspecting appearance of a small package, it is preferable that the image pickup unit further includes a light homogenizing cover, the transport mechanism penetrates the light homogenizing cover, the first camera and the second camera are respectively provided on both sides of the light homogenizing cover, and the third camera is provided above the light homogenizing cover.
The device for detecting the appearance of the small bag preferably comprises a tension mechanism, a positioning shaft and a locking member, wherein the tension mechanism is rotatably sleeved on the positioning shaft;
the positioning shaft penetrates through the waist-shaped hole and then is locked and fixed through the locking piece.
The device for detecting the appearance of the small bag preferably comprises a positioning shaft, a locking piece and a bolt, wherein the positioning shaft is provided with the bolt, the locking piece is a locking nut, and the bolt penetrates through the waist-shaped hole and then is fixedly connected with the locking nut.
The apparatus for detecting appearance of a small package as described above, preferably, the sub-packaging unit further includes a support frame, the support frame is connected to the conveying mechanism, the support frame is provided with a plurality of fixing holes in a direction perpendicular to the conveying mechanism, and the substrate is fixedly connected to the support frame through any one or more fixing holes.
The packet appearance detecting device as described above, wherein preferably, the rejecting unit further includes an air nozzle, an air supply device, a smoke blocking structure and a recovery container;
the conveying mechanism is provided with a rejection port, the air faucet is aligned with the rejection port, and an air outlet of the rejection solenoid valve is connected with the air faucet;
the air supply device is connected with the rejection electromagnetic valve;
the smoke blocking structure is arranged above the removing channel;
the recovery container is detachably arranged on the conveying mechanism, a recovery opening is formed in the recovery container, and the recovery opening is aligned with the rejecting channel.
The packet appearance inspection device as described above, wherein the smoke blocking structure is preferably curved, and the smoke blocking structure is curved from a side away from the transport mechanism to above the transport mechanism.
The invention also provides a method for identifying the appearance defects of the small bags, wherein the method comprises the following steps of:
dividing the actual picture into a training set and a test set;
performing data processing on the actual picture, and inputting a characteristic value in a matrix form;
randomly initializing a weight parameter of each feature, and obtaining an input value of a next layer through an activation function;
obtaining a partial derivative by a random gradient descent through a mathematical method, and updating the weight parameter;
obtaining a predicted value by using different regularization parameters;
comparing the predicted value with the input characteristic value, and obtaining a loss function result of each group of parameters;
obtaining a weight parameter corresponding to the minimum value of the loss function;
and testing the performance of identifying defects of the deep learning algorithm of the acquired weight parameters corresponding to the minimum value of the loss function in the test set.
The invention realizes the distance control of the adjacent small packets before being transmitted to the detection area, and reduces the space occupancy rate.
Drawings
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a packet appearance detection apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a packetization unit;
FIG. 3 is a schematic diagram of the structure of the image capturing unit;
fig. 4 is a schematic structural view of the recovery vessel.
Description of reference numerals:
100-transport mechanism
200-sub-packaging unit 201-speed reduction motor 202-substrate
203-speed reducing belt 204-first roller 205-second roller
206-driving wheel 207-tensioning mechanism 208-supporting frame
209-guide strip 210-limit plate 211-support block
300-image acquisition unit 310-first camera 311-first mirror
320-second camera 321-second mirror 330-third camera
331-third reflector 340-dodging cover
400-removing unit 410-removing electromagnetic valve 420-smoke blocking structure
430-recovery Container 431-side wall Panel 432-door
433-transparent window 434-connecting arm 435-clamping flanging
436-Reinforcement plate
500-small bag
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. The description of the exemplary embodiments is merely illustrative and is in no way intended to limit the disclosure, its application, or uses. The present disclosure may be embodied in many different forms and is not limited to the embodiments described herein. These embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. It should be noted that: the relative arrangement of parts and steps, the composition of materials, numerical expressions and numerical values set forth in these embodiments are to be construed as merely illustrative, and not as limitative, unless specifically stated otherwise.
As used in this disclosure, "first", "second": and the like, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element preceding the word covers the element listed after the word, and does not exclude the possibility that other elements are also covered. "upper", "lower", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
In the present disclosure, when a specific component is described as being located between a first component and a second component, there may or may not be intervening components between the specific component and the first component or the second component. When it is described that a specific component is connected to other components, the specific component may be directly connected to the other components without having an intervening component, or may be directly connected to the other components without having an intervening component.
All terms (including technical or scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs unless specifically defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
As shown in fig. 1 to 4, an embodiment of the present invention provides a packet appearance detection apparatus, which includes a transmission mechanism 100, a packetizing unit 200, an image acquisition unit 300, and a rejecting unit 400; wherein, the conveying mechanism 100 is provided with a conveying belt for conveying the small bags 500; the subpackaging units 200 are symmetrically arranged at two sides of the conveying mechanism 100, each subpackaging unit 200 comprises a speed reducing belt 203 which is used for being in contact with the small bags 500, and the conveying speed of each speed reducing belt 203 is smaller than that of each conveying belt; the image obtaining unit 300 includes a first camera 310, a second camera 320, a third camera 330, a first reflective mirror 311, a second reflective mirror 321 and a third reflective mirror 331, the first camera 310 and the second camera 320 are respectively disposed at both sides of the conveying mechanism 100, the first camera 310 obtains the images of the front surface of the pouch 500 and the side surface of the pouch 500 near the first camera 310 through the reflection of the first reflective mirror 311, the second camera 320 obtains the images of the rear surface of the pouch 500 and the side surface of the pouch 500 near the second camera 320 through the reflection of the second reflective mirror 321, the third camera 330 is disposed above the conveying mechanism 100, and the third camera 330 obtains the images of the top surface of the pouch through the reflection of the third reflective mirror 331; the rejecting unit 400 is connected with the conveying mechanism 100, the rejecting unit 400 comprises a rejecting electromagnetic valve 410 and a rejecting channel, and the rejecting electromagnetic valve 410 and the rejecting channel are respectively positioned at two sides of the conveying mechanism 100.
In the working process, the small bag 500 can be conveyed to the image acquisition unit 300 at a first speed by a conveying belt on the conveying mechanism 100, when the small bag is conveyed between the two sub-packaging units 200, the small bag can be contacted with the speed reducing belts 203 on the sub-packaging units 200 at two sides, because the conveying speed of the speed reducing belts 203 is less than the conveying speed of the conveying belt, the small bag can be conveyed forwards at a speed lower than the conveying belt by the action of friction force between the speed reducing belts 203 and the small bag, and the small bag which passes through the sub-packaging unit 200 is conveyed forwards synchronously along with the conveying belt, so that the distance between two adjacent small bags passing through the sub-packaging unit 200 can be enlarged, the continuous packaging phenomenon is effectively avoided, and the influence on the appearance detection of the single.
After the small bag starts to enter the detection area, the first camera 310 sequentially obtains an image of the front surface of the small bag and an image of the side surface of the small bag close to one side of the first camera 310 through reflection of the first reflective mirror 311, and the third camera 330 obtains an image of the top surface of the small bag through reflection of the third reflective mirror 331; as the pouch continues to be transported forward, the second camera 320 sequentially obtains an image of a side surface of the pouch near the second camera 320 and an image of a rear surface of the pouch through reflection of the second mirror 321; therefore, the images of all the surfaces of the small bag except the bottom surface are obtained; the first reflective mirror 311, the second reflective mirror 321 and the third reflective mirror 331 are arranged, the shooting distance of the cameras is prolonged through the mirror reflection principle, the occupancy rate of each camera to the space around the transmission mechanism 100 is reduced, and the structure compactness of the small bag appearance detection device is improved.
When the image acquisition unit 300 detects the packets with poor appearance, the reject solenoid valve 410 may spray compressed air to the packets with poor appearance to blow the packets with poor appearance out of the conveying mechanism 100 and recover the packets through the reject passage.
Further, the subpackaging unit 200 further comprises a speed reducing motor 201, a base plate 202, a first roller 204, a second roller 205, a driving wheel 206 and a tensioning mechanism 207; the first roller 204, the second roller 205, the driving wheel 206 and the tensioning mechanism 207 are rotationally arranged on the base plate 202, the first roller 204 and the second roller 205 are distributed in the packet transmission direction, a connecting line of the positions of the first roller 204, the second roller 205 and the driving wheel 206 is triangular, and the speed reducing belt 203 is wound on the first roller 204, the second roller 205 and the driving wheel 206; the tensioning mechanism 207 and the driving wheel 206 are respectively positioned at two sides of the belt, and the tensioning mechanism 207 is tightly pressed on the speed reducing belt 203; the fixed part of the speed reducing motor 201 is fixedly arranged on the substrate 202, the output shaft of the speed reducing motor 201 is connected with the driving wheel 206, and the linear velocity of the driving wheel 206 is smaller than the transmission velocity of the transmission mechanism 100.
In operation, the small bag can be conveyed to the image acquisition unit 300 at a first speed through the conveying belt, the small bag can be in contact with the speed reduction belt 203 on the two-side sub-packaging unit 200, the speed reduction belt 203 can be conveyed at a second speed through the driving of the driving wheel 206, the second speed is smaller than the first speed, and therefore the small bag can be conveyed forwards at a speed lower than the conveying belt through the action of friction force between the speed reduction belt 203 and the small bag.
The positions of the first roller 204, the second roller 205 and the driving wheel 206 are distributed in a triangular shape, so that the speed reducing belt 203 is driven by one driving wheel 206 to transmit and run on the two rollers, the speed reducing belt 203 between the first roller 204 and the second roller 205 is parallel to the transmission direction of the small packets, the small packets are convenient to contact with the small packets, and the transmission speed of the small packets is limited. In addition, the tension mechanism 207 can be arranged between the driving wheel 206 and the first roller 204 or the second roller 205, and the tension degree of the deceleration belt 203 can be adjusted by changing the pressing force of the tension mechanism 207 on the deceleration belt 203, so that the deceleration belt 203 is prevented from being too loose or shaken to effectively contact with the packet to reduce the packet conveying speed.
Further, the image capturing unit 300 further includes a light homogenizing cover 340, the transmission mechanism 100 penetrates the light homogenizing cover 340, the first camera 310 and the second camera 320 are respectively disposed on both sides of the light homogenizing cover 340, and the third camera 330 is disposed above the light homogenizing cover 340.
The small bag is transmitted inside the light homogenizing cover 340, and the light homogenizing cover 340 can enable the small bag to obtain uniform illumination, so that the image acquisition quality is guaranteed.
Further, the tensioning mechanism 207 may include a tensioning wheel, a positioning shaft and a locking member, wherein the tensioning wheel is rotatably sleeved on the positioning shaft; the base plate 202 is provided with a kidney-shaped hole, and the positioning shaft passes through the kidney-shaped hole and then is locked and fixed through the locking piece. Therefore, the tensioning degree of the speed reducing belt 203 by the tensioning wheel can be adjusted by changing the position of the positioning shaft in the kidney-shaped hole.
The positioning shaft can be provided with a stud for locking the position of the adjusted positioning shaft, the locking part is a locking nut, and the stud penetrates through the kidney-shaped hole and then is tightly connected with the locking nut.
Further, the sub-packaging unit 200 further includes a supporting frame 208, the supporting frame 208 is connected to the transmission mechanism 100, the supporting frame 208 is provided with a plurality of fixing holes in a direction perpendicular to the transmission mechanism 100, and the substrate 202 is fixedly connected to the supporting frame 208 through any one fixing hole or two or more fixing holes.
Before the base plate 202 is fixed on the support frame 208, the base plate 202 can be connected by selecting proper fixing holes on the support frame 208 according to the thickness size of the small packets to be transported, so that the distance suitable for transporting the small packets with the belt is kept between the base plates 202 at two sides of the transporting mechanism 100, the speed reducing mechanisms at two sides can reduce the transporting speed of the small packets through contacting with the small packets, and the universality of sub-packaging the small packets with different thickness sizes is realized.
Further, the sub-packaging unit 200 may further include a supporting block 211 and a limiting plate 210, the supporting block 211 is fixedly disposed on the substrate 202 between the first roller 204 and the second roller 205, the limiting plate 210 is fixedly connected to the supporting block 211, and two ends of the limiting plate 210 are rotatably connected to the first roller 204 and the second roller 205, respectively. Therefore, the first roller 204 and the second roller 205 can be limited by the limit plate 210, and the first roller 204 and the second roller 205 are prevented from moving in the axial direction. In addition, the supporting block 211 can support the middle position of the limiting plate 210, and the stability of the limiting plate 210 is ensured.
Further, the sub-packaging unit 200 further comprises a guide strip 209, the guide strip 209 is fixedly connected with one side of the limiting plate 210 facing the small packet, and the guide strip 209 extends for a set length in the packet conveying direction. The guide strips 209 ensure good directionality of the packets during transport and prevent the packets from shifting due to friction from the deceleration belt 203 or the transport belt.
Further, the removing unit 400 specifically includes an air nozzle, an air supply device, a smoke blocking structure 420 and a recycling container 430;
the conveying mechanism 100 is provided with a rejection port, an air nozzle is aligned with the rejection port, and an air outlet of the rejection solenoid valve 410 is connected with the air nozzle; the air supply device is connected with the rejection electromagnetic valve 410; the smoke blocking structure 420 is arranged above the rejection channel; the recovery container 430 is detachably disposed on the transport mechanism 100, and the recovery container 430 is provided with a recovery port aligned with the reject passage.
In the course of the work, when the unqualified parcel of appearance quality is transmitted to the rejection mouth, reject solenoid valve 410 and open, air feeder can provide high-pressure air, through the air cock to unqualified parcel blowout to can blow off transport mechanism 100 with the unqualified parcel of quality, and fall into in recovery container 430 through rejecting the passageway, thereby realize the recovery to the unqualified parcel of appearance quality.
Wherein, because the parcel quality is lighter, compressed air blows out far distance with the parcel easily, and the position difference that the air cock blows on the parcel can lead to the parcel to be blown out the track that drops behind transmission device 100 different, causes the parcel to drop scattered, is difficult for retrieving. For this reason, in the present embodiment, the smoke blocking structure 420 is provided on the path from which the packet is blown out, so that the packet can be blocked between the smoke blocking structure 420 and the conveying mechanism 100 and directly and accurately dropped into the recovery container 430 below through the rejecting passage between the smoke blocking structure 420 and the conveying mechanism 100.
Wherein, the smoke blocking structure 420 is arc-shaped, and the smoke blocking structure 420 is bent from a side far away from the transmission mechanism 100 to the upper part of the transmission mechanism 100.
The portion of the smoke barrier 420 that is bent above the transport mechanism 100 prevents the sachets from bouncing randomly to a position outside the reject passage after colliding with other portions of the smoke barrier 420, so that the blown sachets can be guaranteed to fall into the recovery container 430 below.
Specifically, the recovery container 430 may specifically include a door 432, a bottom plate, and three side wall plates 431, the three side wall plates 431 each being fixedly disposed above the bottom plate, the door 432, the bottom plate, and the three side wall plates 431 forming a recovery space inside the recovery container 430, and one side of the door 432 being hinged to an adjacent one of the side wall plates 431.
It can be understood that the recovery container 430 is a rectangular parallelepiped, the recovery opening is formed by opening the upper side of the recovery container 430, and the poor quality pouches can fall into the recovery container 430 through the recovery opening. When a certain number of bad packets are accumulated in the recycling container 430, the door 432 can be opened to clean the bad packets, which facilitates the operation.
Further, a transparent window 433 made of a transparent material is provided on the side wall plate 431, so that the amount of the bad packets accumulated inside the collecting container 430 can be easily observed.
Further, in order to facilitate the disassembly and assembly of the recovery container 430, the recovery container 430 further comprises more than two connecting arms 434, one end of each connecting arm 434 is fixedly arranged on the side wall plate 431, and the other end of each connecting arm 434 is provided with a clamping flange 435; the transmission mechanism 100 is provided with a clamping groove, and the clamping flange 435 is fixedly clamped in the clamping groove.
The connecting arm 434 may be a thin plate made of metal and have certain elasticity, so that the connecting arm 434 may be slightly elastically deformed to be snapped into the slot on the transmission mechanism 100.
Further, in order to ensure the stability of the connection of the recovery container 430 on the transport mechanism 100, the recovery container 430 further includes a reinforcing plate 436, and both ends of the reinforcing plate 436 are fixedly connected to a connecting arm 434, respectively.
It can be understood that, in order to facilitate the pressure control of the high-pressure gas blown toward the packets and ensure that the packets blown out of the conveying mechanism 100 can accurately drop into the recovery container 430 below, the rejecting unit 400 further comprises a gas pressure gauge, and the gas pressure gauge is connected in series between the rejecting solenoid valve 410 and the gas supply device.
Further, in order to facilitate the connection between the smoke barrier 420 and the transmission mechanism 100, the removing unit 400 may further include a connection frame, and the smoke barrier 420 is fixedly disposed on the transmission mechanism 100 through the connection frame.
The embodiment of the invention also provides a method for identifying the appearance defects of the small packet, which comprises the device for detecting the appearance of the small packet provided by any embodiment of the invention, and the method comprises the following steps:
and step S1, dividing the actual pictures into a training set and a testing set.
And step S2, carrying out data processing on the actual picture, and inputting characteristic values in a matrix form.
And step S3, randomly initializing the weight parameter of each feature, and obtaining the input value of the next layer through the activation function.
Step S4, a random gradient is mathematically decreased to obtain a partial derivative, and the weight parameter is updated.
And step S5, obtaining a predicted value by using different regularization parameters.
And step S6, comparing the predicted value with the input characteristic value, and obtaining the loss function result of each group of parameters.
Step S7, a weight parameter corresponding to the minimum value of the loss function is acquired.
And step S8, testing the performance of the defect identification of the deep learning algorithm of the acquired weight parameter corresponding to the minimum value of the loss function in the test set.
Compared with the existing mode of judging the image defects through color comparison of the image and template matching, the packet appearance defect identification method provided by the embodiment can enhance identification of changes such as complex colors and textures, jitter and swing, can accurately identify fine defects, greatly reduces the false rejection rate, and reduces the false rejection rate of the packets by over 60 percent.
Thus, various embodiments of the present disclosure have been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. It will be understood by those skilled in the art that various changes may be made in the above embodiments or equivalents may be substituted for elements thereof without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (9)

1. A packet appearance inspection device, comprising:
the conveying mechanism (100) is provided with a conveying belt for conveying the small bags (500);
the subpackaging unit (200) is symmetrically arranged on two sides of the conveying mechanism (100), the subpackaging unit (200) comprises a speed reducing belt (203) which is used for being in contact with the small packages (500), and the conveying speed of the speed reducing belt (203) is smaller than that of the conveying belt;
an image obtaining unit (300), the image obtaining unit (300) including a first camera (310), a second camera (320), a third camera (330), a first mirror (311), a second mirror (321), and a third mirror (331), the first camera (310) and the second camera (320) being respectively disposed at both sides of the transport mechanism (100), the first camera (310) obtaining images of a front surface of the pouch (500) and a side surface of the pouch (500) near the first camera (310) side via reflection of the first mirror (311), the second camera (320) obtaining images of a rear surface of the pouch (500) and a side surface of the pouch (500) near the second camera (320) side via reflection of the second mirror (321), the third camera (330) being disposed above the transport mechanism (100), the third camera (330) acquires an image of the top surface of the small bag (500) through the reflection of the third reflective mirror (331);
the removing unit (400) is connected with the transmission mechanism (100), the removing unit (400) comprises a removing electromagnetic valve (410) and a removing channel, and the removing electromagnetic valve (410) and the removing channel are respectively positioned on two sides of the transmission mechanism (100).
2. The packet appearance detection device according to claim 1, wherein the sub-packaging unit (200) further comprises a speed reduction motor (201), a base plate (202), a first roller (204), a second roller (205), a driving wheel (206) and a tension mechanism (207);
the first roller (204), the second roller (205), the driving wheel (206) and the tensioning mechanism (207) are rotationally arranged on the base plate (202), the first roller (204) and the second roller (205) are distributed in the packet transmission direction, the connecting line of the positions of the first roller (204), the second roller (205) and the driving wheel (206) is triangular, and the speed reducing belt (203) is wound on the first roller (204), the second roller (205) and the driving wheel (206);
the tensioning mechanism (207) and the driving wheel (206) are respectively positioned on two sides of the speed reducing belt (203), and the tensioning mechanism (207) is pressed on the speed reducing belt (203);
the fixing part of the speed reducing motor (201) is fixedly arranged on the substrate (202), the output shaft of the speed reducing motor (201) is connected with the driving wheel (206), and the linear speed of the driving wheel (206) is smaller than the transmission speed of the transmission mechanism (100).
3. The packet appearance inspection apparatus according to claim 1, wherein the image acquisition unit (300) further includes a light homogenizing cover (340), the transport mechanism (100) penetrates the light homogenizing cover (340), the first camera (310) and the second camera (320) are respectively disposed on both sides of the light homogenizing cover (340), and the third camera (330) is disposed above the light homogenizing cover (340).
4. The packet appearance detecting device according to claim 2, wherein the tension mechanism (207) comprises a tension wheel, a positioning shaft and a locking member, and the tension wheel is rotatably sleeved on the positioning shaft;
the base plate (202) is provided with a waist-shaped hole, and the positioning shaft penetrates through the waist-shaped hole and then is locked and fixed through the locking piece.
5. The package appearance detection device of claim 4, wherein the positioning shaft is provided with a stud, the locking member is a locking nut, and the stud is connected with the locking nut after passing through the kidney-shaped hole.
6. The packet appearance detecting device according to claim 5, wherein the sub-packaging unit (200) further comprises a supporting frame (208), the supporting frame (208) is connected with the conveying mechanism (100), the supporting frame (208) is provided with a plurality of fixing holes in a direction perpendicular to the conveying mechanism (100), and the substrate (202) is fixedly connected with the supporting frame (208) through any one fixing hole or two or more fixing holes.
7. The packet appearance inspection device according to claim 6, wherein the rejecting unit (400) further comprises an air nozzle, an air supply device, a smoke blocking structure (420), and a recovery container (430);
the conveying mechanism (100) is provided with a removing opening, the air nozzle is aligned with the removing opening, and an air outlet of the removing electromagnetic valve (410) is connected with the air nozzle;
the gas supply device is connected with the rejection electromagnetic valve (410);
the smoke blocking structure (420) is arranged above the rejecting channel;
the recovery container (430) is detachably arranged on the conveying mechanism (100), and a recovery opening is arranged on the recovery container (430) and is aligned with the rejecting channel.
8. Packet appearance inspection device according to claim 7, characterized in that the smoke barrier (420) is curved, the smoke barrier (420) being curved from a side remote from the transport mechanism (100) to above the transport mechanism (100).
9. A method for identifying appearance defects of a packet, which comprises the steps of using the packet appearance inspection apparatus according to any one of claims 1 to 8:
dividing the actual picture into a training set and a test set;
performing data processing on the actual picture, and inputting a characteristic value in a matrix form;
randomly initializing a weight parameter of each feature, and obtaining an input value of a next layer through an activation function;
obtaining a partial derivative by a random gradient descent through a mathematical method, and updating the weight parameter;
obtaining a predicted value by using different regularization parameters;
comparing the predicted value with the input characteristic value, and obtaining a loss function result of each group of parameters;
obtaining a weight parameter corresponding to the minimum value of the loss function;
and testing the performance of identifying defects of the deep learning algorithm of the acquired weight parameters corresponding to the minimum value of the loss function in the test set.
CN202010623702.0A 2020-06-30 2020-06-30 Small bag appearance detection device and small bag appearance defect identification method Pending CN111545487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010623702.0A CN111545487A (en) 2020-06-30 2020-06-30 Small bag appearance detection device and small bag appearance defect identification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010623702.0A CN111545487A (en) 2020-06-30 2020-06-30 Small bag appearance detection device and small bag appearance defect identification method

Publications (1)

Publication Number Publication Date
CN111545487A true CN111545487A (en) 2020-08-18

Family

ID=72000918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010623702.0A Pending CN111545487A (en) 2020-06-30 2020-06-30 Small bag appearance detection device and small bag appearance defect identification method

Country Status (1)

Country Link
CN (1) CN111545487A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2730501Y (en) * 2004-09-04 2005-10-05 扬州隆的饮料机械有限公司 Identifier for fruit classifier
CN205120613U (en) * 2015-10-09 2016-03-30 陈维龙 Three -dimensional product appearance detection device
CN205998709U (en) * 2016-08-20 2017-03-08 九豪精密陶瓷(昆山)有限公司 Fixed length feeding device
CN109261532A (en) * 2018-08-30 2019-01-25 龙岩烟草工业有限责任公司 Plume conveying equipment, plume production system and plume delivery method
CN110207616A (en) * 2019-06-17 2019-09-06 德州深华光电科技有限公司 A kind of filming apparatus based on reflected light path
CN212397348U (en) * 2020-06-30 2021-01-26 贵州中烟工业有限责任公司 Small bag appearance detection device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2730501Y (en) * 2004-09-04 2005-10-05 扬州隆的饮料机械有限公司 Identifier for fruit classifier
CN205120613U (en) * 2015-10-09 2016-03-30 陈维龙 Three -dimensional product appearance detection device
CN205998709U (en) * 2016-08-20 2017-03-08 九豪精密陶瓷(昆山)有限公司 Fixed length feeding device
CN109261532A (en) * 2018-08-30 2019-01-25 龙岩烟草工业有限责任公司 Plume conveying equipment, plume production system and plume delivery method
CN110207616A (en) * 2019-06-17 2019-09-06 德州深华光电科技有限公司 A kind of filming apparatus based on reflected light path
CN212397348U (en) * 2020-06-30 2021-01-26 贵州中烟工业有限责任公司 Small bag appearance detection device

Similar Documents

Publication Publication Date Title
CN208915599U (en) For controlling or the unit of management product and equipment for manufacturing product
US9656302B2 (en) Device and method for transporting and examining fast-moving objects to be treated
TW449508B (en) Multi-band spectral sorting system for light-weight articles
US5366096A (en) Apparatus for and method of automatically detecting and eliminating cigarettes with visual defects during cigarette manufacture
US20110064266A1 (en) Device and method for checking container closures
CN212397348U (en) Small bag appearance detection device
CN107671012A (en) A kind of cartridge case detects lamp inspection machine
JPH0710322A (en) Paper sheet transfer device
JP2006142236A (en) Sorting apparatus
JP4723750B2 (en) Gel-coated seed inspection device
KR101226124B1 (en) A counting apparatus with image inspection means
JP2000298103A (en) Foreign matter inspecting device for powder in transparent container
CN111545487A (en) Small bag appearance detection device and small bag appearance defect identification method
JP2002153822A (en) Sorting apparatus and quality inspection instrument using the same
JP2007312651A (en) Dried laver inspection device
CN217411553U (en) Small bag appearance detection device based on deep learning
JP2017189749A (en) Article selector
JP4050942B2 (en) Appearance inspection device
CN214777140U (en) Full-automatic assembly line for seasoning product offline
CN210162318U (en) Conveying device capable of realizing online detection and rejection
JP4820013B2 (en) Gel-coated seed feeding device
WO2022138268A1 (en) X-ray shielding structure for device including x-ray irradiation unit
JPH08188231A (en) Article carrying equipment
JPH0763533A (en) Visual inspecting device
CN217396892U (en) Material loading assembly line

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