How could I change the position of PWM's output?

1 view (last 30 days)
I want to change the position of square wave (output of PWM) every cycle randomly. But width will be same in every cycle.
  2 Comments
KALYAN ACHARJYA
KALYAN ACHARJYA on 1 Aug 2019
Edited: KALYAN ACHARJYA on 1 Aug 2019
Please share the code, have you applied random step size of t?
Imtiaz Ahmed
Imtiaz Ahmed on 1 Aug 2019
I am using pwm (2 level) block in simulink.

Sign in to comment.

Answers (1)

Priyanshu Mishra
Priyanshu Mishra on 5 Aug 2019
I am assuming that you have pulse width modulated output. To change the position of your pulse you may use Pulse Position Modulation (PPM). For more information on PPM you may refer to the following file exchange link:

Categories

Find more on Electrical Block Libraries 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!