Automatic packaging system for pipe fittings, automatic packaging method, equipment and storage medium

Through the automatic packaging system of pipe fittings, attitude control, code assignment and packaging components are used to solve the problem of insufficient neatness of pipe fittings packaging, and the accurate matching and neatness of the labeling and packaging are achieved, meeting the requirements of one thing and one code .

CN117755614BActive Publication Date: 2024-12-10GUANGDONG MINGYU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410152679.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-03
Publication Date
2024-12-10
Estimated Expiration
2044-02-03

AI Technical Summary

Technical Problem

The prior art has insufficient neatness during the packaging process of pipe fittings, which leads to the inability to accurately detect the code of each product in the bag, which cannot meet the requirements of one item and one code, and the subsequent code cannot correspond to the bag.

Method used

Automatic packaging system for pipe fittings is adopted, including pipe fitting posture control device, coding device and packaging device, through centrifuge, directional conveying line, coding machine, visual code inspection and removal components, material processing components, coating machines and heat shrinkers, etc. Components to realize attitude control, code coding, packaging neatness and code accuracy of pipe fittings.

Benefits of technology

Through the automatic packaging system of pipe fittings, the neatness of pipe fittings packaging and the matching degree of the marking and packaging are improved, ensuring that each product is in the correct packaging bag and storage box, reducing safety risks during the packaging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117755614B_ABST
    Figure CN117755614B_ABST
Patent Text Reader

Abstract

The present application relates to an automatic packaging system for pipe fittings, an automatic packaging method, an apparatus and a storage medium, which includes a feeding mechanism for transferring produced pipe fittings to the automatic packaging system for pipe fittings, a pipe fitting posture control device for controlling the output posture of the pipe fittings is provided at the output end of the feeding mechanism, a pipe fitting coding device for imparting standard spray codes to the pipe fittings is provided at the output end of the pipe fitting posture control device, and a pipe fitting packaging device for automating standard packaging of the pipe fittings is provided at the output end of the pipe fitting coding device. The present application has the effect of improving the neatness of pipe fitting packaging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automatic product packaging, and in particular to an automatic tube packaging system, an automatic packaging method, equipment and a storage medium. Background Art

[0002] Currently, for manufactured pipe fittings, each product needs to be packaged for storage before being transported to a storage space.

[0003] The existing technology adopts a climbing method for packaging, and the tubes are transported to a bagging machine in a scattered manner, and a certain number of tubes are loaded into a mesh bag by the bagging machine.

[0004] The above-mentioned prior art solutions have the following defects:

[0005] The tubes are transported to the bagging machine in a scattered manner by climbing. The tubes are too scattered in the packaging bags, and the codes on each product in the bag cannot be detected. As a result, if the quantity in one bag is incorrect, the subsequent codes and bags will not correspond. This cannot meet the current requirement of one item with one code. It is impossible to confirm which packaging bag a product is in and which box the product will be in later.

[0006] With respect to the above-mentioned related technologies, the inventor believes that there is a defect that the uniformity of the tube packaging is not enough. Summary of the invention

[0007] In order to improve the neatness of pipe packaging, the present application provides an automatic pipe packaging system, an automatic packaging method, equipment and a storage medium.

[0008] The above-mentioned invention objective of the present application is achieved through the following technical solutions:

[0009] A pipe automatic packaging system comprises: a feeding mechanism for conveying produced pipes to the pipe automatic packaging system, an output end of the feeding mechanism is provided with a pipe posture control device for controlling the output posture of the pipe, an output end of the pipe posture control device is provided with a pipe coding device for giving standard spray codes to the pipes, and an output end of the pipe coding device is provided with a pipe packaging device for automatically standard packaging the pipes.

[0010] By adopting the above technical scheme, the pipe fitting posture control device can control the posture of all pipe fittings, so that all pipe fittings are arranged neatly, thereby improving the neatness of pipe fitting packaging; the pipe fitting coding device can code the pipe fittings and eliminate unqualified pipe fittings, thereby improving the accuracy of pipe fitting coding; the pipe fitting packaging device can package qualified pipe fittings according to preset rules, thereby further improving the neatness of pipe fitting packaging, and can improve the matching degree between pipe fitting coding and packaging.

[0011] Optionally, the pipe posture control device includes a centrifuge and a directional conveyor line, one end of the centrifuge is connected to the loading position, and the other end is connected to the directional conveyor line, the output end of the directional conveyor line is connected to the pipe coding device and is provided with a counter for pipes to be coded.

[0012] By adopting the above technical solution, the centrifuge adjusts the pipes into a single row through centrifugal operation, and the directional conveyor line smoothly conveys the arranged pipes to the pipe coding device, thereby improving the neatness of the pipe packaging.

