Convert pulses into sine. Simulink

7 Ansichten (letzte 30 Tage)
Justas
Justas am 20 Dez. 2014
Beantwortet: Mathieu NOE am 10 Nov. 2021
Any idea how to convert pulses to sine wave in Simulink model? I'm having pulses which I get via PWM technique and now I want to convert it to sine, because I need to know is phase shifted by 120 degrees.
Here is my model:
Scope:
I need to get something like that:
  2 Kommentare
Hieu Dang
Hieu Dang am 7 Mai 2017
Hi, my name's Vu , I need your help, can you send me your model ? Here's my email huyvu1703@gmail.com. Thank you very much for your help. I really appreciate that.
migue pico
migue pico am 10 Nov. 2021
Hi, I'm trying to do something similar. I need to convert the pulses generated by an optical sensor to a sinewave so that I can compare it to other sinewaves and find out the phase difference. Did you end up figuring out ? If so could you please let me know how ? This is my email, mpico602@unab.edu.co and Thanks in advance.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Mathieu NOE
Mathieu NOE am 10 Nov. 2021
hello
to convert PWM back to the input sinus , you simply have to put a low pass filter after the PWM signal
you can use a second or fourth order butterworth filter with a cut off frequency about 1/10th of the PWM carrier frequency
this is how it's "hardware" implemented in class D amplifiers (to remove the carrier and harmonics)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by