Welding slag detection method and filter replacement method

By acquiring and analyzing the weld seam image captured by the laser camera in real time, and combining it with the background plate to determine whether there is welding slag on the filter, it solves the problem in the existing technology that it is difficult to accurately determine whether the filter needs to be replaced, improves welding efficiency and avoids Eliminate filter waste.

CN113487556BActive Publication Date: 2024-10-22BEIJING BO TSING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110745516.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-30
Publication Date
2024-10-22
Estimated Expiration
2041-06-30

AI Technical Summary

Technical Problem

In the prior art, it is difficult to accurately determine whether there is welding slag on the filter, resulting in low welding efficiency and waste of filters.

Method used

By acquiring the weld seam images captured by the laser camera in real time, it is determined whether the predetermined part of the weld seam is recognized in multiple images. If it is not recognized, it is suspected that there is welding slag. The image of the weld seam being blocked is obtained, and the background plate is used to determine the color of the filter. Whether welding slag is attached, and whether to replace the filter is determined based on the area and number of plaque areas.

Benefits of technology

It achieves a more accurate judgment of whether the filter needs to be replaced, avoids unnecessary waste of replacement, improves welding efficiency and reduces the risk of manual replacement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113487556B_ABST
    Figure CN113487556B_ABST
Patent Text Reader

Abstract

The present application provides a method for detecting welding slag and a method for replacing a filter, the method for detecting welding slag comprising: acquiring an image of a weld taken by a laser camera in real time to obtain a first image; determining that welding slag is suspected to be attached to the filter when a predetermined portion of the weld cannot be identified in at least two consecutive first images among multiple first images, the predetermined portion comprising an inflection point and / or a straight line; when it is determined that welding slag is suspected to be attached to the filter, acquiring an image taken by the laser camera when the weld is in an obstructed state to obtain a second image, the obstructed state of the weld being a state in which a background plate is located between the laser camera and the weld, and the background plate is a pure color luminous plate; when a patch area on the second image meets a predetermined condition, determining that welding slag is attached to the filter, thereby solving the problem in the prior art of being difficult to accurately determine whether there is welding slag on the filter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of welding, and specifically, to a method for detecting welding slag, a method for replacing a filter, a device for detecting welding slag, a device for replacing a filter, a welding robot, replacement equipment, a welding system, a computer-readable storage medium and a processor. Background Art

[0002] During welding, after the welding torch has been welding for a certain period of time, the slag from the welding process will stick to the filter device of the laser camera. If the filter is not replaced in time, the image acquisition quality of the laser camera will be affected, and the weld information cannot be accurately obtained, which directly affects the weld quality. However, there is no method in the prior art that can accurately determine whether there is welding slag on the filter. Therefore, the filter is directly replaced at regular intervals. If there is actually no welding slag on the filter, the filter will be wasted.

[0003] Therefore, a method is urgently needed to accurately determine whether there is welding slag on the filter.

[0004] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country for those skilled in the art. Summary of the invention

[0005] The main purpose of the present application is to provide a welding slag detection method, a filter replacement method, a welding slag detection device, a filter replacement device, a welding robot, replacement equipment, a welding system, a computer-readable storage medium and a processor, so as to solve the problem in the prior art that it is difficult to accurately determine whether there is welding slag on the filter.

[0006] According to one aspect of an embodiment of the present invention, a method for detecting welding slag is provided, in which a laser camera of a welding robot includes a filter, comprising: acquiring an image of a weld taken by the laser camera in real time to obtain a first image; when a predetermined portion of the weld cannot be identified in at least two consecutive first images among a plurality of first images, determining that welding slag is suspected to be attached to the filter, wherein the predetermined portion includes an inflection point and / or a straight line; when it is determined that the welding slag is suspected to be attached to the filter, acquiring an image taken by the laser camera when the weld is in an obscured state to obtain a second image, wherein the obscured state of the weld is a state in which a background plate is located between the laser camera and the weld, and the background plate is a pure color luminous plate; when a patch area on the second image meets a predetermined condition, determining that the welding slag is attached to the filter.

[0007] Optionally, when a predetermined portion of the weld cannot be identified in at least two consecutive first images among multiple first images, it is determined that welding slag is suspected to be attached to the filter, including: when the predetermined portion cannot be identified in at least N consecutive first images among M first images, it is determined that welding slag is suspected to be attached to the filter, wherein N / M>0.5.

[0008] Optionally, when it is determined that the welding slag is suspected to be attached to the filter, an image taken by the laser camera when the weld is in an obstructed state is obtained to obtain a second image, including: when it is determined that the welding slag is suspected to be attached to the filter, the background plate is controlled to move from a first state to a second state, wherein the first state is not to obstruct the weld and allows the laser camera to photograph the weld, and the second state is a state in which the weld is in the obstructed state; and obtaining the second image taken by the laser camera when the background plate is in the second state.

[0009] Optionally, when the patch area on the second image meets predetermined conditions, before determining that the welding slag is attached to the filter, the method also includes: obtaining target parameters of the patch area, the target parameters including the area of ​​the patch area and / or the number of the patch areas; when the target parameters are greater than the corresponding preset values, determining that the patch area meets the predetermined conditions.

[0010] Optionally, the color of the background plate is the same as the color of the laser emitted by the laser camera.

[0011] Optionally, the method further includes: when it is determined that the welding slag is attached to the filter, determining that the filter needs to be replaced, and controlling the welding robot to stop welding.

[0012] According to another aspect of an embodiment of the present invention, a method for replacing a filter is also provided, comprising: a replacement structure receives a replacement instruction issued by a welding robot, the replacement instruction is an instruction issued when any method is used to determine that welding slag is attached to the filter; in response to the replacement instruction, the replacement structure replaces the filter, the replacement structure comprises a movable body and a replacement component, the replacement component is located on the movable body, and the replacement component is used to replace the filter.

[0013] Optionally, in response to the replacement instruction, the replacement structure replaces the filter, including: in response to the replacement instruction, obtaining the current position information of the welding robot to obtain the first position information; obtaining the current position information of the replacement structure to obtain the second position information; according to the first position information and the second position information, controlling the replacement structure to move to a predetermined area, the predetermined area being the position area where the replacement component can directly replace the filter; controlling the replacement component to replace the filter.

[0014] According to another aspect of an embodiment of the present invention, a method for replacing a filter is provided, comprising: receiving a replacement instruction issued by a welding robot, the replacement instruction being an instruction issued when any method is used to determine that welding slag is attached to the filter; in response to the replacement instruction, controlling a replacement structure to replace the filter, the replacement structure comprising a movable body and a replacement component, the replacement component being located on the movable body, and the replacement component being used to replace the filter.

[0015] Optionally, in response to the replacement instruction, the replacement structure replaces the filter, including: in response to the replacement instruction, obtaining the current position information of the welding robot to obtain the first position information; obtaining the current position information of the replacement structure to obtain the second position information; according to the first position information and the second position information, controlling the replacement structure to move to a predetermined area, the predetermined area being the position area where the replacement component can directly replace the filter; controlling the replacement component to replace the filter.

