Coder Social home page Coder Social logo

delta-sigma-dac-verilog's Introduction

Delta-Sigma-DAC-Verilog

If this project is constructive, welcome to donate a drink to PayPal.

The measurements are conducted on Spartan 7 Xilinx FPGA with LPF setting - (680R, 1nF).

Common questions:

Why it work?

1 bit flip-flop the basic building block of a R-2R DAC hences it is a DAC because it can convert logic to voltage.

Of cause it is just limited to 0 - low voltage, 1 - high voltage.

When it is modulated with a carrier frequency it start to make all senses that it can be a really good DAC.

Why two stages?

The best answer can be referenced from : https://www.beis.de/Elektronik/DeltaSigma/1stOrderDisadvantages.html https://www.youtube.com/embed/4SIJTl5du60?start=1300

In short when 0 or max (-ve, +ve) is insert to the DAC, the output will result in high tone amputitude that can be reduce via 2 stages.

Oscillscope Measure:

image

Single Stage Delta-Sigma DAC:

Resource on FPGA:

image

What bitwidth is required on the first stage?

This is commonly considered with i.e. 16bit Input + 2bit.

image

Two Stage Delta-Sigma DAC:

Resource on FPGA:

image

There are a major question when designing the ΔΣ DAC:

What bitwidth is required on the second stage?

My approach is considering 1st stage output i.e. [16bit + 2bit] + over_sample_rate (i.e. 2^[6] 6bit).

over_sample_rate for example 2^6 or above

image

delta-sigma-dac-verilog's People

Contributors

briansune avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

delta-sigma-dac-verilog's Issues

Rationale for increasing 2nd stage accumulator bitwidth with OSR bits?

Hi,

I'm using your DAC as an audio DAC. It's working very well. I do have two questions, however:

What bitwidth is required on the second stage?
My approach is considering 1st stage output i.e. [16bit + 2bit] + over_sample_rate (i.e. 2^[6] 6bit).

What is the rationale for increasing the 2nd stage accumulator bitwidth with OSR bits? Is this documented in literature somewhere?

  1. The feedback DAC value is + or - MID_VAL with MID_VAL defined as:
    MID_VAL = 2**(DAC_BW - 1) + 2**(OSR + 2)

2**(DAC_BW - 1) corresponds to the maximum input sample amplitude, so that makes sense, but why the OSR term?

Thanks for any clarification and/or pointers to literature.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.