Temperature sensor

andrewjenkins34
Posts: 56
Joined: Thu Dec 17, 2020 1:48 am
Has thanked: 1 time
Been thanked: 2 times

Re: Temperature sensor

Post by andrewjenkins34 »

Happy New Year. I have a BMW 13627580635 temp sensor that is used on the hybrid gearbox. I followed the steps outlined as best as I could. I'd like to be able to use this sensor in place of the MG2 temp sensor on the Zombieverter and Prius Gen 3 boards but I'm not sure how to do that.
Attachments
20220105_160413.jpg
20220105_150310.jpg
BMW Temp Sensor.ods
(42.52 KiB) Downloaded 121 times
User avatar
manny
Posts: 30
Joined: Sun Jan 23, 2022 4:15 pm
Location: Netherlands
Has thanked: 2 times
Been thanked: 17 times

Re: Temperature sensor

Post by manny »

I have the same 47k ntc in the XC90 inverter but no luck.

selected the NTC45/2k2 and changed the pcb to match the schematic above.

rigged up a pot to simulate de temperature sensor two options in the spot values -50 or +150.

measured the voltage on the stm32 and it matched the values in the temp_sensors.ods

did something change in the last 2-3 years?
User avatar
manny
Posts: 30
Joined: Sun Jan 23, 2022 4:15 pm
Location: Netherlands
Has thanked: 2 times
Been thanked: 17 times

Re: Temperature sensor

Post by manny »

Have looked through the code for the temperature sensors. I think the NTCK45 and the PT1000 are "labeled" wrong in the "static const TEMP_SENSOR sensors[]"

The "coeff" for the NTCK45 is NTC. This seems logical but this is wrong in my opinion.
with the other sensors if the ADC values are increasing in the temp_meas.h they are listed as NTC. if the ADC values are decreasing they are listed as PTC.

the temperature sensor circuit for the motor_temp and the inveter_temp work in opposite way. in the iverter_temp the sensor is a pulldown and in the motor_temp the sensor is a pullup.

the NTCK45 and the PT1000 have the same response, -50 or +150 degrees
Post Reply