Anything wrong with this PWM generation model?
2 次查看(过去 30 天)
显示 更早的评论
2 个评论
Walter Roberson
2011-8-16
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
2011-8-16
I agree with Walter. I really like the usage of images and with the questions in text, it'd perfect.
回答(3 个)
Nirmal Gunaseelan
2011-8-16
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 个评论
onemilimeter
2011-8-16
1 个评论
Nirmal Gunaseelan
2011-8-16
I'd not be surprised by the version changes because solvers are constantly being changed.
onemilimeter
2011-8-16
1 个评论
Nirmal Gunaseelan
2011-8-16
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 Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!