This paper proposes an adaptive robust impedance control for a single-link flexible arm when it encounters an environment at an unknown intermediate point. First, the intermediate collision point is estimated using a collision detection algorithm. The controller, then, switches from free to constrained motion mode. In the unconstrained motion mode, the exerted force to environment is nearly zero. Thus, the reference trajectory is a prescribed desired trajectory in position control. In the constrained motion mode, the reference trajectory is determined by the desired target dynamic impedance. The simulation results demonstrate the efficiency of proposed control scheme.