World Library  
Flag as Inappropriate
Email this Article

Function generator

Article Id: WHEBN0001198197
Reproduction Date:

Title: Function generator  
Author: World Heritage Encyclopedia
Language: English
Subject: Signal generator, Analog computer, Sweep generator, Wavetek, Arbitrary waveform generator
Collection: Electronic Test Equipment
Publisher: World Heritage Encyclopedia

Function generator

A simple analog function generator, circa 1990
A DDS function generator
Sine, square, triangle, and sawtooth waveforms

A function generator is usually a piece of [1] Integrated circuits used to generate waveforms may also be described as function generator ICs.

Although function generators cover both audio and RF frequencies, they are usually not suitable for applications that need low distortion or stable frequency signals. When those traits are required, other signal generators would be more appropriate.

Some function generators can be phase-locked to an external signal source (which may be a frequency reference) or another function generator.[2]

Function generators are used in the development, test and repair of electronic equipment. For example, they may be used as a signal source to test amplifiers or to introduce an error signal into a control loop.


  • Electronic instruments 1
    • Working 1.1
    • Specifications 1.2
    • Software 1.3
  • Circuit elements 2
    • Waveform generator 2.1
    • Function generator 2.2
  • See also 3
  • References 4
  • External links 5

Electronic instruments


Simple function generators usually generate triangular waveform whose frequency can be controlled smoothly as well as in steps.[3] This triangular wave is used as the basis for all of its other outputs. The triangular wave is generated by repeatedly charging and discharging a capacitor from a constant current source. This produces a linearly ascending or descending voltage ramp. As the output voltage reaches upper and lower limits, the charging and discharging is reversed using a comparator, producing the linear triangle wave. By varying the current and the size of the capacitor, different frequencies may be obtained. Sawtooth waves can be produced by charging the capacitor slowly, using a current, but using a diode over the current source to discharge quickly - the polarity of the diode changes the polarity of the resulting sawtooth, i.e. slow rise and fast fall, or fast rise and slow fall.

A 50% duty cycle square wave is easily obtained by noting whether the capacitor is being charged or discharged, which is reflected in the current switching comparator output. Other duty cycles (theoretically from 0% to 100%) can be obtained by using a comparator and the sawtooth or triangle signal. Most function generators also contain a non-linear diode shaping circuit that can convert the triangle wave into a reasonably accurate sine wave by rounding off the corners of the triangle wave in a process similar to clipping in audio systems.

A typical function generator can provide frequencies up to 20 MHz. RF generators for higher frequencies are not function generators in the strict sense since they typically produce pure or modulated sine signals only.

Function generators, like most signal generators, may also contain an attenuator, various means of modulating the output waveform, and often the ability to automatically and repetitively "sweep" the frequency of the output waveform (by means of a voltage-controlled oscillator) between two operator-determined limits. This capability makes it very easy to evaluate the frequency response of a given electronic circuit.

Some function generators can also generate white or pink noise.

More advanced function generators are called arbitrary waveform generators (AWG). They use direct digital synthesis (DDS) techniques to generate any waveform that can be described by a table of amplitudes.


Typical specifications for a general-purpose function generator are:

  • Produces sine, square, triangular, sawtooth (ramp), and pulse output. Arbitrary waveform generators can produce waves of any shape.[2]
  • It can generate a wide range of frequencies. For example, the Tektronix FG 502 (ca 1974) covers 0.1 Hz to 11 MHz.[4]
  • Frequency stability of 0.1 percent per hour for analog generators[4] or 500 ppm for a digital generator.
  • Maximum sinewave distortion of about 1% (accuracy of diode shaping network) for analog generators.[5] Arbitrary waveform generators may have distortion less than -55 dB below 50 kHz and less than -40 dB above 50 kHz.
  • Some function generators can be phase locked to an external signal source, which may be a frequency reference or another function generator.
  • AM or FM modulation may be supported.
  • Output amplitude up to 10 V peak-to-peak.
  • Amplitude can be modified, usually by a calibrated attenuator with decade steps and continuous adjustment within each decade.
  • Some generators provide a DC offset voltage, e.g. adjustable between -5V to +5V.[2]
  • An output impedance of 50 Ω.


A completely different approach to function generation is to use software instructions to generate a waveform, with provision for output. For example, a general-purpose digital computer can be used to generate the waveform; if frequency range and amplitude are acceptable, the sound card fitted to most computers can be used to output the generated wave.

Circuit elements

Waveform generator

An electronic circuit element used for generating waveforms within other apparatus that can be used in communications and instrumentation circuits, and also in a function generator instrument. Examples are the Exar XR2206[6] and the Intersil ICL8038[7] integrated circuits, which can generate sine, square, triangle, ramp, and pulse waveforms at a voltage-controllable frequency.

Function generator

An electronic circuit element that provides an output proportional to some mathematical function (such as the square root) of its input; such devices are used in feedback control systems and in analog computers. Examples are the Raytheon QK329 square-law tube[8] and the Intersil ICL8048 Log/Antilog Amplifier.[9]

See also


  1. ^ - Using a Basic Function Generator, 2005-08-21
  2. ^ a b c
  3. ^
  4. ^ a b , pp=1-7–1-8
  5. ^ FG 502 distortion is 0.5 percent
  6. ^
  7. ^
  8. ^
  9. ^

External links

  • Function Generator & Arbitrary Waveform Generator Guidebook
  • Waveform Generator Fundamentals
  • Function Generator Tutorial Video in HD
  • Function Generator Fundamentals
  • . History of the function generator.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.