Modelling the human-robot impact