[0013] Optionally, the pipe coding device includes a coding machine and a visual code inspection and rejection component, the input end of the coding machine is connected to the directional conveyor line provided with a pipe counter, the output end of the coding machine is connected to the visual inspection and rejection component, and the output end of the visual inspection and rejection component is connected to the pipe packaging device.

[0014] By adopting the above technical solution, the coding machine codes the pipe fittings according to preset rules, and the visual inspection and rejection component detects the coded components in real time, and rejects the pipe fittings with irregular coding, thereby improving the accuracy of pipe fitting coding.

[0015] Optionally, the tube packaging device includes a material sorting component, a conveying mechanism, a laminating machine, a heat shrink machine and a cooling fan. The input end of the material sorting component is connected to the tube coding device and is provided with a counter for tubes to be packaged. The output end of the component is connected to the tube packaging device through the conveying mechanism. The input end of the laminating machine is connected to the conveying mechanism, the output end of the laminating machine is connected to the heat shrink machine, and the output end of the heat shrink machine is connected to the cooling fan.

[0016] By adopting the above technical scheme, the material sorting component performs material sorting operations according to preset rules, so that the pipe fittings are arranged in a preset manner. The conveying mechanism smoothly conveys the arranged pipe fittings to the laminating machine, the laminating machine laminates and packages the pipe fittings, and then the packaging is finalized by the heat shrink machine, thereby improving the uniformity and neatness of the pipe fitting packaging; the heat dissipation fan reduces the residual temperature caused by heating in the heat shrink machine, thereby reducing the safety hazards in the pipe fitting packaging process.

[0017] The second object of the invention is achieved by the following technical solutions:

[0018] An automatic packaging method for pipe fittings used in the above system, the automatic packaging method for pipe fittings comprising:

[0019] Obtaining a loading signal of a loading position, and generating a start signal of a pipe automatic packaging system according to the loading signal of the loading position;

[0020] Generate a centrifuge control signal and a directional conveyor line control signal according to the tube automatic packaging system start signal;

[0021] Obtain the specifications of the pipes to be coded, generate the data of the pipes to be coded according to the specifications of the pipes to be coded, generate the pipe coding instructions according to the pipe coding data, and generate the pipe coding data according to the pipe coding instructions;

[0022] Acquire an image of a pipe to be inspected, generate a visual code inspection instruction and a rejection instruction according to the image of the pipe to be inspected, and generate a pipe counting instruction according to the visual code inspection instruction and the rejection instruction;

[0023] Obtaining the number of qualified pipes according to the pipe counting instruction, and generating a pipe sorting instruction according to the number of qualified pipes and the data of the pipes to be coded;

[0024] Generate a pipe fitting packaging instruction according to the pipe fitting material sorting instruction.

[0025] By adopting the above technical scheme, the work start information is judged by the loading signal of the loading position, and the start signal of the automatic packaging system of the pipe fittings is generated, the automatic packaging system of the pipe fittings is controlled to start, and the pipe fittings at the loading position are transported to the centrifuge, and the centrifuge control signal and the directional conveyor line control signal are generated. The centrifuge is started by the centrifuge control signal, so that the pipe fittings are automatically arranged in rows under the centrifugal action of the centrifuge, and the directional conveyor line control signal is used to control the directional conveyor line to transport the arranged pipe fittings to the pipe fitting coding device, thereby improving the neatness of the pipe fitting packaging; the pipe fitting data to be coded is generated according to the specifications of the pipe fittings to be coded, and then the corresponding pipe fitting coding instructions are generated, the coding machine is controlled to generate the pipe fitting coding data and perform coding operations on the pipe fittings neatly arranged under the centrifugal action of the centrifuge, thereby improving the consistency of the pipe fitting coding position. The system can effectively improve the quality of the pipe coding and the quality of the product; by matching the image of the pipe to be coded with the corresponding pipe coding data to generate the corresponding visual inspection instruction, and controlling the visual inspection and rejection components to perform visual inspection on the neatly arranged pipes under the centrifugal action of the centrifuge, which reduces the difficulty of visual inspection and improves the accuracy of visual inspection; for the inspected pipes, the corresponding rejection instruction is generated according to the result of the visual inspection, so as to control the visual inspection and rejection components to reject the non-standard pipes, thereby further improving the accuracy of the pipe coding; after rejection, a pipe counting instruction is generated; and then the number of qualified pipes is obtained, and a pipe sorting instruction is generated according to the data of the pipe to be coded and the number of qualified pipes, and the material sorting component is controlled to sort the pipes, and the sorted pipes are packaged through the pipe packaging instruction, thereby further improving the neatness of the pipe packaging.

