I am new with PWM methods and there is a subject that I cant find an answer to and decided to ask here.
For a varying frequency PWM (VF-PWM) I have found that by using the following spectral modultion:
I am able to use some wave form reference (here cos wave) with a carrier (here sawtooth) and obtain the PWM output as shown below:
However, it all works fine if I know what shape my reference is and what is the frequency of it.
If for example I have a control system which outputs the following signal and I would like to insert it into a PWM to obtain pulses:
Is there some mathematical formula as shown above for a different case or some method to obtain the PWM for unregular reference shapes?
Thank you very much.