A detection method and system for achieving uniform cutting of irregular block materials

Through non-contact visual inspection and slicing algorithm, the problem of uneven slicing of irregular-shaped cigarette packs is solved, efficient and uniform slicing of irregular block materials is achieved, and the slicing accuracy and consistency of the production line are improved.

CN110686950BActive Publication Date: 2024-09-13YUNNAN KUNMING SHIPBUILDING DESIGN & RESEARCH INSTITUTE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911010909.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-24
Publication Date
2024-09-13
Estimated Expiration
2039-10-24

AI Technical Summary

Technical Problem

The existing technology cannot effectively solve the problem of uneven slitting caused by irregular-shaped cigarette packs during the slicing process, which affects the realization of subsequent process indicators.

Method used

A non-contact visual inspection method is used, combined with a 3D camera and a line scan camera, to detect the shape and size of irregular block materials in real time, and the slicing data is calculated through a slicing algorithm and output to the slicer to achieve uniform slicing.

Benefits of technology

It achieves high-precision, high-speed, non-contact and uniform slitting of irregular-shaped bulk materials, solves the problem of inaccurate slicing of irregular-shaped materials in the existing technology, and improves the slicing efficiency and consistency of the production line.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110686950B
    Figure CN110686950B
Patent Text Reader

Abstract

The present invention discloses a detection method and system for realizing uniform cutting of irregular block materials. A detection switch, a 3D camera and a line scan camera are installed at the detection entrance, and the images of the 3D camera and the line scan camera are output to an industrial computer. When the material enters the detection area, the 3D camera is automatically internally triggered, and the detection switch sends a signal to trigger the line scan camera to start detection and upload the data to the industrial computer. The algorithm program in the industrial computer calculates the total volume and total side area of ​​the material and the total length of the material; the algorithm determines whether the length detected by the 3D camera is valid to calculate the length of each piece according to the volume or side area data, and calculates the length of each piece of material as the cutting data output according to the number of pieces required by the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a detection method and system for achieving uniform slicing of irregular block materials; the method and system can be directly applied to a tobacco silk production line in the tobacco industry, by performing shape detection on cigarette packs before slicing, calculating uniform slicing data and outputting the slicing data to a slicer to achieve the purpose of uniform slicing. Background Art

[0002] Taking the application of tobacco silk production line as an example, cigarette packs are block materials. The slicer used to slice cigarette packs is required to cut the cigarette packs according to the specified equal quality. Usually, under the default constant density of cigarette packs and the same section, the slicer can achieve uniform cutting by slicing the cigarette packs uniformly in the length direction.

[0003] However, in actual applications, there are some irregular-shaped cigarette packs. If equal-length slices are used for slicing, it will lead to large deviations in weight or volume between the sliced ​​blocks, affecting the realization of subsequent process indicators.

[0004] At present, various equipment manufacturing companies have been trying to solve the above problems and are committed to improving and perfecting slicers to achieve better slicing results. In general, the main technical means of improvement can be divided into the following three aspects:

[0005] 1) Use a length control system to control the feeding of cigarette packs during slicing to ensure that the length of each slice is basically balanced when the cigarette packs are sliced;

[0006] 2) Use the pre-saved cigarette pack length data and brand comparison table to slice according to the recipe data to avoid uneven slicing caused by the length differences of cigarette packs of different brands;

[0007] 3) The length data of each cigarette pack is detected by using an encoder combined with a photoelectric switch, which can also avoid uneven slicing caused by the length differences of cigarette packs of different brands.

[0008] Although the above methods can solve the problems caused by the length deviation of cigarette packs and the inaccurate feeding of cigarette packs during the slicing process, the above measures and means to solve the problems are completely ineffective for cigarette packs with irregular shapes, resulting in the lack of a method and equipment to solve the problem of inaccurate slicing of cigarette packs with irregular shapes and achieve uniform slicing. Summary of the invention

[0009] The technical problems to be solved by the present invention are:

[0010] The present invention is aimed at solving the problem of accurately slicing and evenly slicing cigarette packages with irregular shapes, and can be applied to the technical field of evenly slicing irregular block materials.

[0011] In view of the problems existing in the above-mentioned prior art, the present invention provides a high-speed, efficient, contactless shape detection method and detection system for calculating slicing data through a slicing algorithm and outputting the slicing data to a slicer to achieve uniform slicing of irregular cigarette packages.

