MR-based intelligent welding method, device, computer equipment and medium

Mixed reality technology is used to display the three-dimensional image of the virtual welding robot in the real environment, which solves the problem of environmental fragmentation in virtual reality welding, realizes a welding experience that combines virtual and real, and enhances the user's operational feedback and immersive feeling.

CN117655601BActive Publication Date: 2024-09-03CHINA SHIPBUILDING TECH (BEIJING) CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202311700369.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-12
Publication Date
2024-09-03
Estimated Expiration
2043-12-12

AI Technical Summary

Technical Problem

In existing virtual reality (VR) welding technology, users cannot see objects in the real environment after wearing VR glasses, resulting in a sense of separation between the real environment and the virtual environment, making it difficult to effectively experience virtual welding.

Method used

Using mixed reality (MR) technology, through the communication connection between the PC and the teaching pendant and MR head-mounted display device, virtual welding instructions are received, the MR welding robot is controlled to move along the welding trajectory, and motion information is obtained and sent to the MR head-mounted display device. Motion information is used to display the three-dimensional image of the MR welding robot in the real environment, achieving a welding experience that combines virtuality and reality.

Benefits of technology

It solves the problem of separation between real scenes and virtual scenes, allows users to experience virtual welding in real scenes, realizes a welding experience that combines virtual and real scenes, and enhances the user's immersive feeling and operational feedback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117655601B
    Figure CN117655601B
Patent Text Reader

Abstract

The present disclosure provides an MR-based intelligent welding method, device, computer equipment and medium, including: receiving a virtual welding instruction sent by a user controlling a teaching pendant, the virtual welding instruction including: a welding starting point, a welding target point and a welding trajectory; in response to the virtual welding instruction, controlling the welding point position of a virtual welding gun operated by an MR welding robot, moving from the welding starting point to the welding target point along the welding trajectory; obtaining the motion information generated during the movement of the welding point position of the virtual welding gun operated by the MR welding robot from the welding starting point to the welding target point, the motion information including: the angle of each joint of the MR welding robot, the welding direction, the welding current and the welding voltage; sending the motion information to an MR head display device. Thus, by adopting a mixed reality approach, combining real scenes with virtual stereoscopic images, users can experience virtual welding in real scenes, effectively realizing a welding experience that combines virtuality and reality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the technical field of MR welding, and in particular, to an MR-based intelligent welding method, apparatus, computer equipment, and medium. Background Art

[0002] Welding is a manufacturing technology that connects materials permanently and forms a structure with a given function. With the rapid development of science and technology, welding technology has penetrated into various fields of national economy, national defense construction and people's life.

[0003] When users want to experience welding technology, they usually use a virtual reality (VR) welding robot. That is, by wearing VR glasses in a virtual scene to restore the real welding scene, users can experience welding by controlling the virtual robot in the virtual scene.

[0004] However, in the above implementation method, after the user wears the VR glasses, he cannot see the objects in the real environment, and has a sense of separation between the real environment and the virtual environment, making it difficult to effectively experience virtual welding. Summary of the invention

[0005] The embodiments described herein provide an MR-based intelligent welding method, apparatus, computer device, and medium that overcome the above-mentioned problems.

[0006] In a first aspect, according to the content of the present disclosure, a MR-based intelligent welding method is provided, which is applied to a PC end, and the PC end is respectively connected to a teaching pendant and an MR head display device for communication, including:

[0007] Receiving a virtual welding instruction sent by a user controlling the teaching pendant, wherein the virtual welding instruction includes: a welding starting point, a welding target point, and a welding trajectory;

[0008] In response to the virtual welding instruction, controlling the welding point position of the virtual welding gun operated by the MR welding robot to move from the welding starting point to the welding target point along the welding trajectory;

[0009] Acquire motion information generated when the welding point position of the virtual welding gun operated by the MR welding robot moves from the welding starting point to the welding target point, wherein the motion information includes: angles of each joint of the MR welding robot, welding direction, welding current and welding voltage;

[0010] The motion information is sent to the MR head display device, so that the MR head display device adjusts the motion state of the MR welding robot based on the motion information to display a stereoscopic image of the MR welding robot in a real environment.

[0011] In a second aspect, according to the content of the present disclosure, an MR-based intelligent welding device is provided, which is applied to a PC end, and the PC end is respectively connected to a teaching pendant and an MR head display device for communication, including:

[0012] A receiving module, used for receiving a virtual welding instruction sent by a user controlling the teaching pendant, wherein the virtual welding instruction includes: a welding starting point, a welding target point and a welding trajectory;

[0013] A control module, for controlling the welding point position of the virtual welding gun operated by the MR welding robot in response to the virtual welding instruction, and moving from the welding starting point to the welding target point along the welding trajectory;

