Charge generated by impact of balls on a metallic wall