Figure 3-2 illustrates the voltage monitor test setup.
To test the voltage monitoring
circuits, a power supply is required for the testing. For each of the voltage rails,
tie the positive output rail of the power supply to the input of the terminal block
for the ±5-V, 5-V, 20-V, and 40-V rails. Two tests are performed for each of the
voltage rails: Noise floor and Linearity. All tests were done at an ambient
temperature of 25°C.
The following list provides the test
procedure for Noise floor:
- Short the voltage input on the
terminal block, to ground.
- Open Code Composer Studio (CCS)
to run the MSP430 software.
- Configure the MSP430 software for
either internal or external ADC, and set the desired ADC channel.
- Capture and plot 1000 plots by
using memory export and Microsoft Excel to convert the digital data to the ADC
voltage reading using the ADC conversion equation.
- Calculate the actual voltage
reading by solving the linear equation
Equation 6.
- Repeat for the rest of other the
voltage inputs
The following
list provides the test procedure for Linearity:
- Connect the power supply to the
desired terminal block as shown in Figure 3-2.
- Open CCS to run the MSP430
software.
- Configure the MSP430 software for
either internal or external ADC, and set the desired ADC channel.
- Capture and export 1000
measurements by using the memory export and Microsoft Excel to convert the
digital data to the voltage reading using the ADC conversion equation.
- Calculate the actual voltage
reading by solving the linear equation
Equation 7.
- Repeat over the rest of the
voltage range.