# Battery Monitoring Circuit

Discussion in 'General Electronics Chat' started by bluexdynasty, Oct 22, 2014.

1. ### bluexdynasty Thread Starter New Member

Oct 3, 2014
17
0
Hi,

I found this simple, controlled battery monitor circuit online. However, I'm trying to better understand how this works and if I can make it better, by changing the resistor values. I want to monitor the voltage on a 3.7V(Nominal Voltage) Li-Po Battery, and I was wondering what the 100K resistor (R3) is for and the affects of changing the 2K resistor (R4) to something bigger for example 10K?

2. ### crutschow Expert

Mar 14, 2008
12,566
3,080
The circuit is simply a switch to turn the battery voltage on and off to the "To ADC BATTSENS" output for measuring by an A/D converter.
The 100k resistor R3 is simply to provide OFF bias to Q1.
R4 could be changed to 10k , depending upon the input control voltage.
R1 and R2 are voltage dividers to reduce the maximum voltage to the ADC.

3. ### t_n_k AAC Fanatic!

Mar 6, 2009
5,448
782
Q1 is a p-channel mosfet. So the 100k is used to bias Q1 on when Q2 switches on under the control of the battery sense enable signal.

4. ### bluexdynasty Thread Starter New Member

Oct 3, 2014
17
0
Thanks for the quick responses!

So if the 100k resistor is used for biasing would C1 be necessary? Or is C1 used for another purpose?

5. ### MikeML AAC Fanatic!

Oct 2, 2009
5,450
1,066
C1 is only necessary if there is RF around (like inside a cell phone).

6. ### ErnieM AAC Fanatic!

Apr 24, 2011
7,332
1,572
Do note for this circuit to work there must be a stable voltage reference below the expected range of the battery.

Why? You need a reference for comparison for the A2D converter. If you try using the battery voltage itself as the reference you will eventually find out the divided down battery voltage and the battery voltage itself both vary by the same ratio, and that ratio is the resistor ratio.

Thus you need a fixed point for a true comparison.

Myself, I would change Q2 to an N channel MOSFET and ditch C1 and R4.

7. ### bluexdynasty Thread Starter New Member

Oct 3, 2014
17
0
Thanks Ernie.

I was wondering if I were to switch to an N channel Mosfet, would I have to consider the biasing of Q2?

8. ### MikeML AAC Fanatic!

Oct 2, 2009
5,450
1,066
I think you misunderstood Ernie. Q2 (originally an NPN bipolar) is to be replaced with an NFET. The main switch Q1 remains a PFET.

9. ### bluexdynasty Thread Starter New Member

Oct 3, 2014
17
0
Thanks Mike.

However, I just want to be clear, does that mean we would not need to worry about any biasing on the NFET and only the PFET?

10. ### MikeML AAC Fanatic!

Oct 2, 2009
5,450
1,066
Since the gate of the (new) NFET is driven directly from a MCU port pin, as long as the NFET is a "logic-level-gate" device, then no other biasing is necessary. The only "biasing" requirement is that R3 pulls the gate of Q1 to a state that properly turns it off when the NFET is turned off. The NFET has to sink the current sourced by R3 to turn on Q1.