Triangle Wave Generator With Adjustable Symmetry
This is a simple circuit using only one IC, a TL084 quad opamp. The integrator integrates the output. When the output is positive the integrator integrates in a negative direction. When its output goes below a selected negative value the output switches to negative. That makes the integrator integrate in a positive direction until its output goes above a selected positive value. That makes the output switch to positive again and the integrator integrates negative again. It does this continuously. Hence the integrator produces a triangle wave. The symmetry is fine-tuned by trimpot R4 which adjusts the midpoint bias of the circuit.
I operate the circuit from +12V. Since this may come from a noisy +12V switching power supply I provide some filtering with R2 and C2.
When I first set it up to measure THD+Noise with ARTA software (http://www.artalabs.hr/ I was getting only 8%. Wrong. Then I saw that I was clipping the triangle wave.
Clipping a triangle wave makes it more sine-like. This is the principal used by the XR2212 and ICL8038 (Intersil) and MAX8038 (Maxim) function generator ICs, only they clip their triangle waves in segments. They were all discontinued years ago. Although you can still buy them from companies in China (through eBay) I suspect that they are counterfeits. (But the ones I bought worked fine.)
As measured by ARTA Audio Measurement and Analysis Software the THD+Noise is 11.93% which is about right for a symmetrical triangle wave. The theoretical value is 12.1%.
The square wave output produces a THD+Noise of 42.98% which is about right for a symmetrical square wave. The theoretical value is 48.3%. Mine is lower probably because the edges are not as sharp as they could be.
Before finding ARTA I had been using a different spectrum analyzer program and I did not believe the results for THD+Noise. I decided to make my own triangle wave with the ability to tweak the symmetry. And I wanted something I could hold in my hands and which would produce an actual signal, not a simulation.
If you are not already a Maker (and you want to be one) see my tutorial on Making Things at www.jmargolin.com/making/jm_making.htm
JM
Triangle Wave Generator With Adjustable Symmetry
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(1)
- Likes(5)
- Engineer Aug 30,2024
- Ilya Jun 29,2019
- IObrizio Fabrizio May 29,2019
- rachman bobo May 25,2019
- KHALIL ABD ELKEBIR May 25,2019
- 11 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
3design
-
3usability
-
3creativity
-
3content
-
8design
-
7usability
-
7creativity
-
10content
-
7design
-
6usability
-
6creativity
-
6content
-
7design
-
5usability
-
5creativity
-
2content
-
8design
-
1usability
-
1creativity
-
1content
-
5design
-
5usability
-
5creativity
-
1content
-
7design
-
7usability
-
7creativity
-
7content
-
5design
-
7usability
-
7creativity
-
7content
-
8design
-
8usability
-
8creativity
-
8content
-
9design
-
8usability
-
7creativity
-
8content
-
9design
-
8usability
-
8creativity
-
7content
More by Jed Margolin
- MyTX4 To Replace The La Crosse TX4U My TX4 Wireless Sensor Transmitter replaces the La Crosse TX4U wireless sensor which is no longer ma...
- Audio Tone Burst Generator The Audio Tone Burst Generator produces a periodic burst of tone at a User-selected audio frequency ...
- jm_rpi-pico-v6 The Raspberry Pi Pico module is amazing. It is much faster than the Texas Instruments MSP430G2xxx fa...
- Woof Meter The Woof Meter is for testing subwoofer speakers to measure their Thiele-Small (TS) parameters. Thes...
- Precision Low Frequency Signal Generator The Precision Low Frequency Signal Generator produces a User-selected signal from 10Hz to 90Hz with ...
- GPS Clock and Armageddon Alarm A GPS Module using the U-blox NEO6MV2 is used to receive the GPS timing signals to show the exact ti...
- PB1 - Prototyping Board with Ground Plane and Power Supplies This board is for prototyping circuits using wire wrap. It has a good ground plane and power supplie...
- Flame Switch This board simulates the electrical characteristic of a flame for troubleshooting residential gas fu...
- PB2 - Prototyping Board for MSP430G2xxx This board is for prototyping circuits with the Texas Instruments MSP430G2xxx microcontroller. It ca...
- GP1 - Board for demonstrating how to use an MSP430G2xxx This board is for demonstrating how to use the Texas Instruments MSP430G2xxx microcontroller. The bo...
- VGA Adapter for Atari Hard Drivin’/Race Drivin’ Cockpit This VGA Adapter for Atari Hard Drivin’/Race Drivin’ Cockpit also provides for delaying horizontal a...
- Phone Selector/Adapter 2-line to 1-line This converts an RJ11 line with two phone pairs on it to two single line RJ11 jacks. It provides two...
- Triangle Wave Generator With Adjustable Symmetry This is a simple circuit using only one IC, a TL084 quad opamp. The integrator integrates the output...
- Voltage Controlled Audio Oscillator with LM13700s This is a voltage controlled audio oscillator using two LM13700s. At 1 KHz ARTA software (http://www...
- Oscillator - Xtal or RC This is an oscillator that can be stuffed to be either a crystal oscillator (with a 74HC04) or an RC...
- Sine Wave Generator Using a Johnson Counter This is a 1KHz audio oscillator using a Johnson Counter. ARTA software (http://www.artalabs.hr/) rep...
- VGA Adapter For Tektronix TDS 360 Oscilloscope The Tektronix TDS 360 is a two-channel digital oscilloscope from the middle 1990s. The sampling rate...
- Atari BattleZone Engine Sound Generator Atari’s BattleZone game is considered the first real 3D video game. I did the 3D graphics algorithms...
-
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
111 0 0 -
DIY Laser Power Meter with Arduino
162 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
154 0 2 -
-
A DIY Soldering Station Perfect for Learning (Floppy Soldering Station 3.0)
554 0 2