[0014] an acquisition module, for acquiring motion information generated when the welding point position of the virtual welding gun operated by the MR welding robot moves from the welding starting point to the welding target point, wherein the motion information includes: angles of each joint of the MR welding robot, welding direction, welding current and welding voltage;

[0015] The sending module is used to send the motion information to the MR head display device, so that the MR head display device adjusts the motion state of the MR welding robot based on the motion information to display a stereoscopic image of the MR welding robot in a real environment.

[0016] In a third aspect, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the MR-based intelligent welding method in any of the above embodiments are implemented.

[0017] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the MR-based intelligent welding method in any of the above embodiments are implemented.

[0018] The MR-based intelligent welding method provided in the embodiment of the present application is applied to the PC side, and the PC side is respectively connected to the teaching pendant and the MR head display device for communication, and receives the virtual welding instructions sent by the user to control the teaching pendant, and the virtual welding instructions include: welding starting point, welding target point and welding trajectory; in response to the virtual welding instructions, the welding point position of the virtual welding gun operated by the MR welding robot is controlled to move from the welding starting point to the welding target point along the welding trajectory; the motion information generated during the movement of the welding point position of the virtual welding gun operated by the MR welding robot from the welding starting point to the welding target point is obtained, and the motion information includes: the angle of each joint of the MR welding robot, the welding direction, the welding current and the welding voltage; the motion information is sent to the MR head display device, so that the MR head display device adjusts the motion state of the MR welding robot based on the motion information to display the stereoscopic image of the MR welding robot in the real environment. In this way, by adopting a mixed reality method, combining the real scene with the virtual stereoscopic image, the user can experience virtual welding in the real scene, solve the problem of the sense of separation between the real scene and the virtual scene, and effectively realize the welding experience of virtual and real combination.

[0019] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below. It should be noted that the drawings described below only relate to some embodiments of the present disclosure, rather than limiting the present disclosure, wherein:

[0021] Figure 1 It is a schematic flow chart of an MR-based intelligent welding method provided in the present disclosure.

[0022] Figure 2 It is a communication diagram between a PC, a teaching pendant and an MR head display device provided by the present invention.

[0023] Figure 3 It is a structural schematic diagram of an MR-based intelligent welding device provided by the present invention.

[0024] Figure 4 It is a structural schematic diagram of a computer device provided by the present disclosure.

[0025] It should be noted that the elements in the drawings are schematic and not drawn to scale. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work also fall within the scope of protection of the present disclosure.

[0027] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by a person skilled in the art to which the subject matter of the present disclosure belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the specification and the relevant art, and will not be interpreted in an idealized or overly formal form unless otherwise explicitly defined herein. As used herein, a statement that two or more parts are "connected" or "coupled" together shall mean that the parts are joined together directly or through one or more intermediate components.

[0028] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase "embodiments" in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0029] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists, A and B exist at the same time, and B exists. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. Terms such as "first" and "second" are only used to distinguish one component (or a part of a component) from another component (or another part of a component).

[0030] In the description of the present application, unless otherwise specified, “plurality” means more than two (including two), and similarly, “plurality groups” means more than two (including two).

[0031] 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 accompanying drawings.

[0032] Figure 1It is a flow chart of an MR-based intelligent welding method provided in an embodiment of the present disclosure, which is applied to a PC side, and the PC side is respectively communicated with a teaching pendant and an MR head display device, and the MR (Mixed Reality) head display device can be MR glasses worn by a user.

[0033] like Figure 1 As shown, the specific process of the MR-based intelligent welding method includes:

[0034] S110, receiving a virtual welding instruction sent by a user operating a teaching pendant.

[0035] Among them, the user can send welding instructions to the MR welding robot in the PC (Personal Computer) by controlling the teaching pendant, so that the MR welding robot can perform welding simulation on the welding panel in the real environment.

[0036] The virtual welding instructions include: welding start point, welding target point and welding trajectory.

[0037] The welding start point is a virtual welding point, that is, a virtual point corresponding to a real position point on the welding panel, the welding target point is a virtual welding point, that is, a virtual point corresponding to another real position point on the welding panel, and the welding trajectory is a virtual welding trajectory composed of multiple virtual welding points. Correspondingly, the welding start point is the virtual welding start point, the welding target point is the virtual welding target point, and the welding trajectory is the virtual welding trajectory.

[0038] It should be noted that in a real environment, users cannot see the virtual welding points without wearing an MR headset. Only when users wear an MR headset can they see the virtual welding points in the MR welding workshop scene.

[0039] The welding track may include one or more welding points. When the welding track includes only one welding point, the welding start point and the welding target point in the virtual welding indication are the same welding point; when the welding track includes multiple welding points, there are one or more welding points between the welding start point and the welding target point.

