Rev 1110 | Rev 1383 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1110 | Rev 1366 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | ## Section act_PID -- Do not edit this line |
1 | ## Section act_PID -- Do not edit this line |
| - | 2 | # CAN_MODULE_ENUM_PID_CONFIG_PARAMETER_TIMEUNIT_SECONDS |
|
| 2 |
|
3 | # or CAN_MODULE_ENUM_PID_CONFIG_PARAMETER_TIMEUNIT_MILLISECONDS |
| 3 |
|
4 | DEFAULT_PID_CALC_PERIOD_UNIT = CAN_MODULE_ENUM_PID_CONFIG_PARAMETER_TIMEUNIT_SECONDS |
| 4 |
|
5 | DEFAULT_PID_CALC_PERIOD=15 |
| 5 | - | ||
| 6 | - | ||
| 7 | - | ||
| 8 | 6 | ||
| 9 | #/*! \brief P, I and D parameter values |
7 | #/*! \brief P, I and D parameter values |
| 10 | # * |
8 | # * |
| 11 | # * The K_P, K_I and K_D values (P, I and D gains) |
9 | # * The K_P, K_I and K_D values (P, I and D gains) |
| 12 | # * need to be modified to adapt to the application at hand |
10 | # * need to be modified to adapt to the application at hand |
| 13 | # */ |
11 | # */ |
| 14 |
|
12 | DEFAULT_K_P=40.00 |
| 15 |
|
13 | DEFAULT_K_I=0.00 |
| 16 |
|
14 | DEFAULT_K_D=95.00 |
| - | 15 | ||
| - | 16 | PID_TEMPERATURE_SENSOR_MODULE_TYPE=CAN_MODULE_TYPE_SNS_DS18X20 |
|
| - | 17 | PID_TEMPERATURE_SENSOR_MODULE_ID=2 |
|
| - | 18 | PID_TEMPERATURE_SENSOR=82 |
|
| 17 | 19 | ||
| 18 |
|
20 | PID_PWM_ACTUATOR_MODULE_TYPE=CAN_MODULE_TYPE_ACT_SOFTPWM |
| 19 |
|
21 | PID_PWM_ACTUATOR_MODULE_ID=2 |
| 20 |
|
22 | PID_PWM_ACTUATOR=0 |
| 21 | 23 | ||
| 22 | #Uncomment the line below if you want to use EEPROM with this module, dont forget to also uncomment the line in sources.list |
24 | #Uncomment the line below if you want to use EEPROM with this module, dont forget to also uncomment the line in sources.list |
| 23 | act_PID_USEEEPROM=1 |
25 | act_PID_USEEEPROM=1 |
| 24 | 26 | ||
| 25 | DEFAULT_PWM_VALUE=6090 |
27 | DEFAULT_PWM_VALUE=6090 |
| 26 | MIN_PWM_VALUE=1000 |
28 | MIN_PWM_VALUE=1000 |
| 27 | MAX_PWM_VALUE=9900 |
29 | MAX_PWM_VALUE=9900 |
| 28 | 30 | ||
| 29 | PWM_ID=0 |
- | |
| 30 | act_PID_ID=<ID> |
31 | act_PID_ID=<ID> |
| 31 | act_PID_TIMER=<TIMER> |
32 | act_PID_TIMER=<TIMER> |
| 32 | act_PID_SEND_TIMER=<TIMER> |
33 | act_PID_SEND_TIMER=<TIMER> |
| 33 | PID_SEND_PERIOD=11000 |
34 | PID_SEND_PERIOD=11000 |
| 34 | 35 | ||