[0012] The technical solution adopted by the present invention is:

[0013] In general, the method of the present invention is a detection method that uses visual detection to detect the appearance and size of irregular block materials, and calculates the slice data through a slice algorithm program built into an industrial computer. It can detect the appearance and size of block materials online in real time. Its outstanding feature is that it uses a non-contact, high-speed and efficient detection method, can accurately detect the required parameters before the block material enters the next process, uses a high-precision slice algorithm to calculate the slice data, and outputs it to the slicer controller of the next process to control the slicer to cut evenly. The overall concept is: install a detection switch, a 3D camera and a line scan camera at the detection entrance, and output the images of the 3D camera and the line scan camera to the industrial computer. When the material enters the detection area, the 3D camera is automatically triggered internally, and the detection switch sends a signal to trigger the line scan camera to start detection and upload the data to the industrial computer. The algorithm program in the industrial computer calculates the total volume, total side area and total length of the material; the algorithm determines whether the length detected by the 3D camera is valid, and decides to calculate the length of each piece according to the volume or side area data, and calculates the length of each piece of material as the cutting data output according to the number of slices required by the system.

[0014] The present invention is achieved through the following technical solutions:

[0015] A detection system for achieving uniform cutting of irregular block materials, comprising a control box placed at an equipment rack and an industrial computer placed above the control box; further comprising a detection switch mounting bracket arranged at a level with the material conveying direction and perpendicular to the entrance of a material detection area, and a detection switch installed at a position of the detection switch mounting bracket facing the material detection area, wherein an output signal of the detection switch is connected to an isolation relay installed inside the control box, and is connected to a line array camera after being isolated by the isolation relay; further comprising a top bracket arranged at the entrance of the material detection area and above the material, a side bracket arranged at the entrance of the material detection area and at the rack, a 3D camera mounted on the top bracket, a line scan camera mounted on the side bracket, and a line scan camera light source; the image output signals of the 3D camera and the line scan camera are connected to an Ethernet interface of the industrial computer via Ethernet.

[0016] Furthermore, it also includes a line scan camera light source, which is installed at both ends of the line scan camera, and its power supply line is connected to the control box. The startup and shutdown of the line scan camera light source are synchronized with the startup and shutdown of the line scan camera.

[0017] Furthermore, the detection switch adopts a through-beam or diffuse reflection photoelectric switch. When the material enters the detection area of ​​the trigger system, the detection switch sends a switch signal, which is output to the camera at the same time after passing through the isolation relay.

[0018] Furthermore, it also includes a line scan camera reflector cleaning device, which is placed under the frame and has an air outlet installed on one side of the reflector.

[0019] A detection method for uniformly cutting irregular block materials comprises the following steps:

[0020] S1 When the material passes through the entrance of the detection area and enters the detection area, the 3D camera is automatically triggered internally, and the detection switch sends a signal through the isolation relay to trigger the line scan camera and control the light source to turn on, and the 3D camera and line scan camera start detection;

[0021] S2 As the material moves at a constant speed in the detection area, the 3D camera and line scan camera upload the detection data to the industrial computer. The algorithm program in the industrial computer uses the following method to calculate the total side area S and the total volume V of the material:

[0022] S2-1 The industrial computer collects the side area of ​​the material, and the line scan camera outputs the image of the cigarette package to the industrial computer. The algorithm program of the industrial computer continuously divides the cigarette package image in the length direction of the cigarette package at intervals of p, forming multiple strip images corresponding to the length of p and calculating the side area of ​​the piece, and storing them. The algorithm program of the industrial computer accumulates and adds all the side surfaces of the pieces to calculate the total side area S of the material and the total side length L1 of the material:

[0023]

[0024] Where: S, Si, L1, and p represent the total side area of ​​the material, the side area of ​​the slice with the segmentation interval p as the length, the total length of the material calculated by the line scan camera, and the image segmentation interval, respectively. Si is a data that changes continuously during the continuous segmentation process in the length direction of the cigarette package, and L1 is a multiple of p.

[0025] S2-2 The industrial computer collects the volume of the material. The 3D camera continuously outputs the volume data corresponding to the length h according to the scanning interval h. The industrial computer obtains the volume data in real time and stores it. The algorithm program of the industrial computer calculates the total volume V and the total length L2 of the material based on the final data:

[0026]

