Intelligent visual inspection method and system for bottle container size

Through intelligent visual detection method combined with laser ranging and image detection, the multi-dimensional dimension measurement of bottle-shaped containers is realized, which solves the contradiction between accuracy and efficiency in the existing technology, and realizes high-precision and rapid measurement, which is suitable for production needs and reduces costs. .

CN114046741BActive Publication Date: 2025-01-07GREIF PLASTIC PACKAGING (KUNSHAN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111391545.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-19
Publication Date
2025-01-07
Estimated Expiration
2041-11-19

AI Technical Summary

Technical Problem

In the prior art, when measuring the size of a bottle-shaped container, there is a contradiction between accuracy and efficiency. Manual measurement speed is slow and the accuracy is high but the cost is high. Automation equipment cannot measure all necessary parameters at one time, especially the height of the thread starting point is difficult to measure.

Method used

A bottle-shaped container size intelligent visual detection method is adopted, combined with a top vision monitoring camera, a top laser sensor and a side vision monitoring camera, and the CNC optical measurement method combined with laser ranging and image detection can realize the bottle mouth and bottle body Multi-dimensional dimension measurement, including automatic detection of the height of the thread starting point.

Benefits of technology

It realizes high-precision and fast measurement of bottle-shaped container size, solves the contradiction between accuracy and efficiency, reduces labor costs, is highly adaptable, is suitable for production needs, and measures accuracy reaches 0.05mm and repeatability accuracy reaches 0.02mm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114046741B_ABST
    Figure CN114046741B_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent visual detection method for bottle-shaped container size and a detection system thereof, comprising the following steps: S1, placing the measured container at an initial measurement position; S2, measuring the total height with a top laser sensor; S3, obtaining the center coordinates and the inner diameter of the bottle mouth in a measurement platform with a top visual monitoring camera; S4, moving a positioning clamp into the bottle mouth of the measured container to clamp the measured container; S5, respectively moving the measured container to a key size measurement position and an appearance measurement position with a degree of freedom monitoring system to detect the size of the measured container; S6, moving the measured container to an initial measurement position with a positioning clamp and releasing the measured container; S7, returning the degree of freedom monitoring system to zero position to complete the detection of the bottle-shaped container size, and adopting a numerical control optical measurement method combining laser ranging and image detection to solve the contradiction between accuracy and efficiency, thereby achieving high-precision measurement while improving the detection speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an intelligent visual detection method for bottle-shaped container size and a detection system thereof. Background Art

[0002] At present, there are mainly two conventional measurement technologies for bottle-shaped containers. One is manual measurement with calipers, that is, manual visual inspection and measurement using traditional measuring tools such as vernier calipers. The measurement speed and accuracy vary from person to person. The detection hardware cost is low, but the labor cost is high. It is also limited by the proficiency of personnel, the repeatability and reproducibility are poor, and the detection repeatability accuracy is low, with an error of 0.05-0.1mm. The pitch size cannot be measured.

[0003] The other method is to manually use a three-coordinate measuring machine for measurement. This method has high accuracy and can be controlled within an error of 0.01mm, but it is slow and the estimated measurement time is more than 10 minutes. In addition, the three-coordinate measurement operation has high technical requirements for personnel. The more measurement sections there are, the longer the operation time is. In addition, when measuring different types of containers, it is necessary to re-search the three-coordinate points. This method is inconvenient to operate and requires huge labor consumption. It is not suitable for production needs and is only suitable for individual verification in the laboratory.

[0004] The dimensions of the container to be tested, such as the dimensions of a plastic bottle, include many dimensions of the bottle mouth and the bottle body, including the height of the bottle mouth, the inner diameter of the bottle mouth, the height of the bottle mouth anti-theft teeth, the diameter of the bottle mouth anti-theft teeth, the major diameter of the bottle mouth external thread, the bottom diameter of the bottle mouth external thread, the pitch, the height of the starting point of the bottle mouth thread, the defects of the bottle mouth, the maximum diameter of the bottle body, the height of the bottle body, the defects of the bottle body, etc., which all need to be tested, especially the height of the starting point of the thread, which is a parameter that is difficult to measure. However, there is no equipment in the existing equipment that can measure all of the above measurement elements at one time, and the measurement has limitations. In addition, the accuracy and efficiency of the detection are themselves a contradiction. When high accuracy is met, the detection speed is slow. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide an intelligent visual detection method for bottle-shaped container size.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: an intelligent visual detection method for bottle container size, which specifically includes the following steps:

[0007] S1. Place the container to be measured on the initial measurement position of the measurement platform where the origin of the world coordinate system is set;

[0008] S2, moving the top laser sensor of the degree of freedom monitoring system located at zero position to above the initial measurement position to measure the total height L, and obtaining the model of the measured container according to the total height L;

[0009] S3, moving the top visual monitoring camera of the degree of freedom monitoring system to above the initial measurement position to collect a top view image of the bottle mouth, thereby obtaining the center coordinates and inner diameter of the bottle mouth on the measuring platform, and detecting defects of the bottle mouth;

[0010] S4, moving the positioning jaws of the degree of freedom monitoring system into the mouth of the container to be tested, and clamping the container to be tested;

[0011] S5. The degree of freedom monitoring system moves the measured container to the key dimension measurement position and the shape measurement position to perform dimension detection on the measured container.

[0012] At the critical dimension measurement position, the positioning clamp drives the mouth of the measured container to move linearly along the Z-axis direction between the first side laser sensor and the second side laser sensor on the opposite sides of the measuring platform, collects the major diameter of the external thread of the bottle mouth, the bottom diameter of the external thread of the bottle mouth, and the pitch, where the pitch is the Z-axis grating displacement data between the upper and lower external threads of the bottle mouth, and the positioning clamp drives the bottle body of the measured container to move along the Z-axis direction to between the first side laser sensor and the second side laser sensor on the opposite sides of the measuring platform, and the positioning clamp drives the measured container to move linearly along the Y-axis direction to collect the maximum diameter of the bottle body;

[0013] In the shape measurement position, the positioning jaw moves the measured container to face the side vision monitoring camera set on one side of the measurement platform, and the positioning jaw drives the measured container to rotate along the ω axis, or, in combination with the linear motion in the X-axis, Y-axis, and / or Z-axis directions, changes the position and posture of the measured container in real time. The side vision monitoring camera collects images of the bottle mouth and bottle body, obtains the height of the starting point of the bottle mouth thread, and detects defects on the bottle body;

[0014] S6, the positioning jaws move the measured container to the initial measuring position and release the measured container;

[0015] S7. The degree of freedom monitoring system returns to zero position, completing the detection of the bottle container size.

[0016] In certain embodiments, at the critical dimension measurement position in step S5, there is also a step of driving the container to be measured to rotate along the ω axis by the positioning jaws to measure the diameter of the bottle mouth anti-theft teeth.

[0017] In certain embodiments, in step S6, after returning to the initial measurement position, the top laser sensor of the degree of freedom monitoring system is moved above the container to measure the height of the bottle mouth and the height of the bottle mouth anti-theft teeth.

[0018] In some embodiments, the bottle mouth height is the difference between the total height L and the bottle body height, and the bottle mouth anti-theft tooth height is the difference between the height of the bottle mouth anti-theft tooth and the bottle body height.

[0019] In certain embodiments, at the critical dimension measurement position in step S5, the positioning clamp drives the bottle mouth of the measured container to move linearly along the Z-axis direction between the first side laser sensor and the second side laser sensor on opposite sides of the measuring platform, and the positioning clamp drives the measured container to rotate along the ω-axis to collect the bottle mouth height and the bottle mouth anti-theft tooth height.

[0020] In certain embodiments, at the shape measurement position in step S5, the side vision monitoring camera captures the bottle mouth image to obtain the bottle mouth height and the bottle mouth anti-theft tooth height.

[0021] In some embodiments, the diameter d is calculated as follows: d=D-(B+C), where D is the distance between the first side laser sensor and the second side laser sensor, B is the distance from the first side laser sensor to the measured container, and C is the distance from the second side laser sensor to the measured container.

[0022] Another technical problem to be solved by the present invention is to provide an intelligent visual inspection system for bottle container sizes.

[0023] In order to solve the above technical problems, the technical solution adopted by the present invention is: an intelligent visual detection system for bottle-shaped container size, which is specially used for implementing the intelligent visual detection method for bottle-shaped container size of any of the above technical solutions, including a frame, a measuring platform arranged on the frame, an electronic control system, and also including a first side laser sensor and a second side laser sensor located on opposite sides of the measuring platform and facing each other, at least one side visual monitoring camera arranged on the same side of the measuring platform, a degree of freedom monitoring system located above the measuring platform, and a servo mechanism arranged on the frame for controlling the degree of freedom monitoring system to move along any straight line direction of the XYZ three axes, the servo mechanism including a Z-axis grating for detecting the displacement of the degree of freedom monitoring system on the Z axis, the degree of freedom monitoring system including a monitoring frame, and also including a top laser sensor and a top visual monitoring camera arranged on the monitoring frame and facing downward to the measuring platform respectively, and also including a positioning clamp arranged on the monitoring frame and having its own center line as the ω axis rotation setting, and the axis line of the ω axis is perpendicular to the measuring platform.

[0024] In certain embodiments, there are two side visual monitoring cameras, namely an upper side visual monitoring camera and a lower side visual monitoring camera arranged one above the other, wherein the upper side visual monitoring camera faces the bottle mouth of the container to be tested.

[0025] In some embodiments, the installation position of the top laser sensor relative to the monitoring frame corresponds to the path of the top visual monitoring camera moving to the initial measurement position in step S3.

[0026] The scope of the present invention is not limited to the technical solutions formed by a specific combination of the above technical features, but also includes other technical solutions formed by any combination of the above technical features or their equivalent features. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in this application.

[0027] Due to the application of the above technical scheme, the present invention has the following advantages compared with the prior art: the present invention provides an intelligent visual detection method and detection system for bottle-shaped container dimensions. When the top visual monitoring camera located at the top moves toward the bottle-shaped container to collect the coordinates of the center of the circle and the inner diameter, the top laser sensor first passes through the bottle-shaped container and directly obtains its model through the total height of the bottle-shaped container. All the transverse diameters and other dimensions of the bottle-shaped container can be detected by the first side laser sensor and the second side laser sensor on the opposite sides of the measuring platform and the Z-axis movement, and the height dimensions such as the pitch can be directly obtained through the Z-axis grating. Bottle body defects, bottle mouth defects, thread starting point height, etc. can all be completed through image detection. The CNC optical measurement method combining laser ranging and image detection solves the contradiction between accuracy and efficiency, and achieves high-precision measurement while improving the detection speed. Non-contact, intelligent, high-precision, and strong adaptability. It achieves an optimized balance in six aspects: function, accuracy, efficiency, variety, operation, and cost. It is a fast measurement method that comprehensively applies multiple technologies and completes multiple size measurement targets at one time. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a structural schematic diagram of the intelligent detection system for bottle-shaped container size;

[0029] Figure 2 This is a schematic diagram of the detection of various dimensions of the bottle mouth;

[0030] Figure 3 This is a schematic diagram of the detection of various dimensions of the bottle;

[0031] Figure 4 This is a schematic diagram of thread starting point height measurement and bottle body defect detection;

[0032] Figure 5 This is a schematic diagram of the bottle mouth inner diameter and circle center coordinate detection;

[0033] Figure 6 It is a schematic diagram of the major diameter of the bottle mouth external thread and the bottom diameter of the bottle mouth external thread;

[0034] Figure 7 This is a schematic diagram of the bottle mouth anti-theft tooth diameter and the bottle mouth inner diameter;

[0035] Figure 8 It is the schematic diagram of the electronic control system;

[0036] Fig. 9The flowchart of the intelligent visual inspection method for bottle-shaped container size is shown;

[0037] Among them: 1. Container to be measured; 2. Measuring platform; 3. Degree of freedom monitoring system; 31. Top laser sensor; 32. Top visual monitoring camera; 33. Positioning clamp; 4. First side laser sensor; 5. Second side laser sensor; 6. Side visual monitoring camera; 61. Upper side visual monitoring camera; 62. Lower side visual monitoring camera; d1. Inner diameter of bottle mouth; d2. Maximum diameter of bottle body; d3. Large diameter of bottle mouth external thread; d4. Bottom diameter of bottle mouth external thread; d5. Diameter of bottle mouth anti-theft tooth. DETAILED DESCRIPTION

[0038] An intelligent visual detection method for bottle container size, specifically comprising the following steps:

[0039] S1, placing the container 1 to be measured on the initial measurement position of the measuring platform 2 where the origin of the world coordinate system is set;

[0040] S2, moving the top laser sensor 31 of the degree of freedom monitoring system 3 located at zero position to above the initial measurement position to measure the total height L, and obtaining the model of the measured container 1 according to the total height L;

[0041] S3, moving the top visual monitoring camera 32 of the degree of freedom monitoring system 3 to above the initial measurement position to collect a top view image of the bottle mouth, thereby obtaining the center coordinates of the bottle mouth on the measuring platform 2 and the inner diameter d1 of the bottle mouth, and detecting defects of the bottle mouth;

[0042] S4, moving the positioning clamp 33 of the degree of freedom monitoring system 3 into the mouth of the container to be tested, and clamping the container 1 to be tested;

[0043] S5, the degree of freedom monitoring system 3 moves the measured container 1 to the key dimension measurement position and the shape measurement position to perform dimension detection on the measured container 1,

[0044] At the critical dimension measurement position, the positioning clamp 33 drives the mouth of the measured container 1 to move linearly along the Z-axis direction between the first side laser sensor 4 and the second side laser sensor 5 on the opposite sides of the measuring platform 2 and facing each other, and collects the major diameter d3 of the external thread of the bottle mouth, the bottom diameter d4 of the external thread of the bottle mouth, and the pitch, which is the Z-axis grating displacement data between the upper and lower external threads of the bottle mouth. The positioning clamp 33 drives the bottle body of the measured container 1 to move along the Z-axis direction to between the first side laser sensor 4 and the second side laser sensor 5 on the opposite sides of the measuring platform 2 and facing each other, and the positioning clamp 33 drives the measured container 1 to move linearly along the Y-axis direction to collect the maximum diameter d2 of the bottle body.

[0045] In the shape measurement position, the positioning clamp 33 moves the measured container 1 to face the side vision monitoring camera 6 set on one side of the measuring platform 2, and the positioning clamp 33 drives the measured container 1 to rotate along the ω axis, or, in combination with the linear motion in the X-axis, Y-axis, and / or Z-axis directions, changes the position and posture of the measured container 1 in real time, and the side vision monitoring camera 6 collects the images of the bottle mouth and the bottle body, obtains the height of the starting point of the bottle mouth thread, and detects defects on the bottle body;

[0046] S6, the positioning clamp 33 moves the container 1 to the initial measurement position and releases the container 1;

[0047] S7. The degree of freedom monitoring system 3 returns to zero position, completing the detection of the size of the bottle-shaped container.

[0048] At the critical dimension measurement position in step S5, there is also a step in which the positioning jaws 33 drive the container 1 to be measured to rotate along the ω axis to measure the diameter d5 of the bottle mouth anti-theft tooth.

[0049] The calculation of the inner diameter of the bottle mouth d1, the maximum diameter of the bottle body d2, the large diameter of the external thread of the bottle mouth d3, the bottom diameter of the external thread of the bottle mouth d4, and the diameter of the anti-theft tooth of the bottle mouth d5 ​​are all according to the following formula: The calculation formula of diameter d is: d=D-(B+C), D is the distance between the laser sensor on the first side and the laser sensor on the second side, B is the distance from the laser sensor on the first side to the container to be measured, and C is the distance from the laser sensor on the second side to the container to be measured.

[0050] There are many ways to measure the height of the bottle mouth and the height of the bottle mouth anti-theft teeth. The following are three of them:

[0051] Example 1 is an implementation scheme adopted by the present invention. In step S6, when returning to the initial measurement position, the top laser sensor 31 of the degree of freedom monitoring system 3 moves to the top of the measured container 1 to measure the height of the bottle mouth and the height of the bottle mouth anti-theft teeth. The bottle mouth height is the difference between the total height L and the height of the bottle body, and the bottle mouth anti-theft teeth height is the difference between the height of the bottle mouth anti-theft teeth and the height of the bottle body.

[0052] In the second embodiment, at the critical dimension measurement position in step S5, the positioning jaw 33 drives the bottle mouth of the measured container 1 to move linearly along the Z-axis direction between the first side laser sensor 4 and the second side laser sensor 5 on the opposite sides of the measuring platform 2, and the positioning jaw 33 drives the measured container 1 to rotate along the ω-axis to collect the bottle mouth height and the bottle mouth anti-theft tooth height.

[0053] Embodiment 3: In the shape measurement position in step S5, the side vision monitoring camera 6 collects the bottle mouth image to obtain the bottle mouth height and the bottle mouth anti-theft tooth height.

[0054] like Figure 1As shown, a bottle container size intelligent visual detection system is specially used for implementing any of the above technical solutions of the bottle container size intelligent visual detection method, including a frame, a measuring platform 2 arranged on the frame, an electronic control system, and also includes a first side laser sensor 4 and a second side laser sensor 5 located on opposite sides of the measuring platform 2 and facing each other, at least one side visual monitoring camera 6 arranged on the same side of the measuring platform 2, a degree of freedom monitoring system 3 located above the measuring platform 2, and a servo mechanism arranged on the frame for controlling the degree of freedom monitoring system 3 to move along any straight line direction of the XYZ three axes, the servo mechanism includes a Z-axis grating for detecting the displacement of the degree of freedom monitoring system 3 on the Z axis, the degree of freedom monitoring system 3 includes a monitoring frame, and also includes a top laser sensor 31 and a top visual monitoring camera 32 arranged on the monitoring frame and facing downward to the measuring platform respectively, and also includes a positioning clamp 33 arranged on the monitoring frame and having its own center line as the ω axis rotation setting, and the axis line of the ω axis is perpendicular to the measuring platform 2.

[0055] The side visual monitoring cameras 6 include two, namely, an upper side visual monitoring camera 61 and a lower side visual monitoring camera 62 which are arranged one above the other. The upper side visual monitoring camera 61 faces the bottle mouth of the container to be tested.

[0056] The installation position of the top laser sensor 31 relative to the monitoring frame corresponds to the path of the top visual monitoring camera 32 moving to the initial measurement position in step S3.

[0057] like Figure 8 As shown, the electronic control system is a commonly used technology in the field of numerical control, usually including an industrial computer, a comprehensive interface for transmitting various sensor signals to the industrial computer and then feeding back the signals sent by the industrial computer to the light source, laser control, and servo control.

[0058] The top visual monitoring camera and the top laser sensor cooperate to complete the precise positioning of the container being measured. The top visual monitoring camera completes the measurement of the inner diameter d1 of the bottle mouth and the detection of bottle mouth defects; the top laser sensor completes the measurement of the height of the bottle mouth anti-theft teeth and the height of the bottle mouth; the first side laser sensor and the second side laser sensor complete the measurement of the large diameter d3 of the bottle mouth external thread, the bottom diameter d4 of the bottle mouth external thread, and the diameter d5 of the bottle mouth anti-theft teeth, and cooperates with the Z-axis grating to detect the pitch and other dimensions; the upper side visual monitoring camera and the lower side visual monitoring camera complete the bottle body defect detection, among which the upper side visual monitoring camera is responsible for the height measurement of the starting point of the thread; the positioning claw cooperates with the measurement purpose to change the position and posture of the container being measured in real time. The Z-axis grating is a grating sensor, which is a primitive for size detection. The grating sensor is a precision displacement measurement device, which uses the pulse whose grating pitch is subdivided into sub-micron level as the smallest unit to accumulate and measure the moving displacement.

[0059] The top laser sensor, the first side laser sensor, and the second side laser sensor use the triangulation ranging principle.

[0060] The top visual monitoring camera, the upper side visual monitoring camera, and the lower side visual monitoring camera are all area array cameras. The principle of the area array camera is two-dimensional multi-point pixel imaging, and the relationship between the pixel distance and the size of the object to be measured is calibrated to determine the size of the object to be measured.

[0061] After the container to be tested is placed in the specified area, the test can be started with one button. Fig. 9 As shown, each step in the flowchart is completed automatically.

[0062] The top laser sensor measures the total height L of the container to be tested. After the detection is started, the total height L of the container to be tested is detected first, and the model of the container to be tested can be automatically determined to prevent the wrong placement or selection of the tested part; then, combined with the calibrated working distance K of the area array camera, the detection device is moved along the Z-axis direction to the position of L+K, so that the camera focuses on the bottle mouth.

[0063] It is a known technology to complete the position and tracking of objects in the set platform space. The present invention utilizes this known technology to collect the center of the bottle-shaped container in the measurement platform through the top visual monitoring camera, and process and analyze the inner diameter d1 of the bottle mouth. During operation, the light source is controlled to turn on to complete image acquisition. On this basis, the measurement of the inner diameter d1 of the bottle mouth is completed and the three-dimensional coordinates of the bottle mouth are calculated according to the pre-calibrated pixel resolution in the X and Y axis directions. For the image acquisition station of the inner diameter d1 of the bottle mouth of the measured container, the image needs to be filtered and segmented, and the diameter information is calculated. The calculation method can use the feature point Hough transform algorithm or the least squares method to identify the inner diameter element, and fit the point most likely on the circle to the closest target circle, so as to obtain the center, diameter and other parameters of the circle.

[0064] The positioning clamping claw completes the clamping and calibration of the measured container according to the three-dimensional coordinates of the bottle mouth. The positioning clamping claw is a prior art and is an existing clamping structure extending into the bottle mouth.

[0065] According to the position information obtained by the top visual monitoring camera, the servo mechanism controls the positioning jaws to lift the container to be measured and obtain the measurement position. The optical ruler composed of the first side laser sensor and the second side laser sensor is used for measurement. During measurement, the container to be measured moves along the Z axis between the first side laser sensor and the second side laser sensor. The first side laser sensor and the second side laser sensor scan the distance information. At the same time, the Z-axis grating signal triggers the data acquisition card to collect the distance data between the first side laser sensor and the second side laser sensor. When changing the measurement section, the positioning jaws rotate a certain angle with their own center line as the ω axis, so as to obtain the diameter information on multiple sections, and the measurement is more accurate.

[0066] The pitch is measured by fusing the distance information of the first-side laser sensor and the second-side laser sensor in the X-axis direction and the data of the Z-axis grating displacement.

[0067] At a certain height, the Y-axis motion scans to obtain the highest point information and detect the diameter of the container being tested.

[0068] The height of the thread starting point is a difficult parameter to measure. If point laser sensing is used, it is difficult to quickly find the thread starting point, which will inevitably prolong the measurement time. Therefore, the image detection method is used to rotate the thread starting point to the imaging surface at a certain height and camera focus position, and collect images for processing. Image detection is generally divided into the following steps: image acquisition, image filtering, image segmentation, feature extraction, analysis and calculation, etc.

[0069] The present invention can detect items of different properties such as diameter, height, pitch, defects, etc., and needs to be performed at different positions and sections; the accuracy is less than 1 / 4 of the tolerance; all dimensions and defects are detected within 180 seconds; it is suitable for round, square, 150 ml to 20 liter containers; the detection can be completed with one button; and the cost is low.

[0070] The measurement method is comprehensive and innovative, solving the problem that one machine cannot cover all the existing technologies. The measurement speed is better than the existing technology, and the measurement accuracy is greatly improved compared with manual measurement. It can accurately measure the thread size and thread starting point height of different specifications. The absolute measurement accuracy can reach 0.05mm, and the repeatability can reach 0.02mm. It has good feasibility in actual production applications. It solves the contradiction between accuracy and speed.

[0071] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made according to the spirit of the present invention should be included in the protection scope of the present invention.

Claims

1. An intelligent visual inspection method for bottle container size, characterized by: The specific steps include: S1, placing the container (1) to be measured on an initial measurement position of a measuring platform (2) having an origin of a world coordinate system set therein; S2, moving the top laser sensor (31) of the degree of freedom monitoring system (3) located at zero position to above the initial measurement position to measure the total height L, and obtaining the model of the measured container (1) according to the total height L; S3, moving the top visual monitoring camera (32) of the degree of freedom monitoring system (3) to above the initial measurement position to collect a top view image of the bottle mouth, thereby obtaining the center coordinates of the bottle mouth on the measurement platform (2) and the inner diameter of the bottle mouth, and detecting defects of the bottle mouth; S4, moving the positioning clamp (33) of the degree of freedom monitoring system (3) into the mouth of the container to be tested, and clamping the container (1) to be tested; S5, the degree of freedom monitoring system (3) moves the container (1) to the key dimension measurement position and the shape measurement position to perform dimension detection on the container (1). At the critical dimension measurement position, the positioning clamp (33) drives the mouth of the measured container (1) to move linearly along the Z-axis direction between the first side laser sensor (4) and the second side laser sensor (5) on opposite sides of the measuring platform (2) and facing each other, and collects the major diameter of the external thread of the bottle mouth, the bottom diameter of the external thread of the bottle mouth, and the pitch, where the pitch is the Z-axis grating displacement data between the upper and lower external threads of the bottle mouth, and the positioning clamp (33) drives the bottle body of the measured container (1) to move along the Z-axis direction to between the first side laser sensor (4) and the second side laser sensor (5) on opposite sides of the measuring platform (2) and facing each other, and the positioning clamp (33) drives the measured container (1) to move linearly along the Y-axis direction to collect the maximum diameter of the bottle body; In the shape measurement position, the positioning clamp (33) moves the measured container (1) to face the side vision monitoring camera (6) arranged on one side of the measuring platform (2), and the positioning clamp (33) drives the measured container (1) to rotate along the ω axis, or, in combination with the linear motion in the X-axis, Y-axis, and / or Z-axis directions, changes the position and posture of the measured container (1) in real time, and the side vision monitoring camera (6) collects images of the bottle mouth and the bottle body, obtains the height of the starting point of the bottle mouth thread, and detects defects on the bottle body; S6, the positioning clamp (33) moves the measured container (1) to the initial measurement position and releases the measured container (1); S7. The degree of freedom monitoring system (3) returns to zero position, completing the detection of the size of the bottle container.

2. The intelligent visual inspection method for bottle container size according to claim 1 is characterized in that: At the critical dimension measurement position in step S5, there is also a step of using the positioning clamp (33) to drive the container (1) to be measured to rotate along the ω axis to measure the diameter of the bottle mouth anti-theft tooth.

3. The intelligent visual detection method for bottle container size according to claim 2 is characterized in that: In step S6, after returning to the initial measurement position, the top laser sensor (31) of the degree of freedom monitoring system (3) moves to the top of the container (1) to measure the height of the bottle mouth and the height of the bottle mouth anti-theft teeth.

4. The intelligent visual detection method for bottle container size according to claim 3 is characterized in that: The bottle mouth height is the difference between the total height L and the bottle body height, and the bottle mouth anti-theft tooth height is the difference between the height of the bottle mouth anti-theft tooth and the bottle body height.

5. The intelligent visual inspection method for bottle container size according to claim 2 is characterized by: At the critical dimension measurement position in step S5, the positioning clamp (33) drives the mouth of the measured container (1) to move linearly along the Z-axis direction between the first side laser sensor (4) and the second side laser sensor (5) on opposite sides of the measuring platform (2) and facing each other, and the positioning clamp (33) drives the measured container (1) to rotate along the ω-axis to collect the height of the mouth and the height of the anti-theft teeth of the mouth.

6. The intelligent visual inspection method for bottle container size according to claim 2 is characterized by: At the shape measurement position in step S5, the side vision monitoring camera (6) collects the bottle mouth image to obtain the bottle mouth height and the bottle mouth anti-theft tooth height.

7. The intelligent visual inspection method for bottle container size according to claim 1 is characterized by: The calculation formula for the diameter d is: d=D-(B+C), D is the distance between the laser sensor on the first side and the laser sensor on the second side, B is the distance from the laser sensor on the first side to the container being measured, and C is the distance from the laser sensor on the second side to the container being measured.

8. An intelligent visual inspection system for bottle container size, which is specially used for implementing the intelligent visual inspection method for bottle container size according to any one of claims 1 to 7, comprising a frame, a measuring platform (2) arranged on the frame, and an electronic control system, characterized in that: The device also comprises a first side laser sensor (4) and a second side laser sensor (5) located on opposite sides of the measuring platform (2) and facing each other, at least one side visual monitoring camera (6) arranged on the same side of the measuring platform (2), a degree of freedom monitoring system (3) located above the measuring platform (2), and a servo mechanism arranged on the frame for controlling the degree of freedom monitoring system (3) to move in any straight line direction along the XYZ three axes, the servo mechanism comprising a Z-axis grating for detecting the displacement of the degree of freedom monitoring system (3) on the Z axis, the degree of freedom monitoring system (3) comprising a monitoring frame, a top laser sensor (31) and a top visual monitoring camera (32) arranged on the monitoring frame and facing downwards to the measuring platform respectively, and a positioning clamp (33) arranged on the monitoring frame and having a rotation arrangement with its own center line as an ω axis, the axis of the ω axis being perpendicular to the measuring platform (2).

9. The intelligent visual inspection system for bottle container size according to claim 8 is characterized by: The side visual monitoring camera (6) comprises two cameras, namely an upper side visual monitoring camera (61) and a lower side visual monitoring camera (62) which are arranged one above the other, wherein the upper side visual monitoring camera (61) faces the bottle mouth of the container to be tested.

10. The intelligent visual inspection system for bottle container size according to claim 8, characterized in that: The installation position of the top laser sensor (31) relative to the monitoring frame corresponds to the path of the top visual monitoring camera (32) moving to the initial measurement position in step S3.

Citation Information

Patent Citations

  • Intelligent visual inspection system for size of bottle-shaped container

    CN216694847U