Function generator

Last updated
A simple analog function generator, circa 1990 Kenwood FG273 Function Generator.jpg
A simple analog function generator, circa 1990
A DDS function generator DDS function generator.jpg
A DDS function generator
Sine, square, triangle, and sawtooth waveforms Waveforms.svg
Sine, square, triangle, and sawtooth waveforms

In electrical engineering, a function generator is usually a piece of electronic test equipment or software used to generate different types of electrical waveforms over a wide range of frequencies. Some of the most common waveforms produced by the function generator are the sine wave, square wave, triangular wave and sawtooth shapes. These waveforms can be either repetitive or single-shot (which requires an internal or external trigger source). [1] Another feature included on many function generators is the ability to add a DC offset. Integrated circuits used to generate waveforms may also be described as function generator ICs.

Contents

Although function generators cover both audio and radio 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. Function generators are primarily used for working with analog circuits, related pulse generators are primarily used for working with digital circuits.

Electronic instruments

Principles of Operation

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 and descending voltage ramp. As the output voltage reaches upper or lower limits, the charging or 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 with low 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 walking ring counter, also called a Johnson counter, and a (linear) resistor-only shaping circuit is an alternative way to produce an approximation of a sine wave. This is perhaps the simplest numerically-controlled oscillator. Two such walking ring counters are perhaps the simplest way to generate the continuous-phase frequency-shift keying used in dual-tone multi-frequency signaling and early modem tones. [4]

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.[ citation needed ]

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 and time steps.

Specifications

Typical specifications for a general-purpose function generator are:

Software

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 [7] and the Intersil ICL8038 integrated circuits[ citation needed ], 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]

Mechanical function generators

Mechanical function generators are linkages, cam-follower mechanisms or non-circular gears, designed to reproduce different types of functions, either periodic (like sine or cosine functions), or single-shot (logarithm, parabolic, tangent functions etc.). [10]

Measurement instruments like pressure gauges, altimeters and barometers include linkage-type function generators as linearization means. Before the advent of digital computers, mechanical function generators were used in the construction of gun fire control systems, and mechanical calculators.

See also

Related Research Articles

An electronic oscillator is an electronic circuit that produces a periodic, oscillating or alternating current (AC) signal, usually a sine wave, square wave or a triangle wave, powered by a direct current (DC) source. Oscillators are found in many electronic devices, such as radio receivers, television sets, radio and television broadcast transmitters, computers, computer peripherals, cellphones, radar, and many other devices.

<span class="mw-page-title-main">Analog-to-digital converter</span> System that converts an analog signal into a digital signal

In electronics, an analog-to-digital converter is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a digital signal. An ADC may also provide an isolated measurement such as an electronic device that converts an analog input voltage or current to a digital number representing the magnitude of the voltage or current. Typically the digital output is a two's complement binary number that is proportional to the input, but there are other possibilities.

A signal generator is one of a class of electronic devices that generates electrical signals with set properties of amplitude, frequency, and wave shape. These generated signals are used as a stimulus for electronic measurements, typically used in designing, testing, troubleshooting, and repairing electronic or electroacoustic devices, though it often has artistic uses as well.

<span class="mw-page-title-main">Waveform</span> The shape and form of a signal

In electronics, acoustics, and related fields, the waveform of a signal is the shape of its graph as a function of time, independent of its time and magnitude scales and of any displacement in time. Periodic waveforms repeat regularly at a constant period. The term can also be used for non-periodic or aperiodic signals, like chirps and pulses.

<span class="mw-page-title-main">Sawtooth wave</span> Non-sinusoidal waveform

The sawtooth wave is a kind of non-sinusoidal waveform. It is so named based on its resemblance to the teeth of a plain-toothed saw with a zero rake angle. A single sawtooth, or an intermittently triggered sawtooth, is called a ramp waveform.

<span class="mw-page-title-main">Pulse-width modulation</span> Electric signal modulation technique used to reduce power load

Pulse-width modulation (PWM), also known as pulse-duration modulation (PDM) or pulse-length modulation (PLM), is a method of controlling the average power or amplitude delivered by an electrical signal. The average value of voltage fed to the load is controlled by switching the supply between 0 and 100% at a rate faster than it takes the load to change significantly. The longer the switch is on, the higher the total power supplied to the load. Along with maximum power point tracking (MPPT), it is one of the primary methods of controlling the output of solar panels to that which can be utilized by a battery. PWM is particularly suited for running inertial loads such as motors, which are not as easily affected by this discrete switching. The goal of PWM is to control a load; however, the PWM switching frequency must be selected carefully in order to smoothly do so.

<span class="mw-page-title-main">Relaxation oscillator</span> Oscillator that produces a nonsinusoidal repetitive waveform

In electronics a relaxation oscillator is a nonlinear electronic oscillator circuit that produces a nonsinusoidal repetitive output signal, such as a triangle wave or square wave. The circuit consists of a feedback loop containing a switching device such as a transistor, comparator, relay, op amp, or a negative resistance device like a tunnel diode, that repetitively charges a capacitor or inductor through a resistance until it reaches a threshold level, then discharges it again. The period of the oscillator depends on the time constant of the capacitor or inductor circuit. The active device switches abruptly between charging and discharging modes, and thus produces a discontinuously changing repetitive waveform. This contrasts with the other type of electronic oscillator, the harmonic or linear oscillator, which uses an amplifier with feedback to excite resonant oscillations in a resonator, producing a sine wave.

<span class="mw-page-title-main">Power inverter</span> Device that changes direct current (DC) to alternating current (AC)

A power inverter, inverter, or invertor is a power electronic device or circuitry that changes direct current (DC) to alternating current (AC). The resulting AC frequency obtained depends on the particular device employed. Inverters do the opposite of rectifiers which were originally large electromechanical devices converting AC to DC.

