To days manufacturing by robots are often designed for only one or a few products and thisin a time that the costumers demands more variation and special designed products thanearlier. This fact force the manufacturer to embrace a more flexible and agile productionmethods. One approach is to let the robots works in a collaboration mode together with anoperator. The robot can do de standard tasks, maybe automatic programmed by informationfrom a CAD drawing of the product and the operator can do task that needs human flexibility,intelligence and sensibility. Robot collaboration is possible after that the new standardof robots and robot devises was released in the end of 2011. But the system integrator hasto build up a technical solution that's guarantee that the safety separation distance betweenthe robot and human continuously will be fulfilled in all situations. Knowledge of the standardsabout the implementation of the sensors and safety devices will help the system integratorto fulfil the demands in the machinery directive. The Aim of this work is to collect relevantinformation from actual directives and standards and then do a conclusion of earlierworks that can be found in the literature, especially collaboration and sensor design. A collaborativerobot cell using laser scanners and a soft rated system which limits the speed andworking area of the robot in a safe way will be designed and built up in this project. Thedifficulties was not to detect the opening of the cell and let the robot slow down when theoperator approach the robot it is harder to find a sensor that continuously detects if someonestill is inside the robot cell when the operator went out from the robot again. The fact that alaser scanner lose resolutions proportionally with the sensor distance is also something toconsider.