Temperature inputs
Temperature inputs on the BMS are labeled TS1, TS2, and so on. The number of inputs depends on the BMS type. For proper temperature reading, the BMS must be configured for a proper number of used inputs and their type. Also, there are several build-in temperature sensors.
- All mentioned variables are located in folder
/driver/temp/
.
TS type configuration
Each TS input has its on folder with configuration - ts1Conf/
.
Using parameter /ts1Conf/conf
you can configure the type of the sensor.
conf | Description |
---|---|
0 | Disable TS input |
2 | Reading an all the limitation is in ohms |
3 | 10k NTC with reading in celsius |
For proper temperature reading, the Bconst
parameter must be set. Check for the correct value in the datasheet of the used NTC.
At least one TS input must be with conf
=3. Otherwise, the BMS will go to the error state.
Temperature reading
Each temperature sensor has its own reading in the folder /driver/temp/
. The reading depends on the configuration of the TS input. Also, build in temperature sensors are in this folder.
Rule of thumb: If the variable is not present in the folder, the sensor is not present on your BMS.
Reading | Description | Reading in |
---|---|---|
ts1 | Reading of TS1 input | Celsius, ohms |
ts2 | Reading of TS2 input | Celsius, ohms |
... | ... | |
balmcu | Reading of balancer MCU temperature sensor | Celsius |
ptcBal | Reading of balancer limiting PTC sensor | Ohms |
mcu | Reading of main MCU temperature sensor | Celsius |
switchptc | Reading of switch PTC sensor | Ohms |