[0026] In a preferred example, the present application can be further configured as follows: the obtaining of the specifications of the pipe to be coded, generating the pipe data to be coded according to the specifications of the pipe to be coded, generating the pipe coding instructions according to the pipe data to be coded, and obtaining the pipe coding data according to the pipe coding instructions, specifically includes:

[0027] Acquire an image of a pipe to be coded, match the specification of the pipe to be coded according to the image of the pipe to be coded, and match the corresponding coding rule according to the specification of the pipe to be coded;

[0028] According to the specifications of the pipe to be coded, the number of pipes to be coded of the corresponding specifications is obtained through the image of the pipe to be coded, and the data of the pipe to be coded is generated according to the specifications of the pipe to be coded, the number of pipes to be coded and the coding rule;

[0029] Generate corresponding pipe fitting coding instructions according to the pipe fitting data to be coded;

[0030] The number of pipe coding times is calculated according to the pipe coding instruction, and the pipe coding data is generated according to the number of pipe coding times and the coding rules corresponding to the pipe data to be coded and the specifications of the pipe to be coded.

[0031] By adopting the above technical scheme, the image of the pipe to be coded is matched to the specifications of the pipe to be coded, thereby matching the corresponding pre-stored coding rules, and the number of pipes to be coded in the image of the pipe to be coded is calculated according to the specifications of the pipe to be coded, and then the corresponding pipe coding instructions are generated, the coding machine is controlled to perform coding operations on the pipes, the number of pipe coding times is calculated, and the pipe coding data is generated in combination with the coding rules and the specifications of the pipe to be coded, so that the coding machine can adopt different coding rules for coding pipes of different specifications, thereby improving the convenience of the automatic packaging system for pipes and further improving the accuracy of pipe coding.

[0032] In a preferred example, the present application may be further configured as follows: the acquisition of the image of the tube to be inspected, the generation of a visual code inspection instruction and a rejection instruction according to the image of the tube to be inspected, and the generation of a tube counting instruction according to the visual code inspection instruction and the rejection instruction specifically include:

[0033] Acquire an image of the pipe to be inspected, and match the corresponding pipe coding data according to the image of the pipe to be inspected;

[0034] Generate a corresponding visual code inspection instruction according to the pipe fitting coding data, and generate a visual code inspection result corresponding to each pipe fitting according to the visual code inspection instruction;

[0035] Generate a code inspection mark corresponding to each pipe fitting according to the visual code inspection result and the number of times the pipe fitting is sprayed with code, and generate a corresponding rejection instruction according to the code inspection mark;

[0036] The output result of the rejection instruction is compared with a corresponding preset value, and a pipe counting instruction is generated when the output result is greater than the preset value.

[0037] By adopting the above technical scheme, the image of the pipe to be inspected is matched with the corresponding pipe coding data to generate the corresponding visual code inspection instruction to perform code inspection on the pipes of different specifications neatly arranged through the centrifuge; the difficulty of code inspection, that is, the difficulty of visual code inspection, is reduced; code inspection marks are generated according to the inspection results, and the code inspection marks are monitored to generate corresponding rejection instructions, so as to reject substandard pipes, and when there are pipes that meet the standards, pipe counting instructions are generated for counting, thereby further improving the accuracy of visual code inspection.

[0038] In a preferred example, the present application can be further configured as follows: generating a pipe material sorting instruction according to the pipe counting instruction and the pipe coding data specifically includes:

[0039] According to the tube counting instruction, the number K of tubes to be packaged is obtained, where K is a positive integer accumulated following the counting;

[0040] Obtain the pipe coding data, and match the corresponding packaging rules to M rows and N columns according to the specifications of the pipes to be coded corresponding to the pipe coding data;

[0041] Generate corresponding pipe material sorting instructions according to the packaging rules. When it is determined that the number of pipes to be packaged K is equal to M, generate a pipe material sorting signal, reset the number of pipes to be packaged K to zero, re-count and re-execute the pipe material sorting instructions, and repeat N-1 times.

[0042] By adopting the above technical solution, the number of qualified pipe fittings is obtained through the pipe fitting counting instruction, the specifications of the pipe fittings to be coded are obtained through the pipe fitting coding data, and then the corresponding packaging rules are matched to generate the corresponding pipe fitting material sorting instructions to control the material sorting component to sort the materials, so that the pipe fittings neatly arranged by the centrifuge are packaged according to the corresponding packaging method, thereby improving the neatness of the pipe fitting packaging; wherein the centrifugal operation of the centrifuge arranges the pipe fittings neatly and orderly, reducing the difficulty of the material sorting operation of the material sorting component.

