Automatic equipment control method and device, electronic equipment and readable storage medium

By obtaining the workpiece serial number to query its status and attaching status, the automation equipment is controlled to perform targeted actions, solving the problem that existing equipment cannot distinguish foam, improving efficiency and reducing costs.

CN120406323APending Publication Date: 2025-08-01HONGFUJIN PRECISION ELECTRONICS (ZHENGZHOU) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410139246.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

Existing automation equipment cannot distinguish whether parts are attached with sealed foam, resulting in an increase in foam cleaning process for reused parts, which is inefficient and causes waste and damage.

Method used

By obtaining the serial number of the workpiece, checking its reuse status and foam attaching status, and controlling the automation equipment to perform targeted mechanical actions to avoid unnecessary foam cleaning processes.

Benefits of technology

Improve work efficiency, avoid foam waste and workpiece damage, and reduce production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120406323A_ABST
    Figure CN120406323A_ABST
Patent Text Reader

Abstract

The invention provides an automation equipment control method and device, electronic equipment and a computer readable storage medium. The automatic equipment control method comprises the steps of obtaining a serial number of a workpiece; inquiring whether the workpiece is in a reutilization state or not according to the serial number; when the workpiece is in the reuse state, whether foam is attached to the workpiece or not is inquired according to the serial number, and a corresponding return value is obtained; and identifying the return value, and correspondingly controlling the automatic equipment to execute a mechanical action based on the return value. According to the foam cleaning method and device, the automatic equipment can be controlled to execute different mechanical actions on the workpiece to which the foam is attached and the workpiece to which the foam is not attached, a foam cleaning process does not need to be added, the working efficiency is improved, and waste of the foam is avoided. In addition, the problem that the workpieces are damaged and scrapped in the foam cleaning process is avoided, and the production cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automated processing, and particularly to a method and device for controlling an automated device, an electronic device, and a readable storage medium. Background Art

[0002] In the electronics industry, users are increasingly pursuing thin, light, delicate, personalized, and fresh experiences for electronic products. As a result, the pace of product replacement in the electronics industry has accelerated, posing higher requirements for the assembly and repair of various components. Due to its excellent shock absorption, dust prevention, buffering, and other characteristics, sealing foam is widely used in the assembly of electronic products.

[0003] Currently, during the assembly process of components, sealing foam is generally attached to key parts of the components through automated equipment. Since some components are reusable parts, these components are generally generated during the repair and disassembly of products, and these components already have sealing foam attached after repair. For such components, there is no need to attach sealing foam again. Existing automated equipment cannot distinguish whether a component has foam attached and can only perform a unified attachment action on all components. Since components that already have sealing foam attached cannot have foam attached again, the automated equipment will reject these components.

[0004] Therefore, in the prior art, if one wants the automated equipment to attach sealing foam to such components again, it is necessary to clean the sealing foam already attached to these components, which increases unnecessary work processes, reduces the attachment work efficiency, and causes waste of sealing foam. In addition, due to reasons such as the adhesion of the foam, the sealing foam is not easy to clean after attachment. During the cleaning process, it is very easy to damage the components, and the adhesive layer of the sealing foam generally remains on the components, making it difficult for the components to be reused again, increasing production costs. Summary of the Invention

[0005] In view of the above, it is necessary to provide a method and device for controlling an automated device, an electronic device, and a computer-readable storage medium to solve the technical problems in the prior art of low work efficiency in attaching foam and waste of sealing foam.

[0006] In a first aspect, an embodiment of the present application provides a method for controlling an automated device, including:

[0007] Obtain the serial number of the workpiece;

[0008] Query whether the workpiece is in a reused state according to the serial number;

[0009] When the workpiece is in a reused state, query whether the workpiece has foam attached according to the serial number to obtain a corresponding return value;

[0010] Identify the return value and correspondingly control the automated device to perform mechanical actions based on the return value.

[0011] In an embodiment of the present application, the correspondingly controlling the automated device to perform mechanical actions based on the return value includes:

[0012] When the workpiece is attached with foam, detect whether the attachment position of the foam on the workpiece meets the standard;

[0013] When the attachment position of the foam on the workpiece meets the standard, control the automated device to assemble the workpiece to the corresponding product.

[0014] In an embodiment of the present application, the correspondingly controlling the automated device to perform mechanical actions based on the return value further includes:

[0015] When the workpiece is not attached with foam, control the automated device to attach foam to the workpiece;

[0016] Detect whether the attachment position of the foam on the workpiece meets the standard;

[0017] When the attachment position of the foam on the workpiece meets the standard, control the automated device to assemble the workpiece to the corresponding product.

[0018] In an embodiment of the present application, the automated device control method further includes:

[0019] When the workpiece is not in a reusable state, control the automated device to attach foam to the workpiece;

[0020] Detect whether the attachment position of the foam on the workpiece meets the standard;

[0021] When the attachment position of the foam on the workpiece meets the standard, control the automated device to assemble the workpiece to the corresponding product.

[0022] In an embodiment of the present application, foam is attached to the assembly areas around the periphery of the assembly surface of the workpiece. The method for detecting whether the attachment position of the foam on the workpiece meets the standard includes:

[0023] Respectively obtain the included angle between the first connection line between the center holes of two adjacent assembly areas among the assembly areas around the periphery of the assembly surface and the second connection line between the center holes of the two foams respectively attached to the two assembly areas, and obtain a plurality of included angles;

[0024] Respectively obtain the distance between the center hole of each assembly area among the assembly areas around the periphery of the assembly surface and the center hole of the foam attached to each assembly area, and obtain a plurality of distances;

[0025] When each of the multiple included angles meets the corresponding angle deviation standard and each of the multiple distances meets the corresponding distance deviation standard, it is determined that the attachment position of the foam in the assembly area attached to the periphery of the assembly surface of the workpiece meets the standard.

[0026] In an embodiment of the present application, the workpiece has a protective shell, and before the automation equipment control method controls the automation equipment to assemble the workpiece to the corresponding product, it further includes:

[0027] Controlling the automation equipment to remove the protective shell of the workpiece.

[0028] In an embodiment of the present application, after removing the protective shell of the workpiece, the automation equipment control method further includes:

[0029] Detecting whether the automation equipment removes the protective shell from the workpiece;

[0030] When the automation equipment does not remove the protective shell from the workpiece, controlling the automation equipment to transfer the workpiece to the temporary storage area.

[0031] In a second aspect, an embodiment of the present application further provides an automation equipment control device, including:

[0032] An acquisition module, configured to acquire the serial number of the workpiece;

[0033] A first query module, configured to query whether the workpiece is in a reused state according to the serial number;

[0034] A second query module, configured to query whether the workpiece is attached with foam according to the serial number when the workpiece is in a reused state, and obtain a corresponding return value;

[0035] A control module, configured to identify the return value and correspondingly control the automation equipment to perform mechanical actions based on the return value.

[0036] In a third aspect, an embodiment of the present application further provides an electronic device, which includes: a memory storing at least one instruction; a processor executing the at least one instruction to implement the automation equipment control method as described in the above embodiment.

[0037] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is executed by a processor of an electronic device to implement the automation equipment control method as described in the above embodiment.

[0038] In the automated equipment control method provided by the embodiments of the present application, it is queried whether the workpiece is in a reused state according to the serial number of the workpiece; further, when the workpiece is in a reused state, it is queried whether the workpiece is attached with a foam according to the serial number of the workpiece to obtain a corresponding return value; finally, different mechanical actions of the automated equipment are controlled according to different return values. Based on this, it is possible to control the automated equipment to perform different mechanical actions for workpieces attached with foam and workpieces not attached with foam, without adding a foam cleaning process, improving work efficiency and avoiding waste of foam. In addition, it also avoids the problem of damage to the workpiece during the foam cleaning process, resulting in scrapping of the workpiece, and reduces production costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.

[0040] Figure 1 It is a flowchart of the steps of the automated equipment control method provided by an embodiment of the present application.

[0041] Figure 2 is Figure 1 a schematic structural diagram of the application scenario of the automated equipment control method shown.

[0042] Figure 3 It is a schematic structural diagram of attaching foam to the assembly area of the workpiece provided by an embodiment of the present application.

[0043] Figure 4 It is a schematic structural diagram of the automated equipment control device provided by an embodiment of the present application.

[0044] MAIN ELEMENT SYMBOL DESCRIPTION

[0045] Automated equipment control device 100

[0046] Acquisition module 110

[0047] First query module 120

[0048] Second query module 130

[0049] Control module 140

[0050] Electronic device 10

[0051] Memory 11

[0052] Processor 12

[0053] Computer program 13

[0054] Automation equipment 20

[0055] Imaging device 30

[0056] Production management system 40

[0057] Angle measuring device 50 Detailed implementation manners

[0058] The implementation manners of the present application will be described in detail below. Examples of the implementation manners are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements with the same or similar functions throughout. The implementation manners described below with reference to the accompanying drawings are exemplary only for explaining the present application and should not be construed as limiting the present application.

