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 Comments

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

Sign in to comment.

Answers (1)

Samar
Samar on 31 Jan 2025
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.

Asked:

on 30 Mar 2018

Answered:

on 31 Jan 2025

Community Treasure Hunt

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

Start Hunting!