NorthGuy
Well-Known Member
Yes, quite a bit of a ripple, but, instead of smoothing it out in hardware, I just sample at much faster rater. The picture below (which is battery voltage during charging) is sampled around 5kHz (as I remember), then average of about a 100 cycles is calculated and plotted along with maximum and minimum values. I have a fast filter which cuts off anything above the Nyquist frequency for my sampling rate. But I preserve the rest. This gives me an ability to plot the ripple. At the same time, the software averages the values and displays them, so you get a very stable display too. The power gets calculated from raw values, which is more accurate.
If I used slower filter, I still could get the average, but I couldn't do the plot, and my power calculations would be less accurate.
If I used slower filter, I still could get the average, but I couldn't do the plot, and my power calculations would be less accurate.