[0027] Where: V, Vi, L2, h represent the total volume of the material, the slice volume with the scanning interval h as the length, the total length of the material calculated by the 3D camera and the scanning interval of the 3D camera respectively. Vi is a data that changes continuously with the movement of the material, and L2 is a multiple of h.

[0028] L1=n×p

[0029] L2=m×h

[0030] Where: L1, n, and p represent the total length of the material calculated by the line scan camera, the number of times the side image segmentation is completed, and the image segmentation interval, respectively;

[0031] L2, m, and h represent the total length of the material calculated by the 3D camera, the number of times the 3D camera determines that the material collection is complete, and the scanning interval of the 3D camera, respectively;

[0032] S3 determines whether the total length L2 of the material detected by the 3D camera is within the set range

[0033] S3-1 If the total length L2 of the material is within the set range, then

[0034] S3-1-1 Calculate the average slice volume data VN

[0035]

[0036] Where: V N , V, and N represent the average volume of slices calculated according to the specific number of slices, the total volume of the material, and the specific number of slices, respectively;

[0037] S3-1-2 Calculate the length of the first piece of cut material

[0038]

[0039] Where: Vi, V N , Ii represent the number of slice volume accumulation processes with a scanning interval h as the length, the average volume of slices calculated according to a specific number of slices, and the number of processes with a scanning interval h accumulated from 1 for the first slice material, respectively;

[0040] In the calculation, when Vi satisfies the above formula, the cumulative result of the first sliced ​​material is obtained:

[0041] I1=Ii

[0042] Where: I1 and Ii represent the accumulated value of the scanning interval h of the first sliced ​​material and the current value that satisfies the above calculation formula when the first sliced ​​material accumulates the scanning interval h from 1, respectively;

[0043] Calculate the length of the first slice:

[0044] X1=I1×h

[0045] Where: X1, I1, h represent the length of the first sliced ​​material, the cumulative value of the scanning interval h of the first sliced ​​material, and the scanning interval of the 3D camera respectively;

[0046] Calculate the length of the second piece of cut material

[0047]

[0048] Where: Vi, V N , Ii represent the cumulative number of slice volumes with a scanning interval h as the length, the average volume of slices calculated according to a specific number of slices, and the number of processes of the second slice material accumulating the scanning interval h from the end of the first slice, respectively;

[0049] In the calculation, when Vi satisfies the above formula, the cumulative result of the second sliced ​​material is obtained:

[0050] I2=Ii-I1

[0051] Where: I2, Ii, I1 represent the accumulated value of the scanning interval h of the second slicing material, the current value that satisfies the above calculation formula when the second slicing material accumulates the scanning interval h from I1, and the accumulated value of the scanning interval h of the first slicing material, respectively;

[0052] Calculate the length of the second slice:

[0053] X2=I2×h

[0054] Wherein: X2, I2, h represent the length of the second slice material, the cumulative value of the scanning interval h of the second slice material, and the scanning interval of the 3D camera respectively;

[0055] And so on, calculate X1, X2…X N data;

[0056] S3-1-3 outputs the cutting data result;

[0057] S3-2 If the total length L2 of the material is not within the set range, the detection result of the line scan camera is used for calculation

[0058] S3-2-1 calculate the average slice area data SN;

[0059]

[0060] Where: S N, S, and N represent the average lateral area of ​​slices calculated according to the specific number of slices, the total lateral area of ​​the material, and the specific number of slices, respectively;

[0061] S3-2-2 Calculate the length of the first piece of cut material

[0062]

[0063] Where: S i , S N , Ii represent the cumulative process number of slice side area with segmentation interval p as the length, the average side area of ​​slices calculated according to a specific number of slices, and the cumulative process number of segmentation interval p of the first slice material starting from 1;

[0064] In the calculation, when Si satisfies the above formula, the cumulative result of the first sliced ​​material is obtained:

[0065] I1=I i

[0066] Where: I1 and Ii are the cumulative value of the segmentation interval p of the first sliced ​​material and the current value that satisfies the previous calculation formula when the first sliced ​​material accumulates the segmentation interval p from 1;

[0067] Calculate the length of the first slice:

[0068] X1=I1×p

[0069] Where: X1, I1, p represent the length of the first sliced ​​material, the cumulative value of the first sliced ​​material passing through the segmentation interval p, and the segmentation interval respectively;

[0070] Calculate the length of the second piece of cut material

[0071]