[0040] S120. In response to the virtual welding instruction, control the welding point position of the virtual welding gun operated by the MR welding robot to move from the welding starting point to the welding target point along the welding trajectory.

[0041] Among them, when the MR welding robot receives the virtual welding instruction sent by the user, it can perform the virtual welding operation corresponding to the virtual welding instruction by moving the welding point position of the virtual welding gun.

[0042] The welding point position of the virtual welding gun is the positioning of the welding point when the virtual welding gun performs welding operation.

[0043] In some embodiments, the welding track includes: at least one welding point.

[0044] Control the welding point position of the virtual welding gun operated by the MR welding robot, and move from the welding starting point to the welding target point along the welding trajectory, including:

[0045] Based on the welding starting point and the welding target point, the welding sequence number of each welding point included in the welding trajectory is determined; the current position of the virtual welding gun operated by the MR welding robot is obtained; based on the welding starting point and the current position of the virtual welding gun operated by the MR welding robot, the movement direction and movement form of the virtual welding gun operated by the MR welding robot from the current position to the welding starting point are planned, and the movement form is used to describe the vertical distance between the virtual welding gun and the welding surface; the virtual welding gun operated by the MR welding robot is controlled to move to the welding starting point based on the movement direction and movement form of the virtual welding gun from the current position to the welding starting point; the virtual welding gun operated by the MR welding robot is controlled to perform the welding operation between the welding starting point and the welding target point based on the welding sequence number of each welding point included in the welding trajectory.

[0046] Among them, based on the welding starting point and the welding target point, determining the welding sequence number of each welding point included in the welding trajectory may include: obtaining the user execution dynamics corresponding to the virtual welding instruction, the user execution dynamics is the welding operation simulated by the user on the teaching pendant, the welding operation can reflect the simulation time of the welding point in the welding trajectory corresponding to the welding action adopted by the user when simulating welding, based on the welding starting point, the welding target point and the simulation time of each welding point, arranging the welding sequence number of each welding point in a manner from far to near according to the time difference between the simulation time and the current time, the greater the time difference between the simulation time and the current time, the smaller the welding sequence number, the closer the welding sequence number is arranged, the smaller the time difference between the simulation time and the current time, the larger the welding sequence number, and the closer the welding sequence number is arranged.

[0047] Based on the welding starting point and the current position of the virtual welding gun operated by the MR welding robot, planning the movement direction and movement form of the virtual welding gun operated by the MR welding robot from the current position to the welding starting point may include: planning the direction corresponding to the welding starting point to the current position of the virtual welding gun operated by the MR welding robot, which is the movement direction of the virtual welding gun operated by the MR welding robot from the current position to the welding starting point; adjusting the movement form of the MR welding robot to not contact the welding surface, that is, the vertical distance between the virtual welding gun and the welding surface is not 0 or is a preset threshold.

[0048] Thus, by controlling the virtual welding gun operated by the MR welding robot, the welding operation between the welding start point and the welding target point is performed based on the welding sequence number of each welding point included in the welding trajectory, so that the MR welding robot can effectively execute virtual welding instructions and greatly restore the user's simulated welding operation.

[0049] S130, obtaining motion information generated when the welding point position of the virtual welding gun operated by the MR welding robot moves from the welding starting point to the welding target point.

[0050] The motion information includes: the angle of each joint of the MR welding robot, welding direction, welding current and welding voltage.

[0051] The angles of the joints of the MR welding robot may include: mandibular joint, vertebral joint, costovertebral joint, upper limb bone joints (such as sternoclavicular joint, acromioclavicular joint, shoulder joint, elbow joint), hand joints (such as carpometacarpal joint, intermetacarpal joint, metacarpophalangeal joint, interdigital joint), lower limb bone joints (such as hip joint, knee joint), foot joints (such as ankle joint, interphalangeal joint).

[0052] S140: Send motion information to the MR head display device.

[0053] Among them, by sending motion information to the MR head display device, the MR head display device can adjust the motion state of the MR welding robot based on the motion information to display a stereoscopic image of the MR welding robot in a real environment.

[0054] The MR welding robot can present a three-dimensional image of the welding robot and its supporting equipment in a mixed reality way while the user is operating the physical teach pendant. The MR welding robot can perform corresponding actions according to the instructions of the teach pendant, combining the virtual and the real. It not only enables the user to master the operation of the physical teach pendant, but also enables the user to obtain real-time feedback during the practice process, making the user feel immersive in the process.

[0055] In this embodiment, the MR-based intelligent welding method is applied to the PC end, and the PC end is respectively connected to the teaching pendant and the MR head display device for communication, and receives the virtual welding instructions sent by the user to control the teaching pendant, and the virtual welding instructions include: welding starting point, welding target point and welding trajectory; in response to the virtual welding instructions, the welding point position of the virtual welding gun operated by the MR welding robot is controlled to move from the welding starting point to the welding target point along the welding trajectory; the motion information generated during the movement of the welding point position of the virtual welding gun operated by the MR welding robot from the welding starting point to the welding target point is obtained, and the motion information includes: the angle of each joint of the MR welding robot, the welding direction, the welding current and the welding voltage; the motion information is sent to the MR head display device, so that the MR head display device adjusts the motion state of the MR welding robot based on the motion information to display the stereoscopic image of the MR welding robot in the real environment. In this way, by adopting a mixed reality method, combining the real scene with the virtual stereoscopic image, the user can experience virtual welding in the real scene, solve the problem of the sense of separation between the real scene and the virtual scene, and effectively realize the welding experience of virtual and real combination.

[0056] Figure 2 It is a communication diagram between the PC, the teaching pendant and the MR head display device. The teaching pendant 21 is connected to the teaching pendant connection controller 22, the teaching pendant connection controller 22 is connected to the PC 23, the PC 23 is connected to the MR head display device 24, the PC 23 has a robot simulation software 231 and an MR welding robot PC 232, and the robot simulation software 231 includes the MR welding robot.

[0057] While using the teach pendant 21 to connect the robot simulation software 231 through the teach pendant connection controller 22, real-time communication between the robot simulation software 231 and the MR head display device 24 is realized. The communication content includes the angle data of each joint of the MR welding robot during movement, the coordinate data of the welding gun working point, and the current and voltage data during the welding process, etc., and the communication frequency reaches 10-24 times per second. The software running on the MR head display device 24 uses the data obtained from the communication to reorganize the robot model in the mixed reality scene and reproduce the robot's movement status in real time.

[0058] The motion data of the MR welding robot in the robot simulation software 231 is first transmitted to the MR welding robot PC terminal 232, and then transmitted to the MR head display device 24 of the MR welding robot via the wireless LAN via the MR welding robot PC terminal 232. The MR head display device 24 uses these data to reconstruct the virtual model of the MR welding robot and reproduce the motion state of the MR welding robot in real time.

[0059] In some embodiments, the MR-based intelligent welding method further includes:

[0060] The first welding point position and the second welding point position of the virtual welding gun operated by the MR welding robot are obtained during the process of moving the welding point position; the motion vector of the first welding point position and the second welding point position of the virtual welding gun is judged to determine whether the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is qualified.

[0061] The second welding point position is the next welding point position of the first welding point position, the first welding point position includes the welding starting point, and the second welding point position includes the welding target point. The motion vector is judged to judge the angle between the virtual welding gun and the angle compass in different directions, thereby determining whether the welding angle in the user's welding operation is qualified.

[0062] In some embodiments, a motion vector judgment is performed on a first welding point position and a second welding point position of a virtual welding gun to determine whether a welding angle of the virtual welding gun moved by the user controlling the MR welding robot is qualified, including:

[0063] The first welding point position and the second welding point position of the virtual welding gun are compared to determine the motion vector of the virtual welding gun; based on the motion vector of the virtual welding gun and the weld type of the virtual welding gun moving from the first welding point position to the second welding point position, the motion component generated by the virtual welding gun moving from the first welding point position to the second welding point position is determined; based on the motion component generated by the virtual welding gun moving from the first welding point position to the second welding point position, the motion direction of the virtual welding gun moving from the first welding point position to the second welding point position is determined; based on the motion direction of the virtual welding gun moving from the first welding point position to the second welding point position, the current position and current direction of the angle compass corresponding to the virtual welding gun are adjusted; based on the angle between the virtual welding gun and the angle compass in the first direction and the angle between the virtual welding gun and the angle compass in the second direction, it is determined whether the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is qualified.

[0064] Wherein, based on the motion vector of the virtual welding gun and the type of weld bead when the virtual welding gun moves from the first welding point position to the second welding point position, determining the motion component generated by the virtual welding gun moving from the first welding point position to the second welding point position includes: when the type of weld bead when the virtual welding gun moves from the first welding point position to the second welding point position is a straight weld bead, extracting the component of the motion vector of the virtual welding gun along the straight line direction, and obtaining the motion component generated by the virtual welding gun moving from the first welding point position to the second welding point position; when the type of weld bead when the virtual welding gun moves from the first welding point position to the second welding point position is an arc weld bead, extracting the component of the motion vector of the virtual welding gun along the tangent direction of the arc, and obtaining the motion component generated by the virtual welding gun moving from the first welding point position to the second welding point position.

[0065] The weld bead types of the virtual welding gun include: straight weld bead and arc weld bead.

[0066] Comparing the first welding point position and the second welding point position of the virtual welding gun to determine the motion vector of the virtual welding gun may include: determining the motion vector of the virtual welding gun based on a coordinate difference between a position coordinate corresponding to the first welding point position and a position coordinate corresponding to the second welding point position.

[0067] Based on the angle between the virtual welding gun and the angle compass in the first direction, and the angle between the virtual welding gun and the angle compass in the second direction, determining whether the welding angle of the virtual welding gun moved by the user-controlled MR welding robot is qualified may include: if the angle between the virtual welding gun and the angle compass in the first direction is within a first preset angle range, and the angle between the virtual welding gun and the angle compass in the second direction is within a second preset angle range, then determining that the welding angle of the virtual welding gun moved by the user-controlled MR welding robot is qualified; if the angle between the virtual welding gun and the angle compass in the first direction is not within the first preset angle range, or the angle between the virtual welding gun and the angle compass in the second direction is not within the second preset angle range, then determining that the welding angle of the virtual welding gun moved by the user-controlled MR welding robot is unqualified.

[0068] The first direction is perpendicular to the second direction. The first direction may be a direction parallel to a reference plane, the second direction may be a direction perpendicular to the reference plane, and the reference plane may be the ground.

[0069] Each time the virtual welding gun moves to a new position, it is compared with the previous position of the welding gun to calculate the movement vector of the welding gun. In this way, the movement direction of the virtual welding gun can be sensed in real time, and the correct angle of the welding gun can be calculated in real time on this basis. For example, when the virtual welding gun moves from left to right, from top to bottom, clockwise or counterclockwise, the correct angle of the welding gun under the current welding gun trajectory can be determined in real time. The statistical method is more flexible, and students do not have to move the virtual welding gun in a specific direction in order for the software to correctly calculate the welding gun angle.

[0070] In some embodiments, the MR-based intelligent welding method further includes:

[0071] When it is determined that the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is qualified, a first display instruction is sent to the MR head display device.

[0072] Among them, the first display instruction is used to display a prompt message to the user that the welding is qualified. The prompt message can be in a positive welding style such as "welding qualified / welding correct", so that the user can know the correct situation of the simulated welding in real time.

[0073] The prompt message can also be displayed in a color-changing manner, such as marking multiple welding points corresponding to the welding trajectory as green points, so that the user can intuitively view the welding results.

[0074] When it is determined that the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is unqualified, a second display instruction is sent to the MR head display device, and the second display instruction is used to describe the welding trajectory of the hidden virtual welding gun moving from the first welding point position to the second welding point position. It is convenient for the user to understand the welding failure in real time and perform welding simulation again.

[0075] In some embodiments, the virtual welding instruction also includes: pressure data and welding time of each welding point in the welding trajectory.

[0076] MR-based smart welding methods also include:

[0077] Based on the pressure data and the welding time of each welding point in the welding trajectory, the welding area of ​​each welding point is determined when the user controls the MR welding robot to move the virtual welding gun; based on the welding area of ​​each welding point, it is determined whether the welding operation of each welding point in the welding process controlled by the user to control the MR welding robot is qualified.

[0078] Each welding point will correspond to a corresponding standard welding area, which is used to measure the welding operation of the welding point.

[0079] Based on the welding area of ​​each welding point, determining whether the welding operation of each welding point in the welding process performed by the user controlling the MR welding robot is qualified may include: if the area difference between the welding area corresponding to a welding point and the standard welding area corresponding to the welding point is greater than a preset difference, then determining that the welding operation of the welding point in the welding process performed by the user controlling the MR welding robot is unqualified. Thus, in the welding process, by determining the welding operation of each welding point of the user, the welding operation of the user can be more carefully and effectively evaluated.

[0080] Figure 3 The schematic diagram of the structure of an MR-based intelligent welding device provided in this embodiment is applied to a PC end, and the PC end is respectively connected to a teaching pendant and an MR head display device for communication. The MR-based intelligent welding device may include: a receiving module 310, a control module 320, an acquisition module 330 and a sending module 340.

[0081] The receiving module 310 is used to receive a virtual welding instruction sent by a user controlling the teaching pendant, wherein the virtual welding instruction includes: a welding starting point, a welding target point and a welding trajectory.

[0082] The control module 320 is used to control the welding point position of the virtual welding gun operated by the MR welding robot in response to the virtual welding instruction, and move from the welding starting point to the welding target point along the welding trajectory.

[0083] The acquisition module 330 is used to obtain the motion information generated when the welding point position of the virtual welding gun operated by the MR welding robot moves from the welding starting point to the welding target point, and the motion information includes: the angle of each joint of the MR welding robot, the welding direction, the welding current and the welding voltage.

[0084] The sending module 340 is used to send the motion information to the MR head display device, so that the MR head display device adjusts the motion state of the MR welding robot based on the motion information to display a stereoscopic image of the MR welding robot in a real environment.

[0085] In this embodiment, optionally, the welding track includes: at least one welding point.

[0086] The control module 320 is specifically configured to:

