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.

Solar Explorer C2000 F28035 Battery Charging - limit Vboost and VBATT_'s?

Other Parts Discussed in Thread: CONTROLSUITE

Hi - I'd like to take some measurements of the Solar Explorer charging up a 6 V battery, and discharging through a string of LEDs. I'm aware that the software I got from C:\ti\controlSUITE\development_kits\SolarExplorer_v1.1\SolarExplorer_PVBattChg_F2803x\ is designed for a 12 V battery, and it says to use an LED string that can take 30 V  - I'm not keen to put more than 10 V, maybe 12 V through my string. So I'd like to check what I need to change in the software to be able to do this safely:

I have halved all the values in this section of SolarExplorer-Settings.h (lines 51 - 57):

#define VBATT_V1 _IQ10(5.25) // usually 10.5

#define VBATT_V2 _IQ10(7.2) // usually 14.4

#define VBATT_REF _IQ24(7.0/VBATT_MAX_SENSE) // usually 14.0 

#define VBATT_V3 _IQ10(6.75) // usually 13.5

#define VBATT_V4 _IQ10(7.6) // usually 15.1

#define VBATT_MIN_LEDDRIVING _IQ10(6.0) // usually 12.0

And I tested my LEDs and see that around 0.1 A goes through them when powered at 10 V (from a DC PSU). Now, on line 1176 of SolarExplorer-Main.c it says

IboostSwRef=_IQ24(0.1);

Does that mean I should be ok without modifying anything else? If the LEDs are driven at 0.1 A, then the voltage across them shouldn't exceed about 10 V, right? In the documentation it says there's a thing that limits Vboost to Vboost_max for safety - but I can't find where this is in the code. It would give me peace of mind if I could find it and if necessary change Vboost_max to something lower.

Please let me know before I blow something up! (Also, I have no formal training in electronics, so please speak simply to me - thanks!)

  • Please refer to Fig 11 in the document , IboostSwRef is the current reference set point for the switch current of the sepic power stage, please note the power stage is scaled for 4.23 amps and with 0.1 set reference the current should be 0.423 amps through the LEDs,

    0.1 Amps that you report above is through the LED string or from the DC power supply?

    About the Vboost value, we have the Vboost connected to Comparator 1,. please see line 681 in the code. the value for the trip is 850 which on a 1024 scale with a max sense range of ~39V is (850/1024)*39 is 32 volts,

    you can change the 850 number for a desired voltage value for the comparator trip
  • Thank you so much, Manish - you may have averted a disaster!

    The 0.1 A that I saw was from the power supply when I connect the LED string to it directly - so I would guess that when I connect the LED string between BS4 and Ground as per the instructions, I should change IboostSwRef to make 0.1 A go through the string, say, line 1176:

    IboostSwRef = 0.025;

    - so if I do that, and change line 681 to something like

    Comp1Regs.DACVAL.bit.DACVAL =275;

    and change the VBATT_ V1, etc. values in SolarExplorer-Settings.h as I mentioned before, should I be good to go?

  • Susan, 

    Looks ok to me

  • Oh! Just a thought - sorry to bother you again - in the PV Inverter code, Build 1, is inv_Iset also on a scale 0 to 1 where 1 corresponds to 4.23 A? If that was in the documentation it completely passed me by, I'm afraid!