Limiter state
limit
is located in the /driver/limit
folder.
Is a bitwise number. Each bit represents activation of each limiter.
This will not tell you how much output power is limited. For that, check value of /driver/total_limit
Bit | Name | Description |
---|---|---|
0 | DRIVER_LIMIT_IBPOS | Battery positive current higher than ibpos |
1 | DRIVER_LIMIT_IBNEG | Battery negative current higher than ibneg |
2 | DRIVER_LIMIT_UBMIN | Battery voltage lower than ubmin |
3 | DRIVER_LIMIT_UBMAX | Battery voltage higher than ubmax |
4 | DRIVER_LIMIT_PPOS | Positive power higher than ppos |
5 | DRIVER_LIMIT_PNEG | Negative power higher than pneg |
6 | DRIVER_LIMIT_RPOS | Positive RPM higher than rpos ? rdec/2 |
7 | DRIVER_LIMIT_RNEG | Negative RPM higher than rneg ? rdec/2 |
8 | DRIVER_LIMIT_MOTORTEMP | Measured motor temperature higher than motortemplo |
9 | DRIVER_LIMIT_MRES | Motor temperature (estimated from winding resistance) higher than mreslo |
10 | DRIVER_LIMIT_BTEMP | Battery temperature higher than btempmaxlo or lower than btempminlo |
11 | DRIVER_LIMIT_BCELL | Cell voltage higher than bcellmax or lower than bcellmin |
12 | DRIVER_LIMIT_CSR | Sweep rate limiter active |
13 | DRIVER_LIMIT_EXT | External (application) limiter active - elimit lower than 1 |
14 | DRIVER_LIMIT_IMULT | imult is not equal to 1 |
15 | DRIVER_LIMIT_UMULT | umult is not equal to 1 |
ibposmult
and ibnegmult
[-]
is located in the /driver/limit
folder. The externally set scaler (from the application). It scales the ibpos
, resp ibneg
limiters. If the ibpos
, resp ibneg
are set to 0, the ibposmult
, resp ibnegmult
will not have any effect.
This is often used to map to BMS's current limitation.
elimit
[-]
is located in the /driver/limit
folder.
This is the value of the external limiter (issued from the application).
totallimit
[-]
is located in the /driver
folder.
Total actual limitation of the Q-axis current. Note that the outputs from both high-priority protections (temperature derating and ADC error) and low-priority limiters are aggregated into this value.
- 1 = no limitation. (Driver have 100% of its current available)
- 0 = full limitation. (Driver have 0% of its current available)