How to create a PWM signal but big frequency modified auto

1 次查看(过去 30 天)
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

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2011-9-11
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)).

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by