[0059] In the embodiments of the present application, it should be noted that, unless otherwise clearly specified and defined, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, using words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner. Without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0060] In order to more clearly understand the above objects, features and advantages of the present application, the present application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that without conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0061] Based on the background art, existing automation equipment cannot distinguish whether components are attached with foam, and can only perform a unified attachment action on all components. Since components that have already been attached with a sealing foam cannot be attached with the sealing foam again, the automation equipment will perform a reject handling on such components. Therefore, if you want the automation equipment to attach the sealing foam to such components again, it is necessary to clean the sealing foam that has already been attached to such components, which increases unnecessary work processes, resulting in a reduction in the attachment work efficiency and causing waste of the sealing foam. In addition, due to reasons such as the adhesion of the foam, the sealing foam is not easy to clean after being attached. During the cleaning process, it is very easy to damage the components, and the adhesive layer of the sealing foam generally remains on the components, making it difficult for the components to be reused again, increasing the production cost.

[0062] In view of this, the present application provides a method, device, electronic device and computer-readable storage medium for controlling an automated device, which can control the automated device to perform different mechanical actions on workpieces with and without attached foam, without adding a foam cleaning process, improving work efficiency and avoiding waste of foam. In addition, it also avoids the problem of workpiece damage and scrapping during the foam cleaning process, reducing production costs.

[0063] Embodiment 1

[0064] Please refer to Figure 1 As shown, it is a flowchart of the steps of the method for controlling an automated device provided by Embodiment 1 of the present application.

[0065] In this embodiment, the method for controlling an automated device can be applied to Figure 2 the electronic device 10 as shown. For the electronic device 10 that needs to control the automated device, the function of controlling the automated device provided by the method of the present application can be directly integrated on the electronic device 10, or run in the electronic device 10 in the form of a Software Development Kit (SDK).

[0066] As Figure 1 shown, the method for controlling an automated device specifically includes the following steps. According to different requirements, the order of the steps in this flowchart can be changed, and some can be omitted.

[0067] S10, obtain the serial number of the workpiece.

[0068] In this embodiment, the serial number usually refers to the unique identifier of the workpiece, which consists of a group of numbers, letters or symbols and is used to distinguish different workpieces. This serial number is usually used in the manufacturing, use and maintenance processes of the workpiece, and detailed information about the workpiece, such as repair records, can be obtained by querying the serial number.

[0069] In this embodiment, the electronic device 10 obtains the serial number of the workpiece. Among them, the serial number of the workpiece can be obtained by the imaging device 30 photographing the serial number area on the workpiece into an image and uploading it to the electronic device 10, and the electronic device 10 uses an image recognition algorithm to recognize the serial number in the image to obtain the serial number of the workpiece.

[0070] In other embodiments, the serial number of the workpiece can also be collected by a scanning device scanning the serial number area on the workpiece, and there is no limitation on this.

[0071] In this embodiment, the electronic device 10 is communicatively connected to the imaging device 30.

[0072] S20. Query whether the workpiece is in a reused state according to the serial number.

[0073] In this embodiment, when the workpiece is reused after being repaired, it is said that the workpiece is in a reused state.

[0074] In this embodiment, when the electronic device 10 queries the repair record of the workpiece, it indicates that the workpiece is in a reused state; when the electronic device 10 fails to query the repair record of the workpiece, it indicates that the workpiece is not in a reused state.

[0075] In an embodiment of the present application, when the workpiece is in a reused state, the electronic device 10 performs the following step S30.

[0076] In an embodiment of the present application, when the workpiece is not in a reused state, the electronic device 10 performs the following step S60.

[0077] S30. Query whether the workpiece is attached with a foam according to the serial number, and obtain a corresponding return value.

[0078] In this embodiment, the electronic device 10 is communicatively connected to a production management system 40. The electronic device 10 sends the serial number of the workpiece to the production management system 40, and sends a request to query whether the workpiece is attached with a foam. The production management system 40 obtains whether the workpiece is attached with a foam according to the serial number of the workpiece and returns a corresponding return value.

[0079] In this embodiment, when the workpiece is attached with a foam, the corresponding return value obtained may be 1; when the workpiece is not attached with a foam, the corresponding return value obtained may be 2.

[0080] In an embodiment of the present application, the automated equipment control method further includes: identifying the return value and correspondingly controlling the automated equipment 20 to perform mechanical actions based on the return value.

[0081] In an embodiment of the present application, when the return value is 1 (i.e., the workpiece is attached with a foam), the electronic device 10 performs the following step S40.

[0082] In an embodiment of the present application, when the return value is 2 (i.e., the workpiece is not attached with a foam), the electronic device 10 performs the following step S60.

[0083] S40. Detect whether the attachment position of the foam on the workpiece meets the standard.

