PACK box gluing method and system capable of automatically switching gluing formula

The PLC system automatically recognizes and matches the glue coating formula of the PACK box, and uses AGV trolleys and glue coating robots to achieve automatic glue coating operations, solving the problem of misoperation of manual switching of glue coating formulas and improving the quality and efficiency of glue coating.

CN119848366APending Publication Date: 2025-04-18FUJIAN NEBULA ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411699322.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In the prior art, it is manually judged that there is a risk of misoperation when manually switching the glue coating formula, resulting in poor glue coating quality, and affecting the glue coating efficiency when multiple models of PACK boxes are mixed.

Method used

The box model is automatically identified through the PLC system, matched with the corresponding glue coating formula, and automatic glue coating operation is realized through the AGV cart and glue coating robot, including visual checks and self-tests.

Benefits of technology

Automatically switch the glue coating formula, improve the quality and efficiency of PACK box glue coating, reduce the risk of manual misoperation, and ensure the safety of glue coating logs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119848366A_ABST
    Figure CN119848366A_ABST
Patent Text Reader

Abstract

The invention provides a PACK box gluing method and system capable of automatically switching gluing formulas in the technical field of battery pack production, and the method comprises the steps: S1, setting a gluing formula for PACK boxes with different box models through a PLC, and storing the gluing formulas in a pre-created database; s2, the PLC transports the PACK box to be glued to a gluing position through the AGV, and a box bar code displayed on the AGV is obtained; s3, the PLC analyzes the box body bar code to obtain a box body model, a corresponding gluing formula is matched from the data block based on the box body model, and the matched gluing formula is issued to a gluing robot of a corresponding gluing position; s4, the gluing robot carries out visual verification on the PACK box based on the gluing formula, and feeds back a visual verification result to the PLC; and S5, the PLC issues a gluing instruction to a gluing robot based on the visual verification result so as to automatically execute gluing operation on the PACK box body. The PACK box gluing device has the advantage that the PACK box gluing quality and efficiency are greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of battery pack production, and in particular to a PACK box gluing method and system for automatically switching gluing formulas. Background Art

[0002] With the continuous development of the new energy industry, the new energy vehicle manufacturing industry has also experienced repeated updates and iterations, and the production process requirements for new energy vehicle battery packs have become increasingly stringent. The battery pack consists of a PACK box loaded with several series-parallel battery cells. In order to ensure the stability of the battery pack assembly, the PACK box needs to be glued.

[0003] Since there are many types (specifications) of battery packs, different types of battery packs correspond to different types of PACK boxes. The sizes of different types of PACK boxes are different, and the glue coating formulas are also different. Therefore, different glue coating formulas need to be switched for different PACK boxes. For the switching of glue coating formulas, the manual switching method is traditionally adopted, which has the following disadvantages:

[0004] 1. When there are multiple types of PACK boxes in mixed production, there is a situation where the incoming materials are random. The probability of manual misoperation of PACK boxes with high similarity is high. If the wrong glue coating formula is used for gluing, some areas will lack glue, which seriously affects the quality of gluing; 2. Manual switching has a great impact on the production rhythm. When more PACK boxes are mixed in production, frequent switching is required, and the time required for different personnel to operate cannot be strictly unified, which in turn affects the gluing efficiency.

[0005] Therefore, how to provide a PACK box gluing method and system that automatically switches the gluing formula to improve the quality and efficiency of PACK box gluing has become a technical problem that needs to be solved urgently. Summary of the invention

[0006] The technical problem to be solved by the present invention is to provide a PACK box gluing method and system for automatically switching the gluing formula, so as to improve the quality and efficiency of the PACK box gluing.

[0007] In a first aspect, the present invention provides a PACK box gluing method for automatically switching the gluing formula, comprising the following steps:

[0008] Step S1, PLC sets a gluing formula for PACK boxes of different box models respectively, and stores each of the gluing formulas in a pre-created database; the gluing formula at least includes glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path and characteristic points corresponding to the gluing path;

[0009] Step S2, the PLC transports the PACK box to be glued to the glue coating position through the AGV trolley, and obtains the box barcode displayed on the AGV trolley;

[0010] Step S3, the PLC parses the box barcode to obtain the box model, matches the corresponding gluing formula from the data block based on the box model, and sends the matched gluing formula to the gluing robot at the corresponding gluing position;

