Convert pulses into sine. Simulink

33 次查看(过去 30 天)
Justas
Justas 2014-12-20
回答: Mathieu NOE 2021-11-10
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 个评论
Hieu Dang
Hieu Dang 2017-5-7
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 2021-11-10
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.

请先登录,再进行评论。

回答(1 个)

Mathieu NOE
Mathieu NOE 2021-11-10
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)

Community Treasure Hunt

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

Start Hunting!

Translated by