[0084] In this embodiment, foam is attached to the assembly areas around the assembly surface of the workpiece. The method for detecting whether the attachment position of the foam on the workpiece meets the standard includes: respectively obtaining the angle between the first connection line between the center holes of two adjacent assembly areas in the assembly areas around the assembly surface and the second connection line between the center holes of the two foams respectively attached to the two assembly areas, to obtain a plurality of angles; respectively obtaining the distance between the center hole of each assembly area in the assembly areas around the assembly surface and the center hole of the foam attached to each assembly area, to obtain a plurality of distances; when each angle among the plurality of angles meets the corresponding angle deviation standard and each distance among the plurality of distances meets the corresponding distance deviation standard, it is determined that the attachment position of the foam attached to the assembly areas around the assembly surface of the workpiece meets the standard.

[0085] Combined with Figure 3 As shown, b1 and b2 are the outlines of two adjacent assembly areas in the assembly areas around the assembly surface, B1 and B2 are the outlines of the two foams respectively attached to the two assembly areas, L1 is the first connection line between the center holes of b1 and b2, L2 is the second connection line between the center holes of B1 and B2, and R is the angle between L1 and L2. d is the distance between the center hole of b2 and the center hole of B2.

[0086] In this embodiment, the angle deviation standard is -1 to 1, and the distance deviation standard is less than or equal to 0.2. That is to say, when each R is between -1 and 1 and each d is less than or equal to 0.2, it is determined that the attachment position of the foam attached to the assembly areas around the assembly surface of the workpiece meets the standard.

[0087] In this embodiment, the electronic device 10 is connected to an angle measuring device 50. The electronic device 10 can control the angle measuring device 50 to perform an angle measuring operation, so as to obtain the angle between the first connection line between the center holes of two adjacent assembly areas in the assembly areas around the assembly surface and the second connection line between the center holes of the two foams respectively attached to the two assembly areas.

[0088] In the above embodiment, through the method for detecting whether the attachment position of the foam on the workpiece meets the standard, the deviation of the attachment position of the foam on the assembly surface of the workpiece can be timely detected and corrected, thereby improving the reliability of the workpiece assembly. In addition, it can also avoid the rework and waste of the subsequent workpiece, thereby reducing the production cost, shortening the production cycle, and improving the production efficiency.

[0089] In an embodiment of the present application, when the attachment position of the foam on the workpiece meets the standard, the electronic device 10 executes the following step S50.

[0090] S50. Control the automation device 20 to assemble the workpiece into the corresponding product.

[0091] In this embodiment, the electronic device 10 is communicatively connected to the automation device 20. The automation device 20 is used to assemble the workpiece into the corresponding product.

[0092] S60. Control the automation device 20 to attach the foam to the workpiece.

[0093] In an embodiment of the present application, after the electronic device 10 executes step S60, in order to ensure the reliability of the assembly, the electronic device 10 needs to return to step S40 again.

[0094] In this embodiment, when the workpiece is not in a reused state, it indicates that the workpiece is assembled for the first time. Generally, the workpiece assembled for the first time is defaulted to not be attached with foam. At this time, the electronic device 10 can control the automation device 20 to attach the foam to the workpiece.

[0095] In this embodiment, when the return value is 2, it indicates that the workpiece is not attached with foam. At this time, the electronic device 10 can control the automation device 20 to attach the foam to the workpiece.

[0096] In the automation device control method provided by the embodiment of the present application, query whether the workpiece is in a reused state according to the serial number of the workpiece; further, when the workpiece is in a reused state, query whether the workpiece is attached with foam according to the serial number of the workpiece to obtain the corresponding return value; finally, control the automation device 20 to perform mechanical actions according to different return values. Based on this, it is possible to control the automation device 20 to perform different mechanical actions for the workpiece attached with foam and the workpiece not attached with foam, without increasing the foam cleaning process, improving the work efficiency, and avoiding the waste of foam. In addition, it also avoids the problem of damaging the workpiece during the foam cleaning process and causing the workpiece to be scrapped, reducing the production cost.

[0097] In an embodiment of the present application, the workpiece has a protective case. Before the automation device control method controls the automation device 20 to assemble the workpiece into the corresponding product, it further includes: controlling the automation device 20 to remove the protective case of the workpiece.

[0098] In the above embodiment, before assembling the workpiece into the corresponding product, controlling the automation device 20 to remove the protective case of the workpiece realizes assembly automation and improves the assembly efficiency.

[0099] In an embodiment of the present application, after removing the protective case of the workpiece, the automated equipment control method further includes: detecting whether the automated equipment 20 removes the protective case from the workpiece; when the automated equipment 20 does not remove the protective case from the workpiece, controlling the automated equipment 20 to transfer the workpiece to the temporary storage area.

[0100] In this embodiment, the area on the workpiece where the protective case is installed can be photographed into an image by the imaging device 30 and uploaded to the electronic device 10, and the electronic device 10 uses an image recognition algorithm to recognize the serial number in the image to obtain the serial number of the workpiece.