[0011] Step S4: The gluing robot performs visual inspection on the PACK box based on the received gluing formula, and feeds back the visual inspection result to the PLC;

[0012] Step S5: The PLC sends a gluing instruction to the gluing robot based on the visual verification result. After receiving the gluing instruction, the gluing robot automatically performs a gluing operation on the PACK box based on the gluing formula.

[0013] Step S6: After gluing is completed, the gluing robot performs a gluing self-inspection, generates a self-inspection report and sends it to the PLC, and records the gluing log in real time.

[0014] Furthermore, the step S2 is specifically as follows:

[0015] The PLC uses the AGV to transport the PACK box to be coated with glue to the coating position until the in-place sensor recognizes that the AGV is in place, controls the positioning mechanism to clamp the AGV, controls the lifting cylinder to lift the PACK box on the AGV, and verifies the horizontality of the PACK box through the angle sensor, and then obtains the box barcode displayed on the display screen of the AGV through the barcode scanner;

[0016] The process of generating the box barcode is as follows:

[0017] The box model, production date, production line and factory name are encrypted by the IDEA algorithm to obtain the first-level encrypted data, and the characters of the first-level encrypted data are mapped by the preset mapping rules to obtain the second-level encrypted data. The encoding of the second-level encrypted data is converted from ASCII code to binary to obtain the box barcode.

[0018] Furthermore, the step S3 is specifically as follows:

[0019] The PLC parses the box barcode, converts the box barcode from binary to ASCII code to obtain secondary encrypted data, maps each character of the secondary encrypted data according to a preset mapping rule to obtain primary encrypted data, and decrypts the primary encrypted data according to the IDEA algorithm to obtain the box model, production date, production line and factory name;

[0020] The PLC traverses and matches the corresponding gluing formula from the data block based on the box model, and sends the matched gluing formula to the gluing robot at the corresponding gluing position in real time.

[0021] Furthermore, the step S4 is specifically as follows:

[0022] The gluing robot receives the gluing formula in real time, parses the gluing formula to obtain the glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path and feature points, controls the carried visual inspection camera to detect feature points along the gluing path, and determines whether all the feature points are detected. If so, the visual verification result of successful visual verification is fed back to the PLC; if not, the visual verification result of failed visual verification is fed back to the PLC.

[0023] Furthermore, the step S5 is specifically as follows:

[0024] The PLC parses the received visual verification result. If the visual verification result is successful, a gluing instruction is sent to the gluing robot. After receiving the gluing instruction, the gluing robot automatically performs the gluing operation on the PACK box according to the glue model, glue ratio, glue gun temperature, glue output speed, glue amount and first-level gluing path carried by the gluing formula.

[0025] In a second aspect, the present invention provides a PACK box gluing system for automatically switching the gluing formula, comprising the following modules:

[0026] The gluing formula setting module is used for the PLC to set a gluing formula for each PACK box of different box models, and store each of the gluing formulas in a pre-created database; the gluing formula at least includes the glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path, and characteristic points corresponding to the gluing path;

[0027] The box barcode acquisition module is used by the PLC to transport the PACK box to be glued to the gluing position through the AGV trolley and obtain the box barcode displayed on the AGV trolley;

[0028] A gluing formula matching module is used for PLC to parse the box barcode to obtain the box model, match the corresponding gluing formula from the data block based on the box model, and send the matched gluing formula to the gluing robot at the corresponding gluing position;

[0029] A visual verification module, which is used for the gluing robot to perform visual verification on the PACK box based on the received gluing formula and to feed back the visual verification result to the PLC;

[0030] An automatic gluing module, which is used for the PLC to issue a gluing instruction to the gluing robot based on the visual verification result, and the gluing robot automatically performs a gluing operation on the PACK box based on the gluing formula after receiving the gluing instruction;

[0031] The gluing self-check module is used for the gluing robot to perform gluing self-check after gluing is completed, generate a self-check report and send it to the PLC, and record the gluing log in real time.

[0032] Furthermore, the box barcode acquisition module is specifically used for:

[0033] The PLC uses the AGV to transport the PACK box to be coated with glue to the coating position until the in-place sensor recognizes that the AGV is in place, controls the positioning mechanism to clamp the AGV, controls the lifting cylinder to lift the PACK box on the AGV, and verifies the horizontality of the PACK box through the angle sensor, and then obtains the box barcode displayed on the display screen of the AGV through the barcode scanner;

[0034] The process of generating the box barcode is as follows:

[0035] The box model, production date, production line and factory name are encrypted by the IDEA algorithm to obtain the first-level encrypted data, and the characters of the first-level encrypted data are mapped by the preset mapping rules to obtain the second-level encrypted data. The encoding of the second-level encrypted data is converted from ASCII code to binary to obtain the box barcode.

[0036] Furthermore, the glue coating formula matching module is specifically used for:

[0037] The PLC parses the box barcode, converts the box barcode from binary to ASCII code to obtain secondary encrypted data, maps each character of the secondary encrypted data according to a preset mapping rule to obtain primary encrypted data, and decrypts the primary encrypted data according to the IDEA algorithm to obtain the box model, production date, production line and factory name;

[0038] The PLC traverses and matches the corresponding gluing formula from the data block based on the box model, and sends the matched gluing formula to the gluing robot at the corresponding gluing position in real time.

[0039] Furthermore, the visual verification module is specifically used for:

[0040] The gluing robot receives the gluing formula in real time, parses the gluing formula to obtain the glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path and feature points, controls the carried visual inspection camera to detect feature points along the gluing path, and determines whether all the feature points are detected. If so, the visual verification result of successful visual verification is fed back to the PLC; if not, the visual verification result of failed visual verification is fed back to the PLC.

[0041] Furthermore, the automatic gluing module is specifically used for:

[0042] The PLC parses the received visual verification result. If the visual verification result is successful, a gluing instruction is sent to the gluing robot. After receiving the gluing instruction, the gluing robot automatically performs the gluing operation on the PACK box according to the glue model, glue ratio, glue gun temperature, glue output speed, glue amount and first-level gluing path carried by the gluing formula.

[0043] The advantages of the present invention are:

[0044] 1. Use PLC to set at least glue model, glue ratio, glue gun temperature, glue output speed, glue amount, glue path and characteristic points for PACK boxes of different box models and store them in the database. Then PLC uses AGV to transport the PACK box to be glued to the gluing position, obtains the box barcode displayed on the AGV, parses the box barcode to obtain the box model, matches the corresponding glue formula from the data block based on the box model and sends it to the gluing robot; the gluing robot performs visual verification on the PACK box based on the glue formula and feeds back the visual verification result to PLC; PLC calculates the gluing formula based on the visual verification result A gluing instruction is issued to the gluing robot. After receiving the gluing instruction, the gluing robot automatically performs the gluing operation on the PACK box based on the gluing formula, performs a gluing self-inspection after the gluing is completed, generates a self-inspection report and sends it to the PLC, and records the gluing log in real time; that is, the PLC automatically matches the gluing formula based on the box barcode corresponding to the PACK box to perform the gluing operation, replacing the traditional manual judgment and manual switching method. The gluing formula contains rich gluing parameters, visual verification is performed before gluing, and a gluing self-inspection is performed after gluing. The whole process is automatically executed by the PLC control, which ultimately greatly improves the gluing quality and efficiency of the PACK box.

[0045] 2. The position of the AGV is identified by the in-place sensor, the AGV is clamped by the positioning mechanism, the PACK box on the AGV is lifted by the lifting cylinder, and the horizontality of the PACK box is checked by the angle sensor, so that the PACK box can be horizontally located at the preset height of the preset position, avoiding the effect of gluing due to position or angle deviation, thereby greatly ensuring the gluing quality of the PACK box.

[0046] 3. The box model, production date, production line and factory name are encrypted through the IDEA algorithm to obtain the first-level encrypted data. The characters of the first-level encrypted data are mapped through the preset mapping rules to obtain the second-level encrypted data. The encoding of the second-level encrypted data is converted from ASCII code to binary to obtain the box barcode, that is, the box model, production date, production line and factory name are encrypted and converted to prevent the relevant data from being stolen or tampered with in plain text, and to avoid matching the glue formula based on the wrong box model, thereby effectively ensuring the quality of PACK box glue coating. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.

[0048] Figure 1 The present invention is a flow chart of a PACK box gluing method for automatically switching the gluing formula.

