gs455tpi,
TR is a calculated throttle value equal to throttle_input * t-pos-gain / 8 - PWM * t-pwm-gain / 8
BA (battery amps) is a calculated value from 0~511 based on motor amps x PWM duty cycle (i.e. PWM value/511)
PW is as you described
FB as follows:
Bit 7= High Pedal Lockout fault
Bit6= Motor Overspeed fault
Bit 5= Precharge Wait
Bit 4,3,2= unused
Bit 1=Vref fault
Bit 0= Throttle fault
HS is a raw 10-bit A/D count derived from the voltage divider formed by R7, R3 and thermistor RT1. The A/D count is calculated as Vin/.00488. The thermistor’s change in resistance over temperature will be non-linear as will the resulting A/D count. Determining the thermistor’s resistance at a particular temperature would require it’s b-constant and a third order equation.
Thermistor - Wikipedia, the free encyclopedia
A much easier and widely used method is to use the A/D count as an offset to a lookup table where the correct temperature is stored. Attached is a spreadsheet for the thermistor used in the Cougar. RT resistance values were obtained from the manufacturer’s data sheet. These were only provided for every 5deg C increment, so I interpolated the values in between for each degree F. Rather than use the 10-bit A/D count for the offset, I used the upper 8 (effectively dividing by 4). What is interesting is that this 8 bit value is a direct readout of degrees Fahrenheit in the area of 70~80F. However, the error increases in either direction as shown in the column H.
Hope this was of some help.