The effect of vibrating conditions on the electrostatic charge in a vertical vibrating granular bed