Line data Source code
1 0 : /* 2 : * Copyright 2024 Embeint Inc 3 : * 4 : * SPDX-License-Identifier: Apache-2.0 5 : * 6 : * The following open-circuit voltage curves have been extracted from the datasheets of the 7 : * listed battery parts. They will not be 100% correct for all batteries of the chemistry, 8 : * but should provide a good baseline. These curves will also be affected by ambient temperature 9 : * and discharge current. 10 : * 11 : * Each curve is 11 elements representing the OCV voltage in microvolts for each charge percentage 12 : * from 0% to 100% inclusive in 10% increments. 13 : */ 14 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_BATTERY_BATTERY_H_ 15 : #define ZEPHYR_INCLUDE_DT_BINDINGS_BATTERY_BATTERY_H_ 16 : 17 : /* Panasonic KR-1800SCE */ 18 0 : #define BATTERY_OCV_CURVE_NICKEL_CADMIUM_DEFAULT \ 19 : 800000 1175000 1207000 1217000 1221000 1226000 1233000 1245000 1266000 1299000 1366000 20 : 21 : /* Panasonic BK-1100FHU */ 22 0 : #define BATTERY_OCV_CURVE_NICKEL_METAL_HYDRIDE_DEFAULT \ 23 : 1004000 1194000 1231000 1244000 1254000 1257000 1263000 1266000 1274000 1315000 1420000 24 : 25 : /* Panasonic NCR18650BF */ 26 0 : #define BATTERY_OCV_CURVE_LITHIUM_ION_POLYMER_DEFAULT \ 27 : 2502000 3146000 3372000 3449000 3532000 3602000 3680000 3764000 3842000 3936000 4032000 28 : 29 : /* Drypower IFR18650 E1600 */ 30 0 : #define BATTERY_OCV_CURVE_LITHIUM_IRON_PHOSPHATE_DEFAULT \ 31 : 2013000 3068000 3159000 3194000 3210000 3221000 3229000 3246000 3256000 3262000 3348000 32 : 33 : /* FDK CR14250SE */ 34 0 : #define BATTERY_OCV_CURVE_LITHIUM_MANGANESE_DEFAULT \ 35 : 1906000 2444000 2689000 2812000 2882000 2927000 2949000 2955000 2962000 2960000 2985000 36 : 37 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_BATTERY_BATTERY_H_ */