element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
FPGA
  • Technologies
  • More
FPGA
Forum FPGA-based DAC
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 532 subscribers
  • Views 1021 views
  • Users 0 members are here
Related

FPGA-based DAC

neuromodulator
neuromodulator over 4 years ago

I have this (alternate) idea on how to implement an FPGA-based DAC, but I haven't been able to find any info in the net...

 

With the traditional approach of delta sigma modulating and then lowpass-filtering the signal, the closer that the modulated signal frequency gets to the filter cutoff frequency, the more that it gets attenuated and phase-shifted...

 

So as an alternative I thought the system could be handled like a control system, but since there is no feedback from the analog output I would run an LPF model within the FPGA in a feedforward way. In this way, if I want to push the modulating frequency closer to the cutoff frequency I would be able to compensate for the attenuation and phase shift so that there is none.

 

The reason that I'm thinking of applying this instead of increasing the LPF cutoff frequency is that the latter would have drawbacks like reduced noise filtering. Compensating for the attenuation and phase shift of course would not be "free", but it still is an alternative to just not being able to generate the desired signal amplitude or keep the phase shift to the minimum.

 

Any ideas? Does this make sense?

  • Sign in to reply
  • Cancel

Top Replies

  • johnbeetem
    johnbeetem over 4 years ago +1
    There are some nifty ways to do DAC with an FPGA. If you only need a few bits, you can use normal CMOS I/Os with external resistors. For example, the Lattice iCE40H1K-based Go Board has a 9-bit VGA output…
  • johnbeetem
    johnbeetem over 4 years ago

    There are some nifty ways to do DAC with an FPGA.  If you only need a few bits, you can use normal CMOS I/Os with external resistors.  For example, the Lattice iCE40H1K-based Go Board has a 9-bit VGA output, with 3 bits per color (RGB).  It uses 2K, 1K, and 549 Ohm resistors to weight the three bits.

     

    If you are generating audio, you can use an I2S DAC such as the NXP UDA1334ATS which supports up to 24 bits stereo.  I2S only needs 3 wires.  Adafruit has a nifty little UDA1334A breakout board for US$7.

     

    Hope this helps!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • neuromodulator
    neuromodulator over 4 years ago in reply to johnbeetem

    Thanks for the response John. I'm aware of the techniques you mention, but I'm trying to avoid them. When using resistors unless the resistors match perfectly, you lose linearity, plus its harder to implement for high bit resolution and also requires 1 pin per bit. Using a DAC is more expensive and requires more pins. The advantage of using delta sigma is that it will be very inexpensive and I'll get lots of outputs.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube