How to build a function generator

Click For Summary

Discussion Overview

The discussion revolves around building a function generator for an analog electronics project, specifically focusing on synthesizers and waveform generation. Participants explore various methods to create a simple function generator using basic electronic components, including capacitors, resistors, and diodes, while discussing different types of waveforms such as triangular and square waves.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant seeks guidance on building a basic function generator that can control frequency and output sound, expressing uncertainty about where to start.
  • Another participant suggests using online resources and simulation tools to test circuits before physical construction.
  • There is a request for tutorials that explain the function of each component in a triangular wave generator circuit.
  • A participant notes that most triangle wave generators also produce square waves and encourages understanding the circuit's operation before modifying it for variable frequency.
  • One participant mentions the importance of selecting appropriate resistor and capacitor values based on specific needs.
  • Another suggests obtaining the data sheet for the MAX038 chip, which is no longer sold but may still be found elsewhere.
  • A hint is provided regarding the relationship between square and triangle waves, mentioning the need for automatic gain control due to amplitude variation with frequency.
  • A participant proposes using a 555 timer as a simple method to generate a sawtooth waveform, commonly used in analog synthesizers, and mentions filtering for sine waves.
  • One participant decides to construct a square wave generator and inquires about the necessary components to achieve audible frequency ranges, questioning the use of a potentiometer in the circuit.
  • Another participant confirms that a 555-based square wave generator may be easier to implement than an op-amp version, while also discussing the calculation of component values based on circuit descriptions.

Areas of Agreement / Disagreement

Participants express various approaches to building a function generator, with no consensus on a single method or design. Multiple competing views and suggestions remain throughout the discussion.

Contextual Notes

Participants highlight the need to choose specific component values based on desired frequency ranges and circuit functionality, indicating that assumptions about component behavior may vary based on individual project requirements.

V0ODO0CH1LD
Messages
278
Reaction score
0
I have to deliver a project for my analog electronics course and I wanted to build a synthesizer (the simplest version possible since I am a total beginner at this). It would basically be a function generator with a knob used to control the frequency (with maybe banana plugs for sound output). How would I go about building this function generator from basic components like capacitors, resistors and diodes?

I read that a triangular wave can be generated by repeatedly charging and discharging a capacitor from a constant current source. How would the simplest version of this work? I have to actually build the project and I don't even know where to start.
 
Engineering news on Phys.org
I guess the starting point is to build a function generator that generates only triangular waves. Can you point out any resources of tutorials on that?? Something that explains the function of each component on the circuit and all that!

Thanks!
 
note: disregard the resistor and cap values, you'll have to choose those to suit your needs.
 
get the data sheet for the MAX038, maxim doesn't sell the chip anymore but if you look around you should be able to find it.
 
Hint: The integral of a square wave is a triangle wave and the integral of a triangle wave is very close to a sine wave. Biggest problem - amplitude varies with frequency so you would need automatic gain control.
 
The simplest way to do this is using a 555 timer. The timer signal itself is a sawtooth which is the typical waveform used most often in analog music synthesizers. If you need sine your can filter it.
 
Okay! Thanks for all the replies! After doing some research I've decided to construct the simple square wave generator shown in this link:

http://hyperphysics.phy-astr.gsu.edu/hbase/electronic/square.html#c2

I wanted to know what are the components I should buy if I wanted to build it so that it ranges over the audible frequency (20Hz - 20kHz). Could I just put a potentiometer where R is in that figure? What are the actual values of the components I should buy?
 
  • #10
That will work but keep in mind it will probably be easier to make a 555-based square wave generator work than if you do it with an opamp.

That said, most standard Rs and Cs will work fine in audio frequencies. You can use a potentiometer for R but it is best to use the pot for only part of the R.

As for the values, you calculate what you need from the circuit description you linked to. All you have to do is pick Lambda and the period you want then everything else can be calculated. Be sure the common-mode range of the op amp you use is good enough to handle whatever value of lambda you choose.

Have fun!
 

Similar threads

Replies
5
Views
3K
Replies
9
Views
2K
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
19
Views
3K
Replies
4
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K