[0016] According to another aspect of an embodiment of the present invention, a welding slag detection device is also provided. The laser camera of the welding robot includes a filter, including: a first acquisition unit, used to acquire an image of the weld taken by the laser camera in real time to obtain a first image; a first determination unit, used to determine that welding slag is suspected to be attached to the filter when a predetermined portion of the weld cannot be identified in at least two consecutive first images among multiple first images, and the predetermined portion includes an inflection point and / or a straight line; a second acquisition unit, used to acquire an image taken by the laser camera when the weld is in an obstructed state to obtain a second image when it is determined that the weld slag is suspected to be attached to the filter, and the obstructed state of the weld is a state in which a background plate is located between the laser camera and the weld, and the background plate is a pure color light-emitting plate; a second determination unit, used to determine that the welding slag is attached to the filter when a patch area on the second image meets a predetermined condition.

[0017] According to one aspect of an embodiment of the present invention, a filter replacement device is also provided, comprising: a first receiving unit, configured to receive a replacement instruction issued by a welding robot, wherein the replacement instruction is an instruction issued when any method is used to determine that welding slag is attached to the filter; a first responding unit, configured to respond to the replacement instruction, wherein the replacement structure replaces the filter, the replacement structure comprising a movable body and a replacement component, the replacement component being located on the movable body, and the replacement component being used to replace the filter.

[0018] According to another aspect of an embodiment of the present invention, a welding robot is also provided, comprising a welding body structure, a laser camera, one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the described methods, wherein the laser camera is located on the welding body structure.

[0019] According to another aspect of an embodiment of the present invention, a replacement device is also provided, comprising a replacement structure, one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the methods described, wherein the replacement structure comprises a movable body and a replacement component, the replacement component is located on the movable body, and the replacement component is used to replace the filter.

[0020] Optionally, an image acquisition device installed on the movable body is also included to obtain the position of the filter.

[0021] According to another aspect of an embodiment of the present invention, a welding system is also provided, including a welding robot, a replacement structure, one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the methods described, wherein the welding robot includes a welding body structure and a laser camera, the laser camera includes a filter, the replacement structure includes a movable body and a replacement component, the replacement component is located on the movable body, and the replacement component is used to replace the filter.

[0022] According to yet another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the methods described.

[0023] According to one aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a program, wherein any one of the methods is executed when the program is run.

[0024] In an embodiment of the present invention, in the welding slag detection method, the laser camera of the welding robot includes a filter, and first, an image of the weld taken by the laser camera is acquired in real time to obtain a first image; then, when a predetermined portion of the weld cannot be identified in at least two consecutive first images among multiple first images, it is determined that welding slag is suspected to be attached to the filter, and the predetermined portion includes an inflection point and / or a straight line; thereafter, when it is determined that the welding slag is suspected to be attached to the filter, an image taken by the laser camera when the weld is in an obscured state is acquired to obtain a second image, and the obscured state of the weld is a state in which a background plate is located between the laser camera and the weld, and the background plate is a pure color luminous plate; finally, when the patch area on the second image meets a predetermined condition, it is determined that the welding slag is attached to the filter. In the detection method, it is first determined whether there are at least two consecutive first images among the multiple first images that cannot identify the predetermined part of the weld, and a rough judgment is made on whether there is welding slag. When it is determined that there is suspected welding slag attached to the filter, a second image taken by the laser camera when the weld is blocked is obtained. This avoids the problem of directly blocking the weld to obtain the second image and then determine whether there is welding slag attached to the filter, resulting in low welding efficiency. Subsequently, it is determined whether there is welding slag attached to the filter based on whether the patch area on the second image meets the predetermined conditions. This method can more accurately determine whether to replace the filter, thereby solving the problem of difficulty in accurately determining whether there is welding slag on the filter in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings constituting part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0026] Figure 1 A schematic diagram of a method for detecting welding slag according to an embodiment of the present application is shown;

[0027] Figure 2 A schematic diagram of a method for replacing an optical filter according to an embodiment of the present application is shown;

[0028] Figure 3 A schematic diagram of a welding slag detection device according to an embodiment of the present application is shown;

[0029] Figure 4 A schematic diagram of a filter replacement device according to an embodiment of the present application is shown;

[0030] Figure 5 A structural diagram of a welding robot according to an embodiment of the present application is shown;

[0031] Figure 6 A structural diagram of a replacement structure according to an embodiment of the present application is shown.

[0032] The above drawings include the following reference numerals:

[0033] 01. Welding body structure; 02. Laser camera; 03. Movable body; 04. Replaceable parts; 05. Image acquisition equipment. DETAILED DESCRIPTION

[0034] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0035] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0037] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element, or there may be intermediate elements. Moreover, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element, or "connected" to the other element through a third element.

[0038] As mentioned in the background technology, it is difficult to accurately determine in the prior art that the filter needs to be replaced. In order to solve the above problem, in a typical embodiment of the present application, a welding slag detection method, a filter replacement method, a welding slag detection device, a filter replacement device, a welding robot, a replacement device, a welding system, a computer-readable storage medium and a processor are provided.

[0039] According to an embodiment of the present application, a method for detecting welding slag is provided.

[0040] Figure 1 FIG. 1 is a flow chart for determining whether welding slag is attached to the optical filter according to an embodiment of the present application. Figure 1 As shown, the laser camera of the welding robot includes a filter, and the method includes the following steps:

[0041] Step S101, acquiring an image of a weld captured by a laser camera in real time to obtain a first image;

[0042] Step S102, when a predetermined portion of the weld cannot be identified in at least two consecutive first images among the plurality of first images, determining that welding slag is suspected to be attached to the filter, the predetermined portion including an inflection point and / or a straight line;

[0043] Step S103, when it is determined that the welding slag is suspected to be attached to the filter, an image taken by the laser camera when the weld is blocked is obtained to obtain a second image, wherein the weld is blocked when a background plate is located between the laser camera and the weld, and the background plate is a pure color light-emitting plate;

[0044] Step S104: when the patch area on the second image satisfies a predetermined condition, determining that the welding slag is attached to the filter.

[0045] In the above-mentioned welding slag detection method, first, an image of the weld taken by a laser camera is acquired in real time to obtain a first image; then, when a predetermined portion of the weld cannot be identified in at least two consecutive first images among the multiple first images, it is determined that welding slag is suspected to be attached to the above-mentioned filter, and the above-mentioned predetermined portion includes an inflection point and / or a straight line; thereafter, when it is determined that the above-mentioned welding slag is suspected to be attached to the above-mentioned filter, an image taken by the above-mentioned laser camera when the above-mentioned weld is in an obstructed state is acquired to obtain a second image, and the obstructed state of the above-mentioned weld is a state in which a background plate is located between the above-mentioned laser camera and the above-mentioned weld, and the above-mentioned background plate is a pure color light-emitting plate; finally, when the patch area on the above-mentioned second image meets a predetermined condition, it is determined that the above-mentioned welding slag is attached to the above-mentioned filter. In the detection method, it is first determined whether there are at least two consecutive first images among the multiple first images that cannot identify the predetermined part of the weld, and a rough judgment is made on whether there is welding slag. When it is determined that there is suspected welding slag attached to the filter, a second image taken by the laser camera when the weld is blocked is obtained. This avoids the problem of directly blocking the weld to obtain the second image and then determine whether there is welding slag attached to the filter, resulting in low welding efficiency. Subsequently, it is determined whether there is welding slag attached to the filter based on whether the patch area on the second image meets the predetermined conditions. This method can more accurately determine whether to replace the filter, thereby solving the problem of difficulty in accurately determining whether there is welding slag on the filter in the prior art.

