Convert pulses into sine. Simulink

3 vues (au cours des 30 derniers jours)
Justas
Justas le 20 Déc 2014
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 commentaires
Hieu Dang
Hieu Dang le 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 le 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.

Connectez-vous pour commenter.

Réponses (1)

Mathieu NOE
Mathieu NOE le 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)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by