[0043] The third objective of the present application is achieved through the following technical solutions:

[0044] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned automatic pipe packaging method when executing the computer program.

[0045] The fourth objective of the present application is achieved through the following technical solutions:

[0046] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned automatic packaging method for pipe fittings are implemented.

[0047] In summary, the present application includes at least one of the following beneficial technical effects:

[0048] The centrifugal operation of the centrifuge is used to arrange the pipes in a single row in order, and the arranged pipes are smoothly conveyed through a directional conveyor line. After being processed by the visual code inspection and rejection component, the material sorting component is used to sort the pipes according to the preset material sorting rules corresponding to the pipe types, so that the pipes are neatly arranged according to the preset packaging rules. After material sorting, the pipes are laminated by a laminating machine and the packaging shape is fixed by a heat shrink machine, which further improves the neatness of the pipe packaging.

[0049] The type of pipe is obtained through the data of the pipe to be coded, so as to match the corresponding pre-stored coding rules, generate the corresponding pipe coding instructions, and control the coding machine to perform coding operations on the pipes, so that different types of pipes can be coded according to the corresponding coding rules. The visual code inspection instructions control the visual code inspection and rejection components to inspect the coded pipes, and generate corresponding rejection instructions based on the results to reject substandard pipes, further improving the accuracy of pipe coding.

[0050] The high temperature caused by the heat shrinking process of the heat shrink machine is reduced by the heat dissipation fan, thereby reducing the safety hazards in the pipe packaging process. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 It is a schematic diagram of the overall structure of the automatic packaging system for pipe fittings.

[0052] Figure 2 It is a flow chart of a method for automatic packaging of pipe fittings in one embodiment of the present application.

[0053] Figure 3 It is a flow chart of step S30 in the automatic tube packaging method in one embodiment of the present application.

[0054] Figure 4 It is a flow chart of step S40 in the automatic tube packaging method in one embodiment of the present application.

[0055] Figure 5 This is a flow chart of step S50 in the automatic packaging method for pipe fittings in one embodiment of the present application.

[0056] Figure 6 It is a schematic diagram of a device in an embodiment of the present application.

[0057] In the figure, 1. feeding mechanism; 2. pipe posture control device; 21. centrifuge; 22. directional conveyor line; 3. pipe coding device; 31. coding machine; 32. visual code inspection and rejection component; 4. pipe packaging device; 41. material sorting component; 42. conveying mechanism; 43. laminating machine; 44. heat shrink machine; 45. cooling fan. DETAILED DESCRIPTION

[0058] The present application is further described in detail below in conjunction with the accompanying drawings.

[0059] The embodiment of the present application discloses an automatic packaging system for pipe fittings.

[0060] Reference Figure 1 , including a feeding mechanism 1 for conveying produced pipe fittings to the automatic pipe fitting packaging system, the output end of the feeding mechanism 1 is provided with a pipe fitting posture control device 2 for controlling the output posture of the pipe fitting, the output end of the pipe fitting posture control device 2 is provided with a pipe fitting coding device 3 for giving standard spray codes to the pipe fittings, and the output end of the pipe fitting coding device 3 is provided with a pipe fitting packaging device 4 for automatically standard packaging of the pipe fittings.

[0061] The pipe attitude control device 2 includes a centrifuge 21 and a directional conveyor line 22. The output end of the upper mechanism 1 is connected to the centrifuge 21, which performs centrifugal operation on the pipes to arrange the pipes in a row. The output end of the centrifuge 21 is connected to the directional conveyor line 22, which smoothly conveys the pipes to the pipe coding device 3.

[0062] The pipe coding device 3 includes a coding machine 31 and a visual code inspection and rejection component 32. After the directional conveyor line 22 conveys the pipe to the coding machine 31, the coding machine 31 performs coding operation on each pipe according to the preset coding rules. The output end of the coding machine 31 is connected to the visual code inspection and rejection component 32 to check the code on the pipe and reject the pipe with unqualified coding. The output end of the visual code inspection and rejection component 32 is connected to the pipe packaging device 4.

[0063] The tube packaging device 4 includes a material sorting component 41, a conveying mechanism 42, a laminating machine 43, a heat shrinking machine 44 and a cooling fan 45. The material sorting component 41 sorts the tubes after the visual code inspection and code inspection and rejection by the rejection component 32 according to the preset packaging rules, and then conveys the arranged tubes to the laminating machine 43 through the conveying mechanism 42. The laminating machine 43 wraps the tubes with plastic film. The output end of the laminating machine 43 is connected to the heat shrinking machine 44. The heat shrinking machine 44 heats the plastic film to shrink it, so that the plastic film is tightly wrapped on the tube, and then the packaged tube is conveyed to the cooling fan 45 for cooling.