[0046] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0047] In a specific embodiment of the present application, when it is determined that welding slag is attached to the filter, a notification message can be issued to notify the user to perform the filter replacement operation. When it is determined that there is no welding slag attached to the filter, a notification message can be issued to notify the user to determine whether there are other reasons. The user can perform operation checks for other reasons. The above-mentioned other reasons may be cheap welds, the need to adjust the camera exposure, or other reasons such as laser damage.

[0048] In actual application, the notification information may be an audio and visual reminder, but is not limited to an audio and visual reminder, and may also be other types of reminder information.

[0049] In one embodiment of the present application, when a predetermined portion of the weld cannot be identified in at least two consecutive first images among the multiple first images, it is determined that welding slag is suspected to be attached to the filter, including: when the predetermined portion cannot be identified in at least N consecutive first images among the M first images, it is determined that welding slag is suspected to be attached to the filter, wherein N / M>0.5, so that it can be more accurately determined whether there is suspected welding slag attached to the filter.

[0050] In actual application, for example, when at least three of five consecutive first images fail to identify the predetermined portion, it can be preliminarily determined that welding slag is suspected to be attached to the filter.

[0051] In another embodiment of the present application, when it is determined that the above-mentioned welding slag is suspected to be attached to the above-mentioned filter, the image captured by the above-mentioned laser camera when the above-mentioned weld is blocked is obtained to obtain a second image, including: when it is determined that the above-mentioned welding slag is suspected to be attached to the above-mentioned filter, the above-mentioned background plate is controlled to move from the first state to the second state, wherein the above-mentioned first state is a state in which the above-mentioned weld is not blocked and the above-mentioned laser camera can capture the above-mentioned weld, and the above-mentioned second state is a state in which the above-mentioned weld is in the above-mentioned blocked state; the above-mentioned second image captured by the above-mentioned laser camera when the above-mentioned background plate is in the above-mentioned second state is obtained. In this embodiment, by obtaining the second image captured by the laser camera when the background plate is in the second state, it is subsequently determined whether the patch area on the second image meets the predetermined condition. In this scheme, the background plate can be automatically controlled to move from the first state to the second state, so that the second image can be obtained more efficiently, thereby more efficiently determining whether the welding slag is attached to the filter, and further solving the problem of difficulty in accurately determining whether there is welding slag on the filter in the prior art.

[0052] Of course, the switching of the background board from the first state to the second state may not be achieved by automatic control, but may be controlled manually, which is relatively inefficient.

[0053] In a more specific embodiment, the background plate is a part of the welding robot, that is, the welding robot also includes a background plate, and the background plate is installed on the main body structure of the welding robot, and the background plate has a first state and a second state.

[0054] In another embodiment of the present application, when the patch area on the second image meets the predetermined conditions, before determining that the welding slag is attached to the filter, the method further includes: obtaining target parameters of the patch area, the target parameters including the area of ​​the patch area and / or the number of the patch areas; when the target parameters are greater than the corresponding preset values, determining that the patch area meets the predetermined conditions. In this embodiment, it can be more accurately determined whether the patch area on the second image meets the predetermined conditions based on the area of ​​the patch area and / or the number of the patch areas on the second image, and thus it can be more accurately determined whether the welding slag is attached to the filter.

[0055] In another embodiment of the present application, the color of the background plate is the same as the color of the laser emitted by the laser camera. For example, the color of the laser is red and the color of the filter is also red. In this way, it can be more accurately determined whether there are patch areas on the filter and the number of patch areas. Subsequently, based on whether the patch areas meet predetermined conditions, it can be further more efficiently and accurately determined whether there is welding slag attached to the filter.

[0056] In a specific embodiment of the present application, the background panel may be a solid color flat panel, but is not limited to solid color flat panels, and may also be other flat panels. Of course, the background panel is not limited to flat panels, and may also be other types of panels.

[0057] In one embodiment of the present application, the method further includes: when it is determined that the welding slag is attached to the filter, determining that the filter needs to be replaced, and controlling the welding robot to stop welding. In this embodiment, when it is determined that the filter has welding slag attached to it, it is determined that the filter needs to be replaced, which ensures that the result of determining whether to replace the filter is more accurate, that is, the filter can be replaced more accurately, avoiding the waste of filters caused by regular replacement of filters in the prior art.

[0058] According to another embodiment of the present application, a method for replacing a filter is provided, which can be applied to a replacement structure.

[0059] Figure 2 FIG. 1 is a flow chart of a method for replacing a filter according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0060] Step S201, the replacement structure receives a replacement instruction issued by the welding robot, wherein the replacement instruction is an instruction issued when any method is used to determine that welding slag is attached to the filter;

[0061] Step S202, in response to the replacement instruction, the replacement structure replaces the filter, the replacement structure includes a movable body and a replacement component, the replacement component is located on the movable body, and the replacement component is used to replace the filter.

[0062] In the above filter replacement method, the replacement structure receives a replacement instruction issued by the welding robot, and the replacement instruction is an instruction issued when any method is used to determine that welding slag is attached to the filter; in response to the replacement instruction, the replacement structure replaces the filter, and the replacement structure includes a movable body and a replacement component, and the replacement component is located on the movable body, and the replacement component is used to replace the filter. In the filter replacement method, any of the above methods is used to determine whether there is welding slag on the filter, so that it can be more accurately determined whether there is welding slag on the filter; and in the method, when it is determined that welding slag is attached to the filter, the replacement instruction is received, and the filter is replaced in response to the replacement instruction. In this way, the automatic replacement of the filter of the welding robot is realized, and many problems caused by the need to manually replace the filter are avoided, such as time-consuming and labor-intensive, low replacement efficiency and safety hazards (the temperature of the welding position will be very high when the welding operation has just stopped, and the operator is easily scalded if the operation is not standardized), ensuring a high replacement efficiency.

[0063] In one embodiment of the present application, in response to the above-mentioned replacement instruction, the replacement structure replaces the above-mentioned filter, including: in response to the above-mentioned replacement instruction, obtaining the current position information of the above-mentioned welding robot to obtain the first position information; obtaining the current position information of the above-mentioned replacement structure to obtain the second position information; according to the above-mentioned first position information and the second position information, controlling the above-mentioned replacement structure to move to a predetermined area, the above-mentioned predetermined area is the position area where the above-mentioned replacement component can directly replace the above-mentioned filter; controlling the above-mentioned replacement component to replace the above-mentioned filter. In this embodiment, according to the obtained first position information and the second position information, the replacement structure is controlled to move to the predetermined area, which ensures that the replacement structure can move to the predetermined area more accurately and quickly.

[0064] Specifically, each of the above-mentioned replacement structures is controlled to move to a predetermined area, and the predetermined area may be 4 cm to 10 cm. Of course, the predetermined area is not limited to 4 cm to 10 cm, and may also be the range of other suitable predetermined areas.

[0065] In a specific embodiment of the present application, the replacement mechanism is a manipulator, the welding robot issues a replacement instruction, the replacement structure receives and responds to the replacement instruction, and issues a prompt signal, such as a specific sound and light prompt signal, to remind the user to replace the filter. The user controls the replacement structure to move to a position within a certain range of the welding robot. After reaching the position within the set range, the replacement structure obtains the precise position of the filter through an image detection device, and then the replacement structure controls its manipulator to unload the filter of the welding robot, and then reinstalls the prepared new filter, and sends a notification signal to notify the user that the replacement has been made (the specific notification signal can be a sound and light reminder). The user controls the replacement structure to return and sends a welding instruction to the welding robot to continue the welding operation. In actual applications, the coarse position can be set to 10cm to 50cm. Of course, the above coarse position is not limited to 10cm to 50cm, and can also be other suitable distances.

[0066] According to another embodiment of the present application, a method for replacing a filter is provided, which can be applied to servers such as cloud servers. The method includes:

[0067] receiving a replacement instruction issued by the welding robot, wherein the replacement instruction is an instruction issued when it is determined by any method that welding slag is attached to the filter;

[0068] In response to the replacement instruction, the replacement structure is controlled to replace the filter. The replacement structure includes a movable body and a replacement component. The replacement component is located on the movable body and is used to replace the filter.

[0069] In the above-mentioned filter replacement method, a server such as a cloud server receives a replacement instruction issued by a welding robot, and the above-mentioned replacement instruction is issued when any method is used to determine that welding slag is attached to the filter; in response to the above-mentioned replacement instruction, the replacement structure is controlled to replace the above-mentioned filter, and the above-mentioned replacement structure includes a movable body and a replacement component, and the above-mentioned replacement component is located on the above-mentioned movable body, and the above-mentioned replacement component is used to replace the above-mentioned filter. In the filter replacement method, any of the above-mentioned methods is used to determine whether there is welding slag on the filter, so as to more accurately determine whether there is welding slag on the filter; and in this method, when it is determined that welding slag is attached to the filter, a replacement instruction is received, and the filter is replaced in response to the replacement instruction. In this way, the automatic replacement of the filter of the welding robot is realized, and many problems caused by the need to manually replace the filter are avoided, such as time-consuming and labor-intensive, low replacement efficiency and safety hazards (the welding operation has just stopped, the temperature at the welding position will also be very high, and the operator is prone to burns if the operation is not standardized), ensuring a high replacement efficiency.

[0070] In another embodiment of the present application, in response to the above-mentioned replacement instruction, the replacement structure replaces the above-mentioned filter, including: in response to the above-mentioned replacement instruction, obtaining the current position information of the above-mentioned welding robot to obtain the first position information; obtaining the current position information of the above-mentioned replacement structure to obtain the second position information; according to the above-mentioned first position information and the second position information, controlling the above-mentioned replacement structure to move to a predetermined area, the above-mentioned predetermined area is the position area where the above-mentioned replacement component can directly replace the above-mentioned filter; controlling the above-mentioned replacement component to replace the above-mentioned filter. In this embodiment, according to the obtained first position information and second position information, the replacement structure is controlled to move to the predetermined area, which ensures that the replacement structure can move to the predetermined area more accurately and quickly.

[0071] The embodiment of the present application also provides a welding slag detection device. It should be noted that the welding slag detection device of the embodiment of the present application can be used to execute the welding slag detection method provided in the embodiment of the present application. The welding slag detection device provided in the embodiment of the present application is introduced below.

[0072] Figure 3 Schematic diagram of a welding slag detection device according to an embodiment of the present application. Figure 3 As shown, the device comprises:

[0073] A first acquisition unit 10 is used to acquire an image of the weld taken by a laser camera in real time to obtain a first image;

[0074] A first determining unit 20 is used to determine that welding slag is suspected to be attached to the filter when at least two consecutive first images among the plurality of first images cannot identify a predetermined portion of the weld, wherein the predetermined portion includes an inflection point and / or a straight line;

[0075] The second acquisition unit 30 is used to acquire the image taken by the laser camera when the weld is blocked, to obtain a second image, when it is determined that the weld slag is suspected to be attached to the filter, wherein the weld is blocked when a background plate is located between the laser camera and the weld, and the background plate is a pure color light-emitting plate;

[0076] The second determination unit 40 is used to determine that the welding slag is attached to the filter when the patch area on the second image meets a predetermined condition.

[0077] In the above-mentioned welding slag detection device, the first acquisition unit is used to acquire the image of the weld taken by the laser camera in real time to obtain a first image; the first determination unit is used to determine that welding slag is suspected to be attached to the above-mentioned filter when at least two consecutive first images among the multiple first images cannot identify the predetermined part of the above-mentioned weld, and the above-mentioned predetermined part includes an inflection point and / or a straight line; the second acquisition unit is used to acquire the image taken by the laser camera when the above-mentioned weld is in an obstructed state to obtain a second image when it is determined that the above-mentioned welding slag is suspected to be attached to the above-mentioned filter, and the obstructed state of the above-mentioned weld is a state in which the background plate is located between the above-mentioned laser camera and the above-mentioned weld, and the above-mentioned background plate is a pure color light-emitting plate; the second determination unit is used to determine that the above-mentioned welding slag is attached to the above-mentioned filter when the patch area on the above-mentioned second image meets a predetermined condition. In the detection device, the first determination unit determines whether there are at least two consecutive first images among the multiple first images that cannot identify the predetermined part of the weld, and makes a rough judgment on whether there is welding slag. When it is determined that there is suspected welding slag attached to the filter, the second acquisition unit acquires the second image taken by the laser camera when the weld is blocked. This avoids the problem of low welding efficiency caused by directly blocking the weld to acquire the second image and then determine whether there is welding slag attached to the filter. Subsequently, it is determined whether there is welding slag attached to the filter based on whether the patch area on the second image meets the predetermined conditions. The device can more accurately determine whether to replace the filter, thereby solving the problem of difficulty in accurately determining whether there is welding slag on the filter in the prior art.

[0078] In a specific embodiment of the present application, when it is determined that welding slag is attached to the filter, a notification message can be issued to notify the user to perform the filter replacement operation. When it is determined that there is no welding slag attached to the filter, a notification message can be issued to notify the user to determine whether there are other reasons. The user can perform operation checks for other reasons. The above-mentioned other reasons may be cheap welds, the need to adjust the camera exposure, or other reasons such as laser damage.

[0079] In actual application, the notification information may be an audio and visual reminder, but is not limited to an audio and visual reminder, and may also be other types of reminder information.

[0080] In one embodiment of the present application, the above-mentioned first determination unit also includes a determination module, which is used to determine that the above-mentioned welding slag is suspected to be attached to the above-mentioned filter when the above-mentioned predetermined part cannot be identified in at least N consecutive first images among the M above-mentioned first images, wherein N / M>0.5, so that it can be more accurately determined whether the filter is suspected to have welding slag attached.

[0081] In actual application, for example, when at least three of five consecutive first images fail to identify the predetermined portion, it can be preliminarily determined that welding slag is suspected to be attached to the filter.

[0082] In another embodiment of the present application, the second acquisition unit further includes a first control module and a first acquisition module, wherein the first control module is used to control the background plate to move from the first state to the second state when it is determined that the filter is suspected to have the welding slag attached thereto, wherein the first state is a state in which the weld is not blocked and the laser camera can capture the weld, and the second state is a state in which the weld is blocked; the first acquisition module is used to acquire the second image captured by the laser camera when the background plate is in the second state. In this embodiment, by acquiring the second image captured by the laser camera when the background plate is in the second state, it is subsequently determined whether the patch area on the second image meets the predetermined condition. In the device, the background plate can be automatically controlled to move from the first state to the second state, so that the second image can be acquired more efficiently, thereby more efficiently determining whether the filter is attached with welding slag, and further solving the problem in the prior art that it is difficult to accurately determine whether the filter is attached with welding slag.

[0083] Of course, the switching of the background board from the first state to the second state may not be achieved by automatic control, but may be controlled manually, which is relatively inefficient.

[0084] In a more specific embodiment, the background plate is a part of the welding robot, that is, the welding robot also includes a background plate, and the background plate is installed on the main body structure of the welding robot, and the background plate has a first state and a second state.

[0085] In another embodiment of the present application, when the patch area on the second image meets the predetermined conditions, before determining that the welding slag is attached to the filter, the control device further includes a third acquisition unit and a third determination unit, wherein the third acquisition unit is used to acquire the target parameters of the patch area, and the target parameters include the area of ​​the patch area and / or the number of the patch areas; the third determination unit is used to determine that the patch area meets the predetermined conditions when the target parameters are greater than the corresponding preset values. In this embodiment, it can be more accurately determined whether the patch area on the second image meets the predetermined conditions based on the area of ​​the patch area and / or the number of the patch areas on the second image, and thus it can be more accurately determined whether the welding slag is attached to the filter.

[0086] In another embodiment of the present application, the color of the background plate is the same as the color of the laser emitted by the laser camera. For example, the color of the laser is red and the color of the filter is also red. In this way, it can be more accurately determined whether there are patch areas on the filter and the number of patch areas. Subsequently, based on whether the patch areas meet predetermined conditions, it can be further more efficiently and accurately determined whether there is welding slag attached to the filter.

[0087] In a specific embodiment of the present application, the background panel may be a solid color flat panel, but is not limited to solid color flat panels, and may also be other flat panels. Of course, the background panel is not limited to flat panels, and may also be other types of panels.

[0088] In one embodiment of the present application, the control device further includes a fourth determination unit, which is used to determine that the filter needs to be replaced when it is determined that the welding slag is attached to the filter, and control the welding robot to stop welding. In this embodiment, when it is determined that the filter needs to be replaced when welding slag is attached to the filter, it is determined that the filter needs to be replaced, which ensures that the result of determining whether to replace the filter is more accurate, that is, the filter can be replaced more accurately, avoiding the waste of filters caused by regular replacement of filters in the prior art.

[0089] Figure 4 Schematic diagram of a filter replacement device according to an embodiment of the present application. Figure 4 As shown, the device comprises:

[0090] A first receiving unit 50 is used to receive a replacement instruction issued by the welding robot, wherein the replacement instruction is an instruction issued when it is determined by any method that welding slag is attached to the filter;

[0091] The first response unit 60 is used to respond to the above-mentioned replacement instruction. The above-mentioned replacement structure replaces the above-mentioned filter. The above-mentioned replacement structure includes a movable body and a replacement component. The above-mentioned replacement component is located on the above-mentioned movable body, and the above-mentioned replacement component is used to replace the above-mentioned filter.

[0092] In the above filter replacement device, the first receiving unit is used for the replacement structure to receive the replacement instruction issued by the welding robot, and the replacement instruction is an instruction issued when any method is used to determine that welding slag is attached to the filter; the first responding unit is used to respond to the replacement instruction, and the replacement structure replaces the filter, and the replacement structure includes a movable body and a replacement component, and the replacement component is located on the movable body, and the replacement component is used to replace the filter. In the filter replacement device, any of the above devices is used to determine whether there is welding slag on the filter, so that it can be more accurately determined whether there is welding slag on the filter; and in the device, when it is determined that welding slag is attached to the filter, the replacement instruction is received, and the filter is replaced in response to the replacement instruction. In this way, the automatic replacement of the filter of the welding robot is realized, and many problems caused by the need to manually replace the filter are avoided, such as time-consuming and labor-intensive, low replacement efficiency and safety hazards (the temperature of the welding position will be very high when the welding operation has just stopped, and the operator is easily scalded if the operation is not standardized), ensuring a high replacement efficiency.

[0093] In one embodiment of the present application, the first response unit further includes a first response module, a second acquisition module, a second control module and a third control module, wherein the first response module is used to respond to the replacement instruction, obtain the current position information of the welding robot, and obtain the first position information; the second acquisition module is used to obtain the current position information of the replacement structure, and obtain the second position information; the second control module is used to control the replacement structure to move to a predetermined area according to the first position information and the second position information, and the predetermined area is the position area where the replacement component can directly replace the filter; the third control module is used to control the replacement component to replace the filter. In this embodiment, the replacement structure is controlled to move to the predetermined area according to the first position information and the second position information obtained, which ensures that the replacement structure can move to the predetermined area more accurately and quickly.

[0094] Specifically, each of the above-mentioned replacement structures is controlled to move to a predetermined area, and the predetermined area may be 4 cm to 10 cm. Of course, the predetermined area is not limited to 4 cm to 10 cm, and may also be the range of other suitable predetermined areas.

[0095] In a specific embodiment of the present application, the replacement mechanism is a manipulator, the welding robot issues a replacement instruction, the replacement structure receives and responds to the replacement instruction, and issues a prompt signal, such as a specific sound and light prompt signal, to remind the user to replace the filter. The user controls the replacement structure to move to a position within a certain range of the welding robot. After reaching the position within the set range, the replacement structure obtains the precise position of the filter through an image detection device, and then the replacement structure controls its manipulator to unload the filter of the welding robot, and then reinstalls the prepared new filter, and sends a notification signal to notify the user that the replacement has been made (the specific notification signal can be a sound and light reminder). The user controls the replacement structure to return and sends a welding instruction to the welding robot to continue the welding operation. In actual applications, the coarse position can be set to 10cm to 50cm. Of course, the above coarse position is not limited to 10cm to 50cm, and can also be other suitable distances.

[0096] According to another embodiment of the present application, a filter replacement device is also provided, which can be applied to servers such as cloud servers. The device includes:

[0097] A second receiving unit is used to receive a replacement instruction issued by the welding robot, wherein the replacement instruction is an instruction issued when it is determined by any method that welding slag is attached to the filter;