[0049] Figure 2 The present invention is a structural schematic diagram of a PACK box gluing system for automatically switching gluing formulas. DETAILED DESCRIPTION

[0050] The technical solution in the embodiments of the present application has the following overall idea: the PLC automatically matches the gluing formula based on the box barcode corresponding to the PACK box to perform the gluing operation, thereby replacing the traditional manual judgment and manual switching method. The gluing formula contains rich gluing parameters, visual verification is performed before gluing, and gluing self-inspection is performed after gluing. The entire process is automatically executed by the PLC control to improve the gluing quality and efficiency of the PACK box.

[0051] Please refer to Figure 1 to Figure 2 As shown, a preferred embodiment of a PACK box gluing method for automatically switching the gluing formula of the present invention comprises the following steps:

[0052] Step S1, PLC sets a gluing formula for PACK boxes of different box models respectively, and stores each of the gluing formulas in a pre-created database; the gluing formula at least includes glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path and characteristic points corresponding to the gluing path;

[0053] Step S2, the PLC transports the PACK box to be glued to the glue coating position through the AGV trolley, and obtains the box barcode displayed on the AGV trolley;

[0054] Step S3, the PLC parses the box barcode to obtain the box model, matches the corresponding gluing formula from the data block based on the box model, and sends the matched gluing formula to the gluing robot at the corresponding gluing position;

[0055] Step S4: The gluing robot performs visual inspection on the PACK box based on the received gluing formula, and feeds back the visual inspection result to the PLC;

[0056] Step S5: The PLC sends a gluing instruction to the gluing robot based on the visual verification result. After receiving the gluing instruction, the gluing robot automatically performs a gluing operation on the PACK box based on the gluing formula.

[0057] Step S6: After gluing is completed, the gluing robot performs a gluing self-inspection, generates a self-inspection report and sends it to the PLC, and records the gluing log in real time.

[0058] The step S2 is specifically as follows:

[0059] The PLC uses the AGV to transport the PACK box to be glued to the gluing position until the in-place sensor recognizes that the AGV is in place, controls the positioning mechanism to clamp the AGV, controls the lifting cylinder to lift the PACK box on the AGV, and verifies the horizontality of the PACK box through the angle sensor, and then obtains the box barcode displayed on the display screen of the AGV through the barcode scanner. In specific implementation, the PLC can directly obtain the box barcode by handshaking communication with the AGV;

[0060] The AGV's position is identified by the in-place sensor, the AGV is clamped by the positioning mechanism, the PACK box on the AGV is lifted by the lifting cylinder, and the horizontality of the PAC box is checked by the angle sensor, so that the PACK box can be horizontally located at the preset height at the preset position, avoiding the effect of gluing due to position or angle deviation, thereby greatly ensuring the gluing quality of the PACK box.

[0061] The process of generating the box barcode is as follows:

[0062] The box model, box number, production date, production line and factory name are encrypted by the IDEA algorithm to obtain the first-level encrypted data, and the characters of the first-level encrypted data are mapped by the preset mapping rules to obtain the second-level encrypted data. The encoding of the second-level encrypted data is converted from ASCII code to binary to obtain the box barcode.

[0063] The box model, production date, production line and factory name are encrypted through the IDEA algorithm to obtain the first-level encrypted data. The characters of the first-level encrypted data are mapped through the preset mapping rules to obtain the second-level encrypted data. The encoding of the second-level encrypted data is converted from ASCII code to binary to obtain the box barcode, that is, the box model, production date, production line and factory name are encrypted and converted to prevent the relevant data from being stolen or tampered with in plain text, and to avoid matching the glue formula based on the wrong box model, thereby effectively ensuring the quality of PACK box glue coating.

[0064] The step S3 is specifically as follows:

[0065] The PLC parses the box barcode, converts the box barcode from binary to ASCII code to obtain secondary encrypted data, maps each character of the secondary encrypted data according to a preset mapping rule to obtain primary encrypted data, and decrypts the primary encrypted data according to the IDEA algorithm to obtain the box model, box number, production date, production line and factory name;

[0066] The PLC traverses and matches the corresponding gluing formula from the data block based on the box model, and sends the matched gluing formula to the gluing robot at the corresponding gluing position in real time.

[0067] The step S4 is specifically as follows:

