This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
1、输出前馈代码如下,该怎么理解?TTPLPFC_gi_out 是PI控制器输出,(float32_t)TTPLPFC_VAC_MAX_SENSE_VOLT /(float32_t)TTPLPFC_VDCBUS_MAX_SENSE_VOLT这两个参数值一样,具体意义是什么?
关于TTPLPFC_dutyPU的计算是根据什么公式或者方法推导来的?已看过相关设计文档,没有看到具体说明。
TTPLPFC_dutyPU = ( TTPLPFC_gi_out + (TTPLPFC_ac_vol_sensed_pu *
(float32_t)TTPLPFC_VAC_MAX_SENSE_VOLT /
(float32_t)TTPLPFC_VDCBUS_MAX_SENSE_VOLT)
- TTPLPFC_inductor_voltage_drop_feedforward )
/ (TTPLPFC_vBus_sensed_pu);
2、计算电感电压降前馈代码如下,该怎么理解?
TTPLPFC_inductor_voltage_drop_feedforward = -(float32_t)1.0 *
(TTPLPFC_ac_cur_ref_inst_pu -
TTPLPFC_ac_cur_ref_inst_prev_pu) *
((float32_t)TTPLPFC_PFC_INDUCTOR_VALUE *
TTPLPFC_CONTROL_ISR_FREQUENCY *
TTPLPFC_IL_MAX_SENSE_AMPS /
TTPLPFC_VDCBUS_MAX_SENSE_VOLT);
TTPLPFC_ac_cur_ref_inst_prev_pu = TTPLPFC_ac_cur_ref_inst_pu;
你好,参考下工程师的回复:
1.计算电流循环的代码如下,如何理解?
TTPLPFC_gi_out = GI_RUN(&TTPLPFC_gi,TTPLPFC_ac_cur_sensed_pu,TTPLPFC_ac_cur_ref_inst_pu);
GI_RUN=DCL_runPI_C1
DCL_runPI_C1 is PI controller, TTPLPFC_ac_cur_ref_inst_pu is ref current and TTPLPFC_ac_cur_sensed_pu is the feedback current.
The value of kp and ki for this PI controller is defined as
TTPLPFC_gi.Kp = TTPLPFC_GI_PI_KP;
TTPLPFC_gi.Ki = TTPLPFC_GI_PI_KI;
in ttplpfc.c files
The code this PI controller is written directly in the in assembly language. You can find this code in the files DCL_PI_C1.asm.
2、输出前馈代码如下,如何理解?
3、计算电感压降的前馈代码如下,如何理解?
4.这部分代码的含义
This part of code prevents sudden change in the reference output voltage and also increase linearly.