[0098] The second response unit is used to respond to the above-mentioned replacement instruction and control the replacement structure to replace the above-mentioned filter. The above-mentioned replacement structure includes a movable body and a replacement component. The above-mentioned replacement component is located on the above-mentioned movable body, and the above-mentioned replacement component is used to replace the above-mentioned filter.

[0099] In the above filter replacement device, the second receiving unit is used to receive a replacement instruction issued by the welding robot, and the replacement instruction is an instruction issued when any device is used to determine that welding slag is attached to the filter; the second response unit is used to respond to the replacement instruction and control the replacement structure to replace the filter, and the replacement structure includes a movable body and a replacement component, and the replacement component is located on the movable body, and the replacement component is used to replace the filter. In the filter replacement device, any of the above methods is used to determine whether there is welding slag on the filter, so as to more accurately determine whether there is welding slag on the filter; and in the device, when it is determined that welding slag is attached to the filter, the replacement instruction is received, and the filter is replaced in response to the replacement instruction. In this way, the automatic replacement of the filter of the welding robot is realized, and many problems caused by the need to manually replace the filter are avoided, such as time-consuming and labor-intensive, low replacement efficiency and safety hazards (the temperature of the welding position will be very high when the welding operation has just stopped, and the operator is easily scalded if the operation is not standardized), and the replacement efficiency is high.

[0100] In another embodiment of the present application, the second response unit further includes a second response module, a third acquisition module, a fourth control module and a fifth control module, wherein the second response module is used to respond to the replacement instruction, obtain the current position information of the welding robot, and obtain the first position information; the third acquisition module is used to obtain the current position information of the replacement structure, and obtain the second position information; the fourth control module is used to control the replacement structure to move to a predetermined area according to the first position information and the second position information, and the predetermined area is the position area where the replacement component can directly replace the filter; the fifth control module is used to control the replacement component to replace the filter. In this embodiment, the replacement structure is controlled to move to the predetermined area according to the first position information and the second position information obtained, which ensures that the replacement structure can move to the predetermined area more accurately and quickly.

[0101] In one embodiment of the present application, Figure 5 As shown, a welding robot is also provided, including a welding body structure 01, a laser camera 02, one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the above-mentioned memory and are configured to be executed by the above-mentioned one or more processors, and the above-mentioned one or more programs include methods for executing any one of the above-mentioned methods, wherein the above-mentioned laser camera 02 is located on the welding body structure 01.

[0102] The above-mentioned welding robot includes a laser camera, and the above-mentioned welding robot can execute the above-mentioned welding slag detection method. In the above-mentioned welding slag detection method, it is first determined whether there are at least two consecutive first images in the multiple first images that cannot identify the predetermined part of the weld, and a rough judgment is made on whether there is welding slag. When it is determined that there is suspected welding slag attached to the filter, a second image taken by the laser camera when the weld is blocked is obtained. This avoids the problem of low welding efficiency caused by directly blocking the weld to obtain the second image and then judging whether there is welding slag attached to the filter. Subsequently, it is determined whether there is welding slag attached to the filter based on whether the patch area on the second image meets the predetermined conditions. This method can more accurately determine whether the filter needs to be replaced, thereby solving the problem of difficulty in accurately determining whether there is welding slag on the filter in the prior art.

[0103] In another embodiment of the present application, Figure 6As shown, a replacement device is also provided, including a replacement structure, one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include functions for executing any one of the above methods, wherein the replacement structure includes a movable body 03 and a replacement component 04, the replacement component 04 is located on the movable body 03, and the replacement component 04 is used to replace the filter.

[0104] The above-mentioned replacement device includes a replacement structure, and the above-mentioned replacement structure can execute the above-mentioned filter replacement method. In the above-mentioned filter replacement method, any of the above-mentioned methods is used to determine whether there is welding slag on the filter, so that whether there is welding slag on the filter can be determined more accurately; and in this method, when it is determined that welding slag is attached to the filter, a replacement instruction is received, and the filter is replaced in response to the replacement instruction. In this way, the automatic replacement of the filter of the welding robot is realized, and many problems caused by the need to manually replace the filter are avoided, such as time-consuming and labor-intensive, low replacement efficiency and safety hazards (the temperature at the welding position will be very high when the welding operation has just stopped, and the operator is prone to burns if the operation is not standardized), ensuring a high replacement efficiency.

[0105] In another embodiment of the present application, Figure 6 As shown, it also includes an image acquisition device 05 installed on the above-mentioned movable body 03, which is used to obtain the position of the above-mentioned filter. The subsequent replacement structure replaces the filter according to the obtained position of the filter, thus ensuring that the position of the filter can be quickly found.

[0106] In another embodiment of the present application, a welding system is provided, including a welding robot, a replacement structure, one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the methods mentioned above, wherein the welding robot includes a welding body structure and a laser camera, the laser camera includes a filter, the replacement structure includes a movable body and a replacement component, the replacement component is located on the movable body, and the replacement component is used to replace the filter.

[0107] The welding system includes a welding robot and a replacement structure. The welding robot can execute any one of the welding slag detection methods, and the replacement structure can execute any one of the filter replacement methods.

[0108] The above-mentioned welding slag detection device includes a processor and a memory. The above-mentioned first acquisition unit, first determination unit, second acquisition unit and second determination unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0109] The filter replacement device comprises a processor and a memory. The first receiving unit and the first responding unit are stored in the memory as program units. The processor executes the program units stored in the memory to realize corresponding functions.

[0110] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be provided, and the problem of the difficulty in accurately determining whether there is welding slag on the filter in the prior art can be solved by adjusting kernel parameters.

[0111] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0112] An embodiment of the present invention provides a storage medium on which a program is stored. When the program is executed by a processor, the above-mentioned welding slag detection method or filter replacement method is implemented.

[0113] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the welding slag detection method or the filter replacement method is executed when the program is running.

[0114] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:

[0115] Step S101, acquiring an image of a weld captured by a laser camera in real time to obtain a first image;

[0116] Step S102, when a predetermined portion of the weld cannot be identified in at least two consecutive first images among the plurality of first images, determining that welding slag is suspected to be attached to the filter, the predetermined portion including an inflection point and / or a straight line;

[0117] Step S103, when it is determined that the welding slag is suspected to be attached to the filter, an image taken by the laser camera when the weld is blocked is obtained to obtain a second image, wherein the weld is blocked when a background plate is located between the laser camera and the weld, and the background plate is a pure color light-emitting plate;

[0118] Step S104, when the patch area on the second image meets a predetermined condition, determining that the welding slag is attached to the filter;

[0119] Alternatively, the processor implements at least the following steps when executing the program:

[0120] Step S201, the replacement structure receives a replacement instruction issued by the welding robot, wherein the replacement instruction is an instruction issued when any method is used to determine that welding slag is attached to the filter;

[0121] Step S202, in response to the replacement instruction, the replacement structure replaces the filter, the replacement structure includes a movable body and a replacement component, the replacement component is located on the movable body, and the replacement component is used to replace the filter.

[0122] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0123] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:

[0124] Step S101, acquiring an image of a weld captured by a laser camera in real time to obtain a first image;

