Defining Interference Zones between Multiple Robots

You can compute an interference zone defined by the set of robot motions on each robot, which defines where a collision could occur when running multiple robots simultaneously.

When multiple robots are working in the same cell, there are risks of their programs colliding with each other. Create dedicated logical instructions (interlocks) on robot programs to mimic a communication between them whenever they are working where they may collide.

You can:

  • Compute all possible collisions between the motions of two robot tasks.
  • Export the collision results.
  • Create interlocks between the robot tasks to ensure that the robots do not enter a zone at the same time and visualize the interlock signals added to the tasks.
  • Change the display color of the gear lists options for collision, no collision, and interlock prehighlight.
  • Export the generated interlocks.


Before you begin: You have created a cell with at least two robots having tasks.
Note: Tasks controlling multiple robots together cannot be selected for interference zone computation. When a task is controlling multiple robots, the synchronization between them is already managed through specific instructions, and not I/O signals exchanges.
See Also
Programming Multiple Coordinated Robot Systems (MCRS)
Selectively Pausing Specific Tasks during Simulation
  1. From the Programming section of the action bar, click Interference zone computation .
    The Interference zone computation dialog box appears.

  2. Optional: Select the Preference gear to show Compute and select Consider Clearance as Collision. The Results Table displays the Count in a separate column and has Clearance displayed in different color.


  3. Optional: Select Import to reimport results.
    A previously exported excel file is used as input (along with the other generated XML files). Upon successful import, the Interference zone Results displays directly.

    Any previous contents (if present) in the command before import is cleared. Only the contents from the imported file is considered. In case you change settings or selections, the results are cleared and you must recompute the results. If the Import fails, an error message displays and the Computation user interface remains. If the additional text files created during the previous export are missing, importing is partial and an error message displays.

  4. Select all robots with interlocking tasks.
    The Robots frame displays all the robots that you picked. The Tasks frame displays all the tasks of each robot shown in the Robots frame. Select robots or individual tasks to include or exclude from interference analysis.

    Notes:

    Tasks controlling multiple robots together cannot be selected for interference zone computation. When a task is controlling multiple robots, the synchronization between them is already managed through specific instructions, and not input/output signal exchanges.

    In the Robots frame, right-clicking one or several robots displays a shortcut menu, that shows the following options:

    • Pair with all Robots of Station allows you to select a station from the 3D view or the Tree so the robots are paired with every task belonging to every robot in that station.
    • Clear the Pair with all Robots of Station allows you to select a station from the 3D view or the Tree so the robots are unpaired from every task belonging to every robot in that station.
    • Clear Robot removes the robot and its tasks from the computation.

  5. Click Advanced Filtering to filter the tasks from interference analysis based on attributes defined in the task’s properties dialog.


    Tip: You can use Program Type filters to customize which programs to display in the columns and make task selection easier. Only the tasks that belong to the selected program types are displayed and available for selection.
  6. Click Preview to start the Preview window. Preview displays all the task pairs for interference analysis.


    Tip: Shortcut Menu options are available to help you work with the Tree view and selections.
  7. Click Compute to compute a list of robot pairs based on the list of available tasks.
    Selected robots are grouped in pairs to be analyzed in the Robot tasks tree list.

  8. Optional: Selecting Customize you can change the select to the desirable color and the new selected color is used in the Interference Analysis Results, Interference Analysis Timeline and Interference Analysis Results Table user interfaces.


    When a color is chosen for the Collision and No Collision options, there is an Incremental color highlight in the Interference Analysis Results Table when hovering over the Results cells.


  9. Click one of the check boxes in the timeline column to display the pair's detailed results.


    • On the top-left panel, the Interference Analysis Timeline tab displays the timeline of the tasks in this pair.
    • Interference Analysis Results Table displays the results of interference analysis in table format.
    • Click the timeline to jump to a specific time for each task.
    • Click individual interferences in the timeline or drag the green marker to move the robots to a specific time.
    The following table describes the controls provided in the Interference Analysis Timeline tab:
    Plays the robots in parallel.
    Player controls, which advances time forward or backward or navigates from an interference to the next.
    Locks the times on both timelines.
    Turns ON/OFF automatic zooming of the timeline based on the selected interference zone
    Resets the timelines to show the entire timeline of the tasks (without any zoom factor).
    Exports the computed interference results of this pair to an excel or text file
    Exports the interference zones of this pair to an excel or text file
    Toggle On or Off to show or hide the Task View containing the list of instructions of the two tasks of the current pair.

    Turning On this opens up two dialogs that list the instructions of each task of the pair. These dialogs can be snapped to the other view of interference zone command. Selecting the robot motion instructions of the task synchronizes with the rest of the views. Only robot motions in the task are selectable.

    Selecting the robot motion instructions of the task synchronizes with the rest of the views. Only robot motions in the task are selectable.

    Selecting displays a list the instructions of both the tasks in two separate viewers.

    Row selection of instructions in the Task View is synchronized with the selection of the rest of the views including the Robot posture in the 3D view:

    • Row selection in Task view updates the Timeline, Table, 3DView.
    • Timeline change updates the Table, 3DView, and row selection in Task view.
    • Table cell selection updates Timeline, 3DView, and row selection in Task view.

    The Task Views are read-only and editing Instructions is not supported.


  10. Interference Zones displays all identified zones during analysis. Select a zone to show its attributes in the Interlock attributes section.


    Interlock Attributes section shows the location of the interlock and the IO signals that are used for the interlocks. If the interlock already exists, delete is enabled. If not, insert the interlock by clicking .

    Robot ID shows a unique ID assigned to each robot of the station/line. This ID is stored on the Robot Controller and can be viewed in the Robot Controller’s properties dialog.

    Signal IN/OUT shows the signal IDs used for interlock. These signal IDs and the corresponding IO mappings between the robots are created using the IO-Mapping functionality detailed in the IO Mapping Command section.

    Before and After indicate that the interlock is inserted before and after the operations shown in the field.

  11. After analyzing interferences, insert interlocks using the following options:
    • Click in the Interference Analysis Timeline panel to insert an interlock for the interference zone selected in the field.
    • Click in the Interference Analysis Timeline panel to insert interlocks for all the interference zones shown in the field for this task's pair.

    • Click in the Interference Analysis Results window to insert interlocks for all the interference zones for all the pairs.

    Upon resolving the collisions using Timeline view, the results view is refreshed and kept up to date. If any of the collision results are reversed from Timeline view, the same information is updated in Results view.

    You can filter to display the only the unresolved collisions information. This provides the simple view of pending actions.

    The background color of the Status column in Results UI is dynamically updated accordance to the list of Collision. Following are the allowed information:

    • Initially no Collisions at the end of computation - Always OK.
    • Collisions but all of them are resolved - Changed to OK.
    • At least one of the collisions is not resolved - Changed to KO.
    The Collisions related changes from Timeline view are reflected in the Result view.

    To do this, the detailed information on the different Interlock results is made available in the Preference gear of Results Dialog. Consider Warning as Green option allows you to define some of the Warning cases as equivalent to Interlock OK with no action required.


    Note: A Warning message is displayed, when you close the dialog with still unresolved collisions, Not all Collisions are resolved. Do you want to close the results?. You can continue to exit the results dialog by clicking Yes or return back to the Results dialog by clicking No.

  12. Optional: Click Export in the Interference Analysis Results window to export the results in an Excel file.

    The information is stored by you in a specified location. Output format:

    • One excel sheet containing the summary (similar to the Analysis Results View).
    • There are additional text files generated (required for reimporting the results) in the same location. These files contain DOF information at each timestep for each robot-robot pair.


    Note: The files generated from the export command should not be renamed. If files names are renamed, there is a possibility of retrieved results being invalid. All the files generated from the export command should be in the same location. If any of the files are removed/replaced, there is also a possibility of retrieved results being invalid.
  13. Click IO mapping in the Interference Analysis Results window to use a predefined signal convention based on the relative spatial location of the robots.
    This starts the Robot spatial IO mapping dialog.

    Context automatically populates with the organizational resource that contains all the robots picked in the Interference zones dialog.

    If a conveyor is present, its direction is used to determine the Product Flow direction. Click Product Flow to pick a different conveyor or manually specify the Product Flow direction using the compass.

    Click to import the predefined signal convention in XML format. This contains the signal IDs, which communicates between robots based on their relative spatial locations.

    The IO-Mapping graph displays all the robots found in Context in their respective locations.

    Click a robot ID node in the graph to display all of its spatial neighbors in the list. Check ON/OFF to create/delete signal mappings between these robots. These signal mappings are used to create interlocks between these robots.

    Optional: You can also work with user-defined signal namings. Click and change the file type to XLS before selecting the file to import. It should contain Robot Signal Names for Interference Analysis and End of Robot Signal Name as entry and exit points, and columns that specify signal information: Robot1Name, OUT Signal, IN Signal, and Robot2Name.


    The IO-Mapping dialog is updated accordingly. Select a Robot Name from the List of IO mappings to display a list of its corresponding signal names.

    Notes:
    • Robot names mentioned in the input file should match those used by the Interference Zones command. If the names do not match, the specified signals are ignored.
    • User-defined signal names are propagated to the Interference Analysis Timeline dialog. If no name was specified for a signal, a default name is assigned to it with a gray background color. You can validate or modify it to your convenience.
    • The input data is stored locally, and is not saved within the session.

  14. Click OK to exit and return to the Interference Zones command.

Result: