Definition in file config_motor.h.
#include "compiler.h"
#include "mcu.h"
#include "inavr.h"
Include dependency graph for config_motor.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | DUTY_RAMP_UP 140 |
| Define the voltage during the ramp up sequence. | |
| #define | HIGH_AND_LOW_PWM |
| Define Type of Pulse Width Modulation. | |
| #define | K_cur_scal 4 |
| #define | K_pos_scal 5 |
| #define | K_SPEED 136607 |
| #define | K_speed_scal 5 |
| #define | Kd_cur 0 |
| #define | Kd_pos 20 |
| #define | Kd_speed 0 |
| #define | Ki_cur 3 |
| #define | Ki_pos 3 |
| #define | Ki_speed 2 |
| #define | Klin_speed 185 |
| #define | Kp_cur 1 |
| #define | Kp_pos 9 |
| #define | Kp_speed 6 |
Enumerations | |
| enum | { HS_001 = 1, HS_010 = 2, HS_011 = 3, HS_100 = 4, HS_101 = 5, HS_110 = 6 } |
| This enumeration contains the 6 differents values for the Hall Sensors See design document. More... | |
| enum | { RUN = TRUE, STOP = FALSE } |
| Define the two states of the motor. More... | |
| enum | { CCW = TRUE, CW = FALSE } |
| Define Direction of rotor : CCW and CW. More... | |
| enum | { OPEN_LOOP = 0, SPEED_LOOP = 1, CURRENT_LOOP = 2, POSITION_LOOP = 3 } |
| Define the different kinds of regulation. More... | |
| #define DUTY_RAMP_UP 140 |
Define the voltage during the ramp up sequence.
Definition at line 55 of file config_motor.h.
Referenced by mci_run().
| #define HIGH_AND_LOW_PWM |
| #define K_cur_scal 4 |
| #define K_pos_scal 5 |
| #define K_SPEED 136607 |
| #define K_speed_scal 5 |
| #define Kd_cur 0 |
Definition at line 77 of file config_motor.h.
| #define Kd_pos 20 |
| #define Kd_speed 0 |
Definition at line 71 of file config_motor.h.
| #define Ki_cur 3 |
| #define Ki_pos 3 |
| #define Ki_speed 2 |
| #define Klin_speed 185 |
| #define Kp_cur 1 |
| #define Kp_pos 9 |
| #define Kp_speed 6 |
| anonymous enum |
This enumeration contains the 6 differents values for the Hall Sensors See design document.
In this application, just 3 hall sensor are used Hall Sensor : position 1 to 6
Definition at line 34 of file config_motor.h.
| anonymous enum |
| anonymous enum |
| anonymous enum |
Define the different kinds of regulation.
Definition at line 60 of file config_motor.h.
00060 {OPEN_LOOP = 0, SPEED_LOOP = 1, CURRENT_LOOP = 2, POSITION_LOOP = 3};
1.4.7