[0125] Step S102, when a predetermined portion of the weld cannot be identified in at least two consecutive first images among the plurality of first images, determining that welding slag is suspected to be attached to the filter, the predetermined portion including an inflection point and / or a straight line;

[0126] Step S103, when it is determined that the welding slag is suspected to be attached to the filter, an image taken by the laser camera when the weld is blocked is obtained to obtain a second image, wherein the weld is blocked when a background plate is located between the laser camera and the weld, and the background plate is a pure color light-emitting plate;

[0127] Step S104, when the patch area on the second image meets a predetermined condition, determining that the welding slag is attached to the filter;

[0128] Alternatively, a procedure suitable for executing initialization comprises at least the following method steps:

[0129] Step S201, the replacement structure receives a replacement instruction issued by the welding robot, wherein the replacement instruction is an instruction issued when any method is used to determine that welding slag is attached to the filter;

[0130] Step S202, in response to the replacement instruction, the replacement structure replaces the filter, the replacement structure includes a movable body and a replacement component, the replacement component is located on the movable body, and the replacement component is used to replace the filter.

[0131] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0132] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above-mentioned units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

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

[0134] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0135] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0136] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0137] 1) In the welding slag detection method of the present application, first, an image of the weld taken by a laser camera is acquired in real time to obtain a first image; then, when a predetermined portion of the weld cannot be identified in at least two consecutive first images among the plurality of first images, it is determined that welding slag is suspected to be attached to the optical filter, and the predetermined portion includes an inflection point and / or a straight line; thereafter, when it is determined that welding slag is suspected to be attached to the optical filter, an image taken by the laser camera when the weld is in an obstructed state is acquired to obtain a second image, and the obstructed state of the weld is a state in which a background plate is located between the laser camera and the weld, and the background plate is a pure color light-emitting plate; finally, when a patch area on the second image meets a predetermined condition, it is determined that welding slag is attached to the optical filter. In the detection method, it is first determined whether there are at least two consecutive first images among the multiple first images that cannot identify the predetermined part of the weld, and a rough judgment is made on whether there is welding slag. When it is determined that there is suspected welding slag attached to the filter, a second image taken by the laser camera when the weld is blocked is obtained. This avoids the problem of directly blocking the weld to obtain the second image and then determine whether there is welding slag attached to the filter, resulting in low welding efficiency. Subsequently, it is determined whether there is welding slag attached to the filter based on whether the patch area on the second image meets the predetermined conditions. This method can more accurately determine whether the filter needs to be replaced, thereby solving the problem of difficulty in accurately determining whether there is welding slag on the filter in the prior art.

[0138] 2) In the filter replacement method of the present application, the replacement structure receives a replacement instruction issued by the welding robot, and the replacement instruction is an instruction issued when any method is used to determine that welding slag is attached to the filter; in response to the replacement instruction, the replacement structure replaces the filter, and the replacement structure includes a movable body and a replacement component, and the replacement component is located on the movable body, and the replacement component is used to replace the filter. In the filter replacement method, any of the above methods is used to determine whether there is welding slag on the filter, so that it can be more accurately determined whether there is welding slag on the filter; and in the method, when it is determined that welding slag is attached to the filter, the replacement instruction is received, and the filter is replaced in response to the replacement instruction. In this way, the automatic replacement of the filter of the welding robot is realized, and many problems caused by the need to manually replace the filter are avoided, such as time-consuming and labor-intensive, low replacement efficiency and safety hazards (the temperature of the welding position will be very high when the welding operation has just stopped, and the operator is easily scalded if the operation is not standardized), ensuring a high replacement efficiency.

[0139] 3) In the welding slag detection device of the present application, the first acquisition unit is used to acquire the image of the weld taken by the laser camera in real time to obtain the first image; the first determination unit is used to determine that welding slag is suspected to be attached to the above-mentioned filter when at least two consecutive first images among the multiple first images cannot identify the predetermined part of the above-mentioned weld, and the above-mentioned predetermined part includes an inflection point and / or a straight line; the second acquisition unit is used to acquire the image taken by the laser camera when the above-mentioned weld is in an obstructed state to obtain the second image when it is determined that the above-mentioned weld slag is suspected to be attached to the above-mentioned filter, and the obstructed state of the above-mentioned weld is a state where the background plate is located between the above-mentioned laser camera and the above-mentioned weld, and the above-mentioned background plate is a pure color light-emitting plate; the second determination unit is used to determine that the above-mentioned welding slag is attached to the above-mentioned filter when the patch area on the above-mentioned second image meets a predetermined condition. In the detection device, the first determination unit determines whether there are at least two consecutive first images among the multiple first images that cannot identify the predetermined part of the weld, and makes a rough judgment on whether there is welding slag. When it is determined that there is suspected welding slag attached to the filter, the second acquisition unit acquires the second image taken by the laser camera when the weld is blocked. This avoids the problem of low welding efficiency caused by directly blocking the weld to acquire the second image and then determine whether there is welding slag attached to the filter. Subsequently, it is determined whether there is welding slag attached to the filter based on whether the patch area on the second image meets the predetermined conditions. The device can more accurately determine whether the filter needs to be replaced, thereby solving the problem of difficulty in accurately determining whether there is welding slag on the filter in the prior art.

[0140] 4) In the filter replacement device of the present application, the first receiving unit is used for the replacement structure to receive the replacement instruction issued by the welding robot, and the replacement instruction is an instruction issued when any method is used to determine that welding slag is attached to the filter; the first responding unit is used to respond to the replacement instruction, and the replacement structure replaces the filter, and the replacement structure includes a movable body and a replacement component, and the replacement component is located on the movable body, and the replacement component is used to replace the filter. In the filter replacement device, any of the above devices is used to determine whether there is welding slag on the filter, so that it can be more accurately determined whether there is welding slag on the filter; and in the device, when it is determined that welding slag is attached to the filter, the replacement instruction is received, and the filter is replaced in response to the replacement instruction. In this way, the automatic replacement of the filter of the welding robot is realized, and many problems caused by the need to manually replace the filter are avoided, such as time-consuming and labor-intensive, low replacement efficiency and safety hazards (the temperature of the welding position will be very high when the welding operation has just stopped, and the operator is easily scalded if the operation is not standardized), ensuring a high replacement efficiency.

[0141] 5) The welding robot of the present application includes a laser camera. The above-mentioned welding robot can execute the above-mentioned welding slag detection method. In the above-mentioned welding slag detection method, it is first determined whether there are at least two consecutive first images among the multiple first images that cannot identify the predetermined part of the weld, and a rough judgment is made on whether there is welding slag. When it is determined that there is suspected welding slag attached to the filter, a second image taken by the laser camera when the weld is blocked is obtained. This avoids the problem of low welding efficiency caused by directly blocking the weld to obtain the second image and then determine whether there is welding slag attached to the filter. Subsequently, it is determined whether there is welding slag attached to the filter based on whether the patch area on the second image meets the predetermined conditions. This method can more accurately determine whether the filter needs to be replaced, thereby solving the problem of difficulty in accurately determining whether there is welding slag on the filter in the prior art.

