Filter löschen
Filter löschen

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

156 Ansichten (letzte 30 Tage)
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 Kommentare
Hamed Bahmani
Hamed Bahmani am 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
amr mousa am 27 Mai 2020
dear hamed
fourier block uses for Fund, dc. or harmonics, i want to measure the original signal angle, how can i do it ?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Rick Rosson
Rick Rosson am 1 Aug. 2012
Try multiplying the two signals together, and then passing the result through a low pass filter.
  3 Kommentare
shatha hanya
shatha hanya am 12 Jan. 2019
how does this methode give the phase difference ?
Sukvasant Tantikovt
Sukvasant Tantikovt am 6 Mai 2019
You may find the answer from https://en.wikipedia.org/wiki/Phase_detector#Analog_phase_detector

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Hamed Bahmani
Hamed Bahmani am 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.
  4 Kommentare
sara fathy
sara fathy am 3 Nov. 2022
This gives a different answer from the known way .... measuring from the graph directly!!

Melden Sie sich an, um zu kommentieren.


Getu Gabisa
Getu Gabisa am 15 Sep. 2020
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 Kommentare
Gokul Krishnan
Gokul Krishnan am 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu General Applications finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by