Pulse Density Modulation PDM

Productos y Entorno

Esta sección refleja los productos y el sistema operativo utilizados para crear el ejemplo.

Para descargar el software de NI, incluyendo los productos que se muestran a continuación, visite ni.com/downloads.

    Software

  • LabVIEW

Código y Documentos

Adjunto

Descargar todos
Overview

This example demonstrates how to generate a Pulse Density Modulation (PDM) in LabVIEW.

 

Description

Pulse Density Modulation, or PDM, is a form of modulation used to represent an analog signal in the digital domain. In a PDM signal, specific amplitud values are not encoded into pulses as they would be in PCM. Instead it is the relative density of the pulses that corresponds to the analog signal's amplitude.
This VI simulates an analog signal, modulates it using PDM and restores it to an analog signal.

 

Requirements

 Software

  • LabVIEW Full Development System 2012 (or compatible)
  • If running in a Real-Time context, you will need the LabVIEW Real-Time Module 2012 (or compatible)

 Hardware

  • No hardware is necessary to use this example VI

 

Steps to Implement or Execute Code

  1. Download and open the attached VI
  2. Run the program

 

Additional Information or References

Pulse Density Modulation (PDM) - Front Panel.png

 

Pulse Density Modulation (PDM) - Block Diagram.png

**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**

Benjamin C
Principal Systems Engineer // CLA // CLED

El código de ejemplo del Intercambio de Código en la Comunidad de NI está autorizado con la licencia MIT. 

Comentarios
Asnaraya
NI Employee (retired)
el
Hello BeCeGa, I am new to PDM stuff. I am trying to undersatnd how this sine wave will be represented as 1 bit . It's so confuding for me. can you help me understand this concept. For example If I have sine wave of +/- 5 Amp and If I sample at 10K Hz I have N number of sample now with different amplitute range so how do we represent these different amplitudes in 1 and 0 as 1 bit PDm signal. Anyhelp is appreciable.