Skip to content Skip to navigation Skip to collection information

OpenStax_CNX

You are here: Home » Content » Communication Systems Projects with LabVIEW » cid_Demodulator.vi

Navigation

Table of Contents

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

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

cid_Demodulator.vi

Module by: Ed Doering. E-mail the authorEdited By: Erik Luther, Sam Shearman, Brett Hern

Summary: Build a LabVIEW subVI to demodulate a Caller ID FSK (frequency shift keying) signal using a PLL (phase-locked loop) from the LabVIEW Modulation Toolkit.

Table 1
LabVIEWtop.png This module refers to LabVIEW, a software development environment that features a graphical programming language. Please see the LabVIEW QuickStart Guide module for tutorials and documentation that will help you:
• Apply LabVIEW to Audio Signal Processing
• Get started with LabVIEW
• Obtain a fully-functional evaluation edition of LabVIEW

Note:

Visit LabVIEW Setup to learn how to adjust your own LabVIEW environment to match the settings used by the LabVIEW screencast video(s) in this module. Click the "Fullscreen" button at the lower right corner of the video player if the video does not fit properly within your browser window.

LabVIEW SubVI: cid_Demodulator.vi

  • Description: Demodulate a Caller ID FSK (frequency shift keying) signal using a PLL (phase-locked loop) from the LabVIEW Modulation Toolkit. The subVI accepts an signal that can include ringer pulses (the FSK signal itself occurs between the first and second ringer pulses), and demodulates the signal to baseband. A "PLL locked" output signal indicates the portion of the baseband signal that should be considered useable for further decoding.
  • Category: Caller ID decoding ("cid" prefix)

Inputs (Controls)

  1. FSK signal -- waveform
  2. VCO carrier frequency [Hz] -- DBL
  3. VCO gain [degrees/V] -- DBL
  4. phase error LPF cutoff frequency [Hz] -- DBL
  5. comparator threshold for PLL lock -- DBL

Parentheses ( ) indicate default value; square brackets [ ] designate units.

Outputs (Indicators)

  1. baseband signal -- waveform
  2. phase error magnitude -- waveform
  3. PLL locked -- 1-D Boolean array

Required Behavior

  • FSK signal should contain an audio recording of the Caller ID FSK message sent by the telephone company central office (CO). The signal should lie in the range ±1; ringer pulses will be clipped, and the FSK signal amplitude should occupy as much of the ±1 range as possible without clipping.
  • The baseband signal output contains the demodulated baseband signal produced by the LabVIEW Modulation Toolkit "MT Phase Locked Loop.vi" phase error output.
  • The Boolean array PLL locked indicates the region in which the PLL is locked onto the FSK signal; this indicator serves to distinguish between the valid FSK signal and any other portion of the original recorded signal.
  • The VCO carrier frequency and gain are two controls for the PLL.
  • phase error LPF cutoff frequency sets the cutoff frequency of the lowpass filter applied to the magnitude of the PLL phase error. The phase error magnitude is a rapidly changing and relatively large amplitude signal value when the PLL is out of lock, and a relatively low amplitude signal in lock. The lowpass filter removes the rapid variation. The phase error magnitude output is the lowpass-filtered absolute value of the PLL phase error.
  • comparator threshold sets the threshold level for the comparator that generates the PLL locked Boolean output.

The LabVIEW Modulation Toolkit PLL is introduced and demonstrated in the screencast video of Figure 1.

Figure 1: [video] Demonstration of the LabVIEW Modulation Toolkit PLL
Figure 1 (subVI_cid_Demodulator-explained.htm)

LabVIEW Coding Tips

View the screencast video in Create a SubVI in LabVIEW to learn the mechanics of subVIs.

Refer to the Figure 2 screencast video for LabVIEW coding tips and techniques specific to this subVI.

Figure 2: [video] LabVIEW coding tips and techniques for cid_Demodulator.vi
Figure 2 (subVI_cid_Demodulator-vi.htm)

Collection Navigation

Content actions

Download:

Collection 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 ...

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:

Collection 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

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