作者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