Simple Power Monitor
Figure 1. A supply-monitoring circuit like the one shown here usually requires that the ADC input be lower than the reference voltage. Consequently the circuit must include a resistive divider (and associated error) at the ADC input.
One solution to the ADC reference voltage problem is simply to eliminate the divider (Figure 2). You can relate the reference to the supply voltage by connecting the supply voltage as a reference, and the reference (2.500V for the A) to an input. As Figure 2 shows for the MAX1087, the ADC must be capable of accepting an external reference as high as the supply voltage. The other channels are now measured as a ratio to the supply voltage instead of the reference, but software can correct that problem.
Figure 2. The connections shown enable this ADC (which allows VIN to be as high as the reference) to monitor supply voltage without the divider included in Figure 1.
Because the supply rail serves as a reference, any noise on the rail disturbs all channels. You may, therefore, need to add a local lowpass filter to quiet the supply voltage in noisy environments.
評論