Hello,
I am trying to demodulate a 315Mhz FSK signal that has bits encoded in bi-phase encoding scheme. Bi-phase coding consists of a level change at the start of every bit. If the data bit is logic ‘0’, there is a level change halfway through the bit. If the data bit is logic 1, there is no transition in the bit, see Figure4.jpg and Figure5.jpg.
Working with labview 8.0, ni-5660, and the modulation toolkit I have managed to put together the vi attached (fskdecoder.vi). However I cannont consistantly decode it into the same bits. Currently I am only trying to demodulate the FSK into its bits and not worrying about the conversion from the bi-phase encoding to actual data bits. I have a transmitter simulator card that is directly connected to the ni-5660 and can output an identical packet consistantly.
I have also attached datagram.jpg which shows the format of the message that comes from the transmitter. The message consists of 3 pulses that precondition the data slicer on the reciever and then 4 bi-phase sync bits, which is really 8 FSK bits, then followd by 64 more bi-phase bits and then a bi-phase stop bit. so a total of 69 recoverable bi-phase bits.
Signal Attributes:
315Mhz +/-32khz FSK modulation
10khz baudrate
200khz bandwidth
I am having trouble getting the same bits back from the FSK demodulation VI. Do I have the sync parameters correct? Do I have the filter parameters correct? What is meant by 'SYMBOL' in the documentation
thank you,
Bryan Thomas
Hey Bryan,
I posted your email because it makes the questions clearer. I agree that we should first try to get all the bits. Then we can decode them from biphase to get the data. I did take a look at your VI. I think you will need to take a look at the filter characteristics of your transmitter and set the filter for the receiver accordingly. Take a look at the example program at
C:\Program Files\National Instruments\LabVIEW 8.0\examples\Modulation\simulation examples\Interactive\MT FSK Transceiver.vi
It is quite helpful and gives you some idea on how to set up the filter characteristics. A symbol is the set of bits each frequency represents for FSK modulation. For example in 4 FSK 00, 01, 10 and 11 are symbols. In 2 FSK 0 is a symbol and 1 is a symbol.
Hope this helps!
Regards
Malay Duggar
Applications Engineer
National Instruments