[0068] The gluing robot receives the gluing formula in real time, analyzes the gluing formula to obtain the glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path and feature points, controls the carried visual inspection camera to detect feature points along the gluing path, and determines whether all the feature points are detected. If so, the carried visual inspection result of successful visual inspection is fed back to the PLC; if not, the carried visual inspection result of failed visual inspection is fed back to the PLC. The visual inspection camera is loaded with a pre-trained neural network model, which can automatically perform visual recognition based on the taken photos.

[0069] The step S5 is specifically as follows:

[0070] The PLC parses the received visual verification result. If the visual verification result is successful, a gluing instruction is sent to the gluing robot. After receiving the gluing instruction, the gluing robot automatically performs the gluing operation on the PACK box according to the glue model, glue ratio, glue gun temperature, glue output speed, glue amount and first-level gluing path carried by the gluing formula.

[0071] The step S6 is specifically as follows:

[0072] After gluing is completed, the gluing robot turns off the glue gun, performs a self-inspection of gluing including at least the gluing position, gluing thickness and gluing uniformity through a visual inspection camera, generates a self-inspection report and sends it to the PLC through the TLS protocol, records in real time a gluing log including at least the box model, box number, gluing formula, gluing time, visual verification results and gluing self-inspection results, encrypts the gluing log into an encrypted log, and stores the encrypted log. By recording and storing a gluing log including at least the box model, box number, gluing formula, gluing time, visual verification results and gluing self-inspection results, it is convenient for later traceability.

[0073] The specific steps of encrypting the glued log into an encrypted log are as follows:

[0074] The glued log is encrypted into a first string by using the EdDSA algorithm, the first string is segmented based on a preset segmentation ratio and the order is swapped to obtain a second string, and the second string is encrypted by using the 3DES algorithm to obtain an encrypted log. By setting the EdDSA algorithm, segmenting and swapping the order, and the 3DES algorithm, the glued log is prevented from being stolen and tampered with in plain text, which greatly improves the security of the glued log storage.

[0075] A preferred embodiment of a PACK box gluing system for automatically switching the gluing formula of the present invention includes the following modules:

[0076] The gluing formula setting module is used for the PLC to set a gluing formula for each PACK box of different box models, and store each of the gluing formulas in a pre-created database; the gluing formula at least includes the glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path, and characteristic points corresponding to the gluing path;

[0077] The box barcode acquisition module is used by the PLC to transport the PACK box to be glued to the gluing position through the AGV trolley and obtain the box barcode displayed on the AGV trolley;

[0078] A gluing formula matching module is used for PLC to parse the box barcode to obtain the box model, match the corresponding gluing formula from the data block based on the box model, and send the matched gluing formula to the gluing robot at the corresponding gluing position;

[0079] A visual verification module, which is used for the gluing robot to perform visual verification on the PACK box based on the received gluing formula and to feed back the visual verification result to the PLC;

[0080] An automatic gluing module, which is used for the PLC to issue a gluing instruction to the gluing robot based on the visual verification result, and the gluing robot automatically performs a gluing operation on the PACK box based on the gluing formula after receiving the gluing instruction;

[0081] The gluing self-check module is used for the gluing robot to perform gluing self-check after gluing is completed, generate a self-check report and send it to the PLC, and record the gluing log in real time.

[0082] The box barcode acquisition module is specifically used for:

[0083] The PLC uses the AGV to transport the PACK box to be glued to the gluing position until the in-place sensor recognizes that the AGV is in place, controls the positioning mechanism to clamp the AGV, controls the lifting cylinder to lift the PACK box on the AGV, and verifies the horizontality of the PACK box through the angle sensor, and then obtains the box barcode displayed on the display screen of the AGV through the barcode scanner. In specific implementation, the PLC can directly obtain the box barcode by handshaking communication with the AGV;

[0084] The AGV's position is identified by the in-place sensor, the AGV is clamped by the positioning mechanism, the PACK box on the AGV is lifted by the lifting cylinder, and the horizontality of the PAC box is checked by the angle sensor, so that the PACK box can be horizontally located at the preset height at the preset position, avoiding the effect of gluing due to position or angle deviation, thereby greatly ensuring the gluing quality of the PACK box.

[0085] The process of generating the box barcode is as follows:

