作者hermen (hermen)
看板comm_and_RF
标题Re: [问题] 负数信号经过I/Q通道重组变正如何处理?
时间Wed Jul 1 20:09:34 2009
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;
判断正负号不是依照结果正或负,而是依据是否同相位。
※ 引述《qeagle (梦想之火还没熄灭)》之铭言:
: 谢谢,但是因为没有作相位追踪,所以很难确认相位差多少
: 经过通讯传输过後,相角差在0-360度
: 所以I/Q通道所乘的SIN(THETA)和COS(THETA),可能都正,都负,或一正一负
: 很难由I/Q之後的讯号来还原原信号的正负,
: 因此最後的PN CODE正负也无法确认,若要再载资料於上,资料正负也会错误
: 除非做相位追踪,但增加太多复杂度了...暂无法考虑进去
: 而且类比电路好像不会有这个问题
: 这是我听说的啦,类比平方好像只会对AC做,且不会有整流效果
: ※ 引述《ninzaburo (寂寞让人失去理智)》之铭言:
: : 我的想法是
: : 假设预先知道PN code所使用的θ是在第一象限 (假设是45°好了)
: : 那麽cos(θ)、sin(θ)都会是正的
: : 所以你提取到的a(t)cos(θ) 、 a(t)sin(θ)
: : 都只会因a(t)的正负而影响其正负性
: : 所以在接收时(此时尚未进入平方相加开根号电路),就预先判定a(t)的正负性
: : 如果I通道是正 Q通道也是正,那a(t)侦测为正电位
: : 如果I通道是负 Q通道也是负,那a(t)侦测为负电位
: : 先记下来等过了平方相加开根号电路再乘回 |a(t)| 就好
: : 那如果I通道跟Q通道一正一负或一负一正的话呢?
: : 应该就代表此时的θ受通道影响,相位误差过大,跑到别的象限去了
: : 或是Noise过大等等因素
: : 可能要考虑重传
: : 以上不知道有什麽缺漏或错误的观念…请高手指正一下
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 219.84.151.132
※ 编辑: hermen 来自: 219.84.151.132 (07/01 20:15)