[0064] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

[0065] In one embodiment, if Figure 1 and Figure 2 As shown, the present application discloses an automatic packaging method for pipe fittings applied to the above system, which specifically includes the following steps:

[0066] S10: Obtain a loading signal of a loading position, and generate a start signal of a pipe automatic packaging system according to the loading signal of the loading position.

[0067] In this embodiment, the loading signal at the loading level refers to a signal indicating that the loading level detects the entry of a pipe.

[0068] Specifically, when the pipe enters the loading position, the loading mechanism 1 generates a loading signal, and generates a pipe automatic packaging system start signal through the loading signal to start the system, thereby transporting the pipe from the loading mechanism 1 to the centrifuge 21.

[0069] S20: Generate a centrifuge control signal and a directional conveyor line control signal according to a start signal of the automatic tube packaging system.

[0070] In this embodiment, the centrifuge control signal refers to a signal for controlling the operation of the centrifuge 21, and the directional conveyor line control signal refers to a signal for controlling the directional conveyor line 22 to start operating.

[0071] Specifically, after the start-up signal control system of the automatic packaging system for pipe fittings is started, a centrifuge control signal is generated to control the centrifuge 21 to centrifuge the pipe fittings, and a directional conveyor line control signal is generated to control the directional conveyor line 22 to work, so as to smoothly convey the pipe fittings that have undergone the centrifugal operation to the pipe fitting coding device 3.

[0072] S30: Obtain specifications of the pipes to be coded, generate data of the pipes to be coded according to the specifications of the pipes to be coded, generate pipe coding instructions according to the pipe coding data, and generate pipe coding data according to the pipe coding instructions.

[0073] In this embodiment, the specification of the pipe to be coded refers to the size and shape information of the pipes that are neatly arranged after centrifugal action of the centrifuge 21 and pre-stored in the system. The pipe coding instruction refers to the instruction used to control the coding machine 31 to perform the coding operation. The pipe coding data refers to the data including the number of coding times, the corresponding specifications of the pipe to be coded and the coding rules.

[0074] Specifically, the image of the pipe to be coded is obtained through the monitoring device, and the specifications of the pipe to be coded are matched, thereby generating the data of the pipe to be coded, generating the corresponding pipe coding instructions, and controlling the coding machine 31 to perform coding operations on the pipes that have been centrifugally sorted by the centrifuge 21, and generating the pipe coding data according to the number of coding times, the corresponding specifications of the pipe to be coded and the coding rules.

[0075] S40: Acquire an image of the pipe to be inspected, generate a visual code inspection instruction and a rejection instruction according to the image of the pipe to be inspected, and generate a pipe counting instruction according to the visual code inspection instruction and the rejection instruction.

[0076] In this embodiment, the image of the pipe to be inspected refers to the image of the pipe that is waiting for visual inspection and rejection after being coded by the coding machine 31, the visual inspection instruction refers to the instruction used to control the visual inspection and rejection component 32 to perform the inspection operation, and the rejection instruction refers to the instruction used to control the visual inspection and rejection component 32 to perform the rejection operation.

[0077] Specifically, after the visual code inspection and rejection component 32 matches the corresponding pipe coding data through the image of the pipe to be inspected, it generates a visual code inspection instruction according to the corresponding coding rule, controls the visual code inspection and rejection component 32 to check whether the pipe coding meets the standard, and marks it respectively, thereby generating a corresponding rejection instruction, controls the visual code inspection and rejection component 32 to reject pipes with non-standard markings, and then generates a pipe counting instruction to count qualified pipes.

[0078] S50: Obtain the number of qualified pipes according to the pipe counting instruction, and generate a pipe sorting instruction according to the number of qualified pipes and the data of the pipes to be coded.

[0079] In this embodiment, the pipe material sorting instruction refers to an instruction for controlling the material sorting component 41 to perform the material sorting operation.

[0080] Specifically, the counter count is controlled according to the pipe counting instruction to calculate the number of qualified pipes, the corresponding packaging rules are matched according to the pipe type corresponding to the pipe data to be coded, the corresponding pipe sorting instructions are generated, and the material sorting component 41 is controlled to perform material sorting operations on the coded pipes.

[0081] S60: Generate a pipe fitting packaging instruction according to the pipe fitting material sorting instruction.

[0082] In this embodiment, the tube packaging instruction refers to an instruction to control the laminating machine 43, the heat shrinking machine 44 and the heat dissipation fan to start working.

