Removing ripple from DC current measurment??

Solar, wind, hydro and other non-fossil sources of electricity.

Removing ripple from DC current measurment??

Postby PaulM » Tue May 08, 2012 7:12 pm

I'm working on an off-grid solar system for work that is going to power some measurement equipment. It consists of 6 240W solar panels, a 60 amp Morningstar MPPT charge controller, an Outback 2.5 kW inverter and a 24 volt, 1820 Ah battery. To keep tabs on the system, we have installed a datalogger with remote communication that sends data via email three times a day. We only have four analog channels and are measuring battery voltage, battery temp, solar charge current, and inverter current. The logger works fine except the inverter current reading fluctuates between 0 and 20 amps with an actual steady load of 10 amps. We are using a 100A hall effect current sensor (offers a higher output voltage than a shunt) and the voltage output reads perfectly steady on a DMM. Today I put a scope on, and found a ripple on the signal, about 300 mV peak to peak (signal is around 2.6 VDC or so), approx 120 Hz. The solar current signal is perfectly smooth so I know it's not the power supply for the hall sensors. I am assuming this ripple is caused by the inverter and the logger's sampling frequency must almost match the 120 Hz or some multiple.


Does anyone have any suggestions on how to remove this ripple? I tried a small cap today and it helped a bit, but I'm afraid of damaging the hall sensor if I go too big on the cap.
User avatar
PaulM
100 W
100 W
 
Posts: 271
Joined: Mon Aug 18, 2008 8:20 pm
Location: Lucknow, ON

Re: Removing ripple from DC current measurment??

Postby liveforphysics » Tue May 08, 2012 7:16 pm

You can go huge on the cap with no risk to the sensor if you stick a 100ohm resistor between the sensors output and the cap, and then read your voltage off the cap. You just sacrifice the ability to see any spikes or transients if you go that route.
For ebike parts, don't be a douche, buy from http://www.ebikes.ca or http://www.MethTek.com

Justin saved the forum at great personal expense! The man is a legend and a hero!
User avatar
liveforphysics
100 GW
100 GW
 
Posts: 10979
Joined: Wed Oct 29, 2008 1:48 am
Location: Santa Cruz, CA, USA

Re: Removing ripple from DC current measurment??

Postby PaulM » Wed May 09, 2012 6:28 am

Thanks Luke, I'll give that a try today.

We're not too concerned with measuring spikes or transients, it's mainly to get an idea of the power consumption and see how it compares to our solar input.
User avatar
PaulM
100 W
100 W
 
Posts: 271
Joined: Mon Aug 18, 2008 8:20 pm
Location: Lucknow, ON

Re: Removing ripple from DC current measurment??

Postby bigmoose » Wed May 09, 2012 7:00 am

What Luke described is the essence of a low pass filter. That is what you are after. Play with it in spice to tune your parameters. Or do it in analog (design) and put the knee of the low pass at say 10 to 30 Hz.
bigMoose's electronic pieces & parts (GENUINE IRFB4110Pbf's, Nomex 410, AntiCorrosion Grease, Current Sensors) available HERE.
Thanks to Justin ebikes.ca for securing the board then setting us FREE! Tech Tips in the WiKi: http://endless-sphere.com/w
"Live simply. Love generously. Care deeply. Speak kindly. Leave the rest to God..." all the best, Dave
User avatar
bigmoose
10 MW
10 MW
 
Posts: 2451
Joined: Thu Aug 06, 2009 3:05 pm
Location: Northern Ohio, USA

Re: Removing ripple from DC current measurment??

Postby PaulM » Wed May 09, 2012 10:22 pm

Thanks again Luke, I used a 100 ohm resistor and grabbed a decent size cap from my assortment (2200 uF, 35V) and it seems to have worked great. The current graph is now very smooth and the data is actually usable now.
User avatar
PaulM
100 W
100 W
 
Posts: 271
Joined: Mon Aug 18, 2008 8:20 pm
Location: Lucknow, ON

Re: Removing ripple from DC current measurment??

Postby liveforphysics » Wed May 09, 2012 10:23 pm

PaulM wrote:Thanks again Luke, I used a 100 ohm resistor and grabbed a decent size cap from my assortment (2200 uF, 35V) and it seems to have worked great. The current graph is now very smooth and the data is actually usable now.


Right on. :-) Glad it did what you were looking for. :-)
For ebike parts, don't be a douche, buy from http://www.ebikes.ca or http://www.MethTek.com

Justin saved the forum at great personal expense! The man is a legend and a hero!
User avatar
liveforphysics
100 GW
100 GW
 
Posts: 10979
Joined: Wed Oct 29, 2008 1:48 am
Location: Santa Cruz, CA, USA


Return to Alternative Energy

Who is online

Users browsing this forum: No registered users and 0 guests