[0072] Where: Si, S N , Ii represent the cumulative number of slice side areas with a length of segmentation interval p, the average side area of ​​slices calculated according to a specific number of slices, and the number of processes of accumulating segmentation intervals p for the second slice material starting from the end of the first slice;

[0073] In the calculation, when Si satisfies the above formula, the cumulative result of the second slice material is obtained:

[0074] I2=Ii-I1

[0075] Where: I2, Ii, I1 represent the cumulative value of the segmentation interval p of the second slice material, the current value that satisfies the previous calculation formula when the second slice material accumulates the segmentation interval p from I1, and the cumulative value of the segmentation interval p of the first slice material, respectively;

[0076] Calculate the length of the second slice:

[0077] X2=I2×p

[0078] Where: X2, I2 represent the length of the second slice material, the cumulative value of the segmentation interval p of the second slice material, and the segmentation interval p respectively;

[0079] And so on, calculate X1, X2…X N data;

[0080] S3-3 Determine X1, X2…X N Whether the data meets the maximum cutting capacity;

[0081] S3-3-1 All data meet the range, output X1, X2...X N ;

[0082] If data exceeding the cutting capacity appears in S3-3-2, an alarm message of "detection error" will be issued.

[0083] The above-mentioned detection systems for achieving uniform cutting of irregular bulk materials have the following characteristics:

[0084] The memory in the industrial computer (11) has a built-in computer program, and the computer program is executed by the processor in the industrial computer (11) to implement the steps of the detection method for evenly cutting irregular block materials.

[0085] Beneficial effects of the present invention:

[0086] The present invention provides a non-contact, high-speed and efficient shape detection method and system for irregular block materials, and provides a high-precision slicing algorithm for uniformly slicing materials, which can be directly used in the tobacco silk production line of the tobacco industry to detect the shape of cigarette packs before slicing and achieve uniform slicing. The present invention also achieves:

[0087] Ⅰ. For the first time, a method for detecting the appearance and size of irregular block materials was proposed, which greatly promoted the detection method of such materials;

[0088] Ⅱ. Replace the various methods of detecting cigarette pack length at the front end of the slicer, install and maintain it on the periphery of the material conveying equipment, form an independent system and device, and easily solve the improvement and expansion of existing equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0089] Figure 1 It is a front view of the detection system for realizing uniform cutting of irregular block materials of the present invention;

[0090] Figure 2It is a left view of the detection system for realizing uniform cutting of irregular block materials of the present invention;

[0091] Figure 3 It is a right view of the detection system for realizing uniform cutting of irregular block materials of the present invention (with the outer cover removed);

[0092] Figure 4 It is a circuit principle diagram of the internal circuit of the control box of the detection system for realizing uniform cutting of irregular block materials of the present invention;

[0093] Figure 5 It is a flow chart of the steps of the detection method for realizing uniform cutting of irregular block materials of the present invention;

[0094] Figure 6 It is a flow chart of a data collection method of a detection method for realizing uniform cutting of irregular block materials of the present invention;

[0095] Figure 7 It is a flow chart of a data calculation method for a detection method of the present invention for realizing uniform cutting of irregular block materials;

[0096] In the figure: 1—detection switch mounting bracket, 2—detection switch, 3—isolation relay, 4—top bracket, 5—3D camera, 6—side bracket, 7—line scan camera, 8—line scan camera light source, 9—line scan camera reflector, 10—reflector cleaning device, 11—industrial computer, 12—control box. DETAILED DESCRIPTION

[0097] The present invention is further described below in conjunction with the accompanying drawings, but the present invention is not limited in any way. Any changes or substitutions made based on the teachings of the present invention belong to the protection scope of the present invention.

[0098] See also Figures 1 to 4 , a detection system for achieving uniform cutting of irregular block materials, including a control box 12 placed at an equipment rack and an industrial computer 11 placed above the control box; also includes a detection switch mounting bracket 1 arranged at a level with the material conveying direction at the entrance of a material detection area and perpendicular to the material detection area, and a detection switch 2 installed at a position of the detection switch mounting bracket 1 facing the material detection area, the output signal of the detection switch 2 is connected to an isolation relay 3 installed inside the control box 12, and is connected to a line scan camera 7 after being isolated by the isolation relay 3; also includes a top bracket 4 arranged at the entrance of the material detection area and above the material, a side bracket 6 arranged at the entrance of the material detection area and at the rack, a 3D camera 5 installed on the top bracket 4, a line scan camera 7 installed on the side bracket 6, and a line scan camera light source 8; the image output signals of the 3D camera 5 and the line scan camera 7 are connected to the Ethernet interface of the industrial computer 11 via Ethernet.

