On  i-Miev the motor temperature is with a -40C offset from the car.<div><br></div><div>Highest motor temperature I have seen is ~50C on i-Miev.</div><div><br></div><div>Regards, Thomas<span></span><br><br>mandag 13. januar 2014 skrev Håkon Markussen  følgende:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I was not aware of the industry standard -40C offset, so thank you (all) for good inputs. <br>The "problem" is hereby addressed :)<br>
</div><div><br><br></div><div>@Kevin: Can you recall the highest motor temperature ever seen on the Roadster? Do you know is Model S has the same temperature characteristics as the Roadster?<br>
<br></div><div>Br.<br>Håkon<br></div><div><br><br><div>2014/1/13 Mastro Gippo <span dir="ltr"><<a>gipmad@gmail.com</a>></span><br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Håkon, it is industry standard to apply an offset of -40C. We should do that instead of transforming it to signed, as Collin said. That would also be directly compatible to the CAN message from the twizy. Let's wait for Mark's opinion.<br>



</div>Regards<span><font color="#888888"><br></font></span></div><span><font color="#888888">MG<br></font></span></div><div><div><div><br><br><div>
2014/1/13 Håkon Markussen <span dir="ltr"><<a>hakon.markussen@gmail.com</a>></span><br>

<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>The highest motor temperature I ever have seen on Think City is ~45 C. This is the offset for the cooling thermostat<br>



</div><div><br>I cannot even imagine that other EV-motors should reach a temperature near 100C? Then the cooling system have to be out of order ... or ...?<br>
<br>Anybody who knows the expected operation range of motor temp for Roadster, Leaf, iMiEV and Zwizy?<br><br></div>Think City reports temperature in 8 bits - signed.<br></div>When bit8 (msb) is set to "1" it means negative temperature, so when the motor temp actually is -1C , OVMS reports 255C. When motor temp is -11 Ovms reports 245C ,etc.<br>




</div><div><br></div><div>I think that this problem might apply to all vehicles(?).<br><br></div><div></div>Mark, do you have any suggestion for solution?<br><br></div>Br.<span><font color="#888888"><br>Håkon<br>

</font></span></div><div><div><div><br><br>
<div>2014/1/13 Collin Kidder <span dir="ltr"><<a>collink@kkmfg.com</a>></span><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div dir="ltr">I don't think you'd want to do that. 127 deg C really isn't that terribly hot and -128C is extremely cold. If it is necessary to retain use of an 8 bit variable then the standard solution is to just offset the temperature stored by -40. That way you can read -40 to 215C which is a pretty reasonable range. Unfortunately, I fear such a change would necessitate many other changes in code. It might be better to expand to a signed 16 bit integer.<br>





<div><br><br><div><div><div>On Mon, Jan 13, 2014 at 7:50 AM, Håkon Markussen <span dir="ltr"><<a>hakon.markussen@gmail.com</a>></span> wrote:<br>




</div></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="ltr"><div><div><div>Hi (Mark).<br><br></div>In ovms.h the motor temperature is defined as unsigned char (non-negative):<br>





extern unsigned char car_tmotor; // Tmotor<br><br></div>Currently the weather is cold in Norway (-15 C) and I noticed that motor temp was 244C.<br>
<br></div><br><div><div><div><div>Is it possible to update the car_tmotor to<br>extern signed char car_tmotor; // Tmotor<br></div><div> in ovms.h?<br></div><div><br></div><div>Best regards<span><font color="#888888"><br>





</font></span></div><span><font color="#888888"><div>Håkon<br></div></font></span></div>
</div></div></div>
<br></div></div>_______________________________________________<br>
OvmsDev mailing list<br>
<a>OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
OvmsDev mailing list<br>
<a>OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
OvmsDev mailing list<br>
<a>OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
<br></blockquote></div></div></div></div></blockquote></div></div></div>
</blockquote></div>