Development of a Virtual Collision Sensor for Industrial Robots