Digital PFC firmware
#define CONV_RATIO_VAC
#define CONV_RATIO_VDC
#define CONV_RATIO_IL
●
Thresholds for software protections and limitations (see
/* Thresholds for SW Protections and Limiters
******************************* */
#define PFC_REFERENCE_VDC
#define PFC_MAX_VDC
#define PFC_MAX_HYS_VDC
#define PFC_MAX_THRESHOLD_VDC
#define PFC_MIN_THRESHOLD_VDC
#define PFC_MAX_IL
#define PFC_MAX_HYS_IL
/* ************************************************************* */
●
Parameters of voltage PI
/* Voltage PI Regulator
***************************************************** */
/* divided by 1024
************************************************************/
#define kpv_init
#define kiv_init
/* ************************************************************* */
●
Parameters of current PI
/* Current PI Regulator
***************************************************** */
/* divided by 1024
************************************************************/
#define kpi_init
#define kii_init
/* ************************************************************* */
●
Parameters of soft restart (see
/* for soft restart
********************************************************* */
/* Three particular points are located (at startup, after OC and
after OV
/* N (in percentage) is the part of VdcRef used by voltage PI
*/
/* N will be increased by N_GROWTH as soon as CYCLES reaches
CYCLES_MAX
36/62
www.BDTIC.com/ST
0.008629 // net ratio
0.007053 // net ratio
0.212121 // net ratio
(u16)1700
(u8)213
(u16)230
(u8)56
Figure 26
*/
*/
Doc ID 16854 Rev 1
Chapter 4
415 // in Volt
(PFC_REFERENCE_VDC * 1.05)
(PFC_REFERENCE_VDC * 0.9875)
460
225 // in volt
13
// in ampere
PFC_MAX_IL * 0.95
)
UM0877
)
//435V
//410V
Need help?
Do you have a question about the STM32F103ZE and is the answer not in the manual?
Questions and answers