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