complementary pwm with dead-time

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

complementary pwm with dead-time

跳至解决方案
1,537 次查看
mohit2904
Contributor I

Hello,

I am trying to implement complementary PWM with dead-time for UPS application.

But as you can find in attached image dead time is working but not getting complementary PWM with this.

I am attaching Source code Please check and support me to solve this issue.

0 项奖励
回复
1 解答
1,451 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @mohit2904 

I tested your project on my side, find the issue,

Please change 

/* SCTimer output 1 mask */
#define SCT0_OUTPUT_1 (1 << kSCTIMER_Out_1)

to

/* SCTimer output 1 mask */
#define SCT0_OUTPUT_1 (0 << kSCTIMER_Out_1)

 

Then it can work well, below is my test result:

Alice_Yang_0-1685609902561.png

 

BR

Alice

 

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,513 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @mohit2904 

How about use MCUXpresso peripheral tool to config complementary PWM signals,

then generate code, refer to the code:

Alice_Yang_0-1685415134080.png

If still can't work, how about send your whole project to me , I help to check on my side.

BR

Alice

 

0 项奖励
回复
1,466 次查看
mohit2904
Contributor I

Dear Alice,

            Thanks for your response please find the attachment for MCUXpresso peripheral tool settings and also find my complete project file and confirm what is issue exactly to getting complementary PWM in my case.

 

0 项奖励
回复
1,452 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @mohit2904 

I tested your project on my side, find the issue,

Please change 

/* SCTimer output 1 mask */
#define SCT0_OUTPUT_1 (1 << kSCTIMER_Out_1)

to

/* SCTimer output 1 mask */
#define SCT0_OUTPUT_1 (0 << kSCTIMER_Out_1)

 

Then it can work well, below is my test result:

Alice_Yang_0-1685609902561.png

 

BR

Alice

 

0 项奖励
回复
1,442 次查看
mohit2904
Contributor I

Thank you @ Alice_Yang !!!

For your support it is working now after doing changes suggested by you...

 

0 项奖励
回复
1,311 次查看
mohit2904
Contributor I

@Alice_Yang 

Hello Alice,

       We are using SCT0 to generate complementary PWM that we have done but we need to adjust rise time around 2 nsec in our case so please help us how we can change it.

0 项奖励
回复
1,304 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @mohit2904 

This thread is too long, about your new question, please create a new case with more detail description,

thanks.

 

BR

Alice

0 项奖励
回复