You are here

temperature compensation make sense?

2 posts / 0 new
Last post
alexshen2012
Offline
Last seen: 2 years 3 months ago
Joined: 2022-06-30 11:14
Posts: 6
temperature compensation make sense?

In current control, it will compensate the current ki if temp compensate is enabled. Just as followed,

if (conf_now->foc_temp_comp && t > -30.0) {
        ki += ki * 0.00386 * (t - conf_now->foc_temp_comp_base_temp);
    }
 

Does the temp compensation really makes sense, and what is the magic num 0.00386 is?

alexshen2012
Offline
Last seen: 2 years 3 months ago
Joined: 2022-06-30 11:14
Posts: 6

I googled and noticed that the temperature coefficient of Copper and Aluminium are very close to this magic number, right? 

temp.jpg

BR,
Alex