| Electronic Components Datasheet Search |
|
RX62T Datasheet(PDF) 19 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
RX62T Datasheet(HTML) 19 Page - Renesas Technology Corp |
|
19 / 25 page ![]() RX62T Position Control of PMSM with Encoder R01AN0899EU0200 Rev. 2.00 Page 19 of 22 Jan. 31, 2014 8. Motor and Position Control Parameters 8.1 Tuning through header file According to the motor data sheet and position control requirements, motor and control parameters, and motion profile should be properly tuned. Motor and control parameters required in the code of “customize.h” include: #define ENC_EDGES_CUSTOM 4000 // total encoder Edges/Revolution #define PWM_FREQ_CUSTOM 16000 // PWM Frequency in Hz #define SAM_FREQ_CUSTOM 16000 // Sample Frequency in Hz #define C_POLI_CUSTOM 4 // polar couples number #define R_STA_CUSTOM 8 // stator phase resistance in Ohm/OHM_DIV #define L_SYN_CUSTOM 10 // synchronous inductance in Henry/HEN_DIV #define POS_MIN_CUSTOM 0 // minimum position in counts #define POS_MAX_CUSTOM 40000 // maximum position in counts #define KP_CUR_CUSTOM 60 // K prop. current control #define KI_CUR_CUSTOM 80 // K integ. current control #define K_P_POSITION 10 // K prop. position control #define K_I_POSITION 12 // K integ. position control #define K_D_POSITION 150 // K derivative psotion control 8.2 Operation through GUI The motor and control parameters can be tuned through Renesas friendly graphic user interface as shown in Figure 18. Without modifying the code, the parameters can be set for the different motors and applications. There is a parameter window to set up 20 parameters. Scrolling up and down through these parameters, the user can make changes to the settings, and “Write” to EEPROM, but this doesn’t change the “customize.h” file. The original values will be restored upon RESET. From Figure 19, it can be seen that these parameters mirror the #defines in the “customize.h” file. The motor and control parameters can be easily changed by the GUI. In the meantime, the GUI has position control window to set the commanded position, and display the motor actual operation status. Figure 18 GUI interface of evaluation kit |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |