Path Planning for Spot Welding Operations

Resource Path Planner or Robot Path Planner (RPP) generates collision-free tasks from user inputs. One of the user inputs is a Robot Task that has many Spot Operations. Since Spot Operations have special behaviors compared to normal Robot Motions, RPP treats them accordingly.

This explains what you need to know about RPP’s special treatments for Spot Operations.

This page discusses:

Spot Operations Vs Robot Motions

A Spot Operation has a symbol , while a Robot Motion has in Teach. For example, this shows four Spot Operations Spot Operation 1 to 4, and three Robot Motions RobotMotion 1 to 3.

Example 1: A task example for Spot Welding.


RPP generates passage points for motions/operations in the Task and displays the status of each passage point. Example 2 shows the status of passage points pulled from the Task shown in Example 1. You can change some of the statuses after applying a validation functionality by clicking Validate.

Example 2: Statuses of passage points from the Task shown in Example 1.


Example 3 shows the change in the Status of some passage points of Spot Operations 2, 3 and 4. These statuses have a message Obstacle collision while moving toward the segment target. This indicates that you can use RPP to find a way to avoid collision to the segment target. The Task used in this example is a valid input for RPP to generate a collision-free path.

Example 3: RPP can resolve the motion segments displayed in yellow.


However, if we do not use Spot Operations but Robot Motions for Operation.1, 2 and 3 as shown in Example 4, their status displays in red. This is because the Gun Tips collide with the manufacturing product.

Example 4: Robot Motions replaces Spot Operations 1 to 4 shown in Example 1.


Example 5 shows such a case along with a message Obstacle collision while executing operation (see). It means that the passage points generated for the Operations in the Task are invalid and you cannot use them to generate collision-free paths by RPP.

Example 5: RPP could not take passage points in red as a valid input to solve collision-free paths.


This example shows the RPP treatment differences for Spot Operation and Robot Motion. Collision (clash) allowance at Spot Operations is based on a profile, called Spot Profile, which it uses to define a set of specific motions for Spot Operations.

Spot Profile

Every Spot Operation is a set of intermediate Robot/Tool Motions, which an associated Spot Profile defines. For example, Example 6 shows that Spot Operation.1 to 4 have their Spot Profiles SpotProfile.1.

Example 6: Spot Profiles for each Spot Operation


In Spot Profile, you can define the different spot motions (Approach Move, Pressure Start Move, Pressure Move and Weld, Pressure End Move, Backup Move) to use, and the parameters for each of the selected motions. Example 7 shows that SpotProfile.1 uses Pressure Start and Pressure End moves, not Approach Move, and Backup Move.

Example 7: An example of Spot Profile.


Since Gun Tips touch (or collides in general) manufacturing products when they are welding at Spot Operations, RPP allows such Gun Tip collisions when a planning robot moves to Pressure Weld and Pressure End at Gun Tips.

If the Spot Profile definition has an issue so associated Spot Profile have collisions when executing them, RPP displays an error message Collided Gun parts at Operations. Please check "Spot Profile" as well as "Spot Location". when RPP retrieves a Task.

Gun Tip Definitions

There are two ways to define Gun Tips of Spot Guns (1) Explicit way using Tool Grouping Command, (2) Implicit way using the tool joint and the tool geometry.

  1. Explicit Way

    A command in the Setup action bar Tooling Part Grouping. This defines Gun Parts including the Gun Tip. In the command, Gun Tips color is green in 3D View and the Dialog if they are defined as shown in Example 9.

    Example 9: Gun Tips are explicitly defined and displayed in green.


  2. Implicit Way

    If you do not partition Gun Part Groups including Gun Tip, RPP tries to figure out which parts are Gun Tips. If a spot gun consists of many subparts, this detects the tips separately. Example 10 shows such a case two parts Tips have their own geometries separately from other parts even though no grouping of parts is explicit yet.

    Example 10: Gun Tip geometries are defined separately even if defining Gun Part Groups is not completed.


However, Example 11 shows a different case where the Gun Tips are not defined as separate parts, so most of the tool device highlights when selecting two tooltip parts. In such a case, the Gun Tip detection algorithm of RPP would find these whole tool devices as Gun Tips. Therefore, the RPP’s solution might be unacceptable in terms of the collision exception at Gun Tips. In other words, you must define Gun Tip as separate geometries in both an implicit way and an explicit way.

Example 11: Gun Tip geometries are not defined separately.


Rotate and Approach Directions of Gun

As pointed out earlier, RPP treats Spot Operations specially based on the motions defined in Spot Profile and Gun Tip information. In addition, RPP generates collision-free points based on Gun Rotate Axis and Gun Approach Axis, which are defined in Preference as shown in Example 12.

Example 12: Preference Setting for Gun Rotation Axis and Gun Approach Axis.


Use these two Axes of Rotation and Approach to compute the collision-avoidance paths explained in the next section of Search Algorithms.

Search Algorithms for Spot Weld Tasks

RPP searches for collision-free solutions from colliding motions. To that, RPP applies Spot specific heuristics as well as a general search algorithm.

  1. Gun-Down Heuristic for Spot Operations

    RPP tries to connect the two Spot Operations by introducing a Gun-Down Point for each Operation if there is no collision like shown in Example 13. Here the Gun-Down direction is the Axis of Gun Rotation defined in Preference (see Example 12) while the Gun opening value is as much as in the travel limits of the Gun device.

    Example 13: Collision Avoidance by Gun-Down Points.


  2. Gun-Down and Retract /Approach Heuristics for Spot Operations

    If RPP could not find a collision-free path by the Gun-Down heuristic between two Spot Operations, it tries to generate a collision-free path by inserting Guiding Points between Gun-Down Points as shown in Example 14. Here the Direction of Guiding Points from/to Gun-Down Point computes (but it is different) from the Axis of Approach defined in Preference. See example 12.

    Example 14: Collision Avoidance by Guiding Points as well as Gun-Down Points.


  3. General Search

    If RPP fails in the previous two steps for Spot Operations, it tries to generate a collision-free path by inserting Via Points as depicted in Example 15. This general search algorithm also applies between two Robot Motions as well.

Example 15: Collision-Avoidance by general search.