1P1-F8 Study on Robotics at Safety : Theoretical Verification of optimum algorithm and Proposal of new calculation