- Main Page
- Related Pages
- Data Structures
- Files

# LIIONspecs.h

Go to the documentation of this file.

    00001 /* This file has been prepared for Doxygen automatic documentation generation.*/
    00028 #ifndef LIIONSPECS_H
    00029 #define LIIONSPECS_H
    00030
    00031
    00032 //******************************************************************************
    00033 // Cell limits
    00034 //******************************************************************************
    00035 // This is for common NiMH batteries.
    00036 #define CELL_VOLTAGE_SAFETY     0
    00050 // Maximum charge voltage for cell, in mV, for each temperature range.
    00051 // Note that CELL_VOLTAGE_MAX is for T1, the "normal" temperature range.
    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 // Battery limits
    00070 //******************************************************************************
    00071 // Battery-definitions.
    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 // Maximum battery voltage, in mV, for each temperature range.
    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