An automated packaging method and system based on phosphor bronze balls
By combining automated image processing with vibration devices, efficient and accurate quality inspection and packaging of phosphor bronze balls have been achieved, solving the problem of low inspection accuracy in existing technologies and reducing manual intervention.
Patent Information
- Application Number
- CN202411969711.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2044-12-30
AI Technical Summary
The packaging process for phosphor bronze balls in the existing technology lacks quality inspection, resulting in low inspection accuracy and susceptibility to errors due to human fatigue or distraction.
An automated packaging method based on a camera and vibration device is adopted. By acquiring the first and second images to be detected, a contour extraction algorithm is used to generate the quality inspection results of the phosphor bronze balls, and packaging instructions are generated based on the inspection results to achieve automated packaging.
This improved the detection accuracy of phosphor bronze balls, reduced manual intervention, and ensured the efficiency and accuracy of the packaging process.
Smart Images

Figure CN119774056B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of phosphor bronze production, and more specifically, to an automated packaging method and system based on phosphor bronze balls. Background Technology
[0002] Phosphor bronze spheres are an alloy material composed of copper and phosphorus. Due to their excellent electrical conductivity and suitability as catalysts in some chemical reactions, phosphor bronze spheres play a very important role in the manufacturing process of printed circuit boards.
[0003] Currently, packaging is usually the final step in the production of phosphor bronze balls. Because the packaging process lacks quality inspection of the produced phosphor bronze balls, manual sampling is usually used to determine whether the produced phosphor bronze balls meet the production requirements. However, in large-scale testing, inspectors are prone to errors due to fatigue, emotions, or distraction, resulting in low testing accuracy, which needs further improvement. Summary of the Invention
[0004] Based on this, embodiments of this application provide an automated packaging method and system based on phosphor bronze balls to solve the problem of low detection accuracy in the prior art.
[0005] In a first aspect, embodiments of this application provide an automatic packaging method based on phosphor bronze balls, applied to a phosphor bronze ball packaging machine. The phosphor bronze ball packaging machine includes a material carrier and a vibration device, the output end of which is connected to the material carrier. The method includes:
[0006] Based on a preset camera, first image information to be detected is acquired, wherein the shooting area of the camera is the material loading platform;
[0007] In response to a vibration completion command, a second image information to be detected is acquired, wherein the vibration completion command is used to instruct the vibration device to be started;
[0008] Based on a preset contour extraction algorithm, phosphor bronze ball quality inspection result information is generated according to the first image information to be detected and the second image information to be detected. The phosphor bronze ball quality inspection result information includes quality inspection qualified information or quality inspection abnormal information.
[0009] Based on the quality inspection qualification information, packaging instruction information is generated, wherein the packaging instruction information is used to instruct the phosphor bronze balls to be packaged.
[0010] Compared with the prior art, the beneficial effects are as follows: The automatic packaging method based on phosphor bronze balls provided in this application embodiment allows the terminal device to first acquire the first image information to be detected using a camera, then, in response to a vibration completion command, acquire the second image information to be detected using a camera, and then, based on a contour extraction algorithm, generate effective phosphor bronze ball quality inspection result information according to the first and second image information to be detected. Finally, based on the quality inspection qualification information, a packaging instruction information is generated, thereby achieving efficient and accurate quality inspection of phosphor bronze balls before packaging, and simultaneously packaging the qualified phosphor bronze balls. This reduces a large number of manual intervention steps, effectively improves the detection accuracy, and to a certain extent solves the problem of low detection accuracy in the current process.
[0011] Secondly, embodiments of this application provide an automatic packaging system based on phosphor bronze balls, applied to a phosphor bronze ball packaging machine. The phosphor bronze ball packaging machine includes a material carrier and a vibration device, the output end of which is connected to the material carrier. The system includes:
[0012] First image information acquisition module: used to acquire first image information to be detected based on a preset camera, wherein the shooting area of the camera is the material loading platform;
[0013] Second image information acquisition module: used to acquire second image information to be detected in response to vibration completion command, wherein the vibration completion command is used to instruct the vibration device to be started;
[0014] Phosphor bronze ball quality inspection result information generation module: used to generate phosphor bronze ball quality inspection result information based on a preset contour extraction algorithm, according to the first image information to be detected and the second image information to be detected, wherein the phosphor bronze ball quality inspection result information includes quality inspection qualified information or quality inspection abnormal information;
[0015] Packaging instruction information generation module: used to generate packaging instruction information based on the quality inspection qualification information, wherein the packaging instruction information is used to instruct the phosphor bronze balls to be packaged.
[0016] Thirdly, embodiments of this application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method described in the first aspect above.
[0017] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method described in the first aspect above.
[0018] It is understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0020] Figure 1 This is a schematic flowchart of an embodiment of the automatic packaging method provided in this application;
[0021] Figure 2 This is a flowchart illustrating step S300 in an automatic packaging method provided in an embodiment of this application;
[0022] Figure 3 This is a flowchart illustrating the process after step S380 in an automatic packaging method provided in an embodiment of this application;
[0023] Figure 4 This is a flowchart illustrating step S400 in an automatic packaging method provided in an embodiment of this application;
[0024] Figure 5 This is a flowchart illustrating the process after step S400 in an embodiment of the automatic packaging method provided in this application;
[0025] Figure 6 This is a flowchart illustrating the process after step S420 in an embodiment of the automatic packaging method provided in this application;
[0026] Figure 7 This is a block diagram of an automatic packaging system provided in one embodiment of this application;
[0027] Figure 8 This is a schematic diagram of a terminal device provided in an embodiment of this application. Detailed Implementation
[0028] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0029] In the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0030] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0031] To illustrate the technical solution described in this application, specific embodiments are provided below.
[0032] Please see Figure 1 , Figure 1 This is a flowchart illustrating the automated packaging method based on phosphor bronze balls provided in this application embodiment. In this embodiment, the executing entity of the automated packaging method is a terminal device. It is understood that the types of terminal devices include, but are not limited to, mobile phones, tablets, laptops, Ultra-Mobile Personal Computers (UMPCs), netbooks, Personal Digital Assistants (PDAs), etc. This application embodiment does not impose any restrictions on the specific type of terminal device.
[0033] Please see Figure 1 The automated packaging method provided in this application includes, but is not limited to, the following steps:
[0034] In S100, the first image information to be detected is acquired based on the preset camera.
[0035] Without loss of generality, this automatic packaging method is applied to a phosphor bronze ball packaging machine, which includes a loading platform and a vibration device. The loading platform is used to carry the phosphor bronze balls, and the output end of the vibration device is connected to the loading platform. The vibration device is used to make the loading platform reciprocate a specified number of times to adjust the position of the phosphor bronze balls in the loading platform.
[0036] Specifically, the terminal device can first acquire the first image information to be detected based on a preset camera. The camera can be installed above the loading platform, and the camera's shooting area is the carrying area of the loading platform. The first image information to be detected is used to describe the image obtained by the camera shooting the loading platform.
[0037] In S200, in response to the vibration completion command, the second image information to be detected is acquired.
[0038] Specifically, after the terminal device acquires the first image information to be detected, the terminal device can respond to the vibration completion command by using the camera to take another picture of the loading platform to acquire the second image information to be detected, thereby realizing the acquisition of more surface features of the phosphor bronze balls and improving the detection accuracy. The second image information to be detected is used to describe the image obtained by the camera taking another picture of the loading platform. The vibration completion command is used to instruct the vibration device to start. For example, after the vibration device is started, it will cause the loading platform to make three horizontal reciprocating movements. The phosphor bronze balls in the loading platform will roll continuously and then stop under the action of the vibration device. After the phosphor bronze balls stop rolling, the camera will take another picture of the loading platform.
[0039] In S300, based on a preset contour extraction algorithm, phosphor bronze ball quality detection result information is generated according to the first image to be detected and the second image to be detected.
[0040] Specifically, after the terminal device acquires the second image information to be detected, it can quickly and accurately generate phosphor bronze ball quality inspection result information based on the first and second image information to be detected using a preset contour extraction algorithm. This enables precise processing quality inspection of the phosphor bronze balls before packaging, reduces manual inspection steps, and effectively improves inspection efficiency. The contour extraction algorithm can be an edge detection algorithm based on the Canny operator, the Sobel operator, or the Roberts operator. The phosphor bronze ball quality inspection result information includes quality inspection pass information or quality inspection fail information. Quality inspection pass information describes the processing quality of the phosphor bronze ball as qualified, while quality inspection fail information describes the processing quality of the phosphor bronze ball as abnormal, i.e., unqualified.
[0041] In some possible implementations, to generate valid phosphor bronze ball quality test results, please refer to [link / reference needed]. Figure 2 Step S300 includes, but is not limited to, the following steps:
[0042] In S310, based on a preset contour extraction algorithm, edge contour extraction processing is performed on the first image information to be detected to generate the first contour line set information.
[0043] Specifically, the terminal device can perform edge contour extraction processing on the first image information to be detected based on a preset contour extraction algorithm to generate a first contour line set information, wherein the first contour line set information is used to describe the set of edge contour lines in the first image information to be detected.
[0044] In S320, based on a preset target detection algorithm, multiple phosphor bronze sphere contour information corresponding to the first phosphor bronze spheres are generated according to the first contour set information.
[0045] Specifically, after the terminal device generates the first contour line set information, the terminal device can perform target detection processing on the first image information to be detected based on a preset target detection algorithm to divide the first contour line set information and generate the first phosphor bronze ball contour line information corresponding to multiple phosphor bronze balls. The target detection algorithm can be the target detection algorithm based on YOLO (You Only Look Once) V7 or the target detection algorithm based on SSD (Single Shot Multi-Box Detector). The first phosphor bronze ball contour line information is used to describe the contour line based on a single phosphor bronze ball.
[0046] In S330, for each phosphor bronze ball: the shape information of the first phosphor bronze ball is generated based on the outline information of the first phosphor bronze ball.
[0047] Specifically, after the terminal device generates the first phosphor bronze ball outline information, the terminal device can perform the following process for each phosphor bronze ball: generate the first phosphor bronze ball shape information based on the first phosphor bronze ball outline information, wherein the first phosphor bronze ball shape information is used to describe the closed area enclosed by the first phosphor bronze ball outline information.
[0048] In S340, the shape information of the first phosphor bronze ball is compared with the preset qualified shape information.
[0049] Specifically, after the terminal device generates the shape information of the first phosphor bronze ball, the terminal device can compare the shape information of the first phosphor bronze ball with the preset qualified shape information, wherein the qualified shape information is used to describe the shape corresponding to the phosphor bronze ball with qualified processing quality.
[0050] In S350, if the shape information of the first phosphor bronze ball is equal to the qualified shape information, preliminary qualified inspection information is generated.
[0051] Specifically, if the shape information of the first phosphor bronze ball is equal to the qualified shape information, that is, the radius of the shape information of the first phosphor bronze ball is equal to the radius of the qualified shape information, and the total area of the shape information of the first phosphor bronze ball is equal to the total area of the qualified shape information, then the terminal device can generate preliminary qualified detection information.
[0052] In S360, based on the preliminary qualified detection information, a second contour line set information is generated according to the contour extraction algorithm and the second image to be detected.
[0053] Specifically, after the terminal device generates preliminary detection qualification information, the terminal device can use a contour extraction algorithm to perform contour extraction processing on the second image information to be detected based on the preliminary detection qualification information, and generate a second contour line set information, wherein the second contour line set information is used to describe the set of edge contour lines in the second image information to be detected.
[0054] In S370, based on the target detection algorithm and the second contour line set information, the second phosphor bronze ball contour line information corresponding to multiple phosphor bronze balls is generated.
[0055] Specifically, after the terminal device generates the second contour line set information, the terminal device can generate the second phosphor bronze ball contour line information corresponding to multiple phosphor bronze balls according to the target detection algorithm and the second contour line set information. The second phosphor bronze ball contour line information is used to describe the contour line of a single phosphor bronze ball. The specific generation process can be referred to step S320 above, so it will not be repeated here.
[0056] In S380, for each phosphor bronze ball: the shape information of the second phosphor bronze ball is generated based on the outline information of the second phosphor bronze ball.
[0057] Specifically, after the terminal device generates the outline information of the second phosphor bronze ball, the terminal device can perform the following process for each phosphor bronze ball: generate the shape information of the second phosphor bronze ball based on the outline information of the second phosphor bronze ball. The shape information of the second phosphor bronze ball is used to describe the closed area enclosed by the outline information of the second phosphor bronze ball. The specific generation process can be referred to step S330 above, so it will not be repeated here.
[0058] In S390, the shape information of the second phosphor bronze ball is compared with the qualified shape information.
[0059] Specifically, after the terminal device generates the shape information of the second phosphor bronze ball, the terminal device can compare the shape information of the second phosphor bronze ball with the qualified shape information.
[0060] In S391, if the shape information of the second phosphor bronze ball is equal to the qualified shape information, then qualified quality inspection information is generated; otherwise, abnormal quality inspection information is generated.
[0061] Specifically, if the shape information of the second phosphor bronze ball is equal to the qualified shape information, the terminal device can generate qualified quality inspection information; otherwise, the terminal device can generate abnormal quality inspection information. The specific comparison process can be referred to in step S350 above, so it will not be elaborated here.
[0062] For further improvements in detection accuracy, please refer to some possible implementations. Figure 3 After step S380, the method further includes, but is not limited to, the following steps:
[0063] In S381, the outer edge information of the first phosphor bronze sphere is generated based on the shape information of the first phosphor bronze sphere.
[0064] Specifically, after the terminal device generates the shape information of the second phosphor bronze ball, the terminal device can extract the outermost outer edge contour line from the shape information of the first phosphor bronze ball to generate the outer edge information of the first phosphor bronze ball. The outer edge information of the first phosphor bronze ball is used to describe the largest outer edge contour line enclosed by multiple first phosphor bronze ball shape information.
[0065] In S382, the outer edge information of the second phosphor bronze sphere is generated based on the shape information of the second phosphor bronze sphere.
[0066] Specifically, after the terminal device generates the outer edge information of the first phosphor bronze sphere, the terminal device can extract the outermost outer edge contour line from the shape information of the second phosphor bronze sphere and generate the outer edge information of the second phosphor bronze sphere. The outer edge information of the second phosphor bronze sphere is used to describe the largest outer edge contour line enclosed by multiple second phosphor bronze sphere shape information.
[0067] In S383, the outer edge information of the first phosphor bronze sphere and the outer edge information of the second phosphor bronze sphere are compared.
[0068] Specifically, after the terminal device generates the outer edge information of the second phosphor bronze sphere, the terminal device can compare the outer edge information of the first phosphor bronze sphere and the outer edge information of the second phosphor bronze sphere.
[0069] In S384, if the outer edge information of the first phosphor bronze ball is not equal to the outer edge information of the second phosphor bronze ball, the comparison of the shape information of the second phosphor bronze ball and the qualified shape information continues; otherwise, the vibration-based completion instruction is re-executed to obtain the second image information to be detected.
[0070] Specifically, if the outer edge information of the first phosphor bronze ball is not equal to the outer edge information of the second phosphor bronze ball, it indicates that the position of the phosphor bronze ball has been significantly changed in an ideal way, so the terminal device can continue to execute the above step S390; if the outer edge information of the first phosphor bronze ball is equal to the outer edge information of the second phosphor bronze ball, it indicates that the position of the phosphor bronze ball has not been significantly changed in an ideal way, and more features of the phosphor bronze ball cannot be effectively collected, so the terminal device can re-execute the above step S200.
[0071] In S400, packaging instruction information is generated based on the quality inspection qualification information.
[0072] Specifically, after the terminal device generates the quality inspection result information of the phosphor bronze balls, the terminal device can generate packaging instruction information based on the qualified quality inspection information, thereby realizing the automatic packaging of qualified phosphor bronze balls. The packaging instruction information is used to instruct the phosphor bronze balls to be packaged.
[0073] In some possible implementations, for packaging of phosphor bronze balls that have passed processing quality requirements, please refer to [link to relevant documentation]. Figure 4 Step S400 includes, but is not limited to, the following steps:
[0074] In S410, based on the quality inspection qualification information, the phosphor bronze balls are marked to generate qualification mark information.
[0075] Specifically, the terminal device can mark the phosphor bronze balls based on the quality inspection qualification information to generate qualification mark information, which is associated with the phosphor bronze balls.
[0076] In S420, packaging instruction information is generated based on the conformity marking information.
[0077] Specifically, after the terminal device generates the qualification mark information, the terminal device can generate packaging instruction information based on the qualification mark information.
[0078] Accordingly, please refer to Figure 5 In order to determine whether to package phosphor bronze balls that have passed the processing quality test, and instead avoid mistakenly packaging other phosphor bronze balls adjacent to those that have passed the processing quality test, after step S400, the method further includes, but is not limited to, the following steps:
[0079] In the S500, in response to the packaging completion instruction, it is determined whether the phosphor bronze ball corresponding to the qualified marking information is located on the loading platform.
[0080] Specifically, after the phosphor bronze ball packaging machine completes the packaging process of the phosphor bronze balls, it can generate a packaging completion instruction. The terminal equipment can respond to the packaging completion instruction and determine whether the phosphor bronze balls corresponding to the qualified marking information are still located in the loading platform.
[0081] In S510, if the phosphor bronze ball corresponding to the qualified marking information is located on the loading platform, abnormal packaging information is generated; otherwise, qualified packaging information is generated.
[0082] Specifically, if the phosphor bronze ball corresponding to the qualified marking information is located on the loading platform, the terminal device can indicate that other phosphor bronze balls adjacent to the qualified phosphor bronze ball have been mistakenly packaged, so the terminal device can generate abnormal packaging information; otherwise, it indicates that the qualified phosphor bronze ball has been successfully packaged, so the terminal device can generate qualified packaging information.
[0083] In some possible implementations, to facilitate inspectors' visual assessment of the processing quality of the phosphor bronze balls, please refer to [link / reference needed]. Figure 6 After step S420, the method further includes, but is not limited to, the following steps:
[0084] In S421, the total number of phosphor bronze balls is generated based on the outline information of multiple first phosphor bronze balls.
[0085] Specifically, the terminal device can generate total number information of phosphor bronze balls based on multiple first phosphor bronze ball outline information, wherein the total number of phosphor bronze balls can be the total number of first phosphor bronze ball outline information.
[0086] In S422, the number of qualified phosphor bronze balls is generated based on the cumulative number of qualified marking information.
[0087] Specifically, after the terminal device generates the total number of phosphor bronze balls, it can generate the number of qualified phosphor bronze balls based on the cumulative number of qualified marking information.
[0088] In S423, the quality pass rate information of phosphor bronze balls is generated by dividing the qualified quantity information of phosphor bronze balls by the total quantity information of phosphor bronze balls.
[0089] Specifically, after the terminal device generates the qualified quantity information of phosphor bronze balls, it can generate the phosphor bronze ball quality pass rate information by dividing the qualified quantity information of phosphor bronze balls by the total quantity information of phosphor bronze balls. The phosphor bronze ball quality pass rate information is used to describe the processing quality pass rate of the batch of phosphor bronze balls.
[0090] The implementation principle of the automatic packaging method for phosphor bronze balls in this application embodiment is as follows: The terminal device can first automatically acquire the first image information to be detected based on the camera, and then automatically acquire the second image information to be detected in response to the vibration completion command. Then, based on the contour extraction algorithm, the quality inspection result information of the phosphor bronze balls is effectively generated according to the first and second image information to be detected. Finally, based on the quality inspection qualified information, packaging instruction information is generated, thereby realizing efficient and accurate quality inspection of phosphor bronze balls before packaging, and packaging phosphor bronze balls with qualified processing quality, reducing a large number of manual intervention links and effectively improving the detection accuracy.
[0091] It should be noted that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0092] Embodiments of this application also provide an automatic packaging system based on phosphor bronze balls, applied to a phosphor bronze ball packaging machine. The phosphor bronze ball packaging machine includes a material carrier and a vibration device. The output end of the vibration device is connected to the material carrier. For ease of explanation, only the parts relevant to this application are shown, such as... Figure 7 As shown, the system 70 includes:
[0093] First image information acquisition module 71: used to acquire first image information to be detected based on a preset camera, wherein the shooting area of the camera is the material loading platform;
[0094] Second image information acquisition module 72: used to acquire second image information in response to vibration completion command, wherein the vibration completion command is used to instruct the vibration device to be started;
[0095] Phosphor bronze ball quality inspection result information generation module 73: is used to generate phosphor bronze ball quality inspection result information based on a preset contour extraction algorithm, according to the first image to be inspected and the second image to be inspected, wherein the phosphor bronze ball quality inspection result information includes quality inspection qualified information or quality inspection abnormal information;
[0096] Packaging instruction information generation module 74: Used to generate packaging instruction information based on quality inspection qualification information, wherein the packaging instruction information is used to instruct the phosphor bronze balls to be packaged.
[0097] Optionally, the above-mentioned phosphor bronze ball quality test result information generation module 73 includes:
[0098] First contour line set information generation submodule: used to perform edge contour extraction processing on the first image to be detected based on a preset contour extraction algorithm, and generate first contour line set information;
[0099] First phosphor bronze ball contour information generation submodule: Based on a preset target detection algorithm and according to the first contour set information, it generates first phosphor bronze ball contour information corresponding to multiple phosphor bronze balls, wherein the first phosphor bronze ball contour information is used to describe the contour based on a single phosphor bronze ball.
[0100] First phosphor bronze sphere shape information generation submodule: for each phosphor bronze sphere: generate first phosphor bronze sphere shape information based on the first phosphor bronze sphere outline information, wherein the first phosphor bronze sphere shape information is used to describe the closed area enclosed by the first phosphor bronze sphere outline information;
[0101] First phosphor bronze ball shape information comparison submodule: used to compare the shape information of the first phosphor bronze ball with the preset qualified shape information;
[0102] Preliminary inspection pass information generation submodule: Used to generate preliminary inspection pass information if the shape information of the first phosphor bronze ball is equal to the qualified shape information;
[0103] The second contour line set information generation submodule is used to generate the second contour line set information based on the preliminary qualified detection information, the contour extraction algorithm, and the information of the second image to be detected.
[0104] The second phosphor bronze sphere contour information generation submodule is used to generate second phosphor bronze sphere contour information corresponding to multiple phosphor bronze spheres based on the target detection algorithm and the second contour set information. The second phosphor bronze sphere contour information is used to describe the contour of a single phosphor bronze sphere.
[0105] The second phosphor bronze sphere shape information generation submodule is used to generate second phosphor bronze sphere shape information for each phosphor bronze sphere based on the second phosphor bronze sphere outline information. The second phosphor bronze sphere shape information is used to describe the closed area enclosed by the second phosphor bronze sphere outline information.
[0106] Second phosphor bronze ball shape information comparison submodule: used to compare the shape information of the second phosphor bronze ball with the qualified shape information;
[0107] The quality inspection pass information generation submodule is used to generate quality inspection pass information if the shape information of the second phosphor bronze ball is equal to the qualified shape information, and otherwise generate quality inspection failure information.
[0108] Optionally, the system 70 also includes:
[0109] First phosphor bronze sphere outer edge information generation module: used to generate first phosphor bronze sphere outer edge information based on the shape information of the first phosphor bronze sphere, wherein the first phosphor bronze sphere outer edge information is used to describe the maximum outer edge contour line enclosed by the shape information of multiple first phosphor bronze spheres;
[0110] Second phosphor bronze sphere outer edge information generation module: used to generate second phosphor bronze sphere outer edge information based on the shape information of the second phosphor bronze sphere, wherein the second phosphor bronze sphere outer edge information is used to describe the maximum outer edge contour line enclosed by the shape information of multiple second phosphor bronze spheres;
[0111] First phosphor bronze sphere outer edge information comparison module: used to compare the outer edge information of the first phosphor bronze sphere and the outer edge information of the second phosphor bronze sphere;
[0112] The qualified shape information comparison module is used to continue comparing the shape information of the second phosphor bronze ball and the qualified shape information if the outer edge information of the first phosphor bronze ball is not equal to the outer edge information of the second phosphor bronze ball; otherwise, it re-executes the vibration completion command to obtain the second image information to be detected.
[0113] Optionally, the packaging instruction information generation module 74 mentioned above includes:
[0114] The qualified marking information generation submodule is used to mark the phosphor bronze balls based on the quality inspection qualified information and generate qualified marking information, wherein the qualified marking information is associated with the phosphor bronze balls;
[0115] Packaging instruction information generation submodule: used to generate packaging instruction information based on the qualification mark information;
[0116] Accordingly, the system 70 also includes:
[0117] Qualification mark information judgment module: In response to the packaging completion instruction, it determines whether the phosphor bronze ball corresponding to the qualification mark information is located on the loading platform. The packaging completion instruction is used to indicate that the packaging process of the phosphor bronze ball is completed.
[0118] Abnormal Packaging Information Generation Module: If the phosphor bronze ball corresponding to the qualified marking information is located on the loading platform, abnormal packaging information is generated; otherwise, qualified packaging information is generated.
[0119] Optionally, the system 70 also includes:
[0120] Phosphor bronze ball total quantity information generation module: used to generate phosphor bronze ball total quantity information based on the outline information of multiple first phosphor bronze balls;
[0121] Phosphor bronze ball qualified quantity information generation module: used to generate qualified quantity information of phosphor bronze balls based on the cumulative quantity of qualified marking information;
[0122] Phosphor bronze ball quality pass rate information generation module: used to generate phosphor bronze ball quality pass rate information by dividing the number of qualified phosphor bronze balls by the total number of phosphor bronze balls.
[0123] It should be noted that the information interaction and execution process between the above modules are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, which will not be repeated here.
[0124] This application also provides a terminal device, such as... Figure 8 As shown, the terminal device 80 of this embodiment includes: a processor 81, a memory 82, and a computer program 83 stored in the memory 82 and executable on the processor 81. When the processor 81 executes the computer program 83, it implements the steps in the above-described automatic packaging method embodiment, for example... Figure 1 Steps S100 to S400 are shown; or, when processor 81 executes computer program 83, it implements the functions of each module in the above-described device, for example... Figure 7 The functions of modules 71 to 74 are shown.
[0125] The terminal device 80 can be a desktop computer, laptop, handheld computer, cloud server, or other computing device, and includes, but is not limited to, a processor 81 and a memory 82. Those skilled in the art will understand that... Figure 8 This is merely an example of terminal device 80 and does not constitute a limitation on terminal device 80. It may include more or fewer components than shown, or combine certain components, or different components. For example, terminal device 80 may also include input / output devices, network access devices, buses, etc.
[0126] The processor 81 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.; the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0127] The memory 82 can be an internal storage unit of the terminal device 80, such as a hard disk or memory of the terminal device 80. The memory 82 can also be an external storage device of the terminal device 80, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the terminal device 80. Furthermore, the memory 82 can include both internal storage units and external storage devices of the terminal device 80. The memory 82 can also store computer program 83 and other programs and data required by the terminal device 80. The memory 82 can also be used to temporarily store data that has been output or will be output.
[0128] One embodiment of this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include any entity or device capable of carrying computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0129] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the methods, principles and structures of this application should be covered within the scope of protection of this application.
Claims
1. An automatic packaging method based on phosphor bronze balls, applied to a phosphor bronze ball packaging machine, the phosphor bronze ball packaging machine comprising a material carrier and a vibration device, the output end of the vibration device being connected to the material carrier, characterized in that, The method includes: Based on a preset camera, first image information to be detected is acquired, wherein the shooting area of the camera is the material loading platform; In response to a vibration completion command, a second image information to be detected is acquired, wherein the vibration completion command is used to indicate the completion of starting the vibration device; Based on a preset contour extraction algorithm, phosphor bronze ball quality inspection result information is generated according to the first image information to be detected and the second image information to be detected. The phosphor bronze ball quality inspection result information includes quality inspection qualified information or quality inspection abnormal information. Based on the quality inspection pass information, packaging instruction information is generated, wherein the packaging instruction information is used to instruct the phosphor bronze balls to be packaged. The step of generating phosphor bronze ball quality detection result information based on the preset contour extraction algorithm, according to the first image information to be detected and the second image information to be detected, includes: Based on a preset contour extraction algorithm, edge contour extraction processing is performed on the first image information to be detected to generate a first contour line set information; Based on a preset target detection algorithm, according to the first contour set information, first phosphor bronze ball contour information corresponding to multiple phosphor bronze balls is generated, wherein the first phosphor bronze ball contour information is used to describe the contour based on a single phosphor bronze ball. For each of the aforementioned phosphor bronze spheres: Based on the first phosphor bronze sphere outline information, first phosphor bronze sphere shape information is generated, wherein the first phosphor bronze sphere shape information is used to describe the closed area enclosed by the first phosphor bronze sphere outline information; Compare the shape information of the first phosphor bronze ball with the preset qualified shape information; If the shape information of the first phosphor bronze ball is equal to the qualified shape information, then preliminary qualified detection information is generated; Based on the preliminary qualified detection information, a second contour line set information is generated according to the contour extraction algorithm and the second image to be detected; Based on the target detection algorithm and the second contour set information, second phosphor bronze ball contour information corresponding to multiple phosphor bronze balls is generated, wherein the second phosphor bronze ball contour information is used to describe the contour of a single phosphor bronze ball; For each of the aforementioned phosphor bronze spheres: Based on the outline information of the second phosphor bronze sphere, generate the shape information of the second phosphor bronze sphere, wherein the shape information of the second phosphor bronze sphere is used to describe the closed area enclosed by the outline information of the second phosphor bronze sphere; Compare the shape information of the second phosphor bronze ball with the qualified shape information; If the shape information of the second phosphor bronze ball is equal to the qualified shape information, then the quality inspection qualified information is generated; otherwise, the quality inspection abnormal information is generated.
2. The method according to claim 1, characterized in that, After generating the shape information of the second phosphor bronze ball based on the outline information of the second phosphor bronze ball for each of the phosphor bronze balls, the method further includes: Based on the shape information of the first phosphor bronze ball, the outer edge information of the first phosphor bronze ball is generated, wherein the outer edge information of the first phosphor bronze ball is used to describe the maximum outer edge contour line enclosed by the shape information of multiple first phosphor bronze balls; Based on the shape information of the second phosphor bronze sphere, the outer edge information of the second phosphor bronze sphere is generated, wherein the outer edge information of the second phosphor bronze sphere is used to describe the maximum outer edge contour line enclosed by the shape information of multiple second phosphor bronze spheres; Compare the outer edge information of the first phosphor bronze sphere and the outer edge information of the second phosphor bronze sphere; If the outer edge information of the first phosphor bronze ball is not equal to the outer edge information of the second phosphor bronze ball, then continue to perform the comparison of the shape information of the second phosphor bronze ball and the qualified shape information; otherwise, re-execute the vibration-responsive completion command to obtain the second image information to be detected.
3. The method according to claim 1, characterized in that, The step of generating packaging instruction information based on the quality inspection pass information includes: Based on the quality inspection pass information, the phosphor bronze balls are marked to generate pass mark information, wherein the pass mark information is associated with the phosphor bronze balls; Based on the qualified marking information, packaging instruction information is generated; Accordingly, after generating packaging instruction information based on the quality inspection qualification information, the method further includes: In response to the packaging completion command, it is determined whether the phosphor bronze ball corresponding to the qualified marking information is located on the material loading platform, wherein the packaging completion command is used to indicate that the packaging process of the phosphor bronze ball is completed; If the phosphor bronze ball corresponding to the qualified marking information is located on the loading platform, abnormal packaging information is generated; otherwise, qualified packaging information is generated.
4. The method according to claim 3, characterized in that, After generating packaging instruction information based on the qualification mark information, the method further includes: Based on the outline information of multiple first phosphor bronze balls, generate information on the total number of phosphor bronze balls; Based on the cumulative number of qualified marking information, generate qualified quantity information for phosphor bronze balls; The quality pass rate information of the phosphor bronze balls is generated by dividing the qualified quantity information of the phosphor bronze balls by the total quantity information of the phosphor bronze balls.
5. An automatic packaging system based on phosphor bronze balls, applied to a phosphor bronze ball packaging machine, the phosphor bronze ball packaging machine comprising a material carrier and a vibration device, the output end of the vibration device being connected to the material carrier, characterized in that, The system includes: First image information acquisition module: used to acquire first image information to be detected based on a preset camera, wherein the shooting area of the camera is the material loading platform; Second image information acquisition module: used to acquire second image information to be detected in response to vibration completion command, wherein the vibration completion command is used to indicate the completion of starting the vibration device; Phosphor bronze ball quality inspection result information generation module: used to generate phosphor bronze ball quality inspection result information based on a preset contour extraction algorithm, according to the first image information to be detected and the second image information to be detected, wherein the phosphor bronze ball quality inspection result information includes quality inspection qualified information or quality inspection abnormal information; Packaging instruction information generation module: used to generate packaging instruction information based on the quality inspection qualification information, wherein the packaging instruction information is used to instruct the phosphor bronze balls to be packaged; The phosphor bronze ball quality test result information generation module includes: First contour line set information generation submodule: used to perform edge contour extraction processing on the first image to be detected based on a preset contour extraction algorithm to generate first contour line set information; First phosphor bronze ball contour information generation submodule: Based on a preset target detection algorithm, it generates first phosphor bronze ball contour information corresponding to multiple phosphor bronze balls according to the first contour set information, wherein the first phosphor bronze ball contour information is used to describe the contour based on a single phosphor bronze ball. First phosphor bronze ball shape information generation submodule: for each of the phosphor bronze balls: generate first phosphor bronze ball shape information based on the first phosphor bronze ball outline information, wherein the first phosphor bronze ball shape information is used to describe the closed area enclosed by the first phosphor bronze ball outline information; First phosphor bronze ball shape information comparison submodule: used to compare the shape information of the first phosphor bronze ball with the preset qualified shape information; Preliminary inspection pass information generation submodule: used to generate preliminary inspection pass information if the shape information of the first phosphor bronze ball is equal to the qualified shape information; The second contour line set information generation submodule is used to generate second contour line set information based on the preliminary detection qualified information, the contour extraction algorithm, and the second image to be detected. Second phosphor bronze ball contour information generation submodule: used to generate second phosphor bronze ball contour information corresponding to multiple phosphor bronze balls according to the target detection algorithm and the second contour set information, wherein the second phosphor bronze ball contour information is used to describe the contour of a single phosphor bronze ball; The second phosphor bronze ball shape information generation submodule is used to generate second phosphor bronze ball shape information for each of the phosphor bronze balls based on the second phosphor bronze ball outline information, wherein the second phosphor bronze ball shape information is used to describe the closed area enclosed by the second phosphor bronze ball outline information. Second phosphor bronze ball shape information comparison submodule: used to compare the shape information of the second phosphor bronze ball with the qualified shape information; Quality inspection pass information generation submodule: If the shape information of the second phosphor bronze ball is equal to the qualified shape information, then generate the quality inspection pass information; otherwise, generate the quality inspection failure information.
6. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 4.
7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Phosphor copper ball rolling equipment
CN202894157U
Component handling apparatus and method of handling the same
US20010008061A1