A digitally controlled oscillator or DCO is used in synthesizers, microcontrollers, and software-defined radios. The name is analogous with "voltage-controlled oscillator". DCOs were designed to overcome the tuning stability limitations of early VCO designs.

<span class="mw-page-title-main">Ring modulation</span> Frequency mixing function in signal processing

In electronics, ring modulation is a signal processing function, an implementation of frequency mixing, in which two signals are combined to yield an output signal. One signal, called the carrier, is typically a sine wave or another simple waveform; the other signal is typically more complicated and is called the input or the modulator signal. A ring modulator is an electronic device for ring modulation. A ring modulator may be used in music synthesizers and as an effects unit.

<span class="mw-page-title-main">Phase detector</span> Electrical circuit detecting phase difference

A phase detector or phase comparator is a frequency mixer, analog multiplier or logic circuit that generates a signal which represents the difference in phase between two signal inputs.

A variable frequency oscillator (VFO) in electronics is an oscillator whose frequency can be tuned over some range. It is a necessary component in any tunable radio transmitter and in receivers that works by the superheterodyne principle. The oscillator controls the frequency to which the apparatus is tuned.

<span class="mw-page-title-main">Slew rate</span> Change of voltage or current per unit of time

In electronics and electromagnetics, slew rate is defined as the change of voltage or current, or any other electrical or electromagnetic quantity, per unit of time. Expressed in SI units, the unit of measurement is given as the change per second, but in the context of electronic circuits a slew rate is usually expressed in terms of microseconds (μs) or nanoseconds (ns).

<span class="mw-page-title-main">Voltage-controlled oscillator</span> Oscillator with frequency controlled by a voltage input

A voltage-controlled oscillator (VCO) is an electronic oscillator whose oscillation frequency is controlled by a voltage input. The applied input voltage determines the instantaneous oscillation frequency. Consequently, a VCO can be used for frequency modulation (FM) or phase modulation (PM) by applying a modulating signal to the control input. A VCO is also an integral part of a phase-locked loop. VCOs are used in synthesizers to generate a waveform whose pitch can be adjusted by a voltage determined by a musical keyboard or other input.

<span class="mw-page-title-main">Power electronics</span> Technology of power electronics

Power electronics is the application of electronics to the control and conversion of electric power.

In electronics, a frequency multiplier is an electronic circuit that generates an output signal and that output frequency is a harmonic (multiple) of its input frequency. Frequency multipliers consist of a nonlinear circuit that distorts the input signal and consequently generates harmonics of the input signal. A subsequent bandpass filter selects the desired harmonic frequency and removes the unwanted fundamental and other harmonics from the output.

<span class="mw-page-title-main">Arbitrary waveform generator</span>

An arbitrary waveform generator (AWG) is a piece of electronic test equipment used to generate electrical waveforms. These waveforms can be either repetitive or single-shot in which case some kind of triggering source is required. The resulting waveforms can be injected into a device under test and analyzed as they progress through it, confirming the proper operation of the device or pinpointing a fault in it.

<span class="mw-page-title-main">History of the oscilloscope</span>


The history of the oscilloscope was fundamental to science because an oscilloscope is a device for viewing waveform oscillations, as of electrical voltage or current, in order to measure frequency and other wave characteristics. This was important in developing electromagnetic theory. The first recordings of waveforms were with a galvanometer coupled to a mechanical drawing system dating from the second decade of the 19th century. The modern day digital oscilloscope is a consequence of multiple generations of development of the oscillograph, cathode-ray tubes, analog oscilloscopes, and digital electronics.

<span class="mw-page-title-main">Intersil ICL8038</span>

The ICL8038 waveform generator was an Integrated circuit by Intersil designed to generate sine, square and triangular waveforms, based on bipolar monolithic technology involving Schottky barrier diodes. ICL8038 was a voltage-controlled oscillator capable of producing frequencies between a millihertz and 100 kHz., some specimens capable of reaching 300 kHz. The device has been discontinued by Intersil in 2002.

This glossary of electrical and electronics engineering is a list of definitions of terms and concepts related specifically to electrical engineering and electronics engineering. For terms related to engineering in general, see Glossary of engineering.

References

  1. cnx.org - Using a Basic Function Generator, 2005-08-21
  2. 1 2 3 Bakshi, U. A.; Bakshi, A. V.; Bakshi, K. A. (2008). Electronic Measurements and Instrumentation. Pune, India: Technical Publications. pp. 3–26, 3–27. ISBN   978-81-8431-435-9.
  3. Sonde, B. S. (1992). Introduction to System Design Using Integrated Circuits. New Age International. pp. 244–246. ISBN   978-81-224-0386-2.
  4. Don Lancaster. "TV Typewriter Cookbook". (TV Typewriter). 1976. p. 180-181.
  5. 1 2 FG 502 Function Generator, Instruction Manual, Beaverton, OR: Tektronix, 1973, pp=1-71-8
  6. FG 502 distortion is 0.5 percent
  7. "Exar XR-2206 Monolithic Function Generator" (PDF). Exar. Retrieved 16 June 2013.
  8. Miller, Joseph A.; Soltes, Aaron S.; Scott, Ronald E. (February 1955). "Wide-band Analog Function Multiplier" (PDF). Electronics . Retrieved 15 June 2013.
  9. "Intersil ICL8048 Log Amplifier" (PDF). Intersil . Retrieved 16 June 2013.
  10. Simionescu, P.A. (2016). "A restatement of the optimum synthesis of function generators with planar four-bar and slider-crank mechanisms examples". International Journal of Mechanisms and Robotic Systems. Inderscience Publishers (IEL). 3 (1): 60–79. doi: 10.1504/IJMRS.2016.077038 .