 |
SimpleFOClibrary 2.4.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
4#define DEF_POWER_SUPPLY 12.0f
6#define DEF_PID_VEL_P 0.5f
7#define DEF_PID_VEL_I 10.0f
8#define DEF_PID_VEL_D 0.0f
9#define DEF_PID_VEL_RAMP NOT_SET
10#define DEF_PID_VEL_LIMIT (DEF_POWER_SUPPLY)
13#if defined(__AVR_ATmega328P__) || defined(__AVR_ATmega168__) || defined(__AVR_ATmega328PB__) || defined(__AVR_ATmega2560__)
15#define DEF_PID_CURR_P 2
16#define DEF_PID_CURR_I 100
17#define DEF_PID_CURR_D 0.0f
18#define DEF_PID_CURR_RAMP 1000.0f
19#define DEF_PID_CURR_LIMIT (DEF_POWER_SUPPLY)
20#define DEF_CURR_FILTER_Tf 0.01f
21#define DEF_CURR_BANDWIDTH 100.0f
24#define DEF_PID_CURR_P 3
25#define DEF_PID_CURR_I 300.0f
26#define DEF_PID_CURR_D 0.0f
27#define DEF_PID_CURR_RAMP 0
28#define DEF_PID_CURR_LIMIT (DEF_POWER_SUPPLY)
29#define DEF_CURR_BANDWIDTH 300.0f
30#define DEF_CURR_FILTER_Tf 1/(_2PI*DEF_CURR_BANDWIDTH)
33#define DEF_CURRENT_LIM 2.0f
36#define DEF_MON_DOWNSMAPLE 100
37#define DEF_MOTION_DOWNSMAPLE 0
40#define DEF_P_ANGLE_P 20.0f
41#define DEF_VEL_LIM 20.0f
44#define DEF_INDEX_SEARCH_TARGET_VELOCITY 1.0f
46#define DEF_VOLTAGE_SENSOR_ALIGN 3.0f
48#define DEF_VEL_FILTER_Tf 0.005f
51#define DEF_LPF_PER_PHASE_CURRENT_SENSE_Tf 0.0f