How to measure the phase difference between two signals in simulink?

156 次查看(过去 30 天)
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 个评论
Hamed Bahmani
Hamed Bahmani 2018-6-13
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
amr mousa 2020-5-27
dear hamed
fourier block uses for Fund, dc. or harmonics, i want to measure the original signal angle, how can i do it ?

请先登录,再进行评论。

采纳的回答

Rick Rosson
Rick Rosson 2012-8-1
Try multiplying the two signals together, and then passing the result through a low pass filter.
  3 个评论
Sukvasant Tantikovt
You may find the answer from https://en.wikipedia.org/wiki/Phase_detector#Analog_phase_detector

请先登录,再进行评论。

更多回答(2 个)

Hamed Bahmani
Hamed Bahmani 2018-6-13
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 个评论
sara fathy
sara fathy 2022-11-3
This gives a different answer from the known way .... measuring from the graph directly!!

请先登录,再进行评论。


Getu Gabisa
Getu Gabisa 2020-9-15
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 个评论
Gokul Krishnan
Gokul Krishnan 2024-6-11
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by