TI E2E Community
MSP430 Ultra-Low Power 16-bit Microcontroller Forum
measuring the ripple voltage
i am using the launchpad and msp2452.
i want to measure the average of ripple voltage.
is there any way to do so?
software and hardware solution are welcome.
Use an oscilloscope.
i want to measure it using msp430 adc,
but the adc value always jumping,
because it is a ripple voltage.
is there any way to measure the average voltage:
for example like adding filter, or take 10 sample and take the average result.
Ripple of Vcc? Ripple of some other voltage (such as DC power before the voltage regulator)?
The on-chip ADC is only 10-bit and can only handle 0V to 1.5V or 0V to 2.5V. It is helpful to filter out the DC component so the ADC10 only needs to measure the AC ripple.
i want to measure the input voltage of buck converter,
i am using the voltage divider.
since the input of buck converter is not filtered, the ripple is high.
and i want to measure Vrms of input voltage of buck converter.
In that case, you could use resistor divider to feed one of the ADC10 input pins of G2452. Make sure the peak voltage (after the divider) is less than (but close to) 2.5V. Sample that voltage at a fixed rate much higher than the frequency of the ripples. Use integer DSP algorithm on the ADC readings.
Integer DSP algorithm on the ADC readings?
how to implement it?
any code that i can refer to?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.