How to create a PWM signal but big frequency modified auto

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)

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

Products

Asked:

on 10 Sep 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!