[0099] Furthermore, it also includes a line scan camera light source 8, which is installed at both ends of the line scan camera 7, and its power supply line is connected to the control box 12. The startup and shutdown of the line scan camera light source 8 are synchronized with the startup and shutdown of the line scan camera 7.

[0100] Furthermore, the detection switch 2 adopts a beam-type or diffuse reflection photoelectric switch. When the material enters the detection area of ​​the trigger system, the detection switch 2 sends a switch signal, which is output to the camera after passing through the isolation relay 3.

[0101] Furthermore, it also includes a line scan camera reflector cleaning device 10, which is placed under the frame and has an air outlet installed on one side of the reflector 9.

[0102] See also Figure 5 , Figure 6 and Figure 7 A detection method for uniformly cutting irregular block materials comprises the following steps:

[0103] S1 When the material passes through the entrance of the detection area and enters the detection area, the 3D camera 5 is automatically triggered internally, and the detection switch sends a signal to trigger the line scan camera 7 through the isolation relay and control the line scan camera light source 8 to turn on, and the 3D camera 5 and the line scan camera 7 start detection;

[0104] S2 As the material moves at a constant speed in the detection area, the 3D camera 5 and the line scan camera 7 upload the detection data to the industrial computer 11. The algorithm program in the industrial computer 11 calculates the total side area S and the total volume V of the material using the following method:

[0105] S2-1 The industrial computer collects the side area of ​​the material, and the line scan camera 7 outputs the image of the cigarette package to the industrial computer 11. The algorithm program of the industrial computer 11 continuously divides the cigarette package image in the length direction of the cigarette package at intervals of p, forms a plurality of strip images corresponding to the length of p, and calculates the side area of ​​the strip, and stores them. The algorithm program of the industrial computer 11 accumulates and adds all the side surfaces of the strips to calculate the total side area S of the material and the total side length L1 of the material:

[0106]

[0107] Where: S, Si, L1, and p represent the total side area of ​​the material, the side area of ​​the slice with the segmentation interval p as the length, the total length of the material calculated by the line scan camera, and the image segmentation interval, respectively. Si is a data that changes continuously during the continuous segmentation process in the length direction of the cigarette package, and L1 is a multiple of p.

[0108] S2-2 The industrial computer 11 collects the volume of the material. The 3D camera 5 continuously outputs volume data corresponding to the length h according to the scanning interval h. The industrial computer 11 obtains the volume data in real time and stores it. The industrial computer 11 calculates the total volume V and the total length L2 of the material based on the final data:

[0109]

[0110] Where: V, Vi, L2, h represent the total volume of the material, the slice volume with the scanning interval h as the length, the total length of the material calculated by the 3D camera 5 and the scanning interval of the 3D camera 5, respectively; Vi is a data that changes continuously with the movement of the material; and L2 is a multiple of h;

[0111] L1=n×p

[0112] L2=m×h

[0113] Where: L1, n, p represent the total length of the material calculated by the line scan camera 7, the number of times the side image segmentation is completed, and the image segmentation interval;

[0114] L2, m, and h represent the total length of the material calculated by the 3D camera 5, the number of times the 3D camera 5 determines that the material collection is completed, and the scanning interval of the 3D camera 5, respectively;

[0115] S3 determines whether the total length L2 of the material detected by the 3D camera 5 is within the set range

[0116] S3-1 If the total length L2 of the material is within the set range, then

[0117] S3-1-1 Calculate the average slice volume data VN

[0118]

[0119] Where: V N , V, and N represent the average volume of slices calculated according to the specific number of slices, the total volume of the material, and the specific number of slices, respectively;

[0120] S3-1-2 Calculate the length of the first piece of cut material

[0121]

[0122] Where: V i 、V N , Ii represent the number of slice volume accumulation processes with a scanning interval h as the length, the average volume of slices calculated according to a specific number of slices, and the number of processes with a scanning interval h accumulated from 1 for the first slice material, respectively;

[0123] In the calculation, when Vi satisfies the above formula, the cumulative result of the first sliced ​​material is obtained:

[0124] I1 = Ii

