Configure APP ACIM_FREQ_CTRL for a XMC1404 - Q40

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

cross mob
maes_4835196
Level 1
Level 1
25 sign-ins 10 sign-ins 5 sign-ins

HI, 

Working with the ACIM motor control module of the XMC1404 it gives us the impression that the configuration of the peripheral with  ACIM_FREQ_CTRL  APP,  does not work correctly. By configuring the polarity of the outputs as 'Active High' and a 'Dead time' of 500ns, the two complementary outputs (High side – Low side) should never be at a high level simultaneously to avoid cross conduction, and as you can see in attached image coincide for precisely 500ns. In addition, the duty cycle that it applies is exactly the opposite of what it should apply. That is, if you should apply 10%, you are applying 90%. Our conclusion is that the polarity is working the other way around what the App indicates. To work in 'active high' mode, 'active low' must be selected. Could you ask Infineon if there is a list of known bugs? I am concerned that apart from this there are other bugs that will waste our time. Do you know if there is an application note for this particular module? The information we have found is very basic.

SOME  one  from  INFINEON  pls  to answer.  I can  provide  some  OSciloscope images ..

Thanks

MAes

0 Likes
1 Solution
psb
Moderator
Moderator
Moderator
250 sign-ins 25 solutions authored 100 replies posted

The app works in the following way. 

    On selecting the output PWM polarity to be "Active High" for both the switches, the transition from low to high state happens first and after the dead time, the transition from high to low happens on the complementary PWM signal, as shown below. 

psb_4-1659531648045.jpeg  psb_6-1659531887322.jpeg

 On selecting the output PWM polarity to be "Active Low" for both the switches, the transition from high to low state happens first and after the dead time, the transition from low to high happens on the complementary PWM signal, as shown below. 

 

psb_7-1659532010977.jpeg

psb_8-1659532050293.jpeg

Depending on the desired PWM output, the active high and active low polarity can be configured. 

Best Regards,
Sai

View solution in original post

0 Likes
4 Replies
psb
Moderator
Moderator
Moderator
250 sign-ins 25 solutions authored 100 replies posted

Hello @maes_4835196 , 

Request you to share the corresponding waveforms of the PWM outputs to get a clearer picture of the issue. 

Also,  what version of dave are you using and what is the hardware description (which board, is it eval board, etc) ? 

Best Regards,
Sai
0 Likes
maes_4835196
Level 1
Level 1
25 sign-ins 10 sign-ins 5 sign-ins

attached  images

 

0 Likes
ncbs
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 sign-ins

Hi @maes_4835196,

I do not see any images attached. Could you please re-attach them?

Regards,
Nikhil

0 Likes
psb
Moderator
Moderator
Moderator
250 sign-ins 25 solutions authored 100 replies posted

The app works in the following way. 

    On selecting the output PWM polarity to be "Active High" for both the switches, the transition from low to high state happens first and after the dead time, the transition from high to low happens on the complementary PWM signal, as shown below. 

psb_4-1659531648045.jpeg  psb_6-1659531887322.jpeg

 On selecting the output PWM polarity to be "Active Low" for both the switches, the transition from high to low state happens first and after the dead time, the transition from low to high happens on the complementary PWM signal, as shown below. 

 

psb_7-1659532010977.jpeg

psb_8-1659532050293.jpeg

Depending on the desired PWM output, the active high and active low polarity can be configured. 

Best Regards,
Sai
0 Likes