Skip to content Skip to navigation

OpenStax_CNX

You are here: Home » Content » Digital Transmitter: Introduction to Frequency Shift Keying

Navigation

Recently Viewed

This feature requires Javascript to be enabled.
 

Digital Transmitter: Introduction to Frequency Shift Keying

Module by: Robert Morrison, Matt Kleffner, Michael Frutiger. E-mail the authors

Based on: Digital Transmitter: Introduction to Frequency Shift Keying by Matthew Berry

Summary: This module introduces frequency shift keying (FSK) and describes components of an FSK transmitter block-diagram.

Note: You are viewing an old version of this document. The latest version is available here.

Frequency Shift Keying

Frequency Shift Keying (FSK) is a scheme to transmit digital information across an analog channel. Binary data bits are grouped into blocks of a fixed size, and each block is represented by a unique carrier frequency, called a symbol, to be sent across the channel. 1 This requires having a unique symbol for each possible combination of data bits in a block. In this laboratory exercise each symbol represents a two-bit block; therefore, there will be four different symbols.

The carrier frequency is kept constant over some number of samples known as the symbol period ( T symb T symb ). The symbol rate, defined as F symb F symb , is a fraction of the board's sampling rate, F s F s . For our sampling rate of 44.1 kHz and a symbol period of 32, the symbol rate is 44.1k/32 symbols per second.

Figure 1: Pseudo-noise sequence generator and FSK transmitter.
Figure 1 (trans.png)

Pseudo-Noise Sequence Generator

The input bits to the transmitter are provided by the special shift-register, called a pseudo-noise sequence generator (PN generator), on the left side of Figure 1. A PN generator produces a sequence of bits that appears random. The PN sequence will repeat with period 2B1 2 B 1 , where B B is the width in bits of the shift register. A more detailed diagram of the PN generator alone appears in Figure 2.

Figure 2: PN generator.
Figure 2 (pn-gen.png)

As shown in Figure 2, the PN generator is simply a shift-register and XOR gate. Bits 1, 5, 6, and 7 of the shift-register are XORed together and the result is shifted into the highest bit of the register. The lowest bit, which is shifted out, is the output of the PN generator.

The PN generator is a useful source of random data bits for system testing. We can simulate the bit sequence that would be transmitted by a user as the random bits generated by the PN generator. Since communication systems tend to randomize the bits seen by the transmission scheme so that bandwidth can be efficiently utilized, the PN generator is a good data model.2

Series-to-Parallel Conversion

The shift-register produces one output bit at a time. Because each symbol the system transmits will encode two bits, we require the series-to-parallel conversion to group the output bits from the shift-register into blocks of two bits so that they can be mapped to a symbol.

Frequency Look-up Table

This is responsible for mapping blocks of bits to one of four frequencies as shown in Figure 1. Each possible two-bit block of data from the series-to-parallel conversion is mapped to a different carrier frequency ω i ω i

note:

Note that the subscript i i denotes a symbol's index in the transmitted signal; i.e., the first symbol sent has index i=1 i 1 , the second symbol sent has index i=2 i 2 , and so on. Therefore, ω i ω i denotes the frequency and φ i φ i denotes the phase offset of the i th i th transmitted symbol.
These frequencies are then used to generate the waveforms. The mappings for this assignment are given in Table 1.

Table 1
Data Chunk Carrier Frequency ω i ω i
00 9π32 9 32
01 13π32 13 32
11 17π32 17 32
10 21π32 21 32

One way to implement this mapping is by using a look-up table. The two-bit data block can be interpreted as an offset into a frequency table where we have stored the possible transmission frequencies. Note that since each frequency mapping defines a symbol, this mapping is done at the symbol rate F symb F symb , or once for every T symb T symb DSP samples.

The symbol bit assignments are such that any two adjacent frequencies map to data blocks that differ by only one bit. This assignment is called Gray coding and helps reduce the number of bit errors made in the event of a received symbol error.

Phase Continuity

In order to minimize the bandwidth used by the transmitted signal, you should ensure that the phase of your transmitted waveform is continuous between symbols; i.e., the beginning phase of any symbol must be equal to the ending phase of the previous symbol. For instance, if a symbol of frequency 9π32 9 32 begins at phase 0, the symbol will end 31 output samples later at phase 319π32 31 9 32 . To preserve phase continuity, the next output sample must be at phase 329π32 32 9 32 , which is equivalent to phase π . Therefore, the next symbol, whatever its frequency, must begin at phase π . For each symbol, you must choose φ i φ i in the expression sin ω i n+ φ i ω i n φ i to create this continuity.

Footnotes

  1. The receiver then looks at the recovered symbol frequency to determine which block of bits was sent and converts it back to the appropriate binary data.
  2. PN generators have other applications in communications, notably in the Code Division Multiple Access schemes used by cellular telephones.

Content actions

Download module as:

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks