hrh1818 wrote:
> On Oct 5, 10:44 pm, Jerry Avins <
[email protected]> wrote:
>> hrh1818 wrote:
>>> On Oct 5, 10:51 am, Jerry Avins <
[email protected]> wrote:
>>>> Your use of "basis function" shows that you need to go back and do more
>>>> reading.
>>>> The condition for no leakage is more stringent than you suppose. The
>>>> samped waveform must include an integer number of cycles of each of its
>>>> components frequencies.
>>> Thanks Jerry, You confirmed my suspicion that it is practically
>>> impossible to judiciously select the sampling frequency to eliminate
>>> the need for a window. For example for the 3, 5, 7, 9, 11, 13, 15,
>>> 17, and 19 odd harmonics would require a sampling frequency of
>>> 43,648,605 samples per second.to collect an integer number of cycles
>>> for all of these odd harmonics.
>> Two full cycles of second harmonic fit into one cycle of the
>> fundamental; three cycles of the third, 17 od the 17th, and so on. Every
>> signal to be sampled has to be bandlimited. If your signal contains 25
>> harmonics, you need to sample somewhat faster than 50 times the
>> fundamental frequency. That's not as bad as you seem to think.
>>
>> Jerry
>> --
>> Engineering is the art of making what you want from things you can get.
>> ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
>
> Jerry, thanks for keeping me from going off in the wrong direction.
> There appears to another complication when processes the data with a
> FFT. That is the need to collect 2^N samples for an integer number of
> cycles of the fundamental. This means the ratio of sampling frequency
> to fundamental frequency would need to be:
> (2^N samples/number of cycles of fundamental frequency in which data
> is collected)
> Hence for the application that initiated the original question,
> spectral analysis of power line current, trying to judiciously select
> the sampling frequency to avoid the need to window the data adds to
> much complication.
Windowing isn't so terrible to do, and results without it at arbitrary
sampling rates are quite serviceable for many purposes. Still, there's
no question that synchronous sampling simplifies the thought process.
Most power-line measurements seek to include at least the first 15
harmonics. Because one must sample /faster/ than twice the bandwidth ans
synchronous sampling requires an integer ratio, you would sample at 60
times the line frequency. That gives a generous oversample ratio of 2.
Personally, I'd work back from the highest sampling raye my system could
easily run at, and work back from there to see how many harmonics I
could include. An audio ADC running at 48Ksps could synchronously sample
200 harmonics of a 60Hz line. To make the anti-alias filter simple, I'd
likely design the system for 50 *potential* harmonics and use however
many made sense.
Jerry
--
Engineering is the art of making what you want from things you can get.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