[0087] Based on the welding starting point and the welding target point, determine the welding sequence number of each welding point included in the welding trajectory; obtain the current position of the virtual welding gun operated by the MR welding robot; based on the welding starting point and the current position of the virtual welding gun operated by the MR welding robot, plan the movement direction and movement form of the virtual welding gun operated by the MR welding robot from the current position to the welding starting point, and the movement form is used to describe the vertical distance between the virtual welding gun and the welding surface; control the virtual welding gun operated by the MR welding robot to move to the welding starting point based on the movement direction and movement form of the virtual welding gun from the current position to the welding starting point; control the virtual welding gun operated by the MR welding robot to perform the welding operation between the welding starting point and the welding target point based on the welding sequence number of each welding point included in the welding trajectory.

[0088] In this embodiment, optionally, it also includes: a determination module.

[0089] The acquisition module 330 is also used to obtain the first weld point position and the second weld point position in the process of the weld point position of the virtual welding gun operated by the MR welding robot moving, the second weld point position is the next weld point position of the first weld point position, the first weld point position includes the welding starting point, and the second weld point position includes the welding target point.

[0090] A determination module is used to perform motion vector judgment on the first welding point position and the second welding point position of the virtual welding gun to determine whether the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is qualified.

[0091] In this embodiment, optionally, the determination module includes: a comparison unit, a first determination unit, a second determination unit, an adjustment unit and a third determination unit.

[0092] The comparison unit is used to compare the first welding point position and the second welding point position of the virtual welding gun to determine the motion vector of the virtual welding gun.

[0093] The first determining unit is used to determine the motion component generated by the virtual welding gun moving from the first welding point position to the second welding point position based on the motion vector of the virtual welding gun and the weld type of the virtual welding gun moving from the first welding point position to the second welding point position, wherein the weld type of the virtual welding gun includes: a straight weld and an arc weld.

[0094] The second determining unit is used to determine a movement direction of the virtual welding gun from the first welding point position to the second welding point position based on a movement component generated by the virtual welding gun moving from the first welding point position to the second welding point position.

[0095] The adjustment unit is used to adjust the current position and current direction of the angle compass corresponding to the virtual welding gun based on the movement direction of the virtual welding gun from the first welding point position to the second welding point position.

[0096] The third determination unit is used to determine whether the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is qualified based on the angle between the virtual welding gun and the angle compass in a first direction, and the angle between the virtual welding gun and the angle compass in a second direction, wherein the first direction is perpendicular to the second direction.

[0097] In this embodiment, optionally, the first determining unit is specifically configured to:

[0098] When the type of weld when the virtual welding gun moves from the first welding point position to the second welding point position is the straight weld, the component of the motion vector of the virtual welding gun along the straight line direction is extracted to obtain the motion component generated by the virtual welding gun moving from the first welding point position to the second welding point position; when the type of weld when the virtual welding gun moves from the first welding point position to the second welding point position is the arc weld, the component of the motion vector of the virtual welding gun along the arc tangent direction is extracted to obtain the motion component generated by the virtual welding gun moving from the first welding point position to the second welding point position.

[0099] In this embodiment, optionally, the sending module 340 is also used to send a first display instruction to the MR head-mounted display device when it is determined that the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is qualified, and the first display instruction is used to display a prompt message to the user that the welding is qualified; when it is determined that the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is unqualified, a second display instruction is sent to the MR head-mounted display device, and the second display instruction is used to describe and hide the welding trajectory of the virtual welding gun moving from the first welding point position to the second welding point position.

[0100] In this embodiment, optionally, the virtual welding instruction also includes: pressure data and welding time of each welding point in the welding trajectory.

[0101] The determination module is also used to determine the welding area of ​​each welding point when the user controls the MR welding robot to move the virtual welding gun based on the pressure data and the welding time of each welding point in the welding trajectory; based on the welding area of ​​each welding point, determine whether the welding operation of each welding point in the welding process in which the user controls the MR welding robot is qualified.

[0102] The MR-based intelligent welding device provided in the present disclosure can execute the above method embodiments. Its specific implementation principles and technical effects can be found in the above method embodiments, and the present disclosure will not repeat them here.

[0103] The present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0104] The computer device includes a memory 410 and a processor 420 that are connected to each other through a system bus. It should be noted that the figure only shows a computer device with components 410-420, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA), digital signal processors (Digital Signal Processor, DSP), embedded devices, etc.

[0105] Computer devices can be computing devices such as desktop computers, notebooks, PDAs, and cloud servers. Computer devices can interact with users through keyboards, mice, remote controls, touch pads, or voice control devices.