[0086] The box model, box number, production date, production line and factory name are encrypted by the IDEA algorithm to obtain the first-level encrypted data, and the characters of the first-level encrypted data are mapped by the preset mapping rules to obtain the second-level encrypted data. The encoding of the second-level encrypted data is converted from ASCII code to binary to obtain the box barcode.

[0087] The box model, production date, production line and factory name are encrypted through the IDEA algorithm to obtain the first-level encrypted data. The characters of the first-level encrypted data are mapped through the preset mapping rules to obtain the second-level encrypted data. The encoding of the second-level encrypted data is converted from ASCII code to binary to obtain the box barcode, that is, the box model, production date, production line and factory name are encrypted and converted to prevent the relevant data from being stolen or tampered with in plain text, and to avoid matching the glue formula based on the wrong box model, thereby effectively ensuring the quality of PACK box glue coating.

[0088] The gluing formula matching module is specifically used for:

[0089] The PLC parses the box barcode, converts the box barcode from binary to ASCII code to obtain secondary encrypted data, maps each character of the secondary encrypted data according to a preset mapping rule to obtain primary encrypted data, and decrypts the primary encrypted data according to the IDEA algorithm to obtain the box model, box number, production date, production line and factory name;

[0090] The PLC traverses and matches the corresponding gluing formula from the data block based on the box model, and sends the matched gluing formula to the gluing robot at the corresponding gluing position in real time.

[0091] The visual verification module is specifically used for:

[0092] The gluing robot receives the gluing formula in real time, analyzes the gluing formula to obtain the glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path and feature points, controls the carried visual inspection camera to detect feature points along the gluing path, and determines whether all the feature points are detected. If so, the carried visual inspection result of successful visual inspection is fed back to the PLC; if not, the carried visual inspection result of failed visual inspection is fed back to the PLC. The visual inspection camera is loaded with a pre-trained neural network model, which can automatically perform visual recognition based on the taken photos.

[0093] The automatic gluing module is specifically used for:

[0094] The PLC parses the received visual verification result. If the visual verification result is successful, a gluing instruction is sent to the gluing robot. After receiving the gluing instruction, the gluing robot automatically performs the gluing operation on the PACK box according to the glue model, glue ratio, glue gun temperature, glue output speed, glue amount and first-level gluing path carried by the gluing formula.

[0095] The gluing self-checking module is specifically used for:

[0096] After gluing is completed, the gluing robot turns off the glue gun, performs a self-inspection of gluing including at least the gluing position, gluing thickness and gluing uniformity through a visual inspection camera, generates a self-inspection report and sends it to the PLC through the TLS protocol, records in real time a gluing log including at least the box model, box number, gluing formula, gluing time, visual verification results and gluing self-inspection results, encrypts the gluing log into an encrypted log, and stores the encrypted log. By recording and storing a gluing log including at least the box model, box number, gluing formula, gluing time, visual verification results and gluing self-inspection results, it is convenient for later traceability.

[0097] The specific steps of encrypting the glued log into an encrypted log are as follows:

[0098] The glued log is encrypted into a first string by using the EdDSA algorithm, the first string is segmented based on a preset segmentation ratio and the order is swapped to obtain a second string, and the second string is encrypted by using the 3DES algorithm to obtain an encrypted log. By setting the EdDSA algorithm, segmenting and swapping the order, and the 3DES algorithm, the glued log is prevented from being stolen and tampered with in plain text, which greatly improves the security of the glued log storage.

[0099] In summary, the advantages of the present invention are:

[0100] 1. Use PLC to set at least glue model, glue ratio, glue gun temperature, glue output speed, glue amount, glue path and characteristic points for PACK boxes of different box models and store them in the database. Then PLC uses AGV to transport the PACK box to be glued to the gluing position, obtains the box barcode displayed on the AGV, parses the box barcode to obtain the box model, matches the corresponding glue formula from the data block based on the box model and sends it to the gluing robot; the gluing robot performs visual verification on the PACK box based on the glue formula and feeds back the visual verification result to PLC; PLC calculates the gluing formula based on the visual verification result A gluing instruction is issued to the gluing robot. After receiving the gluing instruction, the gluing robot automatically performs the gluing operation on the PACK box based on the gluing formula, performs a gluing self-inspection after the gluing is completed, generates a self-inspection report and sends it to the PLC, and records the gluing log in real time; that is, the PLC automatically matches the gluing formula based on the box barcode corresponding to the PACK box to perform the gluing operation, replacing the traditional manual judgment and manual switching method. The gluing formula contains rich gluing parameters, visual verification is performed before gluing, and a gluing self-inspection is performed after gluing. The whole process is automatically executed by the PLC control, which ultimately greatly improves the gluing quality and efficiency of the PACK box.

