Electronic Components Datasheet Search
  English  ▼

X  

AN3165 Datasheet(PDF) 22 Page - STMicroelectronics

Part # AN3165
Description  Digital PFC and dual FOC MC integration
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3165 Datasheet(HTML) 22 Page - STMicroelectronics

Back Button AN3165 Datasheet HTML 18Page - STMicroelectronics AN3165 Datasheet HTML 19Page - STMicroelectronics AN3165 Datasheet HTML 20Page - STMicroelectronics AN3165 Datasheet HTML 21Page - STMicroelectronics AN3165 Datasheet HTML 22Page - STMicroelectronics AN3165 Datasheet HTML 23Page - STMicroelectronics AN3165 Datasheet HTML 24Page - STMicroelectronics AN3165 Datasheet HTML 25Page - STMicroelectronics AN3165 Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 31 page
background image
Integration principles and description
AN3165
22/31
Doc ID 17180 Rev 1
#define PFC_ENABLE
When this function is enabled, the built firmware will be the integration between the dual
FOC MC and the digital PFC.
4.3.1
Firmware modifications to resolve conflicts between peripherals
The following is the code to resolve the conflicts outlined in Section 4.2.2, and demonstrates
how the dual FOC MC part reads the bus voltages by means of the PFC part.
In the "stm32f10x_svpwm_1shunt.c" module:
void SVPWMGetBusSampling(void)
{
...
pMotor = _GET_MOTOR_POINTER(MAIN_MOTOR);
#ifndef PFC_ENABLE
pMotor->pPowerStage_Vars->h_ADCBusvolt =
ADC_GetInjectedConversionValue(pMotor-
>pBusVoltageADC,ADC_InjectedChannel_1);
#else
pMotor->pPowerStage_Vars->h_ADCBusvolt = (Get_Vdc_main() << 3);
//to fit ADC injected configuration
#endif
...
pMotor = _GET_MOTOR_POINTER(SUB_MOTOR);
#ifndef PFC_ENABLE
pMotor->pPowerStage_Vars->h_ADCBusvolt =
ADC_GetInjectedConversionValue(pMotor-
>pBusVoltageADC,ADC_InjectedChannel_1);
//pMotor->pPowerStage_Vars->h_ADCTemp
=
ADC_GetConversionValue(pMotor->pTemperatureADC)>>1;
#else
pMotor->pPowerStage_Vars->h_ADCBusvolt = (Get_Vdc_sub() << 3);
//to fit ADC injected configuration
#endif
...
}
Note:
The function "Get_Vdc_main()" exports the converted VDC value, which is also the value of
the main motor bus voltage. The function "Get_Vdc_sub()" exports the converted value of
the sub-motor bus voltage. Both are managed through the PFC part.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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