00001
00028 #ifndef LIIONSPECS_H
00029 #define LIIONSPECS_H
00030
00031
00032
00033
00034
00035
00036 #define CELL_VOLTAGE_SAFETY 0
00050 // Maximum charge voltage for cell, in mV, for each temperature range.
00051
00052 #define CELL_VOLTAGE_MAX_T0 4100
00053
00054 #define CELL_VOLTAGE_MAX 4200
00055 #define CELL_VOLTAGE_MAX_T2 4150
00056 #define CELL_VOLTAGE_MAX_T3 4100
00057
00059 #define CELL_VOLTAGE_LOW 4050
00060
00062 #define CELL_VOLTAGE_MIN 2750
00063
00065 #define CELL_VOLTAGE_PREQUAL 3000
00066
00067
00068
00069
00070
00071
00073 #define BAT_CELL_NUMBER 1
00074
00076 #define BAT_TEMPERATURE_MAX 45
00077
00079 #define BAT_TEMPERATURE_MIN 0
00080
00082 #define BAT_TIME_PREQUAL 9
00083
00086 #define BAT_CURRENT_PREQUAL 150
00087
00089 #define BAT_CURRENT_HYST 5
00090
00092 #define BAT_VOLTAGE_HYST 10
00093
00094
00096 #define BAT_VOLTAGE_MAX_T0 (CELL_VOLTAGE_MAX_T0 * BAT_CELL_NUMBER) - \
00097 ((BAT_CELL_NUMBER - 1) * CELL_VOLTAGE_SAFETY)
00099 #define BAT_VOLTAGE_MAX (CELL_VOLTAGE_MAX * BAT_CELL_NUMBER) - \
00100 ((BAT_CELL_NUMBER - 1) * CELL_VOLTAGE_SAFETY)
00102 #define BAT_VOLTAGE_MAX_T2 (CELL_VOLTAGE_MAX_T2 * BAT_CELL_NUMBER) - \
00103 ((BAT_CELL_NUMBER - 1) * CELL_VOLTAGE_SAFETY)
00105 #define BAT_VOLTAGE_MAX_T3 (CELL_VOLTAGE_MAX_T3 * BAT_CELL_NUMBER) - \
00106 ((BAT_CELL_NUMBER - 1) * CELL_VOLTAGE_SAFETY)
00107
00109 #define BAT_VOLTAGE_LOW (CELL_VOLTAGE_LOW * BAT_CELL_NUMBER)
00110
00112 #define BAT_VOLTAGE_MIN (CELL_VOLTAGE_MIN * BAT_CELL_NUMBER)
00113
00115 #define BAT_VOLTAGE_PREQUAL (CELL_VOLTAGE_PREQUAL * BAT_CELL_NUMBER)
00116
00117 #endif // LIIONSPECS_H