Circuit for ion gauges and pressure gauges