Glass tube processing parameter detection system, method and device
By designing a glass tube processing parameter detection system including a down tube platform, a conveying device, a clamp device, a down tube basket, a terminal device and a shooting device, the problems of low detection efficiency and high labor cost in the prior art are solved, and the automation and high efficiency of glass tube processing parameter detection are realized.
Patent Information
- Application Number
- CN202411851863.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-04-22
AI Technical Summary
The prior art requires manual rotation of the glass tube or laser multiple times when detecting the processing parameters of glass tubes, resulting in low detection efficiency and a large amount of time and labor costs.
A glass tube processing parameter detection system is designed, including a down tube platform, a conveying device, a clamp device, a down tube basket, a terminal device and a shooting device. The system automatically transmits and fixes the glass tube through a conveyor belt and clamping device, and automatically captures the end face image of the glass tube using the shooting device, and the terminal device automatically analyzes the image to determine the processing parameters.
The automation of glass tube processing parameter detection is realized, which significantly reduces time and labor costs and improves detection efficiency.
Smart Images

Figure CN119861073A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of glass tube processing, and in particular to a glass tube processing parameter detection system, method and device. Background Art
[0002] Fiber optic image transmission components (such as fiber optic panels, image invertors, light cones, etc.) are fiber optic material rod bundles composed of tens to hundreds of thousands of micron-level optical fibers. Among them, the optical fiber that constitutes the fiber optic image transmission component is drawn by sheathing a hollow glass tube on a core glass rod, that is, the processing quality of the optical fiber depends on the processing quality of the glass tube. Only glass tubes that meet the processing quality requirements can produce optical fibers that meet the processing quality requirements. Therefore, in order to ensure the processing quality of the optical fiber, it is necessary to detect the processing quality of the glass tube.
[0003] At present, laser detection is usually used to detect the processing parameters of glass tubes, and then the processing quality of glass tubes is judged based on the processing parameters of glass tubes. In the process of detecting the processing parameters of glass tubes by laser detection, two lasers are needed to perform multiple point scanning operations on the glass tubes. However, only when the staff rotates the glass tubes or rotates the lasers manually multiple times can the operation of multiple point scanning on the glass tubes be completed. Therefore, the detection of the processing parameters of glass tubes by laser detection requires a lot of time and labor costs, and the detection efficiency is low. Summary of the invention
[0004] The embodiments of the present application provide a glass tube processing parameter detection system, method and device, the main purpose of which is to improve the detection efficiency of glass tube processing parameters.
[0005] In order to solve the above technical problems, the embodiments of the present application provide the following technical solutions:
[0006] In a first aspect, the present application provides a glass tube processing parameter detection system, the system comprising: a tube lowering platform, a conveying device, a plurality of clamping devices, a tube lowering basket, a terminal device and a photographing device;
[0007] The output end of the lower tube platform is connected to the input end of the conveying device, the lower tube basket is arranged below the output end of the conveying device, and the input end of the lower tube platform is used to put the glass tube to be tested;
[0008] The conveying device is electrically connected to the terminal device, and the conveying device includes a conveyor belt and a conveyor belt rotating shaft. A plurality of the clamping devices are arranged on the conveyor belt, and the clamping devices are used to fix the glass tube to be tested;
[0009] The photographing device is disposed on one side of the conveying device, the photographing device is electrically connected to the terminal device, and the photographing device is used to photograph the end surface image corresponding to the glass tube to be inspected, and send the end surface image corresponding to the glass tube to be inspected to the terminal device;
[0010] The terminal device is used to control the conveyor belt shaft to start and stop rotating, and to determine the processing parameters corresponding to the glass tube to be inspected according to the end surface image corresponding to the glass tube to be inspected.
[0011] In a second aspect, the present application further provides a glass tube processing parameter detection method, which is applied to a terminal device in the glass tube processing parameter detection system described in the first aspect, and the method comprises:
[0012] After receiving the detection instruction, the glass tube to be detected is dropped to the input end of the lower tube platform, and after the target rolling time, the conveyor belt shaft is controlled to start rotating to drive the conveyor belt to transmit;
[0013] Controlling the photographing device to photograph the end face image corresponding to the glass tube to be inspected;
[0014] The processing parameters corresponding to the glass tube to be inspected are determined according to the end surface image corresponding to the glass tube to be inspected.
[0015] In a third aspect, the present application further provides a glass tube processing parameter detection device, which is applied to a terminal device in the glass tube processing parameter detection system described in the first aspect, and the device includes:
[0016] A delivery unit, used for delivering the glass tube to be tested to the input end of the lower tube platform after receiving the testing instruction;
[0017] The first control unit is used to control the conveyor belt shaft to start rotating after the target rolling time has passed, so as to drive the conveyor belt to transmit;
[0018] A second control unit, used to control the photographing device to photograph an end face image corresponding to the glass tube to be inspected;
[0019] A determination unit is used to determine the processing parameters corresponding to the glass tube to be detected according to the end surface image corresponding to the glass tube to be detected.
[0020] In a fourth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the glass tube processing parameter detection method described in the first aspect.
[0021] In a fifth aspect, an embodiment of the present application provides a glass tube processing parameter detection device, the device comprising a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the glass tube processing parameter detection method described in the first aspect is executed.
[0022] By means of the above technical solution, the technical solution provided by this application has at least the following advantages:
[0023] The present application provides a glass tube processing parameter detection system, method and device. The glass tube processing parameter detection system provided by the present application includes: a lower tube platform, a conveying device, a plurality of fixture devices, a lower tube basket, a terminal device and a shooting device; the output end of the lower tube platform is connected to the input end of the conveying device, the lower tube basket is arranged below the output end of the conveying device, and the input end of the lower tube platform is used to put the glass tube to be detected; the conveying device is electrically connected to the terminal device, the conveying device includes a conveyor belt and a conveyor belt rotating shaft, a plurality of fixture devices are arranged on the conveyor belt, the fixture device is used to fix the glass tube to be detected, the conveyor belt rotating shaft is used to drive the conveyor belt to rotate, and the glass tube to be detected is put at the input end of the lower tube platform. After the glass tube is detected, the glass tube to be detected rolls down from the input end of the lower tube platform to the fixture device, and the conveyor belt drives the fixture device and the glass tube to be detected to move from the input end of the conveyor device to the output end of the conveyor device, and the lower tube basket is used to receive the glass tube to be detected that falls from the output end of the conveyor device; the shooting device is arranged on one side of the conveyor device, and the shooting device is electrically connected to the terminal device, and the shooting device is used to shoot the end face image corresponding to the glass tube to be detected, and send the end face image corresponding to the glass tube to be detected to the terminal device; the terminal device is used to control the conveyor belt shaft to start and stop rotating, and determine the processing parameters corresponding to the glass tube to be detected according to the end face image corresponding to the glass tube to be detected. Because, in the present application, the detection staff only needs to put the glass tube to be detected at the input end of the lower tube platform and pick up the glass tube that has been detected in the lower tube basket, and the other steps do not require the participation of the detection staff. The glass tube processing parameter detection system can automatically complete the work of detecting the processing parameters of the glass tube to be detected, so it can effectively reduce the time cost and labor cost consumed in detecting the processing parameters of the glass tube to be detected, thereby effectively improving the detection efficiency.
[0024] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0026] Figure 1 A structural schematic diagram of a glass tube processing parameter detection system provided in an embodiment of the present application is shown;
[0027] Figure 2 A structural schematic diagram of another glass tube processing parameter detection system provided in an embodiment of the present application is shown;
[0028] Figure 3 A flow chart of a method for detecting processing parameters of a glass tube provided in an embodiment of the present application is shown;
[0029] Figure 4 A block diagram showing a glass tube processing parameter detection device provided in an embodiment of the present application is shown;
[0030] Figure 5 A block diagram of another glass tube processing parameter detection device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0031] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0032] In addition, the words “first”, “second” and the like used in the present application do not indicate any order, quantity or importance, but are only used to distinguish different parts.
[0033] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.
[0034] At present, laser detection is usually used to detect the processing parameters of glass tubes, and then the processing quality of glass tubes is judged based on the processing parameters of glass tubes. In the process of detecting the processing parameters of glass tubes by laser detection, two lasers are needed to perform multiple point scanning operations on the glass tubes. However, only when the staff rotates the glass tubes or rotates the lasers manually multiple times can the operation of multiple point scanning on the glass tubes be completed. Therefore, the detection of the processing parameters of glass tubes by laser detection requires a lot of time and labor costs, and the detection efficiency is low.
[0035] Therefore, in order to improve the detection efficiency of glass tube processing parameters, the present application embodiment provides a glass tube processing parameter detection system, such as Figure 1 As shown, the system includes: a tube lowering platform 1, a conveying device 2, a plurality of clamping devices 3, a tube lowering basket 4, a terminal device 5 and a photographing device 6;
[0036] The output end of the lower tube platform 1 is connected to the input end of the conveying device 2, and the lower tube basket 4 is arranged below the output end of the conveying device 2. The input end of the lower tube platform 1 is used to put the glass tube to be tested;
[0037] The conveying device 2 is electrically connected to the terminal device 5, and the conveying device 2 includes a conveying belt 21 and a conveying belt rotating shaft 22. A plurality of fixture devices 3 are arranged on the conveying belt 21, and the fixture devices 3 are used to fix the glass tube to be tested;
[0038] The photographing device 6 is disposed on one side of the conveying device 2, and the photographing device 6 is electrically connected to the terminal device 5. The photographing device 6 is used to photograph the end surface image corresponding to the glass tube to be inspected, and send the end surface image corresponding to the glass tube to be inspected to the terminal device 5;
[0039] The terminal device 5 is used to control the conveyor belt shaft 22 to start and stop rotating, and to determine the processing parameters corresponding to the glass tube to be inspected according to the end surface image corresponding to the glass tube to be inspected.
[0040] Wherein, the glass tube to be detected is a glass tube used to manufacture optical fibers, the circle surrounded by the outer edges of the end faces of the glass tube to be detected is the outer circle corresponding to the glass tube to be detected, the circle surrounded by the inner edges of the end faces of the glass tube to be detected is the inner circle corresponding to the glass tube to be detected, the inner circle drawing diameter and the outer circle drawing diameter corresponding to the glass tube to be detected can be but are not limited to: 25mm / 27mm, 29mm / 36mm, 34mm / 35mm, 40mm / 42mm, etc., and the embodiments of the present application do not specifically limit this; wherein, the lower tube platform 1 can specifically be a glass platform made of glass material, the lower tube platform 1 is placed at an angle, the width of the lower tube platform 1 is the same as the width of the conveyor belt 21, and the width of the lower tube platform 1 is the same as the width of the conveyor belt 21. The width of the belt 21 is greater than the length of the glass tube to be detected; wherein, the spacing between the output end of the lower tube platform 1 and the input end of the conveying device 2 is determined according to the outer circle drawing diameter corresponding to the glass tube to be detected and the height of the clamping device 3. For example, the height of the clamping device 3 is 6 mm, and the outer circle drawing diameter corresponding to the glass tube to be detected is 36 mm. Then, the spacing between the output end of the lower tube platform 1 and the input end of the conveying device 2 can be set to 12 mm, thereby ensuring that the glass tube to be detected will not fall to the ground from the gap between the output end of the lower tube platform 1 and the input end of the conveying device 2, and ensuring that the clamping device 3 can pass through the gap between the output end of the lower tube platform 1 and the input end of the conveying device 2.
[0041] Among them, the distance between two adjacent clamping devices 3 can be determined according to the outer circle drawing diameter corresponding to the glass tube to be detected, that is, to ensure that the distance between two adjacent clamping devices 3 is not much different from the outer circle drawing diameter corresponding to the glass tube to be detected. For example, if the outer circle drawing diameter corresponding to the glass tube to be detected is 36 mm, the distance between two adjacent clamping devices 3 can be set to 35 mm.
[0042] Among them, the conveyor belt shaft 22 is used to drive the conveyor belt 21 to rotate, the input end of the lower tube platform 1 is used to put the glass tube to be inspected, and the glass tube to be inspected rolls from the input end of the lower tube platform to the clamping device 3. The conveyor belt 21 drives the clamping device 3 and the glass tube to be inspected to move from the input end of the conveying device 2 to the output end of the conveying device 2. The lower tube basket 4 is used to receive the glass tube to be inspected that falls from the output end of the conveying device 2.
[0043] The lower tube basket 4 is filled with cotton or other buffer materials to prevent the glass tube to be tested from colliding and breaking when it falls into the lower tube basket 4 .
[0044] The following specifically describes the glass tube processing parameter detection system in the embodiment of the present application through the working process and principle of the glass tube processing parameter detection system in the embodiment of the present application:
[0045] The positions of the various clamping devices 3 on the conveyor belt 21 are adjusted in advance by controlling the rotation of the conveyor belt shaft 22, thereby ensuring that there is a clamping device 3 at the input end of the conveyor device 2 (ie, the input end of the conveyor belt 21).
[0046] First, the glass tubes to be detected are placed at the input end of the lower tube platform 1 according to the preset placement interval, that is, after the first glass tube to be detected is placed and the preset placement interval has passed, the second glass tube to be detected is placed, after the second glass tube to be detected is placed and the preset placement interval has passed, the third glass tube to be detected is placed...; and, after the first glass tube to be detected is placed and the target rolling time has passed, the terminal device 5 controls the conveyor belt rotating shaft 22 to start rotating to drive the conveyor belt 21 to transmit, wherein the target rolling time is the time for the glass tube to be detected to be transported from the lower tube platform 1 to the input end of the lower tube platform 1. The time required for the input end to roll down to the output end of the lower tube platform 1 is calculated, so that after the first glass tube to be detected is placed and the target rolling time has passed, the glass tube to be detected can just roll down to the clamping device 3 at the input end of the conveying device 2; wherein, since the transmission speed of the conveyor belt 21 is determined according to the preset placement interval time, the target rolling time, the spacing between adjacent clamping devices 3 and the size of the clamping device 3, it can be ensured that after the conveyor belt 21 is driven, each glass tube to be detected placed at the input end of the lower tube platform 1 can roll down to the corresponding clamping device 3.
[0047] Secondly, after the conveyor belt 21 is driven, the conveyor belt 21 can drive the clamping device 3 and the glass tube to be detected to move from the input end of the conveying device 2 to the output end of the conveying device 2. When the clamping device 3 and the glass tube to be detected move to the output end of the conveying device 2, the glass tube to be detected will fall into the lower tube basket 4. At this time, the staff needs to pick up the glass tube to be detected in the lower tube basket 4 in time to avoid the glass tube to be detected that subsequently falls into the lower tube basket 4 and collides with and breaks the glass tube to be detected; wherein, during the movement of the clamping device 3 and the glass tube to be detected, when the clamping device 3 and the glass tube to be detected move into the shooting range of the shooting device 6, the shooting device 6 can shoot the end face of the glass tube to be detected to obtain the end face image corresponding to the glass tube to be detected, and send the end face image corresponding to the glass tube to be detected to the terminal device 5.
[0048] Finally, the terminal device 5 determines the processing parameters corresponding to the glass tube to be detected according to the end surface image corresponding to the glass tube to be detected, for example, the inner circle processing diameter, outer circle processing diameter and concentricity deviation value corresponding to the glass tube to be detected.
[0049] The glass tube processing parameter detection system can detect and obtain the processing parameters of a large number of glass tubes to be detected according to the above-mentioned work flow without the intervention of detection staff. Therefore, it can effectively reduce the time cost and labor cost consumed in detecting the processing parameters of the glass tubes to be detected, thereby effectively improving the detection efficiency.
[0050] The embodiment of the present application provides a glass tube processing parameter detection system, and the glass tube processing parameter detection system provided by the embodiment of the present application includes: a lower tube platform, a conveying device, a plurality of fixture devices, a lower tube basket, a terminal device and a shooting device; the output end of the lower tube platform is connected to the input end of the conveying device, the lower tube basket is arranged below the output end of the conveying device, and the input end of the lower tube platform is used to put the glass tube to be detected; the conveying device is electrically connected to the terminal device, the conveying device includes a conveyor belt and a conveyor belt rotating shaft, a plurality of fixture devices are arranged on the conveyor belt, the fixture device is used to fix the glass tube to be detected, the conveyor belt rotating shaft is used to drive the conveyor belt to rotate, and the glass tube to be detected is put at the input end of the lower tube platform. After the glass tube is detected, the glass tube to be detected rolls down from the input end of the lower tube platform to the fixture device, and the conveyor belt drives the fixture device and the glass tube to be detected to move from the input end of the conveyor device to the output end of the conveyor device, and the lower tube basket is used to receive the glass tube to be detected that falls from the output end of the conveyor device; the shooting device is arranged on one side of the conveyor device, and the shooting device is electrically connected to the terminal device, and the shooting device is used to shoot the end face image corresponding to the glass tube to be detected, and send the end face image corresponding to the glass tube to be detected to the terminal device; the terminal device is used to control the conveyor belt shaft to start and stop rotating, and determine the processing parameters corresponding to the glass tube to be detected according to the end face image corresponding to the glass tube to be detected. Because, in the embodiment of the present application, the detection staff only needs to put the glass tube to be detected at the input end of the lower tube platform and pick up the glass tube that has been detected in the lower tube basket, and the other steps do not require the participation of the detection staff, and the glass tube processing parameter detection system can automatically complete the work of detecting the processing parameters of the glass tube to be detected, so it can effectively reduce the time cost and labor cost consumed in detecting the processing parameters of the glass tube to be detected, thereby effectively improving the detection efficiency.
[0051] Further, such as Figure 2As shown, the fixture device 3 includes: two brackets 31 and a light source device 32, wherein the two brackets 31 are arranged in parallel on the conveyor belt 21, and the light source device 32 is arranged between the two brackets 31 and close to the side of the shooting device 6. In the embodiment of the present application, the two brackets 31 have the same size, and the size of each bracket 31 and the spacing between the two brackets 31 are determined according to the size of the glass tube to be detected, so as to ensure that the two brackets 31 can fix the glass tube to be detected after the glass tube to be detected rolls into the fixture device 3; because when the end face image of the glass tube to be detected is captured by the shooting device 6, the information on the depth of the glass tube to be detected, such as the light in the depth direction, will be shielded, resulting in a darker end face image captured, therefore, it is necessary to set the light source device 32 between the two brackets 31 and close to the side of the shooting device 6, so as to ensure that the brightness of the captured end face image is normal.
[0052] Further, such as Figure 2 As shown, the photographing device 6 comprises: an industrial camera 61 and a high-beam lens 62 ; wherein the high-beam lens 62 is mounted on the industrial camera 61 . In the embodiment of the present application, in order to ensure that the clarity of the end face image obtained by shooting meets the detection requirements, an industrial camera 61 is used in combination with a telephoto lens 62 as the shooting device 6; wherein, in actual use, the chip target surface size, resolution and other parameters of the industrial camera 61 are determined according to the distance between two adjacent fixture devices 3 and the outer circle drawing diameter corresponding to the glass tube to be detected. For example, the outer circle drawing diameter corresponding to the glass tube to be detected is 36 mm, and the distance between two adjacent fixture devices 3 is 35 mm. Therefore, the shooting range of the industrial camera 61 with the telecentric lens should be greater than twice the outer circle drawing diameter corresponding to the glass tube to be detected. At the same time, in order to effectively utilize the space of the conveyor belt 21, the display range of the shot image should be between 70 mm and 105 mm. Combined with the parameters of the telecentric lens, it can be calculated that the resolution of the selected industrial camera 61 should be ≥3 million pixels and ≤10 million pixels, and the chip target surface size should be ≥1 / 3 inch and ≤2 / 3 inch. When the resolution is selected to be low, the actual distance represented by a single pixel is wider, resulting in lower measurement accuracy; when the resolution is selected to be too high, the edge of the glass tube to be inspected in the captured end face image and the background are gradually changing, making it difficult to determine the boundary line between the inner and outer edges of the glass tube to be inspected.
[0053] Further, such as Figure 2As shown, the glass tube processing parameter detection system also includes: a delivery device 7; the delivery device 7 is arranged above the input end of the lower tube platform 1, the delivery device 7 is electrically connected to the terminal device 5, and the delivery device 7 is used to deliver the glass tube to be detected to the input end of the lower tube platform 1. In the embodiment of the present application, in order to ensure that the glass tube to be detected can be accurately delivered at the input end of the lower tube platform 1 according to the preset delivery interval, the delivery device 7 can be controlled by the terminal device 5 to deliver the glass tube to be detected to the input end of the lower tube platform 1. The terminal device 5 sets a timer for the delivery device 7 in advance. After the delivery device 7 is controlled to deliver a glass tube to be detected to the input end of the lower tube platform 1, the timer corresponding to the delivery device 7 is controlled to start timing. When the timer reaches the preset delivery interval, the timer is controlled to be reset, and the delivery device 7 is controlled to deliver the next glass tube to be detected to the input end of the lower tube platform 1.
[0054] Furthermore, the glass tube processing parameter detection system also includes: an alarm device; the alarm device is electrically connected to the terminal device 5, and the alarm device is used to alarm. In the embodiment of the present application, after the terminal device 5 controls the shooting device 6 to shoot the end face image corresponding to the glass tube to be detected, it is determined whether the glass tube to be detected is located within the center range of the end face image. If the glass tube to be detected is located within the center range of the end face image, the terminal device 5 determines the processing parameters corresponding to the glass tube to be detected according to the end face image corresponding to the glass tube to be detected; if the glass tube to be detected is located outside the center range of the end face image, the terminal device 5 controls the alarm device to alarm to remind the staff that the glass tube to be detected is located outside the center range of the end face image, and the end face image corresponding to the glass tube to be detected needs to be re-shot, and the position of the glass tube to be detected is adjusted by controlling the rotation of the conveyor belt shaft 22 until the glass tube to be detected is within the center range of the re-shot end face image, and the processing parameters corresponding to the glass tube to be detected are determined according to the re-shot end face image.
[0055] Furthermore, a platform baffle is provided on any one or both sides of the lower tube platform 1. In the embodiment of the present application, in order to prevent the glass tube to be inspected from rolling down on the lower tube platform 1 and rolling down to the ground to collide and break, it is necessary to provide a platform baffle on any one or both sides of the lower tube platform 1 to prevent the glass tube to be inspected from rolling down to the ground.
[0056] The present application also provides a method for detecting glass tube processing parameters. Figure 1 or Figure 2 The glass tube processing parameter detection system shown in the figure includes: a tube lowering platform, a conveying device, a plurality of fixture devices, a tube lowering basket, a terminal device, a shooting device and a delivery device. The execution subject of the method is the terminal device in the glass tube processing parameter detection. The terminal device can be, but is not limited to, a computer, a laptop computer, a tablet computer, etc. Figure 3 As shown, the method includes:
[0057] 201. After receiving the detection instruction, the glass tube to be detected is placed at the input end of the lower tube platform, and after the target rolling time, the conveyor belt shaft is controlled to start rotating to drive the conveyor belt to transmit.
[0058] When the testing staff needs to test the processing parameters of a batch of glass tubes to be tested with the same size, the testing staff needs to first select a plurality of corresponding fixtures according to the size of the glass tubes to be tested, and set the plurality of fixtures on the conveyor belt. After completing the preparation work, the input device of the staff terminal device sends a test instruction to the terminal device. After receiving the test instruction, the terminal device will control the delivery device to deliver the glass tubes to be tested at the input end of the lower tube platform according to the preset delivery interval, that is, first control the delivery device to deliver the first glass tube to be tested, and after the first glass tube to be tested is delivered to the delivery device, and after the preset delivery interval, control the delivery device to deliver the second glass tube to be tested, and after the second glass tube to be tested is delivered to the delivery device, and after the preset delivery interval, control the delivery device to deliver the third glass tube to be tested...; and, after delivering the first glass tube to be tested and after the target rolling time, the terminal device controls the conveyor belt shaft to start rotating to drive the conveyor belt to transmit.
[0059] Among them, the preset delivery interval time can be but not limited to: 3s, 4s, 5s, etc.; wherein, the target rolling time is the time required for the glass tube to be detected to roll from the input end of the lower tube platform to the output end of the lower tube platform, so that after the first glass tube to be detected is delivered and after the target rolling time, the glass tube to be detected can just roll onto the clamping device at the input end of the conveying device; wherein, since the transmission speed of the conveyor belt is determined according to the preset delivery interval time, the target rolling time, the distance between adjacent clamping devices and the size of the clamping device, it can be ensured that after the conveyor belt is driven, each glass tube to be detected delivered through the input end of the lower tube platform can roll into the corresponding clamping device.
[0060] Furthermore, in the embodiment of the present application, the terminal device needs to pre-calculate the target rolling time corresponding to the glass tube to be detected and the transmission speed corresponding to the conveyor belt, and the specific process is as follows:
[0061] First, the inner circle drawing diameter, outer circle drawing diameter, vertical distance between the input end and output end of the lower tube platform, friction coefficient and placement inclination angle of the lower tube platform corresponding to the glass tube to be tested are substituted into the preset formula to calculate the target rolling time, wherein the preset formula is as follows:
[0062]
[0063] Among them, t is the target rolling time, ω is the angular velocity corresponding to the glass tube to be detected, g is the gravitational acceleration, h is the vertical distance between the input end and the output end of the lower tube platform, r1 is the inner circle drawing diameter corresponding to the glass tube to be detected, r2 is the outer circle drawing diameter corresponding to the glass tube to be detected, α is the angular acceleration corresponding to the glass tube to be detected, m is the mass corresponding to the glass tube to be detected, μ is the friction coefficient corresponding to the lower tube platform, and θ is the placement inclination angle corresponding to the lower tube platform (that is, the angle between the lower tube platform and the horizontal plane).
[0064] Secondly, according to the target rolling time, the preset delivery interval time, the distance between adjacent fixture devices and the distance between brackets corresponding to the fixture devices, the transmission speed corresponding to the conveyor belt is calculated. That is, the specific process is: first calculate the sum of the target rolling time and the preset delivery interval time to obtain the first calculation result, then calculate the sum of the distance between adjacent fixture devices and the distance between brackets corresponding to the fixture devices to obtain the second calculation result, and finally, divide the second calculation result by the first calculation result to obtain the third calculation result. The third calculation result is the transmission speed corresponding to the conveyor belt; wherein, the distance between brackets corresponding to the fixture device is the distance between the two brackets contained in the fixture device.
[0065] The specific process in which the terminal device controls the conveyor belt shaft to start rotating to drive the conveyor belt to transmit is: controlling the conveyor belt shaft to start rotating according to the transmission speed to drive the conveyor belt to transmit according to the transmission speed.
[0066] 202. Control the photographing device to photograph an end face image corresponding to the glass tube to be inspected.
[0067] After the conveyor belt is driven, the conveyor belt can drive the clamping device and the glass tube to be inspected to move from the input end of the conveying device to the output end of the conveying device. During the movement of the clamping device and the glass tube to be inspected, when the clamping device and the glass tube to be inspected move to the shooting range of the shooting device, the terminal device can control the shooting device to shoot the end face of the glass tube to be inspected to obtain the end face image corresponding to the glass tube to be inspected.
[0068] The terminal device may predetermine the shooting interval duration corresponding to the shooting device, so that in this step, the terminal device may control the shooting device to shoot the end surface image corresponding to the glass tube to be inspected according to the shooting interval duration corresponding to the shooting device;
[0069] Specifically, the specific process of the terminal device determining the shooting interval duration corresponding to the shooting device is as follows: dividing the horizontal distance between the shooting device and the input end of the conveying device by the transmission speed corresponding to the conveyor belt to obtain the first shooting interval duration; determining the first calculation result calculated in step 201 as the second shooting interval duration; specifically, the specific process of the terminal device controlling the shooting device to shoot the end surface image corresponding to the glass tube to be detected according to the shooting interval duration corresponding to the shooting device is as follows: the terminal device sets a timer for the shooting device in advance, and after the terminal device controls the conveyor belt shaft to start rotating, controls the timer corresponding to the shooting device to start timing, when the timer reaches the first shooting interval duration, controls the timer to be reset, controls the shooting device to shoot the end surface image corresponding to the first glass tube to be detected, and controls the timer to restart timing, when the timer reaches the second shooting interval duration, controls the timer to be reset, controls the shooting device to shoot the end surface image corresponding to the second glass tube to be detected, and controls the timer to restart timing, when the timer reaches the second shooting interval duration, controls the timer to be reset, controls the shooting device to shoot the end surface image corresponding to the third glass tube to be detected, and controls the timer to restart timing….
[0070] 203. Determine processing parameters corresponding to the glass tube to be inspected according to the end surface image corresponding to the glass tube to be inspected.
[0071] After the terminal device obtains the end face image corresponding to the glass tube to be detected, it can determine the processing parameters corresponding to the glass tube to be detected according to the end face image corresponding to the glass tube to be detected. The specific process is as follows: first, according to the preset rules, multiple preset mask matrices and the end face image, an edge binary image corresponding to the glass tube to be detected is generated, wherein the edge binary image includes a first circular ring composed of multiple first pixel points and a second circular ring composed of multiple second pixel points, the grayscale values of the multiple first pixel points and the multiple second pixel points are 1, and the grayscale values of other pixel points in the edge binary image are 0; secondly, according to each first pixel point The center coordinates of the first circle are determined according to the corresponding coordinates, and the center coordinates of the second circle are determined according to the coordinates corresponding to each second pixel point, wherein the center coordinates of the first circle are the coordinates corresponding to the center point of the first circle in the edge binary image, and the center coordinates of the second circle are the coordinates corresponding to the center point of the second circle in the edge binary image; finally, according to the coordinates corresponding to each first pixel point, the coordinates corresponding to each second pixel point, the center coordinates of the first circle and the center coordinates of the second circle, the inner circle machining diameter, outer circle machining diameter and concentricity deviation value corresponding to the glass tube to be inspected are determined.
[0072] Specifically, in this step, the terminal device generates an edge binary image corresponding to the glass tube to be detected according to preset rules, multiple preset mask matrices and end face images in the following specific process:
[0073] (1) Using multiple preset mask matrices to perform convolution operations on the end face image to obtain an edge image corresponding to the glass tube to be detected.
[0074] Wherein, the plurality of preset mask matrices include a noise reduction mask matrix, a slope mask matrix and an edge mask matrix;
[0075] After the terminal device obtains the end face image corresponding to the glass tube to be detected, it can first use multiple preset mask matrices to perform convolution operations on the end face image to obtain the edge image corresponding to the glass tube to be detected. The specific process is: first, use the noise reduction mask matrix to perform convolution operations on the end face image to obtain the noise reduction image corresponding to the glass tube to be detected; second, use the slope mask matrix to perform convolution operations on the noise reduction image to obtain the slope image corresponding to the glass tube to be detected; finally, use the edge mask matrix to perform convolution operations on the slope image to obtain the edge image corresponding to the glass tube to be detected.
[0076] It should be noted that using a denoising mask matrix to perform convolution operations on the end face image can improve the imaging quality of the end face image and suppress noise points in the end face image; using a slope mask matrix to perform convolution operations on the denoised image can ensure that the overall grayscale of the denoised image is not changed while being sensitive to the grayscale value of the edge of the glass tube in the denoised image, so that the grayscale value of the edge of the glass tube is retained as much as possible, and the grayscale value of the background color is effectively suppressed; using an edge mask matrix to perform convolution operations on the slope image can enhance the grayscale value of the center point of the edge of the glass tube in the slope image.
[0077] It should be noted that the type of convolution operation performed in the above process can specifically be the same convolution operation, that is, using the denoising mask matrix to perform the same convolution operation on the end face image, using the slope mask matrix to perform the same convolution operation on the denoised image, and using the edge mask matrix to perform the same convolution operation on the slope image.
[0078] Among them, the denoising mask matrix is specifically:
[0079]
[0080] The slope mask matrix is specifically:
[0081]
[0082] The edge mask matrix is specifically:
[0083]
[0084] (2) Generate an edge binary image corresponding to the glass tube to be detected according to the grayscale value corresponding to each pixel in the edge image.
[0085] After the terminal device obtains the edge image corresponding to the glass tube to be detected, it can generate the edge binary image corresponding to the glass tube to be detected according to the grayscale value corresponding to each pixel in the edge image. The specific process is as follows: first, the maximum value of the grayscale values corresponding to each pixel in the edge image is divided by 2 to obtain the target grayscale value; second, the pixel in the edge image whose grayscale value is greater than the target grayscale value is determined as the third pixel, and the pixel in the edge image whose grayscale value is less than or equal to the target grayscale value is determined as the fourth pixel; third, the target image is generated, wherein the multiple images in the target image are The pixel corresponds one-to-one to multiple pixel points in the edge image; finally, the grayscale value of the pixel point corresponding to each third pixel point in the target image is set to 1, and the grayscale value of the pixel point corresponding to each fourth pixel point in the target image is set to 0 to obtain an edge binary image. For example, if the pixel point in the 3rd row and 5th column in the edge image is determined to be the third pixel point, the grayscale value of the pixel point in the 3rd row and 15th column in the target image is set to 1, and if the pixel point in the 5th row and 5th column in the edge image is determined to be the fourth pixel point, the grayscale value of the pixel point in the 5th row and 5th column in the target image is set to 0….
[0086] Specifically, in this step, the terminal device determines the coordinates of the center of the first circle according to the coordinates corresponding to each first pixel point, and determines the coordinates of the center of the second circle according to the coordinates corresponding to each second pixel point. The specific process is as follows:
[0087] (1) For any pixel point in the edge binary image, the distance from the pixel point to each first pixel point is calculated according to the coordinates corresponding to the pixel point and the coordinates corresponding to each first pixel point, and the maximum value among the calculated multiple distances is determined as the first maximum distance corresponding to the pixel point, so that the first maximum distance corresponding to each pixel point in the edge binary image can be determined; the pixel point corresponding to the minimum value among the determined multiple first maximum distances is determined as the center point corresponding to the first circular ring, and the coordinates corresponding to the center point are determined as the center coordinates corresponding to the first circular ring;
[0088] (2) For any pixel point in the edge binary image, the distance from the pixel point to each second pixel point is calculated according to the coordinates corresponding to the pixel point and the coordinates corresponding to each second pixel point, and the maximum value among the calculated multiple distances is determined as the second maximum distance corresponding to the pixel point, so that the second maximum distance corresponding to each pixel point in the edge binary image can be determined; the pixel point corresponding to the minimum value among the determined multiple second maximum distances is determined as the center point corresponding to the second circular ring, and the coordinates corresponding to the center point are determined as the center coordinates corresponding to the second circular ring.
[0089] It should be noted that for a plane containing a circle, when a point in the plane is outside the circle, the maximum distance from the point to the circle is the shortest distance from the point to the circle plus the diameter of the circle; when a point in the plane is on the circle, the maximum distance from the point to the circle is the diameter of the circle; when a point in the plane is inside the circle and not at the center of the circle, the maximum distance from the point to the circle is the distance from the point to the center of the circle plus the radius of the circle; when a point in the plane is at the center of the circle, the maximum distance from the point to the circle is the radius of the circle. Therefore, after determining the maximum distance from each point in the plane to the circle, the point corresponding to the minimum value of the multiple maximum distances is the center of the circle.
[0090] Specifically, in this step, the terminal device determines the coordinates of the center of the first circle according to the coordinates corresponding to each first pixel point, and determines the coordinates of the center of the second circle according to the coordinates corresponding to each second pixel point. The specific process is as follows:
[0091] (1) For any pixel point in the edge binary image, the distance from the pixel point to each first pixel point is calculated according to the coordinates corresponding to the pixel point and the coordinates corresponding to each first pixel point, and the maximum value among the calculated multiple distances is determined as the first maximum distance corresponding to the pixel point, so that the first maximum distance corresponding to each pixel point in the edge binary image can be determined; the pixel point corresponding to the minimum value among the determined multiple first maximum distances is determined as the center point corresponding to the first circular ring, and the coordinates corresponding to the center point are determined as the center coordinates corresponding to the first circular ring;
[0092] (2) For any pixel point in the edge binary image, the distance from the pixel point to each second pixel point is calculated according to the coordinates corresponding to the pixel point and the coordinates corresponding to each second pixel point, and the maximum value among the calculated multiple distances is determined as the second maximum distance corresponding to the pixel point, so that the second maximum distance corresponding to each pixel point in the edge binary image can be determined; the pixel point corresponding to the minimum value among the determined multiple second maximum distances is determined as the center point corresponding to the second circular ring, and the coordinates corresponding to the center point are determined as the center coordinates corresponding to the second circular ring.
[0093] It should be noted that for a plane containing a circle, when a point in the plane is outside the circle, the maximum distance from the point to the circle is the shortest distance from the point to the circle plus the diameter of the circle; when a point in the plane is on the circle, the maximum distance from the point to the circle is the diameter of the circle; when a point in the plane is inside the circle and not at the center of the circle, the maximum distance from the point to the circle is the distance from the point to the center of the circle plus the radius of the circle; when a point in the plane is at the center of the circle, the maximum distance from the point to the circle is the radius of the circle. Therefore, after determining the maximum distance from each point in the plane to the circle, the point corresponding to the minimum value of the multiple maximum distances is the center of the circle.
[0094] Specifically, in this step, the terminal device determines the concentricity deviation value corresponding to the glass tube to be tested according to the center coordinates of the first circle and the center coordinates of the second circle as follows:
[0095] Firstly, according to the center coordinates corresponding to the first circular ring and the center coordinates corresponding to the second circular ring, the image concentricity deviation value corresponding to the glass tube to be detected is calculated, that is, according to the coordinates of the center point of the first circular ring in the edge binary image (that is, the center coordinates corresponding to the first circular ring) and the coordinates of the center point of the second circular ring in the edge binary image (that is, the center coordinates corresponding to the second circular ring), the distance between the center point of the first circular ring and the center point of the second circular ring in the edge binary image is calculated, and the distance is determined as the concentricity deviation value between the first circular ring and the second circular ring (that is, the image concentricity deviation value corresponding to the glass tube to be detected); secondly, according to the pixel size corresponding to the edge binary image and the image concentricity deviation value, the concentricity deviation value corresponding to the glass tube to be detected is determined, that is, the image concentricity deviation value is multiplied by the pixel size corresponding to the edge binary image to obtain the concentricity deviation value corresponding to the glass tube to be detected.
[0096] Furthermore, in an embodiment of the present application, after the terminal device controls the shooting device to shoot the end face image corresponding to the glass tube to be detected, it is also necessary to determine whether the glass tube to be detected is located within the center range of the end face image; if the glass tube to be detected is located within the center range of the end face image, the terminal device can directly use the method described in the above step 203 to determine the corresponding processing parameters of the glass tube to be detected according to the end face image corresponding to the glass tube to be detected; if the glass tube to be detected is located outside the center range of the end face image, the terminal device needs to adjust the position of the glass tube to be detected by controlling the rotation of the conveyor belt shaft, and control the shooting device to re-shoot the end face image corresponding to the glass tube to be detected until the glass tube to be detected is within the center range of the re-shot end face image. At this time, it is necessary to determine the corresponding processing parameters of the glass tube to be detected according to the re-shot end face image, and the specific process can refer to the method described in the above step 203. Among them, the central area of the end face image is the area between 1 / 4 and 3 / 4 of the end face image in the horizontal direction. When the center of the first ring and the center of the second ring corresponding to the glass tube to be detected are both within the central area of the end face image, it can be determined that the glass tube to be detected is located within the central range of the end face image. When the center of the first ring and / or the center of the second ring corresponding to the glass tube to be detected are outside the central area of the end face image, it can be determined that the glass tube to be detected is located outside the central range of the end face image, but not limited to this.
[0097] Furthermore, as a response to the above Figure 3In order to realize the method shown in the figure, another embodiment of the present application also provides a glass tube processing parameter detection device. This device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. This device is used to improve the detection efficiency of glass tube processing parameters, specifically as follows Figure 4 As shown, the device comprises:
[0098] A delivery unit 301 is used to deliver the glass tube to be tested to the input end of the lower tube platform after receiving the testing instruction;
[0099] The first control unit 302 is used to control the conveyor belt shaft to start rotating after the target rolling time has passed, so as to drive the conveyor belt to transmit;
[0100] A second control unit 303, used to control the photographing device to photograph the end face image corresponding to the glass tube to be inspected;
[0101] The determination unit 304 is used to determine the processing parameters corresponding to the glass tube to be inspected according to the end surface image corresponding to the glass tube to be inspected.
[0102] Further, such as Figure 5 As shown, the device also includes:
[0103] The first calculation unit 305 is used to substitute the inner circle drawing diameter, the outer circle drawing diameter, the vertical distance between the input end and the output end of the lower tube platform, the friction coefficient and the placement inclination angle corresponding to the lower tube platform into a preset formula to calculate the target rolling time;
[0104] The second calculation unit 306 is used to calculate the transmission speed corresponding to the conveyor belt according to the target rolling time, the preset delivery interval time, the distance between adjacent fixture devices and the distance between brackets corresponding to the fixture devices;
[0105] The first control unit 302 is specifically used to control the conveyor belt shaft to start rotating according to the transmission speed, so as to drive the conveyor belt to transmit according to the transmission speed.
[0106] Further, such as Figure 5As shown, the determination unit 304 is specifically used to generate an edge binary image corresponding to the glass tube to be detected according to preset rules, multiple preset mask matrices and the end face image, wherein the edge binary image includes a first circular ring composed of multiple first pixel points and a second circular ring composed of multiple second pixel points; determine the center coordinates of the first circular ring according to the coordinates corresponding to each of the first pixel points, and determine the center coordinates of the second circular ring according to the coordinates corresponding to each of the second pixel points; determine the inner circle machining diameter, outer circle machining diameter and concentricity deviation value corresponding to the glass tube to be detected according to the coordinates corresponding to each of the first pixel points, the coordinates corresponding to each of the second pixel points, the center coordinates of the first circular ring and the center coordinates of the second circular ring.
[0107] Further, such as Figure 5 As shown, the device also includes:
[0108] A judging unit 307, configured to judge whether the glass tube to be inspected is located within the center range of the end face image after the second control unit 303 controls the photographing device to photograph the end face image corresponding to the glass tube to be inspected;
[0109] The determination unit 304 is specifically configured to determine the processing parameters corresponding to the glass tube to be detected according to the end surface image corresponding to the glass tube to be detected when the judgment unit 307 determines that the glass tube to be detected is located within the center range of the end surface image;
[0110] The adjustment unit 308 is used to adjust the position of the glass tube to be detected by controlling the rotation of the conveyor belt shaft when the judgment unit 307 determines that the glass tube to be detected is outside the center range of the end face image, until the glass tube to be detected is within the center range of the re-shot end face image, and determine the processing parameters corresponding to the glass tube to be detected according to the re-shot end face image.
[0111] The embodiment of the present application provides a glass tube processing parameter detection system, method and device. The glass tube processing parameter detection system provided by the embodiment of the present application includes: a lower tube platform, a conveying device, a plurality of fixture devices, a lower tube basket, a terminal device and a shooting device; the output end of the lower tube platform is connected to the input end of the conveying device, the lower tube basket is arranged below the output end of the conveying device, and the input end of the lower tube platform is used to put the glass tube to be detected; the conveying device is electrically connected to the terminal device, the conveying device includes a conveyor belt and a conveyor belt rotating shaft, a plurality of fixture devices are arranged on the conveyor belt, the fixture device is used to fix the glass tube to be detected, the conveyor belt rotating shaft is used to drive the conveyor belt to rotate, and the glass tube to be detected is put at the input end of the lower tube platform. After the glass tube is inspected, the glass tube to be inspected rolls down from the input end of the lower tube platform to the fixture device, and the conveyor belt drives the fixture device and the glass tube to be inspected to move from the input end of the conveyor device to the output end of the conveyor device, and the lower tube basket is used to receive the glass tube to be inspected that falls from the output end of the conveyor device; the shooting device is arranged on one side of the conveyor device, and the shooting device is electrically connected to the terminal device, and the shooting device is used to shoot the end face image corresponding to the glass tube to be inspected, and send the end face image corresponding to the glass tube to be inspected to the terminal device; the terminal device is used to control the conveyor belt shaft to start and stop rotating, and determine the processing parameters corresponding to the glass tube to be inspected according to the end face image corresponding to the glass tube to be inspected. Since, in the embodiment of the present application, the inspection staff only needs to put the glass tube to be inspected at the input end of the lower tube platform and pick up the inspected glass tube in the lower tube basket, and the other steps do not require the participation of the inspection staff, the glass tube processing parameter detection system can automatically complete the work of detecting the processing parameters of the glass tube to be inspected, therefore, it can effectively reduce the time cost and labor cost consumed in detecting the processing parameters of the glass tube to be inspected, thereby effectively improving the inspection efficiency.
[0112] An embodiment of the present application provides a storage medium, which includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the above-mentioned glass tube processing parameter detection method.
[0113] The storage medium may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.
[0114] An embodiment of the present application also provides a glass tube processing parameter detection device, which includes a storage medium; and one or more processors, wherein the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the above-mentioned glass tube processing parameter detection method is executed.
[0115] The embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented:
[0116] After receiving the detection instruction, the glass tube to be detected is dropped to the input end of the lower tube platform, and after the target rolling time, the conveyor belt shaft is controlled to start rotating to drive the conveyor belt to transmit;
[0117] Controlling the photographing device to photograph the end face image corresponding to the glass tube to be inspected;
[0118] The processing parameters corresponding to the glass tube to be inspected are determined according to the end surface image corresponding to the glass tube to be inspected.
[0119] Furthermore, the method further comprises:
[0120] Substitute the inner circle drawing diameter, outer circle drawing diameter, vertical distance between the input end and the output end of the lower tube platform, friction coefficient and placement inclination angle corresponding to the lower tube platform into a preset formula to calculate the target rolling time;
[0121] Calculate the transmission speed of the conveyor belt according to the target rolling time, the preset delivery interval, the distance between adjacent fixture devices and the distance between brackets corresponding to the fixture devices;
[0122] The control of the conveyor belt shaft to start rotating to drive the conveyor belt to transmit comprises:
[0123] The conveyor belt shaft is controlled to start rotating according to the transmission speed, so as to drive the conveyor belt to transmit according to the transmission speed.
[0124] Further, determining the processing parameters corresponding to the glass tube to be inspected according to the end surface image corresponding to the glass tube to be inspected includes:
[0125] Generate an edge binary image corresponding to the glass tube to be detected according to preset rules, a plurality of preset mask matrices and the end face image, wherein the edge binary image includes a first circular ring composed of a plurality of first pixel points and a second circular ring composed of a plurality of second pixel points;
[0126] Determine the coordinates of the center of the first circle according to the coordinates corresponding to each of the first pixel points, and determine the coordinates of the center of the second circle according to the coordinates corresponding to each of the second pixel points;
[0127] According to the coordinates corresponding to each of the first pixel points, the coordinates corresponding to each of the second pixel points, the coordinates corresponding to the center of the first circle and the coordinates corresponding to the center of the second circle, the inner circle machining diameter, outer circle machining diameter and concentricity deviation value corresponding to the glass tube to be inspected are determined.
[0128] Furthermore, after the control shooting device shoots the end face image corresponding to the glass tube to be inspected, the method further includes:
[0129] Determining whether the glass tube to be inspected is located within the center range of the end face image;
[0130] If yes, the step of determining the processing parameters corresponding to the glass tube to be inspected according to the end surface image corresponding to the glass tube to be inspected is entered;
[0131] If not, the position of the glass tube to be inspected is adjusted by controlling the rotation of the conveyor belt shaft until the glass tube to be inspected is within the center range of the re-photographed end face image, and the processing parameters corresponding to the glass tube to be inspected are determined according to the re-photographed end face image.
[0132] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program code that initializes the following method steps: after receiving a detection instruction, dropping a glass tube to be detected to the input end of a lower tube platform, and after a target rolling time, controlling a conveyor belt shaft to start rotating to drive the conveyor belt to transmit; controlling a shooting device to shoot an end surface image corresponding to the glass tube to be detected; and determining processing parameters corresponding to the glass tube to be detected based on the end surface image corresponding to the glass tube to be detected.
[0133] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0134] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0135] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0136] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0137] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0138] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0139] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0140] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0141] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0142] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A glass tube processing parameter detection system, characterized in that: The system comprises: a tube lowering platform, a conveying device, a plurality of clamping devices, a tube lowering basket, a terminal device and a photographing device; The output end of the lower tube platform is connected to the input end of the conveying device, the lower tube basket is arranged below the output end of the conveying device, and the input end of the lower tube platform is used to put the glass tube to be tested; The conveying device is electrically connected to the terminal device, and the conveying device includes a conveyor belt and a conveyor belt rotating shaft. A plurality of the clamping devices are arranged on the conveyor belt, and the clamping devices are used to fix the glass tube to be tested; The photographing device is disposed on one side of the conveying device, the photographing device is electrically connected to the terminal device, and the photographing device is used to photograph the end surface image corresponding to the glass tube to be inspected, and send the end surface image corresponding to the glass tube to be inspected to the terminal device; The terminal device is used to control the conveyor belt shaft to start and stop rotating, and to determine the processing parameters corresponding to the glass tube to be inspected according to the end surface image corresponding to the glass tube to be inspected.
2. The system according to claim 1, characterized in that The clamping device comprises: Two brackets and a light source device, wherein the two brackets are arranged in parallel on the conveyor belt; The light source device is arranged between the two brackets and close to one side of the shooting device.
3. The system according to claim 1, characterized in that The shooting device comprises: Industrial cameras and telephoto lenses; The high-beam lens is mounted on the industrial camera.
4. The system according to any one of claims 1 to 3, characterized in that: The system further comprises: a delivery device; The delivery device is arranged above the input end of the lower tube platform, and the delivery device is electrically connected to the terminal device; The delivery device is used to deliver the glass tube to be tested to the input end of the lower tube platform.
5. A method for detecting processing parameters of a glass tube, characterized in that: The method is applied to a terminal device in a glass tube processing parameter detection system according to any one of claims 1 to 4, and the method comprises: After receiving the detection instruction, the glass tube to be detected is dropped to the input end of the lower tube platform, and after the target rolling time, the conveyor belt shaft is controlled to start rotating to drive the conveyor belt to transmit; Controlling the photographing device to photograph the end face image corresponding to the glass tube to be inspected; The processing parameters corresponding to the glass tube to be inspected are determined according to the end surface image corresponding to the glass tube to be inspected.
6. The method according to claim 5, characterized in that The method further comprises: Substitute the inner circle drawing diameter, outer circle drawing diameter, vertical distance between the input end and the output end of the lower tube platform, friction coefficient and placement inclination angle corresponding to the lower tube platform into a preset formula to calculate the target rolling time; Calculate the transmission speed of the conveyor belt according to the target rolling time, the preset delivery interval, the distance between adjacent fixture devices and the distance between brackets corresponding to the fixture devices; The control of the conveyor belt shaft to start rotating to drive the conveyor belt to transmit comprises: The conveyor belt shaft is controlled to start rotating according to the transmission speed, so as to drive the conveyor belt to transmit according to the transmission speed.
7. The method according to claim 5, characterized in that The step of determining the processing parameters corresponding to the glass tube to be inspected according to the end surface image corresponding to the glass tube to be inspected comprises: Generate an edge binary image corresponding to the glass tube to be detected according to preset rules, a plurality of preset mask matrices and the end face image, wherein the edge binary image includes a first circular ring composed of a plurality of first pixel points and a second circular ring composed of a plurality of second pixel points; Determine the coordinates of the center of the first circle according to the coordinates corresponding to each of the first pixel points, and determine the coordinates of the center of the second circle according to the coordinates corresponding to each of the second pixel points; According to the coordinates corresponding to each of the first pixel points, the coordinates corresponding to each of the second pixel points, the coordinates corresponding to the center of the first circle and the coordinates corresponding to the center of the second circle, the inner circle machining diameter, outer circle machining diameter and concentricity deviation value corresponding to the glass tube to be inspected are determined.
8. The method according to claim 5, characterized in that After the control shooting device shoots the end face image corresponding to the glass tube to be inspected, the method further includes: Determining whether the glass tube to be inspected is located within the center range of the end face image; If yes, the step of determining the processing parameters corresponding to the glass tube to be inspected according to the end surface image corresponding to the glass tube to be inspected is entered; If not, the position of the glass tube to be inspected is adjusted by controlling the rotation of the conveyor belt shaft until the glass tube to be inspected is within the center range of the re-photographed end face image, and the processing parameters corresponding to the glass tube to be inspected are determined according to the re-photographed end face image.
9. A glass tube processing parameter detection device, characterized in that: The device is applied to a terminal device in a glass tube processing parameter detection system according to any one of claims 1 to 4, and the device comprises: A delivery unit, used for delivering the glass tube to be tested to the input end of the lower tube platform after receiving the testing instruction; The first control unit is used to control the conveyor belt shaft to start rotating after the target rolling time has passed, so as to drive the conveyor belt to transmit; A second control unit, used to control the photographing device to photograph an end face image corresponding to the glass tube to be inspected; A determination unit is used to determine the processing parameters corresponding to the glass tube to be detected according to the end surface image corresponding to the glass tube to be detected.
10. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the glass tube processing parameter detection method according to any one of claims 5 to 8.