Page 2 of 2
Re: Temperature sensor
Posted: Wed Jan 05, 2022 9:02 pm
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.
Re: Temperature sensor
Posted: Sun Feb 04, 2024 4:29 pm
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?
Re: Temperature sensor
Posted: Mon Feb 05, 2024 6:07 pm
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