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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Signal Generator
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 9 replies
  • Subscribers 473 subscribers
  • Views 789 views
  • Users 0 members are here
  • signal_generator
  • arm;
  • pic
Related

Signal Generator

JohnDSiviter
JohnDSiviter over 15 years ago

I want to build a bench signal generator one day, 0-100MHz, sine, triangular, square, variable M/S ratio etc and want a single chip solution (except for maybe a few optoisolators/buffers), I was thinking about using a fast ARM processor and fast DAC/s, it would also need USB so I can use the PC to program waveforms, what processor would you choose and why?

  • Sign in to reply
  • Cancel
Parents
  • JohnDSiviter
    JohnDSiviter over 15 years ago

    Thanks everyone that responded, it seems nothing is as clear cut as you first envisage!,  it does seem however that it is possible to build one using an Intel Atom @ 1.6Ghz or whatever giving a max output of approx 16Mhz...still a nice project for a rainy day, thanks also Kenny this is a case of..oh I have some PICs lets build something rather than me thinking "I could really do with a fast signal generator", as it happens I do need a signal generator, but dont need a terribly fast one for my audio work. Jorge...facinating, wasnt aware of that method!.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jorge_Garcia
    Jorge_Garcia over 15 years ago in reply to JohnDSiviter

    Hi John,

     

    If this is for audio work, you should have said so. You are WWWAAAAYYYY over specing(?). Humans can hear frequencies from 20- 20000 Hz, so you could build a function generator that produces waveforms up to 100kHz and be golden.

     

    A generator like that could be easily designed using an MCU(For example with a PIC see"Flying the PIC24" by Lucio di Jasio, Chp 9 if memory serves, he uses the PWM DAC method to output the audio stream from an MP3 file).

     

    Kenny's idea is also brilliant and digital pots are very handy components.

     

    Take your pick, but if you're going to do audio work I think the Atom idea is serious overkill. You mentioned you wanted a one chip solution, if memory serves the EXAR XR2206 chip can be used as a decent function generator. I have a kit from another manufacturer that will remain nameless, which used it. Maybe I built it poorly(very likely was in a rush to finish) but I wasn't too impressed by it, but maybe it works for you.

     

    hth,

    Jorge Garcia

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • JohnDSiviter
    JohnDSiviter over 15 years ago in reply to Jorge_Garcia

    I will be using it for other things as well as audio, otherwise like you say you dont need anything higher than 100KHz image, but where would the fun be building just a 100KHz signal gen.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 15 years ago in reply to JohnDSiviter

    I must defend myself from (implicit) complaints of over engineering !

     

    John asked in his original post about making a 0Hz to 100MHz bench signal generator using a fast processor and DACs - that isn't easy. (BTW -  as far as I know no one uses PWM to generate 100MHz sine waves and it is a very poor technique for high frequency low distortion sine wave generation.)

     

    If the spec is reduced then of course other technologies might be appropriate.

     

    For audio work there is a lot to be said for classic Wein bridge oscillators with thermistor or FET feedback control. (SImple, low cost, low distortion - downside is limited frequency range without switching).

     

    You could make a not bad signal generator with one of the STM32F processors with the built in DAC because it supports DMA to the DAC. You wont be able to get much above 500kHz sample rate but it would be single chip (apart from the reconstruction filter).

    Another approach would be to use an audio DAC (low noise, low distortion, built in reconstruction filter, low cost) with a processor with an I2S port but you won't get over 100kHz out of it. (and it won't be easy to sweep the frequency).

     

    I use lots of different signal generators for different purposes - I don't think there is one design suitable for everything so perhaps you should concentrate on the one you need right now.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • michaelkellett
    michaelkellett over 15 years ago in reply to JohnDSiviter

    I must defend myself from (implicit) complaints of over engineering !

     

    John asked in his original post about making a 0Hz to 100MHz bench signal generator using a fast processor and DACs - that isn't easy. (BTW -  as far as I know no one uses PWM to generate 100MHz sine waves and it is a very poor technique for high frequency low distortion sine wave generation.)

     

    If the spec is reduced then of course other technologies might be appropriate.

     

    For audio work there is a lot to be said for classic Wein bridge oscillators with thermistor or FET feedback control. (SImple, low cost, low distortion - downside is limited frequency range without switching).

     

    You could make a not bad signal generator with one of the STM32F processors with the built in DAC because it supports DMA to the DAC. You wont be able to get much above 500kHz sample rate but it would be single chip (apart from the reconstruction filter).

    Another approach would be to use an audio DAC (low noise, low distortion, built in reconstruction filter, low cost) with a processor with an I2S port but you won't get over 100kHz out of it. (and it won't be easy to sweep the frequency).

     

    I use lots of different signal generators for different purposes - I don't think there is one design suitable for everything so perhaps you should concentrate on the one you need right now.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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