作者diggershi (早立衫)
看板comm_and_RF
标题Re: [问题] 负数信号经过I/Q通道重组变正如何处理?
时间Wed Jul 1 22:08:12 2009
※ 引述《hermen (hermen)》之铭言:
: BPSK
: {
: phase:
: theta1 = theta1; (+)
: _ theta2 = theta1+pi; (-)
: Amplitude:
: A = 1;
: modulation:
: S1 = A*cos(theta1') + i*A*sin(theta1'); // (+)
: S2 = A*cos(theta2') + i*A*sin(theta2'); // (-)
: theta1' = theta1;
: theta2' = theta2;
: transmit:
: S1, S2; // no noise
: S1+n, S2+n; // n: noise
: { theta1' = theta1+p; // p: phase.diff
: theta2' = theat2+p; }
: demodulation:
: R1 = sqrt( S1*cos(theat1) + S1*sin(theta1) );
: R2 = sqrt( S2*cos(theta1) + S2*sin(theta1) );
: R = (R > A/2) ? R1:R2;
: R1 = A; (+) // no noise
: R2 = 0; (-)
: }
: ps:
: sin(x)*cos(y) = (sin(x+y)+sin(x-y) )/2;
: sin(x)*sin(y) = -( cos(x+y) - cos(x-y) )/2;
: cos(x)*cos(y) = ( cos(x+y) + cos(x-y) )/2;
: 判断正负号不是依照结果正或负,而是依据是否同相位。
因为你的算式 个人有些觉得奇怪的地方
所以想请教一下
1. R的算式是? _因为我无法判断何时 R>A/2 or R<A/2
2. 在後面 有算到R2 = 0;
我以
R2 = sqrt( S2*cos(theta1) + S2*sin(theta1) );
这算式开始推导
if theta1=0
=>R2 = sqrt( S2*cos(0)+S2*sin(0) ) = sqrt( S2*1+S2*0)=sqrt( S2)
= sqrt(A*cos(theta2') + i*A*sin(theta2');
theta2' = theat2+p =theta1+pi +p =pi+p
if p=0 , theta2' =pi
=> R2 = sqrt(A*cos(pi) + i*A*sin(pi))= sqrt(-1*A)= i
其中用两个假设 theta1=0 p=0 应该算是合理的假设 目的是简化计算
但是我无法求出 R2 = 0 这个结果耶
不知是哪各环节出错了?
请指教
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 60.251.211.196