1.1.4.27 DRV_METROLOGY_StartCalibration Function

C
void DRV_METROLOGY_StartCalibration(void);
Summary

Starts internal calibration process.

Description

This routine is used to automatically calibrate the board. It requires accurate and stable voltage and current sources and loads, which can be provided by a meter test bench, such as the WECO (or equivalent equipment).

This routine must be called after calibration references are set through the pointer obtained through DRV_METROLOGY_GetCalibrationReferences Function, in order to ensure that the target values match the applied ones.

Parameters

None.

Returns

None.

Example
    DRV_METROLOGY_CALIBRATION_REFS * pCalibrationRefs;
        pCalibrationRefs = DRV_METROLOGY_GetCalibrationReferences();
        
        pCalibrationRefs->va = 220;
        pCalibrationRefs->ia = 30;
        pCalibrationRefs->aa = 60;
        pCalibrationRefs->calMask.magnitudeVa = 1;
        pCalibrationRefs->calMask.magnitudeIa = 1;
        pCalibrationRefs->calMask.anglePhaseA = 1;

        DRV_METROLOGY_StartCalibration();
Remarks

None.