| 数据搜索系统,热门电子元器件搜索 |
|
UM0324 数据表(PDF) 31 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0324 数据表(HTML) 31 Page - STMicroelectronics |
|
31 / 105 page ![]() UM0324 Running the demo program 31/105 3.3.1 Connecting the two ICS sensors to the motor and to STR750 In order for the implemented IFOC algorithm to work properly, it is necessary to ensure that the software implementation of the 75x_svpwm_ICS module and the hardware connections of the two ICS are consistent. As illustrated in Figure 16, the two ICS must act as transducers on motor phase currents coming out of the inverter legs driven by STR750 PWM signals PWM1 (Phase A) and PWM2 (Phase B). In particular, the current coming out of inverter Phase A must be read by an ICS whose output has to be sent to the analog channel specified by the PHASE_A_CHANNEL parameter in MC_pwm_ics_prm.h. Likewise, the current coming out of inverter Phase B must be read by the other ICS and its output has to be sent to the analog channel specified by the PHASE_B_CHANNEL parameter in MC_pwm_ics_prm.h. About the positive current direction convention, a positive half-wave on PHASE_X_CHANNEL is expected, corresponding to a positive half-wave on the current coming out of the related inverter leg (see direction of I in Figure 16). Figure 16. ICS hardware connections 3.3.2 Selecting PHASE_A_CHANNEL and PHASE_B_CHANNEL Default settings for PHASE_A_CHANNEL and PHASE_B_CHANNEL are respectively ADC_CHANNEL11 and ADC_CHANNEL10. You can change the default settings if the hardware requires it by editing the MC_pwm_ics_prm.h file. However, there are a few rules to follow when selecting the new ADC channels: ● You must initialize the proper GPIOs as analog inputs; an example for channel 8 is given below: /* ADC Channel 8 pin configuration */ GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AIN; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_29; GPIO_Init(GPIO0, &GPIO_InitStructure); |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |