Pure Sine Wave Detection Using PIC Microcontroller?

Picbuster

Joined Dec 2, 2013
1,047
Do you think this would work? We really need a design like this. We are will to pay for the work. Any suggestions as to how I might get this done?
I am busy right now but here a fast one.
assume that signal is symmetrical and frequency is fixed.
Calculate the time between the zero crossing.
That time is your window for a counter ( eq count from 0 to n during this window)
Add measured voltage as function of counter. (is in fact the integral du/dt)
detect max voltage ( on the fly while adding)
now calculate the same way as above but now using the formulae max . sin(x) for x=0==> Pi ( keep same step as counter)
Compare and observe the difference.
Picbuster
 
I am busy right now but here a fast one.
assume that signal is symmetrical and frequency is fixed.
Calculate the time between the zero crossing.
That time is your window for a counter ( eq count from 0 to n during this window)
Add measured voltage as function of counter. (is in fact the integral du/dt)
detect max voltage ( on the fly while adding)
now calculate the same way as above but now using the formulae max . sin(x) for x=0==> Pi ( keep same step as counter)
Compare and observe the difference.
Picbuster
I am somewhat technical, however, this is outside of my capacity any suggestions as to where we might go to get paid help for this project? We just need the software written.
 
Top