Anything wrong with this PWM generation model?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145800/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145801/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145802/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145803/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145804/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145805/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145806/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145807/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145808/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145809/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145810/image.png)
2 Commenti
Walter Roberson
il 16 Ago 2011
This question uses included images fairly effectively.
I would, though, suggest in future, to make the actual questions text rather than an image, and to make the commentary on the settings to be text rather than images. That would make the question more comprehensible for those who have images normally turned off (e.g., if they are using dialup), and would allow people whose native language is not English to copy and paste the sentences in to a translation tool.
Nirmal Gunaseelan
il 16 Ago 2011
I agree with Walter. I really like the usage of images and with the questions in text, it'd perfect.
Risposte (3)
Nirmal Gunaseelan
il 16 Ago 2011
I see that you changed the solver and zero-crossing settings and presume you have read through the various options and consequences of zero-crossing settings.
I have not tried changing the settings in your model, but I think that the time step settings you have hard coded makes the solver to probably miss the zero-crossing event? Could you try with a fixed-step solver under default settings to see what happens for a comparison?
0 Commenti
onemilimeter
il 16 Ago 2011
1 Commento
Nirmal Gunaseelan
il 16 Ago 2011
I'd not be surprised by the version changes because solvers are constantly being changed.
onemilimeter
il 16 Ago 2011
1 Commento
Nirmal Gunaseelan
il 16 Ago 2011
Thanks for trying out. So essentially, the variable-step solver is missing the zero-crossing point. I'm not sure of the reason until I play around with the settings, I'd implore you to check the link in my previous answer and try out the options.
Community
Più risposte nel Power Electronics Control
Vedere anche
Categorie
Scopri di più su Electrical Block Libraries in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!