How to create a PWM signal but big frequency modified auto
1 view (last 30 days)
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
0 Comments
Answers (1)
Fangjun Jiang
on 11 Sep 2011
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)).
0 Comments
Communities
More Answers in the Power Electronics Control
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!