| поискавой системы для электроныых деталей |
|
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 |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |