Modified Motor Driver Firmware to include Flash + Thermal

Dependencies:   FastPWM3 mbed-dev-STM-lean

Tables/imax_vs_w.h

Committer:
adimmit
Date:
20 months ago
Revision:
78:4f481ff040ee
Parent:
34:51647c6c500d

File content as of revision 78:4f481ff040ee:

#ifndef IMAX_VS_W
#define IMAX_VS_W

/*max achievable magnitude current vs speed, for positive and negative works
Speed ranges from 0 to 220 rad/s
*/

float imax_pw[16] = {40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 36.0f, 32.0f, 28.0f, 24.0f, 21.0f, 17.0f, 14.0f, 11.0f, 7.0f, 4.0f, 2.0f};
float imax_nw[16] = {40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 40.0f, 40.0f};