Altera_Forum
Honored Contributor
15 years agoFSK adding I&Q correctly in phase and amplitude
I've done an FSK decoder that already works very well but there is a request to enhance the sideband surpression.
the transmitting part encodes its binary stream with fsk, where it sends out two frequencies where f0 is a 0 and f1 is the 1. so this is pure fsk and not a complexe fsk where the phase holds the data information. The system receives the data stream as I and Q via 2 ADCs Just to give the information about the frequencies i am talking about ADC clock is 16MHz F0 is 0,800 MHz (ADC / 4 / 5) F1 is 1,333 MHz (ADC / 4 / 3) Each binary bit is send out as 5 complete F0 cycles or 3 complete F1 cycles. so the bit length is the same. As the data could be on the upper or the lower sideband of the received data stream, i had to insert a sideband switching functionality. no automatic mode allowed here. Decoding a sideband gives a 3dB better signal than dual band mode and the correct sideband is 20dB better than the wrong one. the I and Q information both go through an FIR, later a bit more about these FIRs, and are added afterwards, some filtering and a full FSK decoder with sin/cos multiplication with F0 and F1 to get a value for F0 and F1, the bigger one is the transmitted frequency. That decoder is very precise but now some guys here want to measure the sideband surpression. There are two FIRs between the ADC before the results are added. one FIR has the coefficients 0,33 0,33 0,33 and the other one -1,55 0 1,55 the purpose is a phase shift of 90 degree so I and Q can be added Sideband is selected by swaping I and Q now these two FIR have a problem that they are good matched for the phase but the amplitude for both frequencies in one of the FIR is not matches and that is the reason why i have a bad sideband measurement. Question, does anybody know how I and Q can be added that phase and amplitude are matching ? there was a thread here about the baseband signal (I.*Q_diff - Q.*I_diff)./(I.^2 + Q.^2) but that is for complexe FSK. my intendion is to replace / optimize these two FIR for phase shifting 90 degree with "something" that matches in phase and amplitude. any ideas or recomendations ?