Re: True RMS and averaging.
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Thu, 13 Aug 2009 21:34:41 +0000 (UTC)
John O'Flaherty <quiasmox@xxxxxxxxx> wrote:
(snip)
< If it's a power line, and you know the period, wouldn't you know the
< phase as well? I wonder if you could continuously sample, and make a
< comparison of each sample to the appropriate level of current at that
< point in the cycle, rather than an average RMS value. Then if n
< sequential samples exceed their appropriate thresholds, trip.
I presume you would know the phase of the voltage, but for
reactive loads with changing reactance, you might not know the
current phase. It seems that the OP is measuring current.
Within roundoff and the bits available, it seems that you should
be able to do a fixed point decaying average with the appropriate
time constant, assuming a reasonable sampling rate. I do agree
that you have to be careful to make sure that the result comes out
as desired.
-- glen
.
- Follow-Ups:
- Re: True RMS and averaging.
- From: Jerry Avins
- Re: True RMS and averaging.
- References:
- True RMS and averaging.
- From: martind
- Re: True RMS and averaging.
- From: glen herrmannsfeldt
- Re: True RMS and averaging.
- From: Jerry Avins
- Re: True RMS and averaging.
- From: glen herrmannsfeldt
- Re: True RMS and averaging.
- From: Jerry Avins
- Re: True RMS and averaging.
- From: John O'Flaherty
- True RMS and averaging.
- Prev by Date: Re: the performance of x86 processor and DSP
- Next by Date: Re: N-pt DFT where n != power of 2
- Previous by thread: Re: True RMS and averaging.
- Next by thread: Re: True RMS and averaging.
- Index(es):
Relevant Pages
|