Open the SYSCONFIG page and
select under the Build Options section:
- Select Lab 4:
Closed-Loop CCCV Dual Phase for the Lab.
- Change the Phase
Enabled to 0 for Dual-Phase Mode.
- Set the Calibration
Mode to 2 for voltage calibration.
- Save the SYSCONFIG page,
and run the code.
- Open the Expression
Window.
- The output current is
updated using BT2PH_userParam_V_I_chm->ibatCal_pu parameter.
- Set the
BT2PH_enableRelay_bool to 1 to enable the output relay.
- Set the
BT2PH_userParam_V_I_chm->en_bool = 1.
- Set the
BT2PH_userParam_V_I_chm->vbatCal_pu to "0.2" and "0.6", and note the
output voltage readings.
- Update the actual output
voltage readings in bt2ph_cal.h file.
#define
BT2PH_VBAT_ACTUAL_CH1_P1_V ((float32_t)1.1995)
#define
BT2PH_VBAT_ACTUAL_CH1_P2_V ((float32_t)3.599)
- Set the Calibration
Mode to 0 disable calibration.