Articles Download Safety & Security Forum myUR Go to Main Site

Universal Robots A/S
Energivej 51
DK-5260 Odense S

T: +45 8993 8989
sales@universal-robots.com

 
  • Articles
  • Download
  • Safety & Security
  • Forum
  • myUR
  • Go to Main Site
  • Support
  • Articles
  • Weight detection of any picked object using e-series robot

Weight detection of any picked object using e-series robot

Example to calculate the weight of any picked up object using the internal F/T sensor on e-series robots

Last modified on Jan 29, 2025

Example is valid since e-Series software version 5.1.0.                                                                

Note that newer software versions may behave differently. Up to software version 5.15.0, the guide is still valid

 

UR Script 

The URScript function get_tcp_force() returns force and torque values oriented in the base coordinate system, but with torques placed at the tool flange origo. For weighing an object, only the forces are relevant.

The URScript zero_ftsensor() zeroes the TCP force/torque measurement from the builtin sensor in the robot tool, by subtracting the most recent measurement from all subsequent measurements.

Robot Program

  1. Move as close as possible to the pick position with no contact between robot tool and environment
  2. Wait 0.5s
  3. zero_ftsensor()
  4. Pick up object
  5. Lift object such that it is not in contact with the environment
  6. Wait 0.5s
  7. FT = get_tcp_force()
  8. mass = sqrt(FT[0]*FT[0] + FT[1]*FT[1] + FT[2]*FT[2]) / 9.82

Note: If the robot is upright horizontally mounted, mass = -FT[2] / 9.82 (object pulls in negative base frame z-direction)

 

Attached files


2018-09-06 16.14.45.jpg
Weighing samples in trial-2.jpg
weight.urp
logo

Product

  • UR3e Robot
  • UR5e Robot
  • UR10e Robot
  • UR16e Robot
  • UR20 Robot
  • UR+ Products

Company

  • About us
  • Contact us
  • Careers We're hiring
  • UR merchandise

Training / Resources

  • Academy
  • Technical Resources
  • Articles
  • FAQ

Insights

  • Blog
  • Case stories
  • Content library
  • News centre
  • Podcast
  • Webinars & Events

Get in touch

  • Ask an Expert
  • Schedule a no-cost assessment
  • Find a distributor
  • Customer support

Connect with us

  • LinkedIn
  • Facebook
  • Twitter
  • YouTube
  • Instagram
  • Universal Robots A/S
  • Energivej 51
  • DK-5260 Odense S
  • T: +45 89 93 89 89
  • sales@universal-robots.com
  • US Corporate Office
  • 27-43 Wormwood St.
  • 02210 Boston, MA.
  • +1-844-GO-COBOT
  • ur.na@universal-robots.com
  • Copyright @ Universal Robots 2025
  • Cookie policy
  • Privacy policy
  • Universal Robots A/S
  • Energivej 51
  • DK-5260 Odense S
  • T: +45 89 93 89 89
  • sales@universal-robots.com
  • US Corporate Office
  • 27-43 Wormwood St.
  • 02210 Boston, MA.
  • +1-844-GO-COBOT
  • ur.na@universal-robots.com

Copyright © Universal Robots 2025

Cookie policy
Privacy policy