Questions tagged [demodulation]

Demodulation is the act of extracting the original information-bearing signal from a modulated carrier wave.

A demodulator is an electronic circuit (or computer program in a software defined radio) that is used to recover the information content from the modulated carrier wave.

Source: Wikipedia.

273 questions
24
votes
2 answers

Extracting Binary Magnetic-Strip Card Data from raw WAV

I am faced with a tricky challenge: To extract binary data from an iPhone magnetic strip card reader. This is what the magnetisation on the card looks like: Source Here is the .WAV the iPhone receives when you swipe a card (don't get your hopes…
P i
  • 1,277
  • 10
  • 24
15
votes
3 answers

How to demodulate an AFSK signal in software

I am trying to transmit binary data from one device to another over an audio channel (speaker/mic). I use AFSK (Audio Frequency Shift Keying) as in Packet Radio, with $1200 \text{ Baud}$ and two frequencies $f_{mark} = 1200 \text{ Hz}$ and…
Patrick Oscity
  • 253
  • 1
  • 2
  • 5
14
votes
2 answers

Improving SNR using DSP techniques

I am building an optical OOK (On off Key Ring) system without a carrier frequency. [However I have a guard time in between symbols, so a consecutive "1" messages will result in a pulse train as opposed to DC, see image]. Essentially, the presence…
Frank
  • 181
  • 8
13
votes
1 answer

How to perform carrier phase recovery in software?

What are the options for recovering the phase of a BPSK signal in software? The only resources I can find online contain circuit diagrams – there seems to be no one willing to explain this to people unfamiliar with analog circuits. I'd like any…
Keith
  • 479
  • 1
  • 5
  • 11
12
votes
2 answers

How to demodulate an OFDM signal

I'm looking at decoding an OFDM signal which consists of 6 carriers (or tones) which are BPSK modulated and a pilot tone which aids tuning. This is the first time I have worked with OFDM so I need to know if I'm approaching this in the right…
IanW
  • 221
  • 1
  • 2
  • 4
11
votes
1 answer

FSK Demodulation, Bit Timing Recovery

I am currently implementing acoustic FSK modulation and demodulation. I am not a signal processing guy so any help about the bit timing recovery would be very appreciated. Currently I implemented the demodulator using two matched filters for each…
peter
  • 115
  • 1
  • 6
10
votes
1 answer

What is the connection between analog signal to noise ratio and signal to noise ratio in the IQ plane in a quadrature demodulation system?

We would like to compute the quantitative relation between analog noise near the LO frequency and the statistics of points found in the IQ plane after IQ demodulation. In order to completely understand the question we first give a detailed…
DanielSank
  • 996
  • 1
  • 7
  • 24
9
votes
2 answers

How to soft decode DQPSK?

I'm successfully soft-decoding D-BPSK by taking the dot-product of the constellation-position of the symbol and of the previous symbol. If the result is >= 1, then the symbol phase hasn't changed and the bit is a zero. If the result is <= -1 then…
Dan Sandberg
  • 755
  • 2
  • 10
  • 19
8
votes
1 answer

How to determine where to sample for demodulation of BPSK signals?

I have a simple BPSK demodulator. Very simply, the signal comes in and is split into two branches, one for I and one for Q. The I branch is mixed with a sin wave of the carrier, and the Q branch mixed with the cosine wave of the carrier. Then,…
Spacey
  • 9,211
  • 8
  • 38
  • 78
8
votes
2 answers

QAM constellation slicer with unknown carrier phase

As shown in the image, I have a 16QAM constellation that is misaligned due to a phase rotation. In this case you can see that rotation amount is approximately $\theta = \pi/4$, but this won't be the case in general. For real-world data the phase…
user827822
  • 309
  • 1
  • 9
8
votes
1 answer

Which digital modulation scheme would be suitable for transmitting digital data through the output of a PC soundcard

I need to output a data stream at $40\textrm{ kbit/s}$ or faster out of a computer system whose only accessible output peripheral is the audio interface. This interface has reasonable specs, $96\textrm{ kHz}$ sample rate, with $24$-$\textrm{bit}$…
pichenettes
  • 18,925
  • 1
  • 43
  • 64
7
votes
3 answers

Common methods of transmitting digital data through an extremely noisy audio signal?

I am developing software for transmitting data from a computer to a mobile device using audio. Specifically, from the computer's speaker to the device's microphone. (I am developing both the sender and the receiver software.) This is one channel,…
7
votes
5 answers

Angle Averaging

I am working on an 802.11a demod that works, for the most part, but has a bug that causes intermittent errors. I haven't finished characterizing it, but it appears that the problem is in my equalizer block. 802.11a is an OFDM signal, and each OFDM…
Jim Clay
  • 11,741
  • 28
  • 50
6
votes
3 answers

How a diode-detector affects to Frequency Response?

I have a question related to crystal radio. I can't understand how a crystal detector (diode) shifts the spectrum from the carrier frequency to zero. The antenna receives bunch of signals and the LC circuit passes the most of the frequencies to the…
John
  • 61
  • 5
6
votes
1 answer

Why can Quadrature Demodulation demod a Frequency Modulated Signal?

I use a Quadrature Demodulator in my SDR application, which is defined as: $\angle (S_n, S_{n+1})=arctan(S_{n+1}*\overline{S_{n}})$ So practically its amplitude is the angle between two Samples $S_n$ and $S_{n+1}$ where $n$ refers to a position in a…
Marius
  • 61
  • 1
  • 2
1
2 3
18 19