Author Topic: Sine, Square, Triangle waveforms (generator)  (Read 5147 times)

0 Members and 1 Guest are viewing this topic.

Offline JaneTopic starter

  • Frequent Contributor
  • **
  • Posts: 390
Sine, Square, Triangle waveforms (generator)
« on: July 04, 2014, 07:36:18 am »
Can anyone explain where to use sine waveforms,and where triangle waveforms and where square waveforms?
What are advantages/disadvantages or particular waveforms.
Thank you for the explanation
 

Offline ampdoctor

  • Frequent Contributor
  • **
  • Posts: 266
  • Country: us
Re: Sine, Square, Triangle waveforms (generator)
« Reply #1 on: July 04, 2014, 08:16:35 am »
99% of what I do is analog audio so depending on what you work on will change slightly. Personally, I use sine waves to check for loss of signal, distortion, checking for and trying to excite unwanted oscillation, signs of clipping and overdriving gain stages etc. I'll inject square waves primarily to check filters and look for ringing on power supplies, but they can also be useful for testing and analyzing digital switching and logic gates. Triangles, I pretty much never use it. As I said, depending on your interests your mileage may vary.
 

Offline justanothercanuck

  • Frequent Contributor
  • **
  • Posts: 391
  • Country: ca
  • Doing retro repairs...
Re: Sine, Square, Triangle waveforms (generator)
« Reply #2 on: July 04, 2014, 08:20:28 am »
For retro hardware (ie: video games and early computer systems) square and triangle waves are used for sound, occasionally along with sawtooth waves.  Each waveform has a distinct sound.
Maintain your old electronics!  If you don't preserve it, it could be lost forever!
 

Offline rob77

  • Super Contributor
  • ***
  • Posts: 2085
  • Country: sk
Re: Sine, Square, Triangle waveforms (generator)
« Reply #3 on: July 04, 2014, 09:36:36 am »
as ampdoctor said - most of the time you need only sine and square.
you might need triangle or sawtooth for sweeping you signal generator's sine output, but otherwise.... i can't think of anything right now where i would need those  ;)
my signal generator i built recently has only sine and square (based on el-cheapo AD9850 DDS boards from e-bay) and that's just enough for me ;) i'm doing the sweep in software - so i don't even need the triangle/sawtooth for that.

and of course if you run into a situation when you need a triangle - you can build a simple integrator and make it out of the square ;)
 

Offline KJDS

  • Super Contributor
  • ***
  • Posts: 2442
  • Country: gb
    • my website holding page
Re: Sine, Square, Triangle waveforms (generator)
« Reply #4 on: July 04, 2014, 10:04:19 am »
Triangle waves are great for finding out what level an amplifier is clipping. Sure, you can see it on a scope with a sine wave but it's so much clearer if the top of a triangle has been lopped.

Offline tautech

  • Super Contributor
  • ***
  • Posts: 29038
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Sine, Square, Triangle waveforms (generator)
« Reply #5 on: July 04, 2014, 10:35:00 am »
All can be used to check the functionality of logic circuits.
eg. you might want to check the timing accuracy of a triggered mono-stable or a timed one-shot and you could use a low frequency square wave for the input, set your scope trigger for that and measure the output on or off time.
They can also be used circuit for fault finding by way of injection into the signal path and then monitor subsequent stages with a scope.
Most Function generators can do all these things.
An AWG can do much much more.
Avid Rabid Hobbyist.
Some stuff seen @ HQ cannot be shared.
 

Offline bwat

  • Frequent Contributor
  • **
  • Posts: 278
  • Country: se
    • My website
Re: Sine, Square, Triangle waveforms (generator)
« Reply #6 on: July 04, 2014, 10:38:22 am »
What about using square waves for transient response when investigating slew rate, inductors, and capacitors?
"Who said that you should improve programming skills only at the workplace? Is the workplace even suitable for cultural improvement of any kind?" - Christophe Thibaut

"People who are really serious about software should make their own hardware." - Alan Kay
 

Offline PE1RKI

  • Regular Contributor
  • *
  • Posts: 94
  • Country: nl
Re: Sine, Square, Triangle waveforms (generator)
« Reply #7 on: July 04, 2014, 10:48:02 am »
with triangle you can make pwm with a comperator. or a little class d amplifier.
 

Offline German_EE

  • Super Contributor
  • ***
  • Posts: 2399
  • Country: de
Re: Sine, Square, Triangle waveforms (generator)
« Reply #8 on: July 04, 2014, 01:28:22 pm »
Sine waves are used to check an amplifier for linearity. Feed your sine wave into an amplifier and then check the output on an audio spectrum analyzer to see if there are any unwanted products.

Square waves are used at 5v and 3.3v levels for logic. At other levels they can be used to check an amplifier for frequency response and/or ringing as a square wave has (in theory) an infinite series of harmonics.

Sawtooth waves are used when you want to sweep a circuit. In the bad old days the horizontal line on a scope was driven by a sawtooth generator and getting the sweep linear was sometimes difficult, now it's all digital. You can still use a sawtooth waveform though if you want to sweep an oscillator over a range.

Triangle waves, they're the tough one and until six months ago I'd never found a use for the triangle wave output on my function generator. When you're adjusting an FM transmitter for correct deviation feed a triangle wave signal into the microphone, the signal on the spectrum analyzer will have a nice flat top making the adjustment easy.

White noise can be used to test circuits for bandwidth using your device under test and a spectrum analyzer. This technique works with everything from loudspeakers and microphones to RF power amplifiers.
Should you find yourself in a chronically leaking boat, energy devoted to changing vessels is likely to be more productive than energy devoted to patching leaks.

Warren Buffett
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf