
I need a fast detection of deviation from 50HZ VAC power line frequency.
I know the basic hardware to generate a square either as 50 or 100 Hz, so that is not an issue.
I need to know which approach is the easiest to implement with the Raspberry Pi platform, in order to quickly react to a small drop in frequency.
the detection needs to be able to detect and report deviation within 1-2Hz, with a resolution of 0,1Hz, but fast, so it is not allowed to evaluate over multiple cycles. The result is used to control ballast loads of a limited power resource from a small power plant.
Does any of you smart guy´s and girl´s have a good implementation approach?
I presume it may require some flange detect interrupt handling, but not sure. I'm just affraid if it is not interrupt driven, that it will not be accurate, due to other tasks performed by the system.
br
Steen