[0083] Specifically, after the material sorting component 41 sorts the coded pipe fittings, it generates corresponding pipe packaging instructions according to the corresponding packaging rules, controls the laminating machine 43 to laminate the sorted and arranged pipe fittings, controls the heat shrink machine 44 to perform heat shrink operation on the film so that the film wraps the pipe fittings tightly, and controls the heat dissipation fan to reduce the high temperature generated by the heat shrink machine 44.

[0084] In one embodiment, if Figure 1 and Figure 3 As shown, in step S30, the specifications of the pipe to be coded are obtained, the pipe data to be coded is generated according to the specifications of the pipe to be coded, the pipe coding instructions are generated according to the pipe data to be coded, and the pipe coding data is obtained according to the pipe coding instructions, which specifically includes:

[0085] S31: Acquire an image of the pipe to be coded, match the specifications of the pipe to be coded according to the image of the pipe to be coded, and match the corresponding coding rules according to the specifications of the pipe to be coded.

[0086] In this embodiment, the image of the pipe to be coded refers to the image of the pipe that has been sorted by the centrifugal operation of the centrifuge 21 and is waiting to be coded by the coding machine 31, and the coding rule refers to the preset rules corresponding to pipes of different specifications for controlling the coding method of the coding machine 31.

[0087] Specifically, the image of the pipe to be coded is acquired through monitoring, and the specifications of the pipe to be coded are obtained after comparison with the sample pipe image pre-stored in the system, and then the pre-stored coding rules are matched in the system.

[0088] S32: according to the specifications of the pipe fittings to be coded, the number of pipe fittings to be coded of corresponding specifications is obtained through the image of the pipe fittings to be coded, and the data of the pipe fittings to be coded is generated according to the specifications of the pipe fittings to be coded, the number of pipe fittings to be coded and the coding rules.

[0089] Specifically, the number of pipes to be identified corresponding to the specifications of the pipes to be identified is identified in the image of the pipes to be coded, and then the data of the pipes to be coded is comprehensively generated by combining the specifications of the pipes to be coded, the number of pipes to be coded and the coding rules.

[0090] S33: Generate corresponding pipe coding instructions according to the pipe data to be coded.

[0091] In this embodiment, the pipe coding instruction refers to an instruction pre-stored in the system for controlling the coding machine 31 to perform coding operations on pipes of different specifications.

[0092] Specifically, the pipe sequence code is generated according to the number of pipes to be coded corresponding to the pipe data to be coded, and then the pipes are numbered according to the coding rules corresponding to the pipe data to be coded, and then the pipe coding instructions are generated.

[0093] S34: Calculate the number of pipe coding times according to the pipe coding instruction, and generate pipe coding data according to the number of pipe coding times and the coding rules corresponding to the pipe data to be coded and the specifications of the pipe to be coded.

[0094] In this embodiment, the number of times the pipe is sprayed with code refers to the number of times the coding machine 31 performs the coding operation.

[0095] Specifically, the number of pipe coding times is calculated based on the number of times the pipe coding instructions are executed, and then combined with the coding rules and the specifications of the pipes to be coded, the pipe coding data is generated through a comprehensive calculation. For example, if the pipe specification is "straight pipe A33" and the number of pipe coding times is 35, then the pipe coding data is "A33-35".

[0096] In one embodiment, if Figure 1 and Figure 4As shown, in step S40, the image of the pipe to be inspected is obtained, a visual code inspection instruction and a rejection instruction are generated according to the image of the pipe to be inspected, and a pipe counting instruction is generated according to the visual code inspection instruction and the rejection instruction, which specifically includes:

[0097] S41: Acquire the image of the pipe to be inspected, and match the corresponding pipe coding data according to the image of the pipe to be inspected.

[0098] In this embodiment, the image of the tube to be inspected refers to the image of the tube that has been coded and is waiting for the visual code inspection and rejection component 32 to perform code inspection and rejection operations.

[0099] Specifically, the image of the pipe to be inspected is obtained by the camera of the visual code inspection and rejection component 32, and is matched with the image of the pipe to be coded, thereby obtaining the corresponding pipe coding data.

[0100] S42: Generate corresponding visual code inspection instructions according to the pipe fitting coding data, and generate corresponding visual code inspection results for each pipe fitting according to the visual code inspection instructions.

[0101] In this embodiment, the visual code inspection result refers to the qualified status of the pipe coding obtained by the visual code inspection and rejection component 32 when inspecting the pipe.

[0102] Specifically, according to the coding rules carried in the pipe coding data, the corresponding visual code inspection method is determined, and then the corresponding visual code inspection instructions are generated, and the visual code inspection and rejection component 32 is controlled to inspect each pipe. According to the matching situation of each pipe with the corresponding coding rules, it is judged whether it meets the standards, and then the visual code inspection result is generated.