[0101] In the above embodiment, by detecting whether the automated equipment 20 removes the protective case from the workpiece and transferring the workpiece that has not successfully removed the protective case to the temporary storage area, it is possible to prevent the workpiece with the protective case from participating in subsequent assembly, thereby improving the reliability of the workpiece assembly. In addition, it can also avoid subsequent rework and waste of the workpiece and improve the assembly efficiency.

[0102] Embodiment Two

[0103] Please refer to Figure 4 As shown, it is a schematic structural diagram of the automated equipment control device 100 provided in Embodiment Two of the present application.

[0104] In an embodiment of the present application, the automated equipment control device 100 may include multiple functional modules composed of program code segments. The program code of each program segment in the automated equipment control device 100 can be stored in the memory 11 of the electronic device 10 and executed by at least one processor 12 of the electronic device 10 to implement the automated equipment control function.

[0105] In this embodiment, the automated equipment control device 100 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: an acquisition module 110, a first query module 120, a second query module 130, and a management and control module 140. A module referred to in the present application means a series of computer program segments that can be executed by the at least one processor 12 and can complete a fixed function, and is stored in the memory 11. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

[0106] The acquisition module 110 is used to acquire the serial number of the workpiece.

[0107] In this embodiment, the serial number generally refers to the unique identifier of the workpiece, which is composed of a group of numbers, letters or symbols and is used to distinguish different workpieces. This serial number is usually used in the manufacturing, use and maintenance processes of the workpiece, and detailed information about the workpiece, such as repair records, can be obtained by querying the serial number.

[0108] In this embodiment, the electronic device 10 obtains the serial number of the workpiece. Among them, the serial number of the workpiece can be obtained by the imaging device 30 taking an image of the serial number area on the workpiece and uploading it to the electronic device 10, and the electronic device 10 uses an image recognition algorithm to recognize the serial number in the image to obtain the serial number of the workpiece.

[0109] In other embodiments, the serial number of the workpiece can also be collected by a scanning device aiming at the serial number area on the workpiece, and there is no limitation on this.

[0110] In this embodiment, the electronic device 10 is communicatively connected to the imaging device 30.

[0111] The first query module 120 is used to query whether the workpiece is in a reused state according to the serial number.

[0112] In this embodiment, when the workpiece is reused after being repaired, it is said that the workpiece is in a reused state.

[0113] In this embodiment, the serial number is generally related to the manufacturing, use and maintenance processes of the workpiece, and detailed information about the workpiece, such as production date, production batch, production location and repair records, can be obtained by querying the serial number. Based on this, when the electronic device 10 queries the repair record of the workpiece, it indicates that the workpiece is not in a reused state; when the electronic device 10 does not query the repair record of the workpiece, it indicates that the workpiece is not in a reused state.

[0114] The second query module 130 is used to query whether the workpiece is attached with a foam when the workpiece is in a reused state, and obtain a corresponding return value.

[0115] In this embodiment, the electronic device 10 is communicatively connected to a production management system 40. The electronic device 10 sends the serial number of the workpiece to the production management system 40 and sends a request to query whether the workpiece is attached with a foam. The production management system 40 obtains whether the workpiece is attached with a foam according to the serial number of the workpiece and returns a corresponding return value.

[0116] In this embodiment, when the workpiece is attached with a foam, the corresponding return value obtained can be 1; when the workpiece is not attached with a foam, the corresponding return value obtained can be 2.

[0117] The control module 140 is configured to identify the return value and correspondingly control the automation device 20 to perform mechanical actions based on the return value.

[0118] In this embodiment, the electronic device 10 is communicatively connected to the automation device 20. The automation device 20 is configured to assemble the workpiece into a corresponding product.

[0119] In an embodiment of the present application, the correspondingly controlling the automation device 20 to perform mechanical actions based on the return value includes: when the return value is 1 (i.e., the workpiece is attached with a foam), detecting whether the attachment position of the foam on the workpiece meets the standard; when the attachment position of the foam on the workpiece meets the standard, controlling the automation device 20 to assemble the workpiece into a corresponding product.

[0120] In an embodiment of the present application, the correspondingly controlling the automation device 20 to perform mechanical actions based on the return value further includes: when the return value is 2 (i.e., the workpiece is not attached with a foam), controlling the automation device 20 to attach a foam to the workpiece; detecting whether the attachment position of the foam on the workpiece meets the standard; when the attachment position of the foam on the workpiece meets the standard, controlling the automation device 20 to assemble the workpiece into a corresponding product.