[0101] 2. The position of the AGV is identified by the in-place sensor, the AGV is clamped by the positioning mechanism, the PACK box on the AGV is lifted by the lifting cylinder, and the horizontality of the PACK box is checked by the angle sensor, so that the PACK box can be horizontally located at the preset height of the preset position, avoiding the effect of gluing due to position or angle deviation, thereby greatly ensuring the gluing quality of the PACK box.

[0102] 3. The box model, production date, production line and factory name are encrypted through the IDEA algorithm to obtain the first-level encrypted data. The characters of the first-level encrypted data are mapped through the preset mapping rules to obtain the second-level encrypted data. The encoding of the second-level encrypted data is converted from ASCII code to binary to obtain the box barcode, that is, the box model, production date, production line and factory name are encrypted and converted to prevent the relevant data from being stolen or tampered with in plain text, and to avoid matching the glue formula based on the wrong box model, thereby effectively ensuring the quality of PACK box glue coating.

[0103] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.

Claims

1. A PACK box gluing method with automatic switching of gluing formula, characterized by: The steps include: Step S1, PLC sets a gluing formula for PACK boxes of different box models respectively, and stores each of the gluing formulas in a pre-created database; the gluing formula at least includes glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path and characteristic points corresponding to the gluing path; Step S2, PLC transports the PACK box to be glued to the glue coating position through the AGV car, and obtains the box barcode displayed on the AGV car; Step S3, the PLC parses the box barcode to obtain the box model, matches the corresponding gluing formula from the data block based on the box model, and sends the matched gluing formula to the gluing robot at the corresponding gluing position; Step S4: The gluing robot performs visual inspection on the PACK box based on the received gluing formula, and feeds back the visual inspection result to the PLC; Step S5: The PLC sends a gluing instruction to the gluing robot based on the visual verification result. After receiving the gluing instruction, the gluing robot automatically performs a gluing operation on the PACK box based on the gluing formula. Step S6: After gluing is completed, the gluing robot performs a gluing self-inspection, generates a self-inspection report and sends it to the PLC, and records the gluing log in real time.

2. A PACK box gluing method with automatic switching of gluing formulas as claimed in claim 1, characterized in that: The step S2 is specifically as follows: The PLC uses the AGV to transport the PACK box to be coated with glue to the coating position until the in-place sensor recognizes that the AGV is in place, controls the positioning mechanism to clamp the AGV, controls the lifting cylinder to lift the PACK box on the AGV, and verifies the horizontality of the PACK box through the angle sensor, and then obtains the box barcode displayed on the display screen of the AGV through the barcode scanner; The process of generating the box barcode is as follows: The box model, production date, production line and factory name are encrypted by the IDEA algorithm to obtain the first-level encrypted data, and the characters of the first-level encrypted data are mapped by the preset mapping rules to obtain the second-level encrypted data. The encoding of the second-level encrypted data is converted from ASCII code to binary to obtain the box barcode.

3. A PACK box gluing method with automatic switching of gluing formulas as claimed in claim 1, characterized in that: The step S3 is specifically as follows: The PLC parses the box barcode, converts the box barcode from binary to ASCII code to obtain secondary encrypted data, maps each character of the secondary encrypted data according to a preset mapping rule to obtain primary encrypted data, and decrypts the primary encrypted data according to the IDEA algorithm to obtain the box model, production date, production line and factory name; The PLC traverses and matches the corresponding gluing formula from the data block based on the box model, and sends the matched gluing formula to the gluing robot at the corresponding gluing position in real time.

4. A method for gluing a PACK box with automatic switching of gluing formulas as claimed in claim 1, characterized in that: The step S4 is specifically as follows: The gluing robot receives the gluing formula in real time, analyzes the gluing formula to obtain the glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path and feature points, controls the carried visual inspection camera to detect feature points along the gluing path, and determines whether all the feature points are detected. If so, the carried visual inspection result of successful visual inspection is fed back to the PLC; If not, the visual verification result indicating the visual verification failure is fed back to the PLC.