[0125] Where: I1 and Ii represent the accumulated value of the scanning interval h of the first sliced ​​material and the current value that satisfies the above calculation formula when the first sliced ​​material accumulates the scanning interval h from 1, respectively;

[0126] Calculate the length of the first slice:

[0127] X1=I1×h

[0128] Wherein: X1, I1, h represent the length of the first sliced ​​material, the accumulated value of the scanning interval h of the first sliced ​​material, and the scanning interval of the 3D camera 5, respectively;

[0129] Calculate the length of the second piece of cut material

[0130]

[0131] Where: Vi, V N , Ii represent the cumulative number of slice volumes with a scanning interval h as the length, the average volume of slices calculated according to a specific number of slices, and the number of processes of the second slice material accumulating the scanning interval h from the end of the first slice, respectively;

[0132] In the calculation, when Vi satisfies the above formula, the cumulative result of the second sliced ​​material is obtained:

[0133] I2=Ii-I1

[0134] Where: I2, Ii, I1 represent the accumulated value of the scanning interval h of the second slicing material, the current value that satisfies the above calculation formula when the second slicing material accumulates the scanning interval h from I1, and the accumulated value of the scanning interval h of the first slicing material, respectively;

[0135] Calculate the length of the second slice:

[0136] X2=I2×h

[0137] Wherein: X2, I2, h represent the length of the second slice material, the cumulative value of the scanning interval h of the second slice material, and the scanning interval of the 3D camera 5, respectively;

[0138] And so on, calculate X1, X2…X N data;

[0139] S3-1-3 outputs the cutting data result;

[0140] S3-2 If the total length L2 of the material is not within the set range, the detection result of the line scan camera 7 is used for calculation;

[0141] S3-2-1 calculate the average slice area data SN;

[0142]

[0143] Where: S N , S, and N represent the average lateral area of ​​slices calculated according to the specific number of slices, the total lateral area of ​​the material, and the specific number of slices, respectively;

[0144] S3-2-2 Calculate the length of the first piece of cut material

[0145]

[0146] Where: S i , S N ,I i They represent the number of cumulative processes of slice side area with a length of segmentation interval p, the average side area of ​​slices calculated according to a specific number of slices, and the number of processes of accumulating segmentation interval p starting from 1 for the first slice material;

[0147] In the calculation, when Si satisfies the above formula, the cumulative result of the first sliced ​​material is obtained:

[0148] I1=Ii

[0149] Where: I1, I i The accumulated value of the segmentation interval p of the first sliced ​​material and the current value that satisfies the above calculation formula when the accumulated segmentation interval p of the first sliced ​​material starts from 1;

[0150] Calculate the length of the first slice:

[0151] X1=I1×p

[0152] Where: X1, I1, p represent the length of the first sliced ​​material, the cumulative value of the first sliced ​​material passing through the segmentation interval p, and the segmentation interval respectively;

[0153] Calculate the length of the second piece of cut material

[0154]

[0155] Where: S i , S N , Ii represent the cumulative number of slice side areas with a length of segmentation interval p, the average side area of ​​slices calculated according to a specific number of slices, and the number of processes of accumulating segmentation intervals p for the second slice material starting from the end of the first slice;

[0156] In the calculation, when Si satisfies the above formula, the cumulative result of the second slice material is obtained:

[0157] I2=Ii-I1

[0158] Where: I2, Ii, I1 represent the cumulative value of the segmentation interval p of the second slice material, the current value that satisfies the previous calculation formula when the second slice material accumulates the segmentation interval p from I1, and the cumulative value of the segmentation interval p of the first slice material, respectively;

[0159] Calculate the length of the second slice:

[0160] X2=I2×p

[0161] Wherein: X2, I2, p represent the length of the second slice material, the cumulative value of the segmentation interval p of the second slice material, and the segmentation interval p respectively;

[0162] And so on, calculate X1, X2…X N data;

[0163] S3-3 Determine X1, X2…X N Whether the data meets the maximum cutting capacity;

[0164] S3-3-1 All data meet the range, output X1, X2...X N ;

[0165] If data exceeding the cutting capacity appears in S3-3-2, an alarm message of "detection error" will be issued.

[0166] The detection system for achieving uniform cutting of irregular block materials also has the following characteristics:

[0167] The memory (such as a hard disk) in the industrial computer 11 has a built-in computer program, and the computer program is executed by the processor in the industrial computer 11 to implement the steps of the detection method for uniformly cutting irregular block materials.

Claims

1. A detection method for uniformly cutting irregular bulk materials, characterized in that The following steps are involved: S1 When the material passes through the entrance of the detection area and enters the detection area, the 3D camera is automatically triggered internally, and the detection switch sends a signal to trigger the line scan camera through the isolation relay and control the line scan camera light source to turn on, and the 3D camera and line scan camera start detection; S2 As the material moves at a constant speed in the detection area, the 3D camera and line scan camera upload the detection data to the industrial computer. The algorithm program in the industrial computer uses the following method to calculate the total side area S and the total volume V of the material: S2-1 The industrial computer collects the side area of ​​the material, and the line scan camera 7 outputs the image of the cigarette package to the industrial computer. The algorithm program of the industrial computer continuously divides the cigarette package image in the length direction of the cigarette package at intervals of p, forming a plurality of strip images corresponding to the length of p and calculating the side area of ​​the strip, and storing them. The algorithm program of the industrial computer accumulates and adds all the side surfaces of the strips to calculate the total side area S of the material and the total side length L1 of the material: Where: S, Si, L1, and p represent the total side area of ​​the material, the side area of ​​the slice with the segmentation interval p as the length, the total length of the material calculated by the line scan camera, and the image segmentation interval, respectively. Si is a data that changes continuously during the continuous segmentation process in the length direction of the cigarette package, and L1 is a multiple of p. S2-2 The industrial computer collects the volume of the material. The 3D camera continuously outputs the volume data corresponding to the length h according to the scanning interval h. The industrial computer obtains the volume data in real time and stores it. The industrial computer calculates the total volume V and the total length L2 of the material based on the final data: Where: V, Vi, L2, h represent the total volume of the material, the slice volume with the scanning interval h as the length, the total length of the material calculated by the 3D camera and the scanning interval of the 3D camera respectively. Vi is a data that changes continuously with the movement of the material, and L2 is a multiple of h. L1=n×p L2=m×h Where: L1, n, and p represent the total length of the material calculated by the line scan camera, the number of times the side image segmentation is completed, and the image segmentation interval, respectively; L2, m, and h represent the total length of the material calculated by the 3D camera, the number of times the 3D camera determines that the material collection is complete, and the scanning interval of the 3D camera, respectively; S3 determines whether the total length L2 of the material detected by the 3D camera is within the set range S3-1 If the total length L2 of the material is within the set range, then S3-1-1 Calculate the average slice volume data V N Where: V N , V, and N represent the average volume of slices calculated according to the specific number of slices, the total volume of the material, and the specific number of slices, respectively; S3-1-2 Calculate the length of the first piece of cut material Where: V i 、V N , Ii represent the number of slice volume accumulation processes with a scanning interval h as the length, the average volume of slices calculated according to a specific number of slices, and the number of processes with a scanning interval h accumulated from 1 for the first slice material, respectively; In the calculation, when Vi satisfies the above formula, the cumulative result of the first sliced ​​material is obtained: I1=Ii Where: I1 and Ii represent the accumulated value of the scanning interval h of the first sliced ​​material and the current value that satisfies the above calculation formula when the first sliced ​​material accumulates the scanning interval h from 1, respectively; Calculate the length of the first slice: X1=I1×h Where: X1, I1, h represent the length of the first sliced ​​material, the cumulative value of the scanning interval h of the first sliced ​​material, and the scanning interval of the 3D camera respectively; Calculate the length of the second piece of cut material Where: V i 、V N , Ii represent the cumulative number of slice volumes with a scanning interval h as the length, the average volume of slices calculated according to a specific number of slices, and the number of processes of the second slice material accumulating the scanning interval h from the end of the first slice, respectively; In the calculation, when Vi satisfies the above formula, the cumulative result of the second sliced ​​material is obtained: I2=I i -I1 Where: I2, I i , I1 represent the accumulated value of the scanning interval h of the second slicing material, the current value that satisfies the above calculation formula when the second slicing material accumulates the scanning interval h from I1, and the accumulated value of the scanning interval h of the first slicing material respectively; Calculate the length of the second slice: X2=I2×h Wherein: X2, I2, h represent the length of the second slice material, the cumulative value of the scanning interval h of the second slice material, and the scanning interval of the 3D camera respectively; And so on, calculate X1, X2…X N data; S3-1-3 outputs the cutting data result; S3-2 If the total length L2 of the material is not within the set range, the detection result of the line scan camera is used for calculation; S3-2-1 Calculate the average slice area data S N ; Where: S N , S, and N represent the average lateral area of ​​slices calculated according to the specific number of slices, the total lateral area of ​​the material, and the specific number of slices, respectively; S3-2-2 Calculate the length of the first piece of cut material Where: S i , S N ,I i They represent the number of cumulative processes of slice side area with a length of segmentation interval p, the average side area of ​​slices calculated according to a specific number of slices, and the number of processes of accumulating segmentation interval p starting from 1 for the first slice material; In the calculation, when Si satisfies the above formula, the cumulative result of the first sliced ​​material is obtained: I1=Ii Where: I1 and Ii are the cumulative value of the segmentation interval p of the first sliced ​​material and the current value that satisfies the previous calculation formula when the first sliced ​​material accumulates the segmentation interval p from 1; Calculate the length of the first slice: X1=I1×p Where: X1, I1, p represent the length of the first sliced ​​material, the cumulative value of the first sliced ​​material passing through the segmentation interval p, and the segmentation interval respectively; Calculate the length of the second piece of cut material Where: S i , S N , Ii represent the cumulative number of slice side areas with a length of segmentation interval p, the average side area of ​​slices calculated according to a specific number of slices, and the number of processes of accumulating segmentation intervals p for the second slice material starting from the end of the first slice; In the calculation, when Si satisfies the above formula, the cumulative result of the second slice material is obtained: I2=Ii-I1 Where: I2, Ii, I1 represent the cumulative value of the segmentation interval p of the second slice material, the current value that satisfies the previous calculation formula when the second slice material accumulates the segmentation interval p from I1, and the cumulative value of the segmentation interval p of the first slice material, respectively; Calculate the length of the second slice: X2=I2×p Wherein: X2, I2, p represent the length of the second slice material, the cumulative value of the segmentation interval p of the second slice material, and the segmentation interval p respectively; And so on, calculate X1, X2…X N data; S3-3 Determine X1, X2…X N Whether the data meets the maximum cutting capacity; S3-3-1 All data meet the range, output X1, X2...X N ; If data exceeding the cutting capacity appears in S3-3-2, an alarm message of "detection error" will be issued.

2. A detection system for uniformly cutting irregular bulk materials, characterized by: It comprises a control box (12) placed on the equipment rack and an industrial computer (11) placed above the control box; It also comprises a detection switch mounting bracket (1) arranged at a position perpendicular to the material conveying direction and at eye level at the entrance of the material detection area, and a detection switch (2) installed at a position of the detection switch mounting bracket (1) facing the material detection area, wherein the output signal of the detection switch (2) is connected to an isolation relay (3) installed inside a control box (12), and is connected to an industrial computer (11) after being isolated by the isolation relay (3); The device also includes a top bracket (4) arranged at the entrance of the material detection area and above the material, a side bracket (6) arranged at the entrance of the material detection area and at the frame, a 3D camera (5) installed on the top bracket (4), a line scan camera (7) installed on the side bracket (6), and a line scan camera light source (8); the image output signals of the 3D camera (5) and the line scan camera (7) are connected to the Ethernet interface of the industrial computer (11) via Ethernet; The memory in the industrial computer (11) has a built-in computer program, and when the computer program is executed by the processor in the industrial computer (11), the steps of the detection method for uniformly cutting irregular block materials as claimed in claim 1 are implemented.

3. The detection system for uniformly cutting irregular bulk materials according to claim 2 is characterized in that: It also includes a line scan camera light source (8), which is installed at both ends of the line scan camera (7), and its power supply line is connected to the control box (12), and the start and stop of the line scan camera light source (8) are synchronized with the start and stop of the line scan camera (7).

4. The detection system for uniformly cutting irregular bulk materials according to claim 2 is characterized in that: The detection switch (2) is a beam-type or diffuse reflection photoelectric switch. When the material enters the detection area of ​​the trigger system, the detection switch (2) sends a switch signal, which is output to the camera after passing through the isolation relay (3).

5. The detection system for uniformly cutting irregular bulk materials according to any one of claims 2 to 4, characterized in that: It also comprises a line scan camera reflector cleaning device (10), which is placed below the frame and has an air outlet installed on one side of the reflector (9).