Subscribe to EDN
RSS
Reprints/License
Print
Email

Generate noisy sine waves with a sound card

A sound card, software, and an amplifier circuit is all you need.

José M Miguel, RF-Electronics Ltd, Barcelona, Spain; Edited by Martin Rowe and Fran Granville -- EDN, January 20, 2011

PDF

Testing audio-noise-reduction circuits, PLLs (phase-locked loops), and audio-frequency filters may require a noisy sine wave, one that is summed with white noise. Using a typical computer sound card, free software, and an external amplifier circuit, you can create a noisy sine wave.

Generate noisy sine waves with a sound card figure aFree Generatosaur software from Wavosaur turns your sound card into a low-frequency wave generator. It lets you independently choose amplitude, frequency, and waveform for the left and the right channels. The Generatosaur’s user interface is a dialogue-box-style control panel (see Figure A). If you select a sine wave for the left channel and a white noise for the right channel, you then need only to use an amplifier to add the signals. Figure 1 shows the complete circuit.

The differential amplifier employs a National Semiconductor LM386 audio power amplifier with a supply voltage of 15V. The output of the LM386 has a self-centered quiescent voltage that is half the power-supply voltage and that requires a blocking capacitor, C3. Resistor R5 sets the output impedance to 50Ω.
 Read More
Design Ideas
You need the voltage dividers R1/R2 and R3/R4 because the output-voltage range for a standard sound card is 0 to 2V. Taking into account that the voltage gain of the LM386 amplifier is internally set to 20 and that its output voltage range is 7V, you need an attenuation factor, K, of 7/(2×20) in each amplifier input. The circuit also includes a selectable 20-dB attenuator that you can invoke with the two DPDT (double-pole/double-throw) switches.

Generate noisy sine waves with a sound card figure 1

Figure B shows a 450-Hz sine wave with a 10-dB SNR (signal-to-noise ratio). The root-mean-square noise voltage of this signal is 0.5V measured on an oscilloscope and following the tangential method. If you need to hear the generated noisy signal, connect a loudspeaker to the output of IC LM386.
RSS
Reprints/License
Print
Email
Talkback
Canon Resource Center

Featured Company


Most Recent Resources

Advertisement
Related Content

No related content found.

  • 0 rated items found.
Advertisement

KNOWLEDGE CENTER

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Engineering Careers
Jobs sponsored by
Advertisement
About EDN   |   Site Map   |   Contact Us   |   Subscription   |   RSS
© 2012 UBM Electronics. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other UBM Canon sites

UBM Canon | Design News | Test & Measurement World | Packaging Digest | EDN | Qmed | Pharmalive | Appliance Magazine | Plastics Today | Powder Bulk Solids | Canon Trade Shows