5. A method for gluing a PACK box with automatic switching of gluing formulas as claimed in claim 1, characterized in that: The step S5 is specifically as follows: The PLC parses the received visual verification result. If the visual verification result is successful, a gluing instruction is sent to the gluing robot. After receiving the gluing instruction, the gluing robot automatically performs the gluing operation on the PACK box according to the glue model, glue ratio, glue gun temperature, glue output speed, glue amount and first-level gluing path carried by the gluing formula.

6. A PACK box gluing system with automatic switching of gluing formula, characterized by: Includes the following modules: The gluing formula setting module is used for the PLC to set a gluing formula for each PACK box of different box models, and store each of the gluing formulas in a pre-created database; the gluing formula at least includes the glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path, and characteristic points corresponding to the gluing path; The box barcode acquisition module is used by the PLC to transport the PACK box to be glued to the gluing position through the AGV trolley and obtain the box barcode displayed on the AGV trolley; A gluing formula matching module is used for PLC to parse the box barcode to obtain the box model, match the corresponding gluing formula from the data block based on the box model, and send the matched gluing formula to the gluing robot at the corresponding gluing position; A visual verification module, which is used for the gluing robot to perform visual verification on the PACK box based on the received gluing formula and to feed back the visual verification result to the PLC; An automatic gluing module, which is used for the PLC to issue a gluing instruction to the gluing robot based on the visual verification result, and the gluing robot automatically performs a gluing operation on the PACK box based on the gluing formula after receiving the gluing instruction; The gluing self-check module is used for the gluing robot to perform gluing self-check after gluing is completed, generate a self-check report and send it to the PLC, and record the gluing log in real time.

7. A PACK box gluing system for automatically switching the gluing formula as claimed in claim 6, characterized in that: The box barcode acquisition module is specifically used for: The PLC uses the AGV to transport the PACK box to be coated with glue to the coating position until the in-place sensor recognizes that the AGV is in place, controls the positioning mechanism to clamp the AGV, controls the lifting cylinder to lift the PACK box on the AGV, and verifies the horizontality of the PACK box through the angle sensor, and then obtains the box barcode displayed on the display screen of the AGV through the barcode scanner; The process of generating the box barcode is as follows: The box model, production date, production line and factory name are encrypted by the IDEA algorithm to obtain the first-level encrypted data, and the characters of the first-level encrypted data are mapped by the preset mapping rules to obtain the second-level encrypted data. The encoding of the second-level encrypted data is converted from ASCII code to binary to obtain the box barcode.

8. A PACK box gluing system with automatic switching of gluing formulas as claimed in claim 6, characterized in that: The gluing formula matching module is specifically used for: The PLC parses the box barcode, converts the box barcode from binary to ASCII code to obtain secondary encrypted data, maps each character of the secondary encrypted data according to a preset mapping rule to obtain primary encrypted data, and decrypts the primary encrypted data according to the IDEA algorithm to obtain the box model, production date, production line and factory name; The PLC traverses and matches the corresponding gluing formula from the data block based on the box model, and sends the matched gluing formula to the gluing robot at the corresponding gluing position in real time.

9. A PACK box gluing system with automatic switching of gluing formulas as claimed in claim 6, characterized in that: The visual verification module is specifically used for: The gluing robot receives the gluing formula in real time, analyzes the gluing formula to obtain the glue model, glue ratio, glue gun temperature, glue output speed, glue amount, gluing path and feature points, controls the carried visual inspection camera to detect feature points along the gluing path, and determines whether all the feature points are detected. If so, the carried visual inspection result of successful visual inspection is fed back to the PLC; If not, the visual verification result indicating the visual verification failure is fed back to the PLC.

10. A PACK box gluing system with automatic switching of gluing formulas as claimed in claim 6, characterized in that: The automatic gluing module is specifically used for: The PLC parses the received visual verification result. If the visual verification result is successful, a gluing instruction is sent to the gluing robot. After receiving the gluing instruction, the gluing robot automatically performs the gluing operation on the PACK box according to the glue model, glue ratio, glue gun temperature, glue output speed, glue amount and first-level gluing path carried by the gluing formula.