A linear PET preform defect detection device
The linear PET preform defect detection device uses a camera and backlight to simultaneously detect the bottle body and bottle mouth. Combined with the improved Canny operator to process the images, it solves the problem of the inability to detect all defects in the existing technology, and improves the detection accuracy and production continuity.
Patent Information
- Application Number
- CN202310161694.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-02-24
AI Technical Summary
Existing technologies cannot simultaneously perform comprehensive inspection of the bottle body and bottle mouth during the PET preform inspection process, and reflective phenomena affect the inspection accuracy.
A linear PET preform defect detection device is adopted, including a conveyor, a feeding rack, a detection component, and a rejection mechanism. It uses a camera and a backlight to simultaneously detect the bottle body and bottle mouth. Stable conveying is ensured by a variable distance limiting plate and a pneumatic gripper head. Image processing is performed in conjunction with an improved Canny edge detection operator.
It enables comprehensive inspection of both the bottle body and the bottle mouth, reduces glare, improves inspection accuracy, and ensures production continuity and stability through a rejection mechanism.
Smart Images

Figure CN116273966B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of preform inspection technology, specifically relating to a linear PET preform defect detection device. Background Technology
[0002] PET bottles are widely used in aseptic filling production lines for beverages due to their attractive appearance, lightweight, malleable shape, good pressure resistance, and recyclability. The quality of the preform directly determines the quality of the blow-molded PET bottle. Defects such as breakage, black spots, and scratches are unavoidable during preform production and transportation. These preform defects lead to substandard final blow-molded bottles. The current production line process is as follows: preform handling, conveying, sterilization, and blow molding. Before sterilization, substandard preforms must be removed.
[0003] A search of published patents revealed the following two similar patent documents:
[0004] Comparative document 1: Patent publication number CN1100146A, entitled "An Inverted Bottle Preform Transfer and Inspection Process," discloses that this invention involves a transfer, adsorption, flipping, handover, positioning, and inspection process. During the adsorption and transfer process, the bottle preform is flipped 180 degrees to an inverted state. After handover, the inner wall of the bottle preform is fixed by pressing it downwards at an angle during positioning, followed by the inspection process. However, this inspection method presses the bottle neck down and fixes it, making it impossible to simultaneously inspect the bottle neck of the preform during the inspection process.
[0005] Comparative document 2: Patent publication number CN10992634A, entitled "A Bottle Imaging Device for Preform Inspection," discloses an invention that uses a clamping assembly for positioning and holding. An airbag extends into the preform and, after inflation, clamps and moves the preform. During inspection, the airbag acts as a reflective surface, and the entire preform is photographed during rotation. However, this method cannot simultaneously inspect the bottle opening during the inspection process, and rotation is required for comprehensive inspection due to the reflective properties. Summary of the Invention
[0006] The purpose of this invention is to overcome the shortcomings of the prior art and provide a linear PET preform defect detection device.
[0007] The technical problem solved by this invention is achieved through the following technical solution:
[0008] A linear PET preform defect detection device, characterized in that: it includes a conveyor frame and a feeding frame, the conveyor frame is equipped with a conveying mechanism and a rejection mechanism, the feeding frame is equipped with a feeding chute, a feeding component, a detection component, a discharging component and a discharging chute, the feeding chute conveys the preform to the feeding component, the feeding component clamps the preform and conveys it to the conveying mechanism, the conveying mechanism drives the preform to move forward and completes the preform detection through the detection component, the rejection mechanism rejects the preforms that fail the detection component, and the preforms that pass the detection component are clamped and conveyed to the discharging chute by the discharging component;
[0009] Furthermore, both the feeding and unloading components include two parallel linear pneumatic slides. A sliding block is slidably installed between the linear pneumatic slides. Lifting cylinders are symmetrically fixed at both ends of the sliding block. A sliding support plate is installed at the ends of the two lifting cylinders. Slide tracks are provided at both ends of the sliding support plate. A slide rail is transversely arranged between the slide tracks of the sliding support plate. A plurality of preform clamping rods are slidably installed on the slide rails. A pneumatic clamping head is provided at the end of each preform clamping rod. A preform clamping rod pitch limiting plate is slidably installed on the slide track. A guide post is provided at the other end of each preform clamping rod. The guide post extends into the pitch limiting groove provided on the preform clamping rod pitch limiting plate.
[0010] Furthermore, the detection component includes a camera bracket mounted on the feeding rack. Two cameras are symmetrically and obliquely mounted on the support plate at the lower end of the camera bracket. The two cameras are aligned with the preforms on the conveying mechanism. A camera is mounted at the top of the support rod of the camera bracket corresponding to the bottle mouth of the preform on the conveying mechanism. All cameras are connected to an external control unit.
[0011] Furthermore, a ring light source is provided in the middle of the camera bracket, and the ring light source is aligned with the bottle mouth of the preform on the conveying mechanism.
[0012] Furthermore, a backlight is fixedly installed on the support plate of the conveyor frame at the position corresponding to the camera bracket, and the backlight is aligned with the bottle body of the preform on the conveyor mechanism.
[0013] Furthermore, the feeding chute is inclined along the direction of movement of the conveying mechanism.
[0014] Moreover, the rejection mechanism includes a cylinder and a pusher plate, and the cylinder drives the pusher plate to reject the unqualified preforms from the conveying mechanism.
[0015] The advantages and beneficial effects of this invention are as follows:
[0016] 1. The linear PET preform defect detection device of the present invention adopts a linear conveying method, which is simple in structure and has strong conveying stability; the chain conveying mechanism, compared with the fixed position of the conveyor belt, ensures the transmission stability of the preform detection.
[0017] 2. The linear PET preform defect detection device of the present invention can complete the comprehensive inspection of the preform body and mouth on a single conveyor line. Furthermore, the backlight can reduce the reflection caused by the cylindrical shape of the preform, thereby improving the detection accuracy.
[0018] 3. The linear PET preform defect detection device of the present invention adopts a variable pitch form for both the feeding component and the unloading component, which can change the spacing of the preforms during the preform transfer process and correspond to the preform clamping position on the conveying mechanism, so as to ensure the stability and continuity of the preform conveying, prevent preform accumulation, and ensure detection accuracy.
[0019] 4. The linear PET preform defect detection device of the present invention has a feeding slide that is inclined along the movement direction of the conveying mechanism. It can automatically fill the empty space produced by rejecting unqualified preforms by sliding the preform, thus ensuring the continuity of subsequent preform production. Attached Figure Description
[0020] Figure 1 This is a schematic diagram of the structure of the present invention;
[0021] Figure 2 This is a schematic diagram of the conveying mechanism of the present invention;
[0022] Figure 3 This is a schematic diagram of the feeding assembly of the present invention;
[0023] Figure 4 This is a schematic diagram of the feeding assembly of the present invention (with the preform clamping rod and variable distance limiting plate removed);
[0024] Figure 5 This is a schematic diagram of the detection component of the present invention;
[0025] Figure 6 This is a schematic diagram of the rejection mechanism of the present invention;
[0026] Figure 7 This is a schematic diagram of the preform clamping plate on the conveying mechanism of the present invention.
[0027] Explanation of reference numerals in the attached figures
[0028] 1-Discharge chute, 2-Discharge assembly, 3-Detection assembly, 4-Loading assembly, 5-Loading chute, 6-Loading rack, 7-Conveying mechanism, 8-Rejection mechanism, 9-Conveying rack, 10-Servo drive motor, 11-Drive shaft, 12-Conveying chain, 13-Preform clamping plate, 14-Channel, 15-Sliding support plate, 16-Guide column, 17-Variable pitch limiting groove, 18-Preform clamping rod variable pitch limiting plate, 19-Lifting cylinder, 20-Sliding block, 21-Linear pneumatic slide, 22-Pneumatic clamping head, 23-Slide rail, 24-Preform clamping rod, 25-Camera, 26-Ring light source, 27-Backlight, 28-Camera bracket, 29-Cylinder, 30-Push plate, 31-Preform. Detailed Implementation
[0029] The present invention will be further described in detail below through specific embodiments. The following embodiments are merely descriptive and not limiting, and should not be used to limit the scope of protection of the present invention.
[0030] An innovative feature of a linear PET preform defect detection device is that it includes a conveyor frame 9 and a feeding frame 6, wherein a conveying mechanism 7 and a rejection mechanism 8 are installed on the conveyor frame.
[0031] The feeding rack is equipped with a feeding slide 5, a feeding component 4, a detection component 3, a discharging component 2, and a discharging slide 1. The feeding slide conveys the preform 31 to the feeding component. The feeding component clamps the preform and conveys it to the conveying mechanism. The conveying mechanism drives the preform forward and completes the preform detection through the detection component. The rejection mechanism rejects the preforms that fail the detection component. The preforms that pass the detection component are clamped and conveyed to the discharging slide by the discharging component.
[0032] Both the feeding and unloading components include two parallel linear pneumatic slides 21. A sliding block 20 is slidably installed between the linear pneumatic slides. Lifting cylinders 19 are symmetrically fixed at both ends of the sliding block. A sliding support plate 15 is installed at the ends of the two lifting cylinders. A slide rail 23 is provided at both ends of the sliding support plate. A plurality of preform clamping rods 24 are slidably installed on the slide rail. A pneumatic clamping head 22 is provided at the end of each preform clamping rod. A preform clamping rod pitch limiting plate 18 is slidably installed on the slide rail. A guide post 16 is provided at the other end of each preform clamping rod. The guide post extends into the pitch limiting groove 17 provided on the pitch limiting plate of the preform clamping rod.
[0033] The conveying mechanism includes a servo drive motor 10, a drive shaft 11, a sprocket, a conveying chain 12, and a preform clamping plate 13 mounted on the conveying chain. The preforms are held by the conveying clamping plate at a certain distance and conveyed forward with the bottle mouth facing upward.
[0034] The detection assembly includes a camera bracket 28 mounted on a loading rack. Two cameras 25 are symmetrically and obliquely mounted on the support plate at the lower end of the camera bracket, with the two cameras aligned with the preforms on the conveying mechanism. A camera is mounted at the top of the support rod of the camera bracket, corresponding to the bottle mouth of the preform on the conveying mechanism. All cameras are connected to an external control unit. A ring light source 26 is located in the middle of the camera bracket, aligned with the bottle mouth of the preform on the conveying mechanism. A backlight source 27 is fixedly mounted on the conveyor rack at the position corresponding to the support plate of the camera bracket, aligned with the bottle body of the preform on the conveying mechanism. This assembly enables simultaneous and comprehensive detection of the bottle body and bottle mouth of the preform on a single conveyor line. Furthermore, the backlight source reduces glare caused by the cylindrical shape of the preform, improving detection accuracy.
[0035] The method for performing a pass / fail test after the camera has acquired images according to the present invention is as follows:
[0036] The detection component transmits the acquired images to the image processing module of the control unit. The image processing module processes the images and determines whether the bottle neck and bottle body images are qualified. If they are not qualified, the signal is directly transmitted to the control component to control the rejection mechanism to reject the bottle preform. Qualified bottle preforms continue to be conveyed.
[0037] 1) Bottle mouth image detection: First, the acquired bottle mouth image is preprocessed. Median filtering is used to remove noise, and global adaptive threshold segmentation is used to segment the bottle mouth detection area. The area of the segmented area is compared with the area of the segmented area of the standard template. If the absolute value of the difference is greater than the preset value, it is a defective bottle preform.
[0038] 2) Bottle body image detection: First, the acquired bottle body image is preprocessed, and noise is removed by median filtering. Global adaptive threshold segmentation is used to segment the bottle body detection area. Then, the improved Canny operator is used to extract the defect edges. After extracting the defect edges, the defect area is connected. The defect is judged based on the morphological features of the defect area such as area, aspect ratio, and roundness. If the feature value is determined to be a defect, it is an unqualified bottle preform.
[0039] 3) The improved Canny edge detection operator specifically adopts an adaptive threshold as the high and low thresholds of the Canny operator. The adaptive threshold selection method is as follows: first, input the original image, and then use mean filtering to smooth the original image. Finally, by comparing the local gray value differences between the original image and the smoothed image, the points that meet the formula (1) are extracted:
[0040] g o ≤g t -offset (1)
[0041] Wherein: g o The gray values of each point in the original image; g tGray values of each point in the image after smoothing; offset sets the difference value.
[0042] Morphological dilation of the extracted points yields an approximate area of the defect. This serves as a coarse extraction of the defect. The grayscale values of the extracted area are then calculated to determine the variance of the grayscale values in this region. The variance of the region's grayscale values is then calculated using formulas (2) and (3).
[0043]
[0044]
[0045] Where: R is the region; p is the pixel within the region; g(p) is the gray value of point p.
[0046] Finally, the variance of the obtained gray values is used as the high threshold of the Canny operator for processing. The ratio of high to low thresholds is generally 2.1 to 3.1.
[0047] The feeding chute is inclined along the movement direction of the conveying mechanism, which can automatically fill the empty space produced by rejecting unqualified bottle preforms by sliding the preforms, ensuring the continuity of subsequent bottle preform production.
[0048] The rejection mechanism includes a cylinder 29 and a pusher plate 30. The cylinder drives the pusher plate to reject unqualified preforms from the conveying mechanism.
[0049] The working process of this invention is as follows:
[0050] 1. Feeding and conveying: The feeding chute keeps the bottle preforms with the bottle mouth facing upward and arranges them sequentially to be fed to the bottom of the feeding assembly for clamping; the bottle preform clamping rod in the feeding assembly slides along the slide rail under the limiting action of the bottle preform clamping rod variable pitch limiting plate, realizing the variable pitch clamping of the pneumatic clamping head so that the bottle preform clamping plate of the conveying mechanism can be aligned. The lifting cylinder raises the sliding block to drive the bottle preform clamping rod to move upward to the same horizontal line as the conveying mechanism. The sliding block moves back and forth on the slide table to complete the placement of the bottle preforms on the bottle preform clamping rod onto the conveying mechanism.
[0051] 2. Conveying and Inspection: The conveyor chain of the conveying mechanism carries the bottle preform forward. When it reaches the inspection component, the three cameras of the inspection component take pictures of the bottle mouth and bottle body of the bottle preform respectively, and transmit the images to the image processing module of the external control unit for analysis. The signal of the unqualified bottle preform is sent to the rejection mechanism. The cylinder of the rejection mechanism drives the push plate to push the bottle preform forward and reject it.
[0052] 3. Feeding and Filling: Qualified products are driven forward by the conveyor mechanism and clamped by the feeding component from the conveyor mechanism to the feeding chute to complete the inspection. The feeding chute is used to fill and remove the empty spaces of unqualified preforms.
[0053] Although embodiments and drawings of the present invention have been disclosed for illustrative purposes, those skilled in the art will understand that various substitutions, variations and modifications are possible without departing from the spirit and scope of the present invention and the appended claims. Therefore, the scope of the present invention is not limited to the contents disclosed in the embodiments and drawings.
Claims
1. A linear PET bottle preform defect detection apparatus characterized by: The device includes a conveyor frame and a feeding frame. The conveyor frame is equipped with a conveying mechanism and a rejection mechanism. The feeding frame is equipped with a feeding chute, a feeding assembly, a detection assembly, a discharging assembly, and a discharging chute. The feeding chute conveys the preforms to the feeding assembly. The feeding assembly clamps the preforms and conveys them to the conveying mechanism. The conveying mechanism drives the preforms forward and passes through the detection assembly to complete the preform detection. The rejection mechanism rejects preforms that fail the detection assembly. Preforms that pass the detection assembly are clamped by the discharging assembly and conveyed to the discharging chute. Both the feeding and unloading components include two parallel linear pneumatic slides. A sliding block is slidably installed between the linear pneumatic slides. Lifting cylinders are symmetrically fixed at both ends of the sliding block. A sliding support plate is installed at the ends of the two lifting cylinders. Slide tracks are provided at both ends of the sliding support plate. A slide rail is transversely arranged between the slide tracks of the sliding support plate. Several preform clamping rods are slidably installed on the slide rail. A pneumatic clamping head is provided at the end of each preform clamping rod. A preform clamping rod pitch limiting plate is slidably installed on the slide track. A guide post is provided at the other end of each preform clamping rod. The guide post extends into the pitch limiting groove provided on the preform clamping rod pitch limiting plate. The detection component includes a camera bracket mounted on the feeding rack. Two cameras are symmetrically and obliquely arranged on the support plate at the lower end of the camera bracket. The two cameras are aligned with the preforms on the conveying mechanism. A camera is installed at the top of the support rod of the camera bracket corresponding to the bottle mouth of the preform on the conveying mechanism. All cameras are connected to an external control unit. The work process is as follows:
1. Feeding and conveying: The feeding chute keeps the bottle preforms with the bottle mouth facing upward and arranges them sequentially to be fed to the bottom of the feeding assembly for clamping; the bottle preform clamping rod in the feeding assembly slides along the slide rail under the limiting action of the bottle preform clamping rod variable pitch limiting plate, realizing the variable pitch clamping of the pneumatic clamping head so that the bottle preform clamping plate of the conveying mechanism can be aligned. The lifting cylinder raises the sliding block to drive the bottle preform clamping rod to move upward to the same horizontal line as the conveying mechanism. The sliding block moves back and forth on the slide table to complete the placement of the bottle preforms on the bottle preform clamping rod onto the conveying mechanism.
2. Conveying and Inspection: The conveyor chain of the conveying mechanism carries the bottle preform forward. When it reaches the inspection component, the three cameras of the inspection component take pictures of the bottle mouth and bottle body of the bottle preform respectively, and transmit the images to the image processing module of the external control unit for analysis. The signal of the unqualified bottle preform is sent to the rejection mechanism. The cylinder of the rejection mechanism drives the push plate to push the bottle preform forward and reject it.
3. Feeding and Filling: Products that pass inspection are driven forward by the conveyor and clamped by the feeding component from the conveyor to the feeding chute to complete the inspection. The feeding chute is used to fill and remove empty spaces of unqualified preforms. The method for performing a pass / fail inspection after the camera has acquired images is as follows: The detection component transmits the acquired images to the image processing module of the control unit. The image processing module processes the images and determines whether the bottle neck and bottle body images are qualified. If they are not qualified, the signal is directly transmitted to the control component to control the rejection mechanism to reject the bottle preform. Qualified bottle preforms continue to be conveyed. 1) Bottle mouth image detection: First, the acquired bottle mouth image is preprocessed. Median filtering is used to remove noise, and global adaptive threshold segmentation is used to segment the bottle mouth detection area. The area of the segmented area is compared with the area of the segmented area of the standard template. If the absolute value of the difference is greater than the preset value, it is an unqualified bottle blank. 2) Bottle image detection: First, the acquired bottle image is preprocessed, and noise is removed by median filtering. Then, global adaptive threshold segmentation is used to segment the bottle detection area. Then, the improved Canny operator is used to extract the defect edges. After the defect edges are extracted, the defect areas are connected. The defects are judged based on the morphological characteristics of the defect areas, such as area, aspect ratio, and roundness. If the feature value is determined to be a defect, it is an unqualified bottle preform. 3) The improved Canny edge detection operator is specifically implemented by using an adaptive threshold as the high and low thresholds of the Canny operator. The adaptive threshold is selected by first inputting the original image, then smoothing the original image using mean filtering; finally, by comparing the local grayscale differences between the original image and the smoothed image, the points that meet the formula (1) are extracted. ; (1) wherein: a gray value of each point of the original image; a gray value of each point of the image after smoothing processing; to set the difference value; The extracted points are subjected to morphological dilation to obtain the approximate range of the defect area, which is used as a coarse extraction of the defect. The gray value variance of the region is calculated by calculating the gray value of the extracted range. The region gray value variance is obtained by formula (2) and (3). ; (2) ; (3) Where: R is the region; p is the pixel within the region; g(p) is the gray value of point p. Finally, the variance of the obtained gray values is used as the high threshold of the Canny operator for processing. The ratio of high to low thresholds is generally 2.1 to 3.
1. The feeding chute is inclined along the direction of movement of the conveying mechanism, which can automatically fill the empty space produced by rejecting unqualified bottle preforms by sliding the preforms, thus ensuring the continuity of subsequent bottle preform production.
2. The linear PET bottle preform defect detection apparatus according to claim 1, characterized by: A ring light source is provided in the middle of the camera bracket, and the ring light source is aligned with the bottle mouth of the preform on the conveying mechanism.
3. The linear PET bottle preform defect detection apparatus according to claim 1, characterized by: A backlight is fixedly installed on the conveyor frame at the position of the support plate corresponding to the camera bracket, and the backlight is aligned with the bottle body of the preform on the conveyor mechanism.
4. The linear PET bottle preform defect detection apparatus according to claim 1, characterized by: The feeding chute is inclined along the direction of movement of the conveying mechanism.
5. The linear PET bottle preform defect detection apparatus according to claim 1, characterized by: The rejection mechanism includes a cylinder and a pusher plate. The cylinder drives the pusher plate to reject the unqualified preforms from the conveying mechanism.
Citation Information
Patent Citations
Method of controlling treatment conditions of metal strips in a continuous furnace and control system for effecting same
CN1100146A
Visual detection device for bottle blank defects
CN215235978U
Appearance defect detection equipment for annular metal structural member
CN217180947U
