This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

【急】Implementation of a Three-Phase Electronic Watt-Hour Meter Using the MSP430F677x(A)中关于输入功率计算部分代码能否详解下?谢谢

Implementation of a Three-Phase Electronic Watt-Hour Meter Using the MSP430F677x(A)中计算功率部分代码能否详解下,结合代码。目前看到模拟量采样部分都没有问题,但是功率计算没有看懂。

  • 后台处理AD时用了  sqac_voltage,但是定义中为aqac48_16,而我在工程中搜索不到aqac48_16有用的信息,这几个怎么用的?

      #if defined(VRMS_SUPPORT)  ||  defined(POWER_FACTOR_SUPPORT)      

              sqac_voltage(phase->metrology.dot_prod.V_sq, V_sample);

            #endif

    #define sqac_voltage sqac48_16
    #define sqac_current sqac64_24
    #define mac_power mac64_16_24
    #define mac_voltage mac48_16

  • 这个库其实不需要看懂,会调用就好啦

  • 能否结合代码大致解释下这个库的作用?

  • 或者有什么资料解释这些库函数的应用?