Any Faster RMS Value Calculation in C?

后端 未结 5 1764
挽巷
挽巷 2020-12-16 03:29

I am writing a software for a small 8-bit microcontroller in C. Part of the code is to read the ADC value of a current transformer (ZCT), and then calculate the RMS value. T

5条回答
  •  鱼传尺愫
    2020-12-16 04:28

    To find the square root use the below app note from microchip for 8 bit controllers

    Fast Integer Square Root

    which is much fast and can find square root in just 9 loops

提交回复
热议问题