Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 48:f083ea9d1d03, committed 2020-01-09
- Comitter:
- shaorui
- Date:
- Thu Jan 09 01:42:00 2020 +0000
- Parent:
- 47:55bdc4d5096b
- Child:
- 49:10638a45c3ac
- Commit message:
- 12
Changed in this revision
| Config/motor_config.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Config/motor_config.h Sat Dec 07 08:01:06 2019 +0000 +++ b/Config/motor_config.h Thu Jan 09 01:42:00 2020 +0000 @@ -4,10 +4,13 @@ #define R_PHASE 0.105f //Ohms #define L_D 0.00003f //Henries #define L_Q 0.00003f //Henries -#define KT .075f //N-m per peak phase amp, = WB*NPP*3/2 +//#define KT .075f //N-m per peak phase amp, = WB*NPP*3/2 +#define KT .08f #define NPP 21 //Number of pole pairs -#define GR 1.0f //Gear ratio -#define KT_OUT 0.45f //KT*GR +//#define GR 1.0f +#define GR 49.0f //Gear ratio +//#define KT_OUT 0.45f //KT*GR +#define KT_OUT 4.0f #define WB 0.0024f //Webers.