All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > The Projects Forum

Notices

The Projects Forum Working on an electronics project and would like some suggestions, help or critiques? If you would like to comment or assist others with their projects, this is the place to do it.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 11-18-2011, 06:21 PM
andy24691 andy24691 is offline
Junior Member
 
Join Date: Nov 2010
Location: Brighton, UK
Posts: 42
Post How to make a triangle waveform

I have to generate a triangle wave at 200 kHz, would the circuit posted above be appropriate? I have an LM324N quad op-amp chip with a bandwidth of 1MHz, will this be sufficient? Also I don't understand what the voltage divider on the right of the diagram with the diodes is supposed to be? I'm guessing the other voltage divider is for generating the voltages necessary for the op-amps. Also I thought the triangle wave appears at the output of the integrator and not the input.

cheers
Reply With Quote
  #2  
Old 11-18-2011, 06:51 PM
Audioguru Audioguru is offline
Banned
 
Join Date: Dec 2007
Location: Ontario, Canada
Posts: 9,411
Default

The output of a lousy old LM324 opamp has trouble above only 2kHz due to slew-rate limiting. Most half-decent opamps work well up to 100KHz but you need one that has a good output up to 2MHz.

The voltage divider with the LEDs is connected to the output of the square-wave opamp and one LED lights when its output is high and the other LED lights when its output is low.
Reply With Quote
  #3  
Old 11-18-2011, 07:56 PM
sheldons's Avatar
sheldons sheldons is offline
Senior Member
 
Join Date: Oct 2011
Location: Newcastle Upon Tyne, UK
Posts: 552
Default square to triangle converter

Heres a schematic you can feed with a square wave and get a triangle wave out......
Attached Files
File Type: pdf square to trig convertor.pdf (167.9 KB, 38 views)
Reply With Quote
  #4  
Old 11-19-2011, 10:27 AM
Bill_Marsden's Avatar
Bill_Marsden Bill_Marsden is offline
Super Moderator
 
Join Date: Mar 2008
Location: Dallas, TX (GMT-5 w/ DST)
Posts: 19,044
Blog Entries: 5
Default

Welcome to AAC!

A thread belongs to the OP (original poster). Trying to take over someone elses thread is called hijacking, which is not allowed at All About Circuits. I have therefore given you a thread of your very own.

This was split from

http://forum.allaboutcircuits.com/sh...ad.php?t=60094

The answer is the same as given to the other OP, you will need a much faster op amp to do what you want.
__________________
..
"Good enough is enemy of the best." An old engineering saying, Author unknown.

General info:
If you have a question, please start a thread/topic. I do not provide gratis assistance via PM nor E-mail, as that would violate the intent of this Board, which is sharing knowledge ... and deprives you of other knowledgeable input. Thanks for the verbage Wookie.
Reply With Quote
  #5  
Old 11-21-2011, 09:14 AM
andy24691 andy24691 is offline
Junior Member
 
Join Date: Nov 2010
Location: Brighton, UK
Posts: 42
Default

Sorry I didn't realise.

Referring to the schematic posted by sheldons, if you input a square wave of 200kHz into the circuit am I right in saying the output should be a triangle wave of 200kHz?

I also don't know the difference between line and field rate?
Reply With Quote
  #6  
Old 11-21-2011, 09:59 AM
sheldons's Avatar
sheldons sheldons is offline
Senior Member
 
Join Date: Oct 2011
Location: Newcastle Upon Tyne, UK
Posts: 552
Default

line frequency is 15.625kHz 0.02%(Colour: 0.0001%) ,field drive is 50Hz...the values given component wise (capacitors)may need altering depending on the frequency at which you drive this circuit

http://www.pembers.freeserve.co.uk/W....html#Vertical

Last edited by sheldons; 11-21-2011 at 10:08 AM.
Reply With Quote
  #7  
Old 11-21-2011, 10:00 AM
Bill_Marsden's Avatar
Bill_Marsden Bill_Marsden is offline
Super Moderator
 
Join Date: Mar 2008
Location: Dallas, TX (GMT-5 w/ DST)
Posts: 19,044
Blog Entries: 5
Default

It is a simple RC osciallator. The twist comes in the form of the integrator coming out with a linear wave form, the triangle wave. It is a close cousin of the 555 Hysteretic Oscillator, which uses a RC intigrator instead of an op amp version.

If you need a linear ramp, and not a triangle you could use this design, which is much simplier.



This from my cookbook, a work in progress stalled.

My Cookbook

Think about using an op amp integrator, the op amps have to be very fast. A LM324 would have trouble following your signal at unity gain, let alone creating it. Think in terms of a much faster op amp, something like a TL084 or better.

High Speed Op Amp Query

The reason a thread belongs to the person starting it (in this case you) is to prevent someone from confusing the issue and leaving you with no answer. Since this thread is yours you can take it whatever direction you want, generally understanding a circuit isn't linear for people, and there is no telling which explination will click best for you.

I'm not sure which schematic you were referring to, but I suspect it is an old project of mine that resembled a function generator (loosely). It made a square wave, triangle wave, and a rough approximation of a sine wave.

I tend to draw a lot of schematics, some of them are even useful.
__________________
..
"Good enough is enemy of the best." An old engineering saying, Author unknown.

General info:
If you have a question, please start a thread/topic. I do not provide gratis assistance via PM nor E-mail, as that would violate the intent of this Board, which is sharing knowledge ... and deprives you of other knowledgeable input. Thanks for the verbage Wookie.

Last edited by Bill_Marsden; 11-21-2011 at 10:08 AM.
Reply With Quote
  #8  
Old 11-21-2011, 10:25 AM
andy24691 andy24691 is offline
Junior Member
 
Join Date: Nov 2010
Location: Brighton, UK
Posts: 42
Default

I was considering the circuit you posted on the thread that I "hijacked"

http://forum.allaboutcircuits.com/sh...ad.php?t=60094

I was confused because I thought the triangle wave should be at node B following the integrator instead of node C. How will I know which value components I'll need, I also decided 300kHz would probably be better for my purposes
Reply With Quote
  #9  
Old 11-21-2011, 10:57 AM
Bill_Marsden's Avatar
Bill_Marsden Bill_Marsden is offline
Super Moderator
 
Join Date: Mar 2008
Location: Dallas, TX (GMT-5 w/ DST)
Posts: 19,044
Blog Entries: 5
Default

That gets harder, though I'm sure there are parts that can do it.

Part of the problem is phase, the integrator has to be inverting, which means the 555 section needs not to be. The 555 sets the amplitude of the wave form because of it's 1/3 and 2/3Vcc setpoints as a Schmitt Trigger.

BTW, you do want a symetrical triangle wave form?
__________________
..
"Good enough is enemy of the best." An old engineering saying, Author unknown.

General info:
If you have a question, please start a thread/topic. I do not provide gratis assistance via PM nor E-mail, as that would violate the intent of this Board, which is sharing knowledge ... and deprives you of other knowledgeable input. Thanks for the verbage Wookie.

Last edited by Bill_Marsden; 11-21-2011 at 11:02 AM.
Reply With Quote
  #10  
Old 11-21-2011, 11:24 AM
andy24691 andy24691 is offline
Junior Member
 
Join Date: Nov 2010
Location: Brighton, UK
Posts: 42
Default

Yes, its for PWM of an audio signal as part of a class D amplifier
Reply With Quote
Reply   Post New Thread

Tags
, ,


Related Site Pages
Section Title
Worksheet Design Project: Simple component curve-tracer circuit
Worksheet Oscilloscope trigger controls
Worksheet Passive integrator and differentiator circuits
Worksheet Mixed-frequency signals
Textbook AC voltmeters and ammeters : Ac Metering Circuits
Textbook The "operational" amplifier : Operational Amplifiers
Video Lecture Op Amp Applications - Voltage Comparator - Op Amps and Op Amp Circuits
Textbook More on spectrum analysis : Mixed-frequency Ac Signals
Textbook Biasing techniques : Bipolar Junction Transistors
Textbook Measurements of AC magnitude : Basic Ac Theory


Similar Threads
Thread Thread Starter Forum Replies Last Post
request for Texas Instrument make Mosfet equivalent to International Rectifier make psjayaraman General Electronics Chat 1 09-03-2010 11:15 AM
hc6811, trying to make lights flash fortune2k The Projects Forum 11 03-18-2009 09:39 PM
Distortion in triangular waveform Marie The Projects Forum 3 01-17-2008 12:45 PM
How to make a triangle wave "on paper"? paultwang General Electronics Chat 4 04-21-2006 11:29 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:08 AM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.