This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EVM 6779 metering code SLAA577 or tidu256 with OSR = 291

Hi !!

I have working with EVM 6779 code which currently samples and measure v & i sample with a OSR = 256  i.e 4096 samples per sec and each sample at 4.394 degree.

I wanted to sample at around 5 degree with OSR = 291 or at 3 degree with OSR = 175. I have modified the samples_per_second value accordingly as 3603 or 5992. But I am unable to get the result which i had with OSR=256.I am getting a lesser value with OSR = 291 or 175 .

Can anyone tell ..where have i gone wrong or what else do i need to modify  in the code...say for 3 degree.

Thanks & Regards,

Ars..

  • Ars said:
    I wanted to sample at around 5 degree with OSR = 291 or at 3 degree with OSR = 175. I have modified the samples_per_second value accordingly as 3603 or 5992. But I am unable to get the result which i had with OSR=256.I am getting a lesser value with OSR = 291 or 175 .

     Are you speaking about RMS value? Have you adjusted integration constant or just sampling? If you change number of integration steps then you need adapt integral calculus to reflect new values too, I never changed nothing, never touch what is working so I suppose you have to inspect where result are returned from accumulation of samples.

**Attention** This is a public forum