How to create a pulse wave with a variable duty cycle?
Afficher commentaires plus anciens
I am working on a simulation for maximum power point tracking of a solar module, using the P & O method. I need to control the duty cycle of a pulse wave controlling the switch of a buck converter. I used a matlab function from the file exchange, whose output is the duty cycle (between 0 and 1), which varies according to the function. I need to create a pulse wave with this variable duty cycle, so I can connect the pulse wave to the MOSFET switch of the buck converter. Thanks. Regards, Omar
Réponses (1)
Shouk Mohammed
le 24 Déc 2015
0 votes
You can use PWM generator (DC_DC) block or you can build it by your self by using saw tooth and function to make sawtooth from 0 to 1 and compare it with the duty cycle come from function and output from compare to mosfet

Catégories
En savoir plus sur Electrical Block Libraries dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!