Hi TI,
we have prepared 5 prototypes and found an issue about the battery charging and apart from it D2D and dimming works well.
Initially when both the battery(12V) and solar(20V) inputs connected, MPPT loop starts and then immediately it use to turns OFF the MPPT and switches ON the load.when we debugged the code we understood the battery charging current is too low and sensing as non availability of solar and switching ON the load.
The below part of the code does check for the solar availability based on the charging current measured at the output of INA199 and basis on it decides to change over to switching ON load. We have tapped the INA output in the CRO and have seen the negative voltage been measured because of which the battery charging current measured was zero and the MPPT was turning OFF, when we increased the delay(marked in red) and observed in CRO the negative voltage jumps to positive after 2minutes of the MPPT operation which is not correct so it looks some operation in the hardware is creating the issue so please help us in this regard as we are just 1 step behind to complete the product testing. Thanks in advance..
// value 10 corresponds to approximately .12A
if (((Battery_Charging_Current < 10)&&(!Wait_State))||(Panel_Voltage > PANEL_UPPER_LIMIT))
{
Battery_Low_Current_Counter++;
if((Battery_Low_Current_Counter>10))
{
TURN_OFF_BUCK_STAGE;
PANEL_DISABLE;
Duty_Buck=400; // 80%
Wait_State =1;
Wait_Counter =0;
Present_State = START_STANDBY_STATE;
}
}