A parametric hardware fine acceleration/deceleration algorithm and its implementation