complementary pwm with dead-time

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

complementary pwm with dead-time

ソリューションへジャンプ
1,539件の閲覧回数
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,453件の閲覧回数
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,515件の閲覧回数
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,468件の閲覧回数
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,454件の閲覧回数
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,444件の閲覧回数
mohit2904
Contributor I

Thank you @ Alice_Yang !!!

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

 

0 件の賞賛
返信
1,313件の閲覧回数
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,306件の閲覧回数
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 件の賞賛
返信