Generate sine wave using input signal as amplitude source

In figure shown i have developed 25 level inverter whose output is distorted sine wave means full of unwanted harmonics, for filtering out these harmonics I wanna attach an active power filter (APF) at the output of inverter . For the design of APF I need pure sine wave whose amplitude is equal to the amplitude of distorted power signal, I extracted the amplitude of distorted power signal as shown in figure. Now I want to give this amplitude as input signal to another block who will generate a pure sine wave of amplitude equal to input signal. But unfortunately I am not getting any such kind of block. Any sort of help in this regard will be appreciated. thanks

1 comentario

thanks Every one, I got the answer, by using multiplication block my problem solved.

Iniciar sesión para comentar.

 Respuesta aceptada

madhan ravi
madhan ravi el 2 de En. de 2024
Why not use Sine Wave and multiply it with the Amplitude using Product Block? If you are using newer release, one can directly use Parameter Writer

1 comentario

Use Min/Max block to extract amplitude of the input signal, then use product block to multiply this amplitude with a sine wave.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simscape Electrical en Centro de ayuda y File Exchange.

Preguntada:

el 2 de En. de 2024

Comentada:

el 9 de En. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by