[0121] In an embodiment of the present application, the automation device control device 100 is further configured to: when the workpiece is not in a reused state, control the automation device 20 to attach a foam to the workpiece; detect whether the attachment position of the foam on the workpiece meets the standard; when the attachment position of the foam on the workpiece meets the standard, control the automation device 20 to assemble the workpiece into a corresponding product.

[0122] In this embodiment, when the workpiece is not in a reused state, it indicates that the workpiece is assembled for the first time. Generally, a workpiece assembled for the first time is defaulted to be not attached with a foam. At this time, the electronic device 10 can control the automation device 20 to attach a foam to the workpiece.

[0123] In an embodiment of the present application, in this embodiment, foam is attached to the assembly areas around the assembly surface of the workpiece. The method for detecting whether the attachment position of the foam on the workpiece meets the standard includes: respectively obtaining the angle between the first connection line between the central holes of two adjacent assembly areas in the assembly areas around the assembly surface and the second connection line between the central holes of the two foams respectively attached to the two assembly areas, and obtaining a plurality of angles; respectively obtaining the distance between the central hole of each assembly area in the assembly areas around the assembly surface and the central hole of the foam attached to each assembly area, and obtaining a plurality of distances; when each angle in the plurality of angles meets the corresponding angle deviation standard and each distance in the plurality of distances meets the corresponding distance deviation standard, it is determined that the attachment position of the foam attached to the assembly areas around the assembly surface of the workpiece meets the standard.

[0124] Combined with Figure 3 As shown, b1 and b2 are the outlines of two adjacent assembly areas in the assembly areas around the assembly surface, B1 and B2 are the outlines of the two foams respectively attached to the two assembly areas, L1 is the first connection line between the central holes of b1 and b2, L2 is the second connection line between the central holes of B1 and B2, and R is the angle between L1 and L2. d is the distance between the central hole of b2 and the central hole of B2.

[0125] In this embodiment, the angle deviation standard is -1 to 1, and the distance deviation standard is less than or equal to 0.2. That is to say, when each R is between -1 and 1 and each d is less than or equal to 0.2, it is determined that the attachment position of the foam attached to the assembly areas around the assembly surface of the workpiece meets the standard.

[0126] In this embodiment, the electronic device 10 is connected to an angle measuring device 50. The electronic device 10 can control the angle measuring device 50 to perform a measurement operation, so as to obtain the angle between the first connection line between the central holes of two adjacent assembly areas in the assembly areas around the assembly surface and the second connection line between the central holes of the two foams respectively attached to the two assembly areas.

[0127] In the above embodiment, through the method for detecting whether the attachment position of the foam on the workpiece meets the standard, the deviation of the attachment position of the foam on the assembly surface of the workpiece can be discovered and corrected in time, so as to improve the reliability of the workpiece assembly. In addition, it can also avoid the rework and waste of the subsequent workpiece, thereby reducing the production cost, shortening the production cycle, and improving the production efficiency.

[0128] In the automated equipment control device 100 provided by the embodiment of the present application, it queries whether the workpiece is in a reused state according to the serial number of the workpiece; further, when the workpiece is in a reused state, it queries whether the workpiece is attached with a foam according to the serial number of the workpiece to obtain a corresponding return value; finally, it controls the automated equipment 20 to perform mechanical actions according to different return values. Based on this, it can control the automated equipment 20 to perform different mechanical actions for workpieces with and without attached foam, without adding a foam cleaning process, improving work efficiency and avoiding waste of foam. In addition, it also avoids the problem of damage to the workpiece during the foam cleaning process resulting in workpiece scrapping, reducing production costs.

[0129] In an embodiment of the present application, the workpiece has a protective shell, and before the automated equipment control device 100 controls the automated equipment 20 to assemble the workpiece to a corresponding product, it is further configured to: control the automated equipment 20 to remove the protective shell of the workpiece.

[0130] In the above embodiment, before assembling the workpiece to a corresponding product, controlling the automated equipment 20 to remove the protective shell of the workpiece realizes assembly automation and improves assembly efficiency. In an embodiment of the present application, after the automated equipment control device 100 removes the protective shell of the workpiece, it further includes: detecting whether the automated equipment 20 removes the protective shell from the workpiece; when the automated equipment 20 does not remove the protective shell from the workpiece, controlling the automated equipment 20 to transfer the workpiece to a temporary storage area.

[0131] In this embodiment, the imaging device 30 can capture an image of the area where the protective shell is installed on the workpiece and upload it to the electronic device 10, and the electronic device 10 uses an image recognition algorithm to recognize the serial number in the image to obtain the serial number of the workpiece.

