How to generate a reference sine wave synchronous to grid AC voltage

3 次查看(过去 30 天)
Dear Mathworks team,
I want to generate a reference sine wave synchronous to grid AC voltage in simulink.
I am using f28027 dsp launchpad. I have a hardware which can detect zero crossing of AC grid sine wave and give a singal (square wave) to the analog/digital pin of DSP f28027.
I am using embedded coder support package for texas instruments c2000 to program my dsp launchpad f28027
Can you suggest me some example program or any other model to do this?

回答(1 个)

Nikhil Sonavane
Nikhil Sonavane 2020-4-20
I would suggest you refer sine block for further details.

Community Treasure Hunt

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

Start Hunting!

Translated by