[0142] 6) The replacement device of the present application includes a replacement structure, and the replacement structure can execute the above-mentioned filter replacement method. In the above-mentioned replacement method, any of the above-mentioned methods is used to determine whether there is welding slag on the filter, so that whether there is welding slag on the filter can be determined more accurately; and in this method, when it is determined that welding slag is attached to the filter, a replacement instruction is received, and the filter is replaced in response to the replacement instruction. In this way, the automatic replacement of the filter of the welding robot is realized, and many problems caused by the need to manually replace the filter are avoided, such as time-consuming and labor-intensive, low replacement efficiency and safety hazards (the temperature at the welding position will also be very high when the welding operation has just stopped, and the operator is prone to burns if the operation is not standardized), ensuring a high replacement efficiency.

[0143] 7) The welding system of the present application includes a welding robot and a welding device. The welding robot can execute any one of the above-mentioned welding slag detection methods, and the replacement structure can execute any one of the above-mentioned filter replacement methods.

[0144] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for detecting welding slag, characterized in that: The laser camera for welding robots includes filters, including: Acquire an image of the weld taken by a laser camera in real time to obtain a first image; When a predetermined portion of the weld cannot be identified in at least two consecutive first images among the plurality of first images, it is determined that welding slag is suspected to be attached to the filter, and the predetermined portion includes an inflection point and / or a straight line; When it is determined that the welding slag is suspected to be attached to the filter, an image taken by the laser camera when the weld is blocked is obtained to obtain a second image, wherein the weld is blocked when a background plate is located between the laser camera and the weld, and the background plate is a pure color light-emitting plate; When the patch area on the second image meets a predetermined condition, it is determined that the welding slag is attached to the filter.

2. The method according to claim 1, characterized in that When the predetermined portion of the weld cannot be identified in at least two consecutive first images among the plurality of first images, determining that welding slag is suspected to be attached to the filter includes: When the predetermined portion cannot be identified in at least N consecutive first images among the M first images, it is determined that the welding slag is suspected to be attached to the filter, wherein N / M>0.

5.

3. The method according to claim 1, characterized in that: When it is determined that the welding slag is suspected to be attached to the filter, an image taken by the laser camera when the weld is blocked is obtained to obtain a second image, including: When it is determined that the welding slag is suspected to be attached to the filter, the background plate is controlled to move from a first state to a second state, wherein the first state is to not block the weld and allow the laser camera to photograph the weld, and the second state is to make the weld in the blocked state; The second image captured by the laser camera when the background plate is in the second state is acquired.

4. The method according to claim 3, characterized in that When the patch area on the second image meets a predetermined condition, before determining that the welding slag is attached to the filter, the method further includes: Acquire a target parameter of the plaque region, wherein the target parameter includes the area of ​​the plaque region and / or the number of the plaque regions; When the target parameter is greater than the corresponding preset value, it is determined that the plaque area meets the predetermined condition.

5. The method according to any one of claims 1 to 4, characterized in that The color of the background plate is the same as the color of the laser emitted by the laser camera.

6. The method according to any one of claims 1 to 4, characterized in that The method further comprises: When it is determined that the welding slag is attached to the optical filter, it is determined that the optical filter needs to be replaced, and the welding robot is controlled to stop welding.

7. A method for replacing a filter, characterized in that: include: The replacement structure receives a replacement instruction issued by the welding robot, wherein the replacement instruction is an instruction issued when it is determined that welding slag is attached to the filter by any one of the methods of claims 1 to 6; In response to the replacement instruction, the replacement structure replaces the optical filter. The replacement structure includes a movable body and a replacement component. The replacement component is located on the movable body and is used to replace the optical filter.

8. The method according to claim 7, characterized in that In response to the replacement instruction, the replacement structure replaces the filter, including: In response to the replacement instruction, obtaining current position information of the welding robot to obtain first position information; Acquire the position information of the current replacement structure to obtain second position information; According to the first position information and the second position information, controlling the replacement structure to move to a predetermined area, wherein the predetermined area is a position area where the replacement component can directly replace the filter; Control the replacement component to replace the filter.

9. A method for replacing a filter, characterized in that: include: Receiving a replacement instruction issued by the welding robot, wherein the replacement instruction is an instruction issued when it is determined that welding slag is attached to the filter by using any one of the methods of claims 1 to 6; In response to the replacement instruction, the replacement structure is controlled to replace the filter, the replacement structure includes a movable body and a replacement component, the replacement component is located on the movable body, and the replacement component is used to replace the filter.

10. The method according to claim 9, characterized in that In response to the replacement instruction, the replacement structure replaces the filter, including: In response to the replacement instruction, obtaining current position information of the welding robot to obtain first position information; Acquire the position information of the current replacement structure to obtain second position information; According to the first position information and the second position information, controlling the replacement structure to move to a predetermined area, wherein the predetermined area is a position area where the replacement component can directly replace the filter; Control the replacement component to replace the filter.

11. A welding slag detection device, characterized in that: The laser camera for welding robots includes filters, including: A first acquisition unit is used to acquire in real time an image of the weld taken by the laser camera to obtain a first image; A first determining unit, configured to determine that welding slag is suspected to be attached to the filter when a predetermined portion of the weld cannot be identified in at least two consecutive first images among the plurality of first images, wherein the predetermined portion includes an inflection point and / or a straight line; A second acquisition unit is used to acquire an image taken by the laser camera when the weld is in an obstructed state to obtain a second image when it is determined that the weld slag is suspected to be attached to the filter, wherein the weld is in an obstructed state when a background plate is located between the laser camera and the weld, and the background plate is a pure color light-emitting plate; The second determination unit is used to determine that the welding slag is attached to the filter when the patch area on the second image meets a predetermined condition.

12. A filter replacement device, characterized in that: include: A first receiving unit, configured to receive a replacement instruction issued by the welding robot in a replacement structure, wherein the replacement instruction is an instruction issued when it is determined that welding slag is attached to the filter by any method in claims 1 to 6; The first response unit is used to respond to the replacement instruction. The replacement structure replaces the filter. The replacement structure includes a movable body and a replacement component. The replacement component is located on the movable body and is used to replace the filter.

13. A welding robot, characterized in that: The method comprises a welding body structure, a laser camera, one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 6, wherein the laser camera is located on the welding body structure.

14. A replacement device, characterized in that: The invention comprises a replacement structure, one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 7 to 8, wherein the replacement structure comprises a movable body and a replacement component, the replacement component is located on the movable body, and the replacement component is used to replace the filter.

15. The replacement device according to claim 14, characterized in that It also includes an image acquisition device installed on the movable body, which is used to obtain the position of the filter.

16. A welding system, characterized in that: It includes a welding robot, a replacement structure, one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 10, wherein the welding robot includes a welding body structure and a laser camera, the laser camera includes a filter, the replacement structure includes a movable body and a replacement component, the replacement component is located on the movable body, and the replacement component is used to replace the filter.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method of any one of claims 1 to 6 or the method of any one of claims 7 to 10.

18. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method described in any one of claims 1 to 6 or the method described in any one of claims 7 to 10 when the program is run.