作者hermen (hermen)
看板comm_and_RF
標題Re: [問題] 負數信號經過I/Q通道重組變正如何處理?
時間Thu Jul 2 09:01:41 2009
※ 引述《diggershi (早立衫)》之銘言:
: ※ 引述《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 這個結果耶
: 不知是哪各環節出錯了?
抱歉,因為我搞錯了,我想到非同調接收器,而且解調也寫錯。
手邊沒有資料可以看,沒辦法改過來,真抱歉
BPSK如果不用IQ Channel解調而用單一Channel會有正負號的結果
S1 = A*cos(theta1') ; // (+):let theta1 = 0, S1= A, S2= -A
S2 = A*cos(theta2') ; // (-)
demodulation:
R1 =∫ S1*cos(theat1) dt ;
R2 =∫ S2*cos(theta1) dt ;
在模擬實無法積分的話可簡化
R1 = S1*cos(theat1) = A; //when cos(theta)=1;
R2 = S2*cos(theta1) = -A;
加入雜訊的話可以0來判斷,大於0判斷成S1,小於0為S2
這樣的結果會有正跟負,而原PO指的應該是同調檢測器(?)
手邊沒有資料,就不在敘述,避免跟上一篇一樣憑印象寫出錯的東西
造成大家的誤解。
: 請指教
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 219.84.151.132