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.

MSP430F67791A: How to perform gain and phase calibration on each phase without using EMDC GUI

Part Number: MSP430F67791A


Hello ,

We are using MSP 430F67791A . We are using Energy Meter Library  generated by TI's ENERGY MEASUREMENT DESIGN CENTER.

However We have calibrated Voltage and Current . But we are not able to calibrate PF, PHASE ANGLE , Power of each phase please provide us solution.

We want to calibrate our instrument without using ENERGY MEASUREMENT DESIGN CENTER , like without using any com port GUI based calibration software you have provided.

Please provide proper calibration sequence so that we can do it using Instrument under calibration only.

We have attached library that we are using emSwLib.h and also attached project .

UNTITLED.zipemSwLib.h

  • Hello,

    I would recommend using the EMDC GUI and EMDC-generated code to calibrate your system, record the calibration values shown at the bottom of the Results tab and then manually update the calibration values in your code base.

    Here are some threads discussing the calibration process.

  • Hello James,

    I appreciate solution given by you. We were thinking of doing that but the things is that we are going to make Panel meter with it.

    So our concern is that we want to do the calibration by onboard keys of Panel meter without using any GUI software ,since GUI system is not feasible at bulk production.

    what I am asking that either you provide any example code of how to do calibration or please list out the instructions for how to do it .

    You can look into UNTITLED.zip in which EMLibGuiApp.c file for what we have done .

    Regards,

    Saurabh

  • Hello,

    The EMDC GUI can be used during production. There would be some overhead since you'd need to program the MSP430 with the EMDC-generated code, connect the USB HID bridge to the MSP430 UART pins, run the calibration process and record the calibration factors in the EMDC GUI, update your production code base with those calibration factors and then reprogram the MSP430. On your board, you would just need a small 1x4 header to connect to the UART RX and TX plus VCC and GND pins.

    This may seem challenging, but implementing the calibration process may be more challenging. We designed the EMDC GUI to make the calibration process much easier for users, but we also understand that some customers may want to calibrate manually.

    Here are some detailed instructions mixed with equations and pseudo code that I put together describing how calibration can be done using a host or the MSP430 itself. I plan to release these instructions as an app note in the future.

    2021-05-19 EMDC Calibration Process.pdf

**Attention** This is a public forum