> is there anybody who has already implemented a digital power factor > controller and can enlighten me on this topic? (Maths and more). There are IC's designed to do this for switched mode power supplies. In effect they are a switch mode regulator designed to run off an input supply with a lot of ripple, and produce a much smoother output supply. The object is to reduce the very narrow high peak current waveform which puts so much hash on the mains input, and make it easier to filter this. I am aware of ones made originally by Motorola, now I assume ON Semiconductor. Check here under "Power Factor Correction" http://www.onsemi.com/taxonomy/0,3403,l1%253DAnalog%2526l2%253DPower%252BMan agement,00.html -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu