define VOLTAGE_LOOP_DISABLE (1)//for opened voltage loop, comment this out for closed voltage loop
what's the mean of the above code, Whether the DPWM is not issued, when the closed loop.
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.
define VOLTAGE_LOOP_DISABLE (1)//for opened voltage loop, comment this out for closed voltage loop
what's the mean of the above code, Whether the DPWM is not issued, when the closed loop.
Hi John,
This is a temporary code used during the PFC EVM debugging. Please do not enable this code otherwise the PFC voltage loop is open (current loop is still close), the PFC output voltage will be out of control.
Regards,
Bosheng Sun
John,
For interleaved PFC, the current balancing function is always enabled. How did you disable this function? Where did you get the EVM source code?
Regards,
Bosheng
BOSheng,
I get the EVM source code from TI forum based on the CCS3.3. and i found the code"//#define CURRENT_BALANCE (1) //1: enable current balance"
when i ignore the code, the PFC voltage output have 390V. while i activate this code , the PFC output only 350V. It makes me confused.
Bosheng,
thank you very much. And i have download the latest PFC EVM code from TI website and installed the CCS6.0.But the codes file have not the corresponding library, and the compiler is always at fault.
Bosheng,
I have a presumptuous request, Can you help me with the other two questions when you are free? Links are as follows:
1,e2e.ti.com/.../532187
2,e2e.ti.com/.../532184
thanks!
Hi John,
It looks to me that it caused by the compiler version. Can you please help let us know what exact compiler version is?
The code at ti.com is using compiler 5.2.2 as default, so please install this compiler to your PC.
Here is the way of updating the compiler:
Select Help -> Install New Software. Set Work with to Code Generation Tools Updates. Be sure Show only the latest versions ... is not checked. Expand TI Compiler Updates.
Sometimes you may not be able to find the exact version, please install the compiler above 5.2.2, such as 5.2.4, 5.2.7 like this. And after installing the compiler, please do some changes to the project configurations:
1. Right click on project, click on CCS General, and change the compiler version to 5.2.2 or above.
2. Change the configurations to those source files one by one, interrupts.c, standar_interrupt.c, software_interrupt.c. Change those files compiled as 32 bits.
I see your code shown in software interrupt.c is not the latest one, please download the PFC code at http://www.ti.com/tool/ucd3138fw-pfc,
Hope this could help you.
Regards,
Jack