Beat‐less algorithm based on dual‐frequency compensation in railway traction applications