I have a PIC32MX with one channel set as analog input ADC (0-3.3V range) to monitor the battery voltage that varies from 9V to 6V.
The requirements are:
1. When not taking a measurement current used by circuit is less than 1uA.
2. The analog input to the PIC must not exceed 3.3V or it could damage the PIC.
3. It is only allowed to draw more current when actually taking a measurement.
The following circuit does accomplish the goal. It has high input impedance when Q2 and Q1 are off. The microcontroller provides 3.3V LVTTL signal to Q2 to turn on the circuit during a measurement and turn it back off when not measuring it.
The circuit will work, but I don't like the fact that is takes so many components. Can anyone provide a simplified schematic that achieves the same goals?
BAT+ (POSITIVE INPUT FROM BATTERY 9 to 6V)
BAT- (NEGATIVE INPUT FROM BATTERY IS TIED TO GND.
BATTERY_MON_TO_PIC_ADC - (To microcontroller Analog input pin, must stay between 0 and 3.3V)
POWER_SAVING_OFF_ON - Normally logic low (0V) circuit is off and power consumption from circuit is minimized). Logic 1: circuit is on both Q1 and Q2 and ready for an ADC conversion.
Purpose of Q1: (When the circuit is off, keep the voltage to the ADC less than 3.3V.
Purpose of Q2: Turn off the voltage divider to minimize power consumption when not taking and ADC measurement.
Thanks for any advice on reducing the parts count for this.

The requirements are:
1. When not taking a measurement current used by circuit is less than 1uA.
2. The analog input to the PIC must not exceed 3.3V or it could damage the PIC.
3. It is only allowed to draw more current when actually taking a measurement.
The following circuit does accomplish the goal. It has high input impedance when Q2 and Q1 are off. The microcontroller provides 3.3V LVTTL signal to Q2 to turn on the circuit during a measurement and turn it back off when not measuring it.
The circuit will work, but I don't like the fact that is takes so many components. Can anyone provide a simplified schematic that achieves the same goals?
BAT+ (POSITIVE INPUT FROM BATTERY 9 to 6V)
BAT- (NEGATIVE INPUT FROM BATTERY IS TIED TO GND.
BATTERY_MON_TO_PIC_ADC - (To microcontroller Analog input pin, must stay between 0 and 3.3V)
POWER_SAVING_OFF_ON - Normally logic low (0V) circuit is off and power consumption from circuit is minimized). Logic 1: circuit is on both Q1 and Q2 and ready for an ADC conversion.
Purpose of Q1: (When the circuit is off, keep the voltage to the ADC less than 3.3V.
Purpose of Q2: Turn off the voltage divider to minimize power consumption when not taking and ADC measurement.
Thanks for any advice on reducing the parts count for this.