[0106] The memory 410 includes at least one type of readable storage medium, and the readable storage medium includes a non-volatile memory or a volatile memory, such as a flash memory, a hard disk, a multimedia card, a card-type memory (such as an SD or DX memory, etc.), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc., and the RAM may include a static RAM or a dynamic RAM. In some embodiments, the memory 410 may be an internal storage unit of a computer device, such as a hard disk or a memory of the computer device. In other embodiments, the memory 410 may also be an external storage device of a computer device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, or a flash card (Flash Card), etc., equipped on the computer device. Of course, the memory 410 may also include both an internal storage unit of the computer device and an external storage device thereof. In this embodiment, the memory 410 is generally used to store an operating system and various application software installed on the computer device, such as the program code of the above method, etc. In addition, the memory 410 may also be used to temporarily store various data that have been output or are to be output.

[0107] The processor 420 is generally used to perform the overall operation of the computer device. In this embodiment, the memory 410 is used to store program codes or instructions, the program code includes computer operation instructions, and the processor 420 is used to execute the program codes or instructions stored in the memory 410 or process data, such as running the program code of the above method.

[0108] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus system can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0109] Another embodiment of the present application also provides a computer-readable medium, which may be a computer-readable signal medium or a computer-readable medium. A processor in a computer reads a computer-readable program code stored in the computer-readable medium, so that the processor can execute the functional actions specified in each step or a combination of steps in the above method; and generate a device for implementing the functional actions specified in each block or a combination of blocks in the block diagram.

[0110] Computer-readable media include but are not limited to electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor systems, devices or apparatuses, or any appropriate combination of the foregoing, the memory is used to store program codes or instructions, the program codes include computer operating instructions, and the processor is used to execute the program codes or instructions of the above methods stored in the memory.

[0111] For the definitions of memory and processor, please refer to the description of the aforementioned computer device embodiment and will not be repeated here.

[0112] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as 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 devices or units, which can be electrical, mechanical or other forms.

[0113] Each functional unit or module in each embodiment of the present application 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.

[0114] If the 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 application, 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. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.

[0115] In the claims, any reference symbols placed between brackets shall not be construed as limiting the claims. The word "comprising" described in the present application does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present application can be implemented with the aid of hardware comprising several different elements and with the aid of a suitably programmed computer. In a unit claim that lists a number of devices, several units of these devices may be embodied by the same hardware item. The use of first, second, and third, etc. does not indicate any order, and these words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

[0116] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An intelligent welding method based on MR, characterized in that: Applied to the PC side, the PC side is respectively connected to the teaching pendant and the MR head display device, including: Receiving a virtual welding instruction sent by a user controlling the teaching pendant, wherein the virtual welding instruction includes: a welding starting point, a welding target point, and a welding trajectory; In response to the virtual welding instruction, controlling the welding point position of the virtual welding gun operated by the MR welding robot to move from the welding starting point to the welding target point along the welding trajectory; Acquire motion information generated when the welding point position of the virtual welding gun operated by the MR welding robot moves from the welding starting point to the welding target point, wherein the motion information includes: angles of each joint of the MR welding robot, welding direction, welding current and welding voltage; Sending the motion information to the MR head display device, so that the MR head display device adjusts the motion state of the MR welding robot based on the motion information to display a stereoscopic image of the MR welding robot in a real environment; Wherein, the welding track includes: at least one welding point; The controlling the welding point position of the virtual welding gun operated by the MR welding robot to move from the welding starting point to the welding target point along the welding trajectory includes: Based on the welding starting point and the welding target point, determine the welding sequence number of each welding point included in the welding trajectory; obtain the current position of the virtual welding gun operated by the MR welding robot; based on the welding starting point and the current position of the virtual welding gun operated by the MR welding robot, plan the movement direction and movement form of the virtual welding gun operated by the MR welding robot from the current position to the welding starting point, and the movement form is used to describe the vertical distance between the virtual welding gun and the welding surface; control the virtual welding gun operated by the MR welding robot to move to the welding starting point based on the movement direction and movement form of the virtual welding gun from the current position to the welding starting point; control the virtual welding gun operated by the MR welding robot to perform the welding operation between the welding starting point and the welding target point based on the welding sequence number of each welding point included in the welding trajectory.

2. The method according to claim 1, characterized in that Also includes: Acquire a first welding point position and a second welding point position in a welding point position process of a virtual welding gun operated by the MR welding robot moving, wherein the second welding point position is a welding point position next to the first welding point position, the first welding point position includes the welding starting point, and the second welding point position includes the welding target point; A motion vector judgment is performed on the first welding point position and the second welding point position of the virtual welding gun to determine whether a welding angle of the virtual welding gun moved by the user controlling the MR welding robot is qualified.

3. The method according to claim 2, characterized in that The performing motion vector judgment on the first welding point position and the second welding point position of the virtual welding gun to determine whether the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is qualified includes: Comparing the first welding point position and the second welding point position of the virtual welding gun to determine a motion vector of the virtual welding gun; Determine, based on the motion vector of the virtual welding gun and the type of weld bead of the virtual welding gun moving from the first welding point position to the second welding point position, a motion component generated by the virtual welding gun moving from the first welding point position to the second welding point position, wherein the weld bead type of the virtual welding gun includes: a straight weld bead and an arc weld bead; Determining a movement direction of the virtual welding gun from the first welding point position to the second welding point position based on a movement component generated by the virtual welding gun moving from the first welding point position to the second welding point position; Based on the movement direction of the virtual welding gun from the first welding point position to the second welding point position, adjusting the current position and current direction of the angle compass corresponding to the virtual welding gun; Based on the angle between the virtual welding gun and the angle compass in a first direction, and the angle between the virtual welding gun and the angle compass in a second direction, it is determined whether the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is qualified, and the first direction is perpendicular to the second direction.

4. The method according to claim 3, characterized in that The determining, based on the motion vector of the virtual welding gun and the type of weld bead when the virtual welding gun moves from the first welding point position to the second welding point position, a motion component generated when the virtual welding gun moves from the first welding point position to the second welding point position, comprises: When the type of the weld bead when the virtual welding gun moves from the first welding point position to the second welding point position is the straight weld bead, extracting the component of the motion vector of the virtual welding gun along the straight line direction to obtain the motion component generated when the virtual welding gun moves from the first welding point position to the second welding point position; When the weld type of the virtual welding gun moving from the first welding point position to the second welding point position is the arc weld, the component of the motion vector of the virtual welding gun along the arc tangent direction is extracted to obtain the motion component generated by the virtual welding gun moving from the first welding point position to the second welding point position.

5. The method according to claim 3, characterized in that: Also includes: When it is determined that the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is qualified, a first display instruction is sent to the MR head display device, where the first display instruction is used to display a prompt message to the user that the welding is qualified; When it is determined that the welding angle of the virtual welding gun moved by the user controlling the MR welding robot is unqualified, a second display instruction is sent to the MR head display device, and the second display instruction is used to describe and hide the welding trajectory of the virtual welding gun moving from the first welding point position to the second welding point position.

6. The method according to claim 1, characterized in that The virtual welding instruction also includes: pressure data and welding time of each welding point in the welding trajectory; The method further comprises: Determine, based on the pressure data and the welding time of each welding point in the welding trajectory, the welding area of ​​each welding point when the user controls the MR welding robot to move the virtual welding gun; Based on the welding area of ​​each welding point, it is determined whether the welding operation of each welding point in the welding process performed by the user controlling the MR welding robot is qualified.

7. An intelligent welding device based on MR, characterized in that: Applied to the PC side, the PC side is respectively connected to the teaching pendant and the MR head display device, including: A receiving module, used for receiving a virtual welding instruction sent by a user controlling the teaching pendant, wherein the virtual welding instruction includes: a welding starting point, a welding target point and a welding trajectory; A control module, for controlling the welding point position of the virtual welding gun operated by the MR welding robot in response to the virtual welding instruction, and moving from the welding starting point to the welding target point along the welding trajectory; an acquisition module, for acquiring motion information generated when the welding point position of the virtual welding gun operated by the MR welding robot moves from the welding starting point to the welding target point, wherein the motion information includes: angles of each joint of the MR welding robot, welding direction, welding current and welding voltage; A sending module, configured to send the motion information to the MR head display device, so that the MR head display device adjusts the motion state of the MR welding robot based on the motion information to display a stereoscopic image of the MR welding robot in a real environment; Wherein, the welding track includes: at least one welding point; The control module is specifically used for: Based on the welding starting point and the welding target point, determine the welding sequence number of each welding point included in the welding trajectory; obtain the current position of the virtual welding gun operated by the MR welding robot; based on the welding starting point and the current position of the virtual welding gun operated by the MR welding robot, plan the movement direction and movement form of the virtual welding gun operated by the MR welding robot from the current position to the welding starting point, and the movement form is used to describe the vertical distance between the virtual welding gun and the welding surface; control the virtual welding gun operated by the MR welding robot to move to the welding starting point based on the movement direction and movement form of the virtual welding gun from the current position to the welding starting point; control the virtual welding gun operated by the MR welding robot to perform the welding operation between the welding starting point and the welding target point based on the welding sequence number of each welding point included in the welding trajectory.

8. A computer device, characterized in that: The invention comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the intelligent welding method based on MR as claimed in any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the MR-based intelligent welding method as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Welding control method and device, storage medium and welding robot

    CN110434856A

  • Rapid robot teaching system and method based on mixed reality

    CN110815189A

  • Automatic welding method, device and equipment and computer readable storage medium

    CN111451670A

  • Robot simulation device

    CN112847339A

  • Collaborative welding method and device, terminal and storage medium

    CN113894805A