Delta phase angle between two sinusoidal waves with different frequencies 不同频率下的相角差
2008-07-01 21:58
375 查看
As I mentioned before, it is easy to calculate the delta phase angle betweeen two sinusoidal waves with the same frequency when DFT is involved. The problem occurs when these two waves have different frequencies and are DFTed at different periodic bases. A correction must be introduced to remove the reference gap due to the presence of the delta frequency.
Assume two vectors V1 and V2 are obtained aft DFT at frequency bases w1 = 2PI*f1 and w2 = 2PI*f2:
V1 = exp(j A1) = cos(A1) + j sin(A1),
where V1 in a rotating referece (旋转参照系) which frequency is w1 = 2PI*f1
V2 = exp(j A2) = cos(A2) + j sin(A2),
where V2 in a rotating referece which frequency is w2 = 2PI*f2
Convert V1 and V2 to V1s and V2s in the stationary reference (静止参照系):
V1s = exp(jA1s) = exp(jw1 + jA1)
V2s = exp(jA2s) = exp(jw2 + jA2),
The delta phase angle is
exp(dAs) = Expj(jA1s – jA2s)
= exp(jA1s) * exp(–jA2s)
= exp(jw1 + jA1)* exp(-jw2 - jA2)
= exp(jw1 – jw2) * exp(jA1-jA2)
= exp(jdw) * exp(jdA)
Assume the rotating REFERCE angles (note: not the waves) with time window samples M1 and M2 at the nth sample can be calculated using the following equation:
w1(n) = 2PI * n / M1, where 0<n<M1 in this equation.
w2(n) = 2PI * n / M2, where 0<n<M2 in this equation.
The angle correction can be calculated using the following equation:
dw(n) = w1(n) – w2(n)
= 2PI * n / M1 - 2PI * n / M2
= 2PI*n* (M1 – M2) / (M1*M2)
= K*n,
where K = 2PI * (M1-M2)/(M1*M2) is a constant.
Thus, the delta angle can be obtained:
dAs(n) = dw(n) + (A1(n) – A2(n))
This algorithm was implemented in a product applied in motor bus transfer.
Assume two vectors V1 and V2 are obtained aft DFT at frequency bases w1 = 2PI*f1 and w2 = 2PI*f2:
V1 = exp(j A1) = cos(A1) + j sin(A1),
where V1 in a rotating referece (旋转参照系) which frequency is w1 = 2PI*f1
V2 = exp(j A2) = cos(A2) + j sin(A2),
where V2 in a rotating referece which frequency is w2 = 2PI*f2
Convert V1 and V2 to V1s and V2s in the stationary reference (静止参照系):
V1s = exp(jA1s) = exp(jw1 + jA1)
V2s = exp(jA2s) = exp(jw2 + jA2),
The delta phase angle is
exp(dAs) = Expj(jA1s – jA2s)
= exp(jA1s) * exp(–jA2s)
= exp(jw1 + jA1)* exp(-jw2 - jA2)
= exp(jw1 – jw2) * exp(jA1-jA2)
= exp(jdw) * exp(jdA)
Assume the rotating REFERCE angles (note: not the waves) with time window samples M1 and M2 at the nth sample can be calculated using the following equation:
w1(n) = 2PI * n / M1, where 0<n<M1 in this equation.
w2(n) = 2PI * n / M2, where 0<n<M2 in this equation.
The angle correction can be calculated using the following equation:
dw(n) = w1(n) – w2(n)
= 2PI * n / M1 - 2PI * n / M2
= 2PI*n* (M1 – M2) / (M1*M2)
= K*n,
where K = 2PI * (M1-M2)/(M1*M2) is a constant.
Thus, the delta angle can be obtained:
dAs(n) = dw(n) + (A1(n) – A2(n))
This algorithm was implemented in a product applied in motor bus transfer.
相关文章推荐
- pig加载两个不同字段个数的文件?load file with different items(f1有42列,f2有43列读到一个对象中)
- Dragging rows between two different Flex DataGrid controls
- [LeetCode] 159. Longest Substring with At Most Two Distinct Characters 最多有两个不同字符的最长子串
- 【RAC搭建报错】You need disks from at least two different failure groups, excluding quorum disks and quorum failure groups, to create a Disk Group with normal redundancy
- 169.You have two tables with referential integrity enforced between them. You need to insert data to
- pig加载两个不同字段个数的文件?load file with different items(f1有42列,f2有43列读到一个对象中)
- [LeetCode] Longest Substring with At Most Two Distinct Characters 最多有两个不同字符的最长子串
- git get all different files between two revisions
- Phase angle calculation with high accuracy 高精度相角计算
- [转]How to insert a row between two rows in an existing excel with HSSF (Apache POI)
- The two different ending of the movie butterfly effect----电影蝴蝶效应的两个不同结局
- 越线人群计数--Crossing-line Crowd Counting with Two-phase Deep Neural Networks
- was7.0 下面的错误WTRN0063E: An illegal attempt to commit a one phase capable resource with existing two phase
- some different between array and Vector(C++) when trying to swap two element
- Partition a set of numbers into two so that difference between their sum is minimum with equal size
- 3 given points, get the angle between two lines
- Creating corner with different angle by using css and js
- WPF Diagramming. Drawing a connection line between two elements with mouse.
- Different display with UIViewController add UITabBarController between iphone and ipad
- High-Availability Storage With GlusterFS On Ubuntu 9.10 - Automatic File Replication (Mirror) Across Two Storage Servers