Skip to content

Motor temperature sensor calculator

Use this calculator to find the six Motor temperature feedback V values for a motor thermistor. When you finish, the controller can read the motor temperature from your thermistor.

Prerequisites

  • The thermistor is connected to one of the connections in the calculator. Refer to Motor temperature sensor and Connector pinouts.
  • You have the thermistor datasheet, with the resistance at 0 °C, 25 °C, 50 °C, 75 °C, 100 °C and 125 °C.

Calculator

Thermistor connection
TemperatureThermistor resistance (Ω)ParameterFeedback voltage (V)
0 °CMotor temperature feedback V at 0 C (93)-
25 °CMotor temperature feedback V at 25 C (94)-
50 °CMotor temperature feedback V at 50 C (95)-
75 °CMotor temperature feedback V at 75 C (96)-
100 °CMotor temperature feedback V at 100 C (97)-
125 °CMotor temperature feedback V at 125 C (98)-

The example values are for a 50 kΩ NTC thermistor. Replace them with the values from your thermistor datasheet.

Configure

CAUTION

Make sure that the six voltages are correct before you operate the motor. Incorrect values can stop the motor temperature protection. Damage to the motor can occur.

  1. Enable Features bit 5 Motor temp sensor enable.
  2. Set Motor temperature source to the input that you connected the thermistor to.
  3. Enter the six voltages from the calculator in Motor temperature feedback V at 0 C to Motor temperature feedback V at 125 C.
  4. Save the parameters to flash.

Verify

  1. Keep the motor at room temperature for some time, so that the motor and the thermistor have the same temperature.
  2. Read motor temperature (address 261).
  3. Make sure that the value is near the room temperature.
  4. If the value is not correct, make sure that you selected the correct connection in the calculator.

How it works

The thermistor and resistors in the controller make a voltage divider. The controller reads the voltage and finds the temperature from the six points.

  • Brake 1 and Brake 2 have a 5 V pull-up resistor in the controller. Connect the thermistor between the input and a ground pin. Hall GND has a polyfuse in series, which changes the voltage a little. Thus the two ground pins have different formulas.
  • Throttle and ABMS have a pull-down resistor in the controller. Connect the thermistor between the 5 V output and the input.

R is the thermistor resistance in Ω, and V is the feedback voltage in V.

Connection Formula
Brake 1 or Brake 2 to Signal GND V = 11875 × R / (17431200 + 4251 × R)
Brake 1 or Brake 2 to Hall GND V = 4750 × (172268 × R² + 13913806737 × R + 828480786525) / (807 × (253 × R + 20419350) × (1417 × R + 5823153))
5 V output to Throttle V = 5 × 47500 / (R + 80700)
5 V output to ABMS V = 5 × 13300 / (R + 46500)

Feedback voltage for each thermistor connection

Parameters

Parameter Address Units Description
Motor temperature feedback V at 0 C 93 V Sensor voltage at 0 °C.
Motor temperature feedback V at 25 C 94 V Sensor voltage at 25 °C.
Motor temperature feedback V at 50 C 95 V Sensor voltage at 50 °C.
Motor temperature feedback V at 75 C 96 V Sensor voltage at 75 °C.
Motor temperature feedback V at 100 C 97 V Sensor voltage at 100 °C.
Motor temperature feedback V at 125 C 98 V Sensor voltage at 125 °C.
Motor temperature source 137 The input that the thermistor is connected to.
Features 212 Bit field. Bit 5: Motor temp sensor enable.
motor temperature 261 °C Read only. Motor temperature.
motor temperature sensor voltage 398 V Read only. Voltage on the motor temperature input.

Parameters used on this page