| 전자부품 데이터시트 검색엔진 |
|
UM1561 데이터시트(PDF) 27 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1561 데이터시트(HTML) 27 Page - STMicroelectronics |
|
27 / 39 page ![]() UM1561 Digital closed loop control and diagnostic functions implemented Doc ID 023556 Rev 1 27/39 9 Digital closed loop control and diagnostic functions implemented 250WControl.c: This is the main file of the microinverter. It includes the firmware-code for the closed and open loop control, the input and output protection and the LCD display management. The first function, called InitControl(), contains the init data for the DC-DC and DC-AC section. In particular, the DC-DC information is contained in the InitStructure, the DC-AC are contained in the DCAC_InitStructure and the data sensing part in the DS_ InitStructure. void InitControl(ControlMode_t mode) { GPIO_InitTypeDef GPIO_InitStructure; DCDC_TypeDef_t InitStructure; DCAC_TypeDef_t DCAC_InitStructure; DS_TypeDef_t DS_InitStructure; /*DCDC Converter configuration */ InitStructure.Counter = DCDC_COUNTER; InitStructure.DutyCycle = DCDC_DUTYCYCLE; InitStructure.frequency = DCDC_FREQUENCY; DCDC_Init(&InitStructure); /*DCAC Inverter init configuration*/ DCAC_InitStructure.Counter = DCAC_COUNTER; DCAC_InitStructure.DeadTime = DCAC_DEADTIME; DCAC_Init(&DCAC_InitStructure); ControlMode = mode; /*DataSensing Init configuration*/ DS_InitStructure.Counter = DCAC_COUNTER; //--the same counter of the DCAC DS_InitStructure.DataRegister = (vu32 *)&DataSensingIO; DS_InitStructure.RegisterSize = DATA_SENSING_SIZE; if (mode == ClosedLoop) DS_InitStructure.OnAcquisition = ExecControl; else DS_InitStructure.OnAcquisition = ExecControlOpenLoop; DS_Init(&DS_InitStructure); /*Calibration of data sensing ***AFTER DS_Init*** */ CalibrationControl(); /* Configure RELE : PA1-----------------------------------*/ |
|
링크 URL |
| 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 |