Skip to content Skip to navigation

Connexions

You are here: Home » Content » Example: Using an FDM-TDM Transmux to Demodulate R.35 Telgraphy Signals

Navigation

Lenses

What is a lens?

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.

This content is ...

In these lenses

  • UniqU content

    This module is included inLens: UniqU's lens
    By: UniqU, LLCAs a part of collection: "An Introduction to the FDM-TDM Digital Transmultiplexer"

    Click the "UniqU content" link to see all content selected in this lens.

Recently Viewed

This feature requires Javascript to be enabled.
 

Example: Using an FDM-TDM Transmux to Demodulate R.35 Telgraphy Signals

Module by: John Treichler. E-mail the author

Suppose that our design objective is to build a digital processor capable of demodulating all of the FSK canals found in the R.35 signal shown in Figure 1 from "An Introduction to the FDM-TDM Digital Transmultiplexer: Introduction". Suppose further that we choose to build the demodulator for each FSK signal along the lines of the one shown1 in Figure 1(a). Both are used in practice. This type of FSK demodulator uses two fllters: one centered at the mark frequency fmkfmk and another the space frequency fspfsp. The powers or amplitudes of the two filter outputs are compared to determine whether the signal instantaneously falls mostly in the vicinity of the mark or is closer to the space. The bit synchronizer logic monitors the transitions between mark and space (and vice versa), using the information to determine the right instants to sample the thresholded difference waveform and produce binary decisions.

Figure 1 shows the block diagram of the demodulating process when extended to handle all 24 FSK canals in an R.35 signal. Initially it appears to only be 24 parallel demodulators. On closer inspection however, it may be recognized that the center frequencies of all the filters differ by integer multiples of a single frequency increment ΔfΔf. This suggests the use of a digital filter bank to compute all ofthe required bandpass filters. We now proceed to see how the system design for this filter bank is done.

The system design of the transmultiplexer/filter bank is specified by a small set of parameters. We determine these parameters as follows:

  • ΔfΔf: Inspection of the frequency allocations for the R.35 signal shows that all possible mark and space frequencies are separated by integer multiples of 60 Hz. Thus it is natural to set Δf=60Δf=60 Hz.
  • fs and N: With ΔfΔf determined, the choice of N, the DFT dimension, and the choice of the input sampling rate fs, are locked together. We bound N from below, by noting that at least 48 filters are needed, two for each FSK canal. In principle, the value of N can be chosen to be any number higher than 48. If the use of the FFT is contemplated then N is usually chosen to the first power of 2 or 4 higher than the minimum value2. Assuming the use of either a radix-2 or radix-4 FFT, plus the use of complex-valued input data, the prudent value of N is 64. This immediately leads to a complex-valued input sampling rate of N·Δf=3840N·Δf=3840 Hz. If the input were real-valued instead, then the chosen sampling rate would be twice that, or 7680 Hz.
    Figure 1: A Basic Two-Filter FSK Demodulator and its Filter Bank Extension
    Figure one is comprised of two flow charts. Part a is titled FSK Demodulator Employing Bandpass Filters Centered at the Mark and Space Frequencies. It begins on the left side with the caption, Input FSK signal. Below and to the side are a series of waves on an arbitrary horizontal line, labeled f_sp, f_mk, f_sp, f_mk. From the first caption, a line extends up and down, then to the right towards two rectangles. The upper rectangle is titled Bandpass Filter Centered @f_sp. The lower rectangle is titled Bandpass Filter Centered @f_mk. Above the upper rectangle is a small graph of two waves that begin and end along a horizontal axis, labeled f, and have peaks and the labeled points f_m on the left and f_s on the right. Both rectangles continue with an arrow pointing to the right at two more rectangles containing the caption |⋅|. After this are two arrows from these rectangles both pointing at the same circle in the middle, containing a large plus sign. The arrow from the upper row of rectangles is labeled with a +, and the arrow from the bottom row is labeled with a -. To the right of the circle is a line pointing at another rectangle, containing a large f-shaped line intersection. In the middle of this connecting line to the rectangle is an arrow pointing downward at another rectangle titled Bit Sync. This rectangle is followed by another arrow pointing back up towards the rectangle containing the f-shape, with the arrow labeled {. . 1, 0, 1, 0, . . .}. To the right of the f-shaped rectangle is one arrow pointing directly to the right, labeled {1 0}, and one pointing up and to the right, labeled Binary Decisions. Above both rectangles is a graph containing a wavering graph about a horizontal axis, with the positive portion of the graph labeled f_sp, and the lower portion labeled f_mk. Part b is titled Extension to an FDM FSK VFT Signal by Using a Transmultiplexer to Perform the Required Bandpass Filtering. The left side begins with the title Input FDM VFT Signals Carrying N FSK Canals. This caption is followed by a flowchart that spreads out to six rows. These rows begin with rectangles that read from top to bottom, BPF @ f_mk, 1 = f_b, BPF @ f_sp, 1 = f_b + ∆f, BPF @ f+mk, 2 = f_b + 2 ⋅ ∆f, BPF @ f_sp, 2 = f_b + 3 ⋅ ∆f, BPF @ f_mk, N = f_b + (2N-2) ⋅ ∆f, BPF @ f_sp, N = f_b + (2N-1) ⋅ ∆f. In between the fourth and fifth rectangles are a series of vertical dots indicating a continuing series. To the right of these rectangles aligned in their rows are six more rectangles each containing the caption |⋅|. In groups of two, the adjacent rectangle rows meet together at a circle containing a +. The arrows leading to this circle from the rectangles are labeled + above and - below. To the right of these circles are three rectangles labeled Bit Sync and Slice. To the right of these are arrows pointing to the right at captions that read from top to bottom, Binary Output for Canal 1, Binary Output for Canal 2, and Binary Output for Canal N.
  • L and Q: Wth N determined, we find that L and Q are locked together and that they are a function of the exact filter design used to select the pulse response (or, equivalently, the window function) used to determine the shape of the bandpass fllters. The issues to be considered in the design of the pulse response are discussed in "An Introduction to the FDM-TDM Digital Transmultiplexer: Appendix A". Without reiterating them here, we observe that following those rules yields a minimum pulse response duration L of about 174. For this application we extend the filter pulse duration to 192, allowing Q to equal exactly 3.
  • M: With the input sampling rate set, the decimation factor M determines the output sampling rate at each of the filter outputs. Thus foutfout, the output sampling rate, equals 3840M3840M Hz. The required output rate depends on the types of signals present and the types of processing to be done to them. In the case of demodulating asynchronous FSK signals, experience has shown that the output sampling rate needs to exceed the highest FSK baud rate expected by a factor of four or more. The highest baud rate allowed by the CCITT for an R.35 canal is 75 Hz3. Thus the output sampling rate foutfout must exceed 300 Hz. By choosing M=12M=12, we obtain an output sampling rate of fout=320fout=320 Hz.

A demodulator using these parameters is shown in Figure 2. When developed in 1985 it was termed the filter bank card and was used to simultaneously demodulate 24 voice grade channels, each containing 24 R.35 FSK canals. Thus 24·24·2=115224·24·2=1152 fllters were needed to isolate the mark and space energy of all FSK canals. When demodulating R.35 signals, each filter produces outputs at a rate of 320 per second. The input sampled waveforms are tuned and filtered by a preceding tuner to spectrally align the filter bank's bins with the mark and space frequencies of the R.35 signal.

Arrows in Figure 2 point to the key computational elements on the filter bank card. One multiplier-accumulator device handled the window-and-fold, or preprocessing, function for all 24 voice channel inputs. The second computed the needed FFTs. When processing R.35 signals in all 24 channels, 320·24=76800320·24=76800 FFTs of dimension N=64N=64 were performed per second. The third arrow points to a floating-point processor used to measure the instantaneous power at the bandpass filter outputs and threshold their differences to produce binary decisions.

In passing, we note that this design exploits the fact that the FSK demodulator only requires knowledge of the magnitude of each filter output. Recalling the general transmux equation given in Equation 9 from "Derivation of the equations for a Basic FDM-TDM Transmux" and substituting the appropriate values of N,QN,Q, and M produces the equation:

y n ( r ) = e - j 2 π 12 · n r 64 · p = 0 63 e j 2 π n p 64 v ( r , p ) . y n ( r ) = e - j 2 π 12 · n r 64 · p = 0 63 e j 2 π n p 64 v ( r , p ) .
(1)

The exponential preceding the sum has unity magnitude and therefore does not affect |yn(r)|.|yn(r)|.. It is therefore not necessary to compute the product of the exponential and the sum. The magnitude measurement is given by

| y n ( r ) | = | p = 0 63 e j 2 π n p 64 v ( r , p ) | . | y n ( r ) | = | p = 0 63 e j 2 π n p 64 v ( r , p ) | .
(2)
Figure 2: Photograph of the Filter Bank Card Designed in 1985 to Demodulate FSK VFT Signals - M=12M=12, Q=3Q=3, N=64N=64, Δf=60Δf=60 Hz. A modern implementation would require a fraction of the resources of a single field-programmable gate array (FPGA)
Figure two is a photograph of a filter bank card, with three sections in the car labeled from top to bottom, Multiplier-Accumulator (MAC) used for FFT Operations, Floating Point ALU used for Making and Comparing Power Measurements, and Multiplier-Accumulator (MAC) used for Window-and-fold Operations.

This same filter bank card is also capable of demodulating FSK signals conforming to the R.37 and R.38A ITU-T recommendations. The R.37 signal, for example, uses 12 canals instead of 24, and each of them operates at twice the rate and with twice the mark-space frequency separation of the R.35 signal. Repeating the system design just performed yields the following:

  • Δf=120Δf=120 Hz
  • N=32N=32 and fs=3840fs=3840 Hz
  • L=96L=96 and Q=3Q=3
  • fout=640fout=640 Hz

Note that Q and fs remain the same as for R.35, and that ΔfΔf and foutfout double because of the increased mark-space separation and allowable baud rates, while L and N are halved. The impact of processing this additional signal can be assessed by using the formula for the number of multiply-adds required, specifically

G transmux = 2 Q N f s M + 2 N f s M · log 2 N . G transmux = 2 Q N f s M + 2 N f s M · log 2 N .
(3)

It can be verified that the number of multiply-adds needed to perform the window-and-fold function for the filter bank is exactly the same as is needed for the R.35 signal, since the ratio NMNM holds constant. Moreover, the amount of computation needed for the radix-2 FFT is 5656 of that needed for R.35, the ratio between log 232 log 232 and log 264 log 264. Thus a filter bank with the computational horsepower to handle R.35 can also handle R.37. The R.38A standard represents another factor of two in frequency separations and allowable baud rates. Once again it can be verified that the window-and-fold computation is the same and the FFT computation is smaller yet. Thus a properly designed filter bank processor capable of handling the R.35 standard can also handle R.37 and R.38A as well. A subtle difference is that the input signal must be tuned slightly differently for the three different standards.

Footnotes

  1. Note that this demodulator design is slightly different than the one discussed in the section "What is an FDM-TDM Transmultiplexer".
  2. (Reference) introduces some additional considerations in the design of digital systems in which the transmultiplexer is only a part.
  3. The other rates are 50 and 60 Hz.

References

    Content actions

    Download module as:

    PDF | EPUB (?)

    What is an EPUB file?

    EPUB is an electronic book format that can be read on a variety of mobile devices.

    Downloading to a reading device

    For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

    | More downloads ...

    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