[0132] In the above embodiment, by detecting whether the automated equipment 20 removes the protective shell from the workpiece and transferring the workpiece that has not successfully removed the protective shell to the temporary storage area, it can avoid workpieces with protective shells from participating in subsequent assembly, thereby improving the reliability of the workpiece assembly. In addition, it can also avoid subsequent rework and waste of the workpiece and improve assembly efficiency.

[0133] Embodiment Three

[0134] Continuing the description of the above embodiment for Figure 2 In an embodiment of the present application, the electronic device 10 includes but is not limited to a memory 11, a processor 12, and a computer program 13 stored in the memory 11 and executable on the processor 12, such as an automated equipment control program.

[0135] Those skilled in the art can understand that the schematic diagram is only an example of the electronic device 10, and does not constitute a limitation on the electronic device 10. It may include more or fewer components than shown in the figure, or combine some components, or different components. For example, the electronic device 10 may further include input / output devices, network access devices, buses, etc.

[0136] The processor 12 obtains the operating system of the electronic device 10 and various installed application programs. The processor 12 obtains the application program to implement the steps in the above embodiments of various automated device control methods. For example Figure 1 the steps shown. When the processor 12 executes the computer program 13, it realizes the functions of each module / unit in the above embodiment of the automated device control device 100. For example Figure 3 the modules shown.

[0137] Exemplarily, the computer program 13 can be divided into one or more modules / units. The one or more modules / units are stored in the memory 11 and obtained by the processor 12 to complete this application. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, and this instruction segment is used to describe the obtaining process of the computer program 13 in the electronic device 10. For example, the computer program 13 can be divided into an obtaining module 110, a first query module 120, a second query module 130, and a management and control module 140.

[0138] In an embodiment of the present application, the electronic device 10 includes a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. The hardware of the electronic device 10 includes, but is not limited to, a microprocessor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, etc.

[0139] In an embodiment of the present application, the electronic device 10 may further include a user terminal (not shown in the figure). The user terminal includes, but is not limited to, any electronic workpiece that can perform human-computer interaction with the user through a keyboard, a mouse, a remote control, a touchpad, a voice control device, etc. For example, a personal computer (PC), a portable computer, a smart phone and other devices.

[0140] It should be noted that the electronic device 10 is only an example. Other existing or future possible electronic workpieces that can be adapted to this application should also be included within the protection scope of this application and are hereby incorporated by reference.

[0141] In an embodiment of the present application, the network where the electronic device 10 is located includes, but is not limited to: the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.

[0142] In an embodiment of the present application, the memory 11 is used to store program codes and various data, such as the automation device control device 100 installed in the electronic device 10, and realizes the high-speed and automatic access of programs or data during the operation of the electronic device 10. The memory 11 may include read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc memories, magnetic disk memories, tape memories, or any other computer-readable medium capable of carrying or storing data.

[0143] In an embodiment of the present application, the memory 11 may also be an external memory and / or internal memory of the electronic device 10. Further, the memory 11 may be a memory in physical form, such as a memory stick, TF card (Trans-flash Card), etc.

[0144] In an embodiment of the present application, the processor 12 may be a central processing sub-module (Central Processing Unit, CPU), or may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 12 is the operation core and control center of the electronic device 10, connecting various parts of the entire electronic device 10 through various interfaces and lines, and calling the data stored in the memory 11 to execute various functions of the electronic device 10 and process data, such as executing the function of controlling an automated device.

[0145] In an embodiment of the present application, the processor 12 is used to obtain the operating system of the electronic device 10 and various installed application programs. For example, the processor 12 obtains an automated device control program to implement the control of an automated device by using the automated device control method described in the above embodiments. For example, Figure 1 the steps shown.

[0146] In an embodiment of the present application, the electronic device 10 may further include a power supply (not shown in the figure) for supplying power to each component. Preferably, the power supply may be logically connected to the processor 12 through a power management device, so as to implement functions such as management of charging, discharging, and power consumption management through the power management device. The power supply may further include any components such as one or more DC or AC power supplies, a recharge device, a power failure detection circuit, a power converter or inverter, a power status indicator, etc. The electronic device 10 may further include various sensors, a Bluetooth module, a Wi-Fi module, etc., which will not be elaborated here.

[0147] In an embodiment of the present application, if the integrated module / sub-module of the electronic device 10 is implemented in the form of a software functional sub-module and sold or used as an independent workpiece, it may be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above embodiment methods of the present application, it may also be completed by instructing relevant hardware through a computer program 13. The computer program 13 may be stored in a computer-readable storage medium. When the computer program 13 is obtained by the processor 12, the steps of the above various method embodiments may be implemented.

[0148] In one embodiment of the present application, the computer program 13 may include computer program code, which may be in the form of source code, object code, an accessible file, or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disc, a computer memory, a read-only memory (ROM).

