How to measure the phase difference between two signals in simulink?
Show older comments
I have two signals in my circuit and i would like to measure the phase difference between them. Is there a block i could use? If not, how can i measure this difference?
4 Comments
Azzi Abdelmalek
on 31 Jul 2012
i don't think such block exist,
Zhongyou Wu
on 11 Aug 2017
try the "complex phase difference" model
Hamed Bahmani
on 13 Jun 2018
You can use Fourier block to get amplitude and phase angle of each signal, and by subtracting the phase angles you will get the phase difference between your signals.
amr mousa
on 27 May 2020
dear hamed
fourier block uses for Fund, dc. or harmonics, i want to measure the original signal angle, how can i do it ?
Accepted Answer
More Answers (2)
Hamed Bahmani
on 13 Jun 2018
0 votes
You can use Fourier block to get amplitude and phase angle of each signal, and by subtracting the phase angles you will get the phase difference between your signals.
4 Comments
shatha hanya
on 9 Jan 2019
what block should i use with fourier to display the mag and phase ? scope ? or display
R Naveen Raj
on 25 Aug 2022
Tysm
Helped a lot!!
R Naveen Raj
on 25 Aug 2022

sara fathy
on 3 Nov 2022
This gives a different answer from the known way .... measuring from the graph directly!!
Getu Gabisa
on 15 Sep 2020
0 votes
Phase difference measurment
Its accuracy is based on the sampling time you use.By simply connecting in parallel you can measure phase differnce of any number of signales with resepect to a reference signal.
4 Comments
Alfredo Velazquez Ibañez
on 25 Jan 2021
Works Great. Thank You Very Much.
Mateo Morales Farias
on 1 Sep 2022
Hello, i use your file in my proyect, i want to know if i can share it and give you the credits. i can give you my email for more details if you want. thanks
Getu Gabisa
on 2 Sep 2022
Gokul Krishnan
on 11 Jun 2024
Hi I came across your model for measuring phase difference in one of my projects. Could you please give me an explanation of how this works ? I did not understand the state-flow chart
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!