How to generate Pulse Frequency Modulated (PFM) waveform?
Afficher commentaires plus anciens
There are a lot of ways to generate PWM in simulink, also there is a built in PWM Generator block. But there are no direct resources availabe for generating variable frequency PWM. How can the variable frequency PWM be generated with the condition that "an update to frequency must be done at the completion of previous cycle".
This Programmable Pulse Generator is capable of varying the frequency of PWM, but it do not meet the above stated condition as updated are done instantly and do not wait for the cycle to complete which produces glitches in the application where it is used.
If someone knows how can the frequency of sawtooth/triangular..etc waveforms be changed in rum time, please share it too as it can provide a foundation for generation of variable frequency PWM.
Thank you!
6 commentaires
Mathieu NOE
le 27 Sep 2021
hello
a PWM isually generated by comparing the signal vs a triangular wave , why not simply build your own version of that ? it will require very few blocks (traingular wave form generator + comparator)
Sohail Ahmed
le 28 Sep 2021
Mathieu NOE
le 28 Sep 2021
hello
so if I understand correctly, you want to modulate the carrier frequency (like in a spread spectrum design for class D amplifier ?)
Sohail Ahmed
le 28 Sep 2021
Sohail Ahmed
le 28 Sep 2021
Mathieu NOE
le 29 Sep 2021
hello again
so as usually the carrier is a sawtooth signal, I was thinking of using a counter where the slope (= increment) can vary so the frequency of the carrier will be proportionnal to this increment
have you tried something like taht already ?
Réponse acceptée
Plus de réponses (0)
Communautés
Plus de réponses dans Power Electronics Control
Catégories
En savoir plus sur Waveform Generation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