[0149] The memory 11 in the electronic device 10 stores a plurality of instructions to implement an automated device control method, and the processor 12 can obtain the plurality of instructions to implement the automated device control method described in the above embodiment.

[0150] Specifically, for the specific implementation method of the above instructions by the processor 12, reference may be made to Figure 1 the description of the relevant steps in the corresponding embodiment, which will not be elaborated here.

[0151] In several embodiments provided by the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0152] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0153] In each embodiment of the present application, the various functional modules can be integrated in a processing sub-module, or each sub-module can exist physically alone, or two or more sub-modules can be integrated in one sub-module. The above integrated sub-module can be implemented in the form of hardware or in the form of a hardware plus software functional module.

[0154] Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of the present application is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be encompassed within the present application. Any associated drawing marks in the claims should not be regarded as limiting the claimed rights.

[0155] In addition, it is obvious that the term "including" does not exclude other sub-modules or steps, and the singular form does not exclude the plural form. The multiple sub-modules or devices described in this application can also be implemented by one sub-module or device through software or hardware. Terms such as first and second are used to represent names and do not indicate any specific order.

[0156] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and not to limit them. Although this application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of this application can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of this application.

Claims

1. An automated equipment control method, characterized in that, Including: Obtain the serial number of the workpiece; Query whether the workpiece is in a reused state according to the serial number; When the workpiece is in a reused state, query whether the workpiece is attached with foam according to the serial number, and obtain a corresponding return value; Identify the return value, and correspondingly control the automation device to perform mechanical actions based on the return value.

2. The automated equipment control method according to claim 1, wherein The correspondingly controlling the automation device to perform mechanical actions based on the return value includes: When the workpiece is attached with foam, detect whether the attachment position of the foam on the workpiece meets the standard; When the attachment position of the foam on the workpiece meets the standard, control the automation device to assemble the workpiece to the corresponding product.

3. The automated equipment control method according to claim 2, wherein, The correspondingly controlling the automation device to perform mechanical actions based on the return value further includes: When the workpiece is not attached with foam, control the automation device to attach foam to the workpiece; Detect whether the attachment position of the foam on the workpiece meets the standard; When the attachment position of the foam on the workpiece meets the standard, control the automation device to assemble the workpiece to the corresponding product.

4. The automated equipment control method according to claim 1, characterized in that The automation device control method further includes: When the workpiece is not in a reused state, control the automation device to attach foam to the workpiece; Detect whether the attachment position of the foam on the workpiece meets the standard; When the attachment position of the foam on the workpiece meets the standard, control the automation device to assemble the workpiece to the corresponding product.

5. The control method of the automation device according to any one of claims 2-4, characterized in that Foam is attached to the assembly areas around the assembly surface of the workpiece. The method for detecting whether the attachment position of the foam on the workpiece meets the standard includes: Respectively obtain the included angle between the first connection line between the central holes of two adjacent assembly areas among the assembly areas around the assembly surface and the second connection line between the central holes of the two foams respectively attached to the two assembly areas, and obtain a plurality of included angles; Respectively obtain the distance between the central hole of each assembly area among the assembly areas around the assembly surface and the central hole of the foam attached to each assembly area, and obtain a plurality of distances; When each included angle among the plurality of included angles meets the corresponding angle deviation standard and each distance among the plurality of distances meets the corresponding distance deviation standard, it is determined that the attachment position of the foam attached to the assembly areas around the assembly surface of the workpiece meets the standard.

6. The automated equipment control method according to any one of claims 2-4, characterized in that, The workpiece has a protective shell. Before the automation device control method controls the automation device to assemble the workpiece to the corresponding product, it further includes: Control the automation device to remove the protective shell of the workpiece.

7. The automated equipment control method according to claim 6, wherein After the automation device control method removes the protective shell of the workpiece, it further includes: Detect whether the automation device removes the protective shell from the workpiece; When the automation device does not remove the protective shell from the workpiece, control the automation device to transfer the workpiece to the temporary storage area.

8. An automated equipment control device, characterized in that, Including: An acquisition module, configured to obtain the serial number of the workpiece; A first query module, configured to query whether the workpiece is in a reused state according to the serial number; A second query module, configured to query whether the workpiece is attached with a foam when the workpiece is in a reused state according to the serial number, and obtain a corresponding return value; A control module, configured to identify the return value and correspondingly control the automation device to perform mechanical actions based on the return value.

9. An electronic device, characterized in that, The electronic device includes: a memory storing at least one instruction; a processor executing the at least one instruction to implement the automation device control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, At least one instruction is stored in the computer-readable storage medium, and the at least one instruction is executed by a processor of an electronic device to implement the automation device control method according to any one of claims 1 to 7.