phase offset two (lead_lag) epwm using c2000 F28379D
Show older comments
Hi , I want to make two PWM module signals that are leading and algging every two periode, as described in the attached phots, so the first signal is leading in the first periode but lagging in the second periode.
the result on the real scope is not accurate ? how to genrate them using high frequncy epwm blocks.
best regards
6 Comments
Umeshraja
on 18 Jun 2025
Hi @mouadh, The scope screenshot you shared looks similar to the result (Signal_SHAPE.jpg) you are aiming for.
Below are some useful resources that explain how to achieve the desired phase shift. The first link provides a comprehensive explanation of the different ePWM synchronization options and how to set them up:
Additionally, you might find this example helpful—it includes a model configured for a 120-degree phase delay, which could serve as a good starting point:
mouadh
on 18 Jun 2025
mouadh
on 18 Jun 2025
Umeshraja
on 19 Jun 2025
Hi @mouadh, One approach you might consider is to generate odd-period and even-period signals separately. The odd-period signals can have a time period of 2T with a negative phase shift, while the even-period signals can use a positive phase shift. You can then combine these independently generated signals to form the final result.
mouadh
on 19 Jun 2025
Answers (0)
Categories
Find more on C2000 Microcontroller Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!