Measure Mains AC current

Status
Not open for further replies.
Hi again,
Is it that you dont have any uC code to work with yet?
That is one of the problems.I have earlier written the code where the ADC value is sampled and that value is compared with a preset value and action taken but now i realise that i was only measuring the peak value and not rms value,which is what i need.So i am writing that.I will try your circuit with a reduced gain soon.I am waiting for the boost converter boards to arrive,so i can get evrything to integrate and try.


Who or what is DK ?
The PIC is having a good function of getting the max value from ADC reads (or so i understand) .My freescale device too has it but then i have to use it in continuos running mode , automatic compare,and value greater than,bits enabled in a register.But i need a window comparator so i think i will figure this out soon.

Thanks for being supportive guys

Thnaks and regards
 


Hi again,


If all you need to do is calculate the rms from the peak all you have
to do is divide by 1.4142, but many times you dont really need to do
this because the peak stays in proportion to the rms value anyway,
so you can make your setpoints based on the peak value rather than
the rms value.

Hey i like that "DK" for short because it's easier to spell
 
Hi

Just to let you know guys...last week i have successfully tested it out..its quite stable for now

Thanks for the immense help....
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…