Phase error between two signals ?

Hello, i have two inputs
V1=A1sin(wt)
and
V2=A2cos(wt+theta)
knowing that A1 is diffrent to A2 ... i want to find Theta how can i do that in simulink ? thanks in advance

4 commentaires

Birdman
Birdman le 30 Mar 2018
What do you mean by finding theta? Do you try to solve an equation?
El Mehdi FADEL
El Mehdi FADEL le 30 Mar 2018
theta is the phase error between the inputs ... i want to detect this error ( finding Theta ) and correct it
Birdman
Birdman le 30 Mar 2018
What have you done so far? I still don't understand what you want.
El Mehdi FADEL
El Mehdi FADEL le 30 Mar 2018
i want to calculate this theta on simulink ... that's what i want to do ?

Connectez-vous pour commenter.

Réponses (1)

Samar
Samar le 31 Jan 2025

0 votes

For calculating phase difference, 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.
You can refer the documentation for more information. To refer the documentation, follow the listed steps:
  1. Right click on the target block.
  2. Click on the last option Help.
This question seems like the question given below in the link. The answers to the question given in the link below can be referred for more information.
Feel free to ask questions if any.

Community Treasure Hunt

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

Start Hunting!

Translated by