This paper proposes a hand joining potential based control method for an autonomous mobile robot which accompanies a user. A hand joining potential is designed by optimizing an artificial potential method to accompanying movement. A robot moves side-by-side with a user in the normal situation, and changes to a cascade position for avoiding obstacles. Attractive potentials are set on both left and right sides of an accompanying person and their locations are changed according to the position of an accompanying person and conditions of surroundings. Using the proposed method, the mobile robot can autonomously changes parallel and cascade positions with a user without resetting the parameters under complex environments. The simulation results are shown to prove the efficiency of the proposed method, in which the collision with an oncoming person or a passing person is avoided by the robot naturally.