Skip to content

Commit

Permalink
updated OCV values
Browse files Browse the repository at this point in the history
updated value to not OCV but to very low current, almost the same anyway
  • Loading branch information
Gabrielerusso committed Feb 12, 2024
1 parent b3238e4 commit 4e0976a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/power.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
#define NUM_OCV_POINTS 11
#endif

// 3400,3350,3320,3300,3270,3260,3250,3220,3200,3120,3000 //3.4 to 3.0 LiFePO4
// 3400,3350,3320,3290,3270,3260,3250,3230,3200,3120,3000 //3.4 to 3.0 LiFePO4
// 2120,2090,2070,2050,2030,2010,1990,1980,1970,1960,1950 //2.12 to 1.95 Lead Acid
// 4200,4050,3990,3890,3790,3700,3650,3550,3450,3300,3200 //4.2 to 3.2 LiIon/LiPo
// 4200,4050,3990,3890,3790,3700,3650,3550,3400,3300,3000 //4.2 to 3.0 LiIon/LiPo
// 4150,4050,3990,3890,3790,3690,3620,3520,3420,3300,3100 //4.15 to 3.1 LiIon/LiPo
#ifndef OCV_ARRAY
#ifdef CELL_TYPE_LIFEPO4
#define OCV_ARRAY 3400, 3350, 3320, 3300, 3270, 3260, 3250, 3220, 3200, 3120, 3000
#define OCV_ARRAY 3400, 3350, 3320, 3290, 3270, 3260, 3250, 3230, 3200, 3120, 3000
#elif defined(CELL_TYPE_LEADACID)
#define OCV_ARRAY 2120, 2090, 2070, 2050, 2030, 2010, 1990, 1980, 1970, 1960, 1950
#else // LiIon
#define OCV_ARRAY 4190, 4050, 3990, 3890, 3790, 3690, 3620, 3520, 3420, 3300, 3100
#define OCV_ARRAY 4190, 4050, 3990, 3890, 3800, 3720, 3630, 3530, 3420, 3300, 3100
#endif
#endif

Expand Down

0 comments on commit 4e0976a

Please sign in to comment.