How to create a PWM signal but big frequency modified auto
Show older comments
I have y=a*sin(t), 0.7<a<1? To derive a PWM signal from a sinusoidal wave based on its magnitude,
what can i do to create PWM signal a big frequency but when (y) modified => PWM frequency change
Answers (1)
Fangjun Jiang
on 11 Sep 2011
1 vote
I don't understand what you mean "big frequency modified auto", but to derive the PWM signal, you just need to compare the y with a constant, for example, 0.8. Use the "Relational Operator" block from simulink->Logic and bit Operations.
You could double the frequency if you compare the constant with abs(a*sin(t)).
Communities
More Answers in the Power Electronics Control
Categories
Find more on Sources in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!