Regulation of the charging current or voltage by variation of field using discharge tubes or semiconductor devices {with on/off action}