Announcements

Register now for the most anticipated Asia Pacific Power Seminar 2022

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

MOSFET (Si/SiC) Forum Discussions

Rakesh_rp
Level 3
First solution authored 10 replies posted 10 questions asked
Level 3

Hi,

I have a doubt in  3.3kW PFC stage  in the given Infineon code for 3.3kW PFC demo board.  The VIN AC RMS voltage is calculation is done by using a digital filter . The Vin sensed ADC reading is  sampled at 30kHz.   The digital filter  function is called every 2.5kHz. The output of filter is considered as average AC voltage . This average voltage is multiplied with 1.111 to get  RMS  AC voltage.  I want to know the cutoff frequency  and  type of filter used.

Below the equation used in code  for filter.  g_U_in   is the ADC reading for Vin Ac sense.

Rakesh_rp_0-1653376223611.png

 

 

0 Likes
1 Solution
PranavaYN
Moderator
Moderator 50 likes received First comment on KBA First question asked
Moderator

Hi Rakesh,

Sorry for the delay in responding. The equations you refer to are the back-to-back low pass filters. The filter factor used (ZK_UIN = T0/T = 1041) is defined in defines.h 

PranavaYN_0-1655095209527.png

http://techteach.no/simview/lowpass_filter/doc/filter_algorithm.pdf  you can refer to this.

Best regards,
Pranava

View solution in original post

0 Likes
4 Replies
PranavaYN
Moderator
Moderator 50 likes received First comment on KBA First question asked
Moderator

Hi,

Can you please share the source code you are referring to?

Best regards,
Pranava
0 Likes
Rakesh_rp
Level 3
First solution authored 10 replies posted 10 questions asked
Level 3

Thanks for replying,

The source code is attached please check.

0 Likes
Rakesh_rp
Level 3
First solution authored 10 replies posted 10 questions asked
Level 3

Hi,

Please provide  a solution soon. 

Regards

RAKESH

0 Likes
PranavaYN
Moderator
Moderator 50 likes received First comment on KBA First question asked
Moderator

Hi Rakesh,

Sorry for the delay in responding. The equations you refer to are the back-to-back low pass filters. The filter factor used (ZK_UIN = T0/T = 1041) is defined in defines.h 

PranavaYN_0-1655095209527.png

http://techteach.no/simview/lowpass_filter/doc/filter_algorithm.pdf  you can refer to this.

Best regards,
Pranava
0 Likes