[0103] S43: Generate a code inspection mark corresponding to each pipe fitting according to the visual code inspection result and the number of times the pipe fitting is sprayed with code, and generate a corresponding rejection instruction according to the code inspection mark.

[0104] In this embodiment, the code inspection mark refers to a visual mark used to identify the pipe fittings that have been subjected to the coding operation of the coding machine 31 .

[0105] Specifically, a corresponding inspection mark is applied to each pipe according to the visual inspection result and the number of times the pipe is sprayed with code, and visual tracking is performed and a corresponding rejection instruction is generated to control the visual inspection and rejection component 32 to select the pipes that do not meet the standards.

[0106] S44: Compare the output result of the rejection instruction with the corresponding preset value, and generate a pipe counting instruction when the output result is greater than the preset value.

[0107] In this embodiment, the preset value refers to a numerical value pre-stored in the system for determining whether there are qualified pipes for inkjet printing, and the pipe counting instruction refers to an instruction for controlling the real-time counting and accumulation of the rejected pipes.

[0108] Specifically, the output result of the rejection instruction is compared with the corresponding preset value to determine whether there are qualified pipes being output. When it is determined that qualified pipes are being output, a pipe counting instruction is generated to control the counter to start counting.

[0109] In one embodiment, if Figure 1 and Figure 5 As shown, in step S50, the pipe material sorting instruction is generated according to the pipe counting instruction and the pipe data to be coded, which specifically includes:

[0110] S51: Obtain the number K of tubes to be packaged according to the tube counting instruction, where K is a positive integer that is accumulated following the counting.

[0111] Specifically, the counter is controlled to count in real time according to the pipe counting instruction, and the number of packaged pipes is calculated and recorded as K.

[0112] S52: Obtain the data of the pipe to be coded and match it with the corresponding packaging rules, and obtain the preset packaging matrix data of M rows and N columns according to the packaging rules, where M and N are both positive integers.

[0113] In this embodiment, the packaging rules refer to preset rules for controlling the packaging method of the pipe packaging device 4 corresponding to pipes of different specifications, the packaging matrix data refers to the matrix data required to be arranged corresponding to pipes of different specifications, and the material sorting rules refer to preset rules for controlling the material sorting method of the material sorting component 41 corresponding to pipes of different specifications.

[0114] Specifically, the corresponding pre-stored packaging rules are matched in the system according to the pipe type corresponding to the pipe data to be coded, and the preset packaging matrix data is obtained as M rows and N columns, such as 3 rows and 5 columns, and the corresponding material sorting rules are generated, that is, the pipes are sorted into 3 rows and 4 columns.

[0115] S53: Generate corresponding pipe material sorting instructions according to the packaging rules. When it is determined that the number of pipes to be packaged K is equal to M, generate a pipe material sorting signal, reset the number of pipes to be packaged K to zero, re-count and re-execute the pipe material sorting instructions, repeat N-1 times, and generate a conveying signal.

[0116] In this embodiment, the pipe sorting signal refers to a signal for controlling the sorting component 41 to move the pipes arranged in a row to one side as a whole, and the conveying signal refers to a signal for controlling the conveying mechanism 42 to convey the sorted pipes to the laminating machine 43.

[0117] Specifically, according to the packaging rules, corresponding pipe material sorting instructions are generated, that is, when it is determined that the number of pipes K to be packaged is less than 3, the counting is continued until the number of pipes to be packaged reaches 3, and a pipe material sorting signal is generated to control the row of pipes to move to the side, and the number of pipes K to be packaged is reset to zero and the counting is restarted. The cycle is repeated N-1 times, that is, 5-1 times, which is 4 times, and the arranged pipes are output together to the laminating machine 43.

[0118] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0119] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store coding rules, pipe specifications and packaging rules, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for automatic packaging of pipes is implemented.

[0120] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0121] Obtain the material loading signal of the loading position, and generate the start signal of the automatic packaging system of the pipe fittings according to the material loading signal of the loading position;

[0122] Generate centrifuge control signal and directional conveyor line control signal according to the start signal of the automatic packaging system for pipe fittings;

[0123] Obtain the specifications of the pipe fittings to be coded, generate the data of the pipe fittings to be coded according to the specifications of the pipe fittings to be coded, generate the pipe fitting coding instructions according to the pipe fittings data to be coded, and generate the pipe fitting coding data according to the pipe fitting coding instructions;

[0124] Acquire the image of the pipe to be inspected, generate visual code inspection instructions and rejection instructions according to the image of the pipe to be inspected, and generate pipe counting instructions according to the visual code inspection instructions and rejection instructions;

[0125] Obtain the number of qualified pipes according to the pipe counting instruction, and generate pipe sorting instructions according to the number of qualified pipes and the data of the pipes to be coded;

[0126] Generate pipe packaging instructions based on pipe material sorting instructions.

[0127] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0128] Obtain the material loading signal of the loading position, and generate the start signal of the automatic packaging system of the pipe fittings according to the material loading signal of the loading position;

[0129] Generate centrifuge control signal and directional conveyor line control signal according to the start signal of the automatic packaging system for pipe fittings;

[0130] Obtain the specifications of the pipe fittings to be coded, generate the data of the pipe fittings to be coded according to the specifications of the pipe fittings to be coded, generate the pipe fitting coding instructions according to the pipe fittings data to be coded, and generate the pipe fitting coding data according to the pipe fitting coding instructions;

[0131] Acquire the image of the pipe to be inspected, generate visual code inspection instructions and rejection instructions according to the image of the pipe to be inspected, and generate pipe counting instructions according to the visual code inspection instructions and rejection instructions;

[0132] Obtain the number of qualified pipes according to the pipe counting instruction, and generate pipe sorting instructions according to the number of qualified pipes and the data of the pipes to be coded;

[0133] Generate pipe packaging instructions based on pipe material sorting instructions.

[0134] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0135] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0136] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for automatic packaging of pipe fittings, It is characterized in that The pipe automatic packaging method comprises: Obtaining a loading signal of a loading position, and generating a start signal of a pipe automatic packaging system according to the loading signal of the loading position; Generate a centrifuge control signal and a directional conveyor line control signal according to the tube automatic packaging system start signal; Obtaining the specifications of the pipes to be coded, generating the data of the pipes to be coded according to the specifications of the pipes to be coded, generating the pipe coding instructions according to the pipe coding data, and generating the pipe coding data according to the pipe coding instructions, specifically including: Acquire an image of a pipe to be coded, match the specification of the pipe to be coded according to the image of the pipe to be coded, and match the corresponding coding rule according to the specification of the pipe to be coded; According to the specifications of the pipe to be coded, the number of pipes to be coded of the corresponding specifications is obtained through the image of the pipe to be coded, and the data of the pipe to be coded is generated according to the specifications of the pipe to be coded, the number of pipes to be coded and the coding rule; Generate corresponding pipe fitting coding instructions according to the pipe fitting data to be coded; The number of pipe coding times is calculated according to the pipe coding instruction, and the pipe coding data is generated according to the number of pipe coding times and the coding rule corresponding to the pipe data to be coded and the specification of the pipe to be coded; Acquire an image of a pipe to be inspected, generate a visual code inspection instruction and a rejection instruction according to the image of the pipe to be inspected, and generate a pipe counting instruction according to the visual code inspection instruction and the rejection instruction; The number of qualified pipes is obtained according to the pipe counting instruction, and the pipe sorting instruction is generated according to the number of qualified pipes and the pipe data to be coded, specifically including: According to the tube counting instruction, the number K of tubes to be packaged is obtained, where K is a positive integer accumulated following the counting; Obtain the pipe coding data, and match the corresponding packaging rules according to the specifications of the pipes to be coded corresponding to the pipe coding data, with M rows and N columns, where M and N are both positive integers; Generate corresponding pipe material sorting instructions according to the packaging rules, and when it is determined that the number of pipes to be packaged K is equal to M, generate a pipe material sorting signal, reset the number of pipes to be packaged K to zero, re-count and re-execute the pipe material sorting instructions, and repeat N-1 times; Generate a pipe packaging instruction according to the pipe material sorting instruction.

2. The automatic packaging method for pipe fittings according to claim 1, It is characterized in that The acquiring of the image of the tube to be inspected, generating a visual code inspection instruction and a rejection instruction according to the image of the tube to be inspected, and generating a tube counting instruction according to the visual code inspection instruction and the rejection instruction specifically includes: Acquire an image of the pipe to be inspected, and match the corresponding pipe coding data according to the image of the pipe to be inspected; Generate a corresponding visual code inspection instruction according to the pipe fitting coding data, and generate a visual code inspection result corresponding to each pipe fitting according to the visual code inspection instruction; Generate a code inspection mark corresponding to each pipe fitting according to the visual code inspection result and the number of times the pipe fitting is sprayed with code, and generate a corresponding rejection instruction according to the code inspection mark; The output result of the rejection instruction is compared with a corresponding preset value, and a pipe counting instruction is generated when the output result is greater than the preset value.

3. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the automatic tube packaging method according to any one of claims 1 to 2 are implemented.

4. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the automatic tube packaging method according to any one of claims 1 to 2 are implemented.