Relay block to generate signal PWM
3 ビュー (過去 30 日間)
古いコメントを表示
my probleme : i have sinsoidal signal the maximum valeur is 1 V and the minimum is 0.7V .
i can't use Relay block to generate signal PWM
0 件のコメント
採用された回答
Fangjun Jiang
2011 年 8 月 21 日
You mean you have y=a*sin(t), 0.7<a<1? To derive a PWM signal from a sinusoidal wave based on its magnitude, you just need to compare it with a constant. In your case, try to use a Relational Operator block to compare the sinusoidal wave with constant 0.8 and see what is the output of the Relational Operator block.
0 件のコメント
その他の回答 (1 件)
Paulo Silva
2011 年 8 月 21 日
Why do you need the relay block to generate the PWM?
This should suffice:
[sine wav] -----> [compare to constante] ------>(PWM output)
0 件のコメント
コミュニティ
その他の回答 パワー エレクトロニクス コミュニティ
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!