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 ICs for Sine wave signal generation (Any PDIP left?)
  • 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
  • State Verified Answer
  • Replies 7 replies
  • Answers 2 answers
  • Subscribers 473 subscribers
  • Views 1132 views
  • Users 0 members are here
  • signal generator
  • vlc
  • visual light communication
  • pdip
  • lifi
  • ics
  • function generator
Related

ICs for Sine wave signal generation (Any PDIP left?)

jdlui
jdlui over 8 years ago

I've been looking into ICs for sine wave signal generation and find that most ICs only generate square waves, and are sold as clock generators. I notice that the difference between square wave Clock Generators and true sine wave function generators is poorly delimited on RS Electronics. Both on RS and digikey, it seems Analog Devices is the only true supplier of something that can generate a sine wave, with something like the AD5932. Other companies like Silicon Labs or Linear Technology are just offering up oscillators and square wave clock generators.

 

Wondering if the market is truly this small. Are there other manufacturers of these chips? Any that still create PDIP chips? All we could find was the Exar XR2206 but is obsolete so my only options seems to be buying it from ebay or alibaba, which I'd like to avoid if possible. I looked a little further; it seems that all other function generator PDIP chips (MAX038, ICL8038) are going obsolete. Guess I may just have to up my soldering game!

 

I realize it's better to move to this SMD ICs but for basic prototyping and my beginner skill set, it's a lot easier to look for PDIP components. I'm trying to get into some Visual Light Communication and Li-Fi stuff, and learn how to transmit and receive a signal through an LED photodiode pair. I'd prefer to work with sine waves for now instead of an on-off keying system so that I have less noise, harmonics, and interference to worry about.

 

Any advice people can lend is appreciated. Any alternate websites or manufacturers that you could suggest?

 

Thanks!

Jordan

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 8 years ago +2 suggested
    Give us an idea of frequency range, acceptable distortion and any modulation requirements. The AD DDS chips are pretty good but I'm puzzled as to why you want to drive LEDs with sine waves - it's terribly…
  • clem57
    clem57 over 8 years ago +1
    Thinking out of the box, look at http://www.cypress.com/knowledge-base-article/implementing-sine-wave-generator Edit: More at http://www.cypress.com/file/204691/download
  • jc2048
    jc2048 over 8 years ago in reply to jdlui +1 verified
    This would be easier if you explained a little more what you are trying to achieve. My cheap function generator gets its sine wave (about 1% distortion) by shaping the triangular wave [using the non-linear…
Parents
  • clem57
    0 clem57 over 8 years ago

    Thinking out of the box, look at http://www.cypress.com/knowledge-base-article/implementing-sine-wave-generator

    Edit: More at http://www.cypress.com/file/204691/download

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jdlui
    0 jdlui over 8 years ago in reply to clem57

    Thanks for the link Clem.

     

    This indeed seems to be one of the major routes I can take. I need to analyze my project needs a bit more and understand the signal quality that would come out of a method like this. Other method I'm considering is using a square wave clock generator and trying to bandpass filter just the main signal to reconstruct a sine wave.

     

    However I'm honestly not sure which one would give me a better signal.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jc2048
    0 jc2048 over 8 years ago in reply to jdlui

    This would be easier if you explained a little more what you are trying to achieve.

     

    My cheap function generator gets its sine wave (about 1% distortion) by shaping the triangular wave [using the non-linear characteristics of diodes]. The chips you mention above do something similar, only better because of the closer control they have over the semiconductor characteristics.

     

    If you try and do it by low-pass filtering of a square wave, the filter needs a steep cut-off to get the third harmonic down to an acceptable level [try it with a simulator and different orders of filter]. That will also have implications if the phase of the sine wave coming out relative to the square wave is important to you. If the frequency is variable, you'd need to accurately track it with the filter. You're getting into quite a lot of involved analogue design.

     

    If you need low harmonic content, then generating it with a wein bridge oscillator might be one way to go, but you can't move the frequency quickly and it takes time for the amplitude to settle.

     

    If you want it as simple as possible and aren't too concerned about frequency stability, traditional oscillators like the Colpitts and Hartley are possibles. At high frequencies you can move the frequency around using varactor diodes. At low frequencies, you might be able to do it crudely by switching capacitors into circuit with processor IO pins (just a thought I'm throwing in - don't ask me how to actually do it).

     

    A crystal oscillator should be capable of producing a good sinewave - the crystal is a good filter - but you won't be able to move the frequency by very much.

     

    If the frequencies are low, you'd probably be better off doing what Clem suggests and generating it from a microcontroller. If you massively oversample, the reconstruction filter on the output can be quite simple. If the frequencies are higher, you could do the same with programmable logic of some sort. The great advantage of this approach is that you might find you don't even want a sine wave - perhaps adjusting the waveform might improve the received waveform at the far end (preemphasis).

     

    Is it a high power LED you're driving? If so, by working linearly like this, you'll need a power amplifier. It's a lot more involved than just modulating the LED with PWM, which a simple LED driver will do for you as long as the frequencies aren't too high.

     

    Perhaps you should look at an old book on rf design for ideas. At one time, radio transmitters were basically a sine oscillator, a modulator of some sort, and then an amplifier stage.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • jc2048
    0 jc2048 over 8 years ago in reply to jdlui

    This would be easier if you explained a little more what you are trying to achieve.

     

    My cheap function generator gets its sine wave (about 1% distortion) by shaping the triangular wave [using the non-linear characteristics of diodes]. The chips you mention above do something similar, only better because of the closer control they have over the semiconductor characteristics.

     

    If you try and do it by low-pass filtering of a square wave, the filter needs a steep cut-off to get the third harmonic down to an acceptable level [try it with a simulator and different orders of filter]. That will also have implications if the phase of the sine wave coming out relative to the square wave is important to you. If the frequency is variable, you'd need to accurately track it with the filter. You're getting into quite a lot of involved analogue design.

     

    If you need low harmonic content, then generating it with a wein bridge oscillator might be one way to go, but you can't move the frequency quickly and it takes time for the amplitude to settle.

     

    If you want it as simple as possible and aren't too concerned about frequency stability, traditional oscillators like the Colpitts and Hartley are possibles. At high frequencies you can move the frequency around using varactor diodes. At low frequencies, you might be able to do it crudely by switching capacitors into circuit with processor IO pins (just a thought I'm throwing in - don't ask me how to actually do it).

     

    A crystal oscillator should be capable of producing a good sinewave - the crystal is a good filter - but you won't be able to move the frequency by very much.

     

    If the frequencies are low, you'd probably be better off doing what Clem suggests and generating it from a microcontroller. If you massively oversample, the reconstruction filter on the output can be quite simple. If the frequencies are higher, you could do the same with programmable logic of some sort. The great advantage of this approach is that you might find you don't even want a sine wave - perhaps adjusting the waveform might improve the received waveform at the far end (preemphasis).

     

    Is it a high power LED you're driving? If so, by working linearly like this, you'll need a power amplifier. It's a lot more involved than just modulating the LED with PWM, which a simple LED driver will do for you as long as the frequencies aren't too high.

     

    Perhaps you should look at an old book on rf design for ideas. At one time, radio transmitters were basically a sine oscillator, a modulator of some sort, and then an amplifier stage.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • jdlui
    0 jdlui over 8 years ago in reply to jc2048

    Jon,

    Thank you for the detailed and insightful reply! It has given me many things to think of.

     

    To succinctly summarize my goals with this hardware project: I'm trying to record received signal strength from multiple light sources which are modulating at different frequencies. Applications are for communications and localizing with visual light spectrum sources, aka LiFi and VLC Positioning.

     

    I realize that square waves are more practical and seems other researchers are indeed using square waves and OOK type modulation schemes. However for my initial steps into this topic, I was told that I may want to consider sine waves for my initial testing, simply to limit noise and harmonics.

     

    I realize going forward that I'll need to just use oscillators and modulate a square wave, so I will probably switch to square waves when I start building a multi light source system.

     

    My current research plan is to modulate 4 light sources, each one at a different frequency. I intend to receive the signal on a single photodiode and then use a transimpedance amplifier to convert to a voltage signal. From there I will use a bandpass filter to split each of the signals, and then use an RMS-DC converter to read the RMS, which is proportional to my Received Signal Strength. I read that other papers use fairly large frequency separations (like 1, 3, 5, and 9 kHz) so I believe that the BPF is fairly reasonable to realize. However it's my first time with all of this so I'm sure I'll hit some gritty realities as I move forward image. The design of this system would have each light using a unique but fixed modulation frequency. As a result I should only have to configure my BPF once, although I will have to spend some time tuning it well, especially if I'm using square waves and dealing with the harmonics. I've chosen a MAX274 PDIP BPF where I can implement multiple BPF in one package by just choosing the right resistors.

     

    I believe my frequencies at 1-100 kHz are relatively low so I'll indeed look into microcontrollers. Long term I'd like to realize a solution which I can retrofit into existing light fixtures so I've also ordered some small oscillators which I believe should suit my needs.

     

    For now I am using very small little LEDs, so I believe I do not need a power amp yet. However long term I want to be able to implement this modulation in a light source which can actually light a room. Maybe I'll leave this as a goal for later though image

     

    Thanks for the tip on the RF design book as well. I'm very new to this field so I think that a book would be a great idea for ideas and inspiration.

     

    Thanks again for the great insights and ideas!

     

    Jordan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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