I want to change phase of up-down counter of epwm module which is not working in frequency higher than 25kHz.

3 views (last 30 days)
Dear experts,
I am working on TI launchpad f28379D , where I am using epwm1 module to synchronize with epwm 4 and changing the phase value of epwm4 via input port , setting the TBPHS value for 0 for Tsampling time (2cycle duration of up-down counter ) and TBPRD/2 or Tsampling time (2cycle duration of up-down counter ). My system is working well for frequncy lower than 25kHz but for higher frequency phase synchronization is not happening .Can any one please tell me what should I do?

Accepted Answer

Balavignesh
Balavignesh on 21 Jun 2024
Hi TDR,
It is my understanding that you are working with the TI Launchpad F28379D and encountering issues with phase synchronization at higher frequencies when using ePWM modules. Below are a few suggestions that could help you resolve the issue. I suggest you try these:
  • Ensure that the clock settings for the 'ePWM' modules are correctly configured. Higher frequencies require precise clock settings to maintain synchronization.
  • Incoorect dead-band settings can cause phase misalignment. Verify if the dead-band settings are appropriate for higher frequencies.
  • Make sure that the synchronization scheme between 'ePWM1' and 'ePWM4' is correctly implemented.
  • Higher frequencies might lead to higher interrupt latency, which can affect synchronization. Optimize your interrupt service routines for minimal latency.
  • Try increasing the timer resolution.
Kindly have a look at the following documentation link to have more information on:
Hope that helps!
Balavignesh
  1 Comment
TDR
TDR on 2 Jul 2024
I have solved the problem ,there were an issue with parameters setting .Dead band setting you hightligthed that is new to me thank you verymuch for your reply. Now I am able to to operate my system at 100 kHz frequecy but again MATLAB is not working well with lesser than 2 micro sec sampling time with F28379D.

Sign in to comment.

More Answers (0)

Products


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!