FACTOID # 85: The average woman in New Zealand doesn't give birth until she is nearly 30 years old.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Square wave

A square wave is a kind of basic waveform. Ideally a square wave has instantaneous alternation between a maximum and a minimum (which can be zero or negative) amplitude level.

Image:squarewave-td and fd.png
A bandlimited square wave pictured in the time domain (top) and frequency domain (bottom). The fundamental is at 220 Hz (A2).

Origins and uses

Square waves are universally encountered in digital switching circuits.


In musical terms, it is often described as sounding hollow, and is therefore used as the basis for wind instrument sounds created using subtractive synthesis.


Examining the square wave

In contrast to the sawtooth wave, which contains all integer harmonics, the square wave contains only odd integer harmonics.


Using Fourier series we can write an ideal square wave as an infinite series of the form

A curiosity of the convergence of the Fourier series representation of the square wave is the Gibbs phenomenon. Ringing artifacts in non-ideal square waves can be shown to be related to this phenomenon. The Gibbs phenomenon can be prevented by the use of σ-approximation, which uses the Lanczos sigma factors to help the sequence converge more smoothly.


An ideal square wave requires that the signal changes from the maximum to the minimum state cleanly and instantaneously. This is impossible to achieve in real-world systems, as it would require infinite bandwidth.


Real-world square-waves have only finite bandwidth, and often exhibit ringing effects similar to those of the Gibbs phenomenon, or ripple effects similar to those of the σ-approximation.


For a reasonable approximation to the square-wave shape, at least the fundamental and third harmonic need to be present, with the fifth harmonic being desirable. These bandwidth requirements are important in digital electronics, where finite-bandwidth analog approximations to square-wave-like waveforms are used. (The ringing transients are an important electronic consideration here, as they may go beyond the electrical rating limits of a circuit).


The ratio of the high periods to total periods of a square wave are called the duty cycle. A true square wave has a 50% duty cycle - equal high and low periods. The average level of a square wave is also given by the duty cycle, so by varying the on to off periods, it is possible to represent any value between the two limiting levels. This is the basis of pulse width modulation.


See also


  Results from FactBites:
 
Square wave - Encyclopedia, History, Geography and Biography (860 words)
Square waves are universally encountered in digital switching circuits and are naturally generated by binary (two-level) logic devices.
The ratio of the high period to the total period of a square wave is called the duty cycle.
The average level of a square wave is also given by the duty cycle, so by varying the on and off periods and then averaging, it is possible to represent any value between the two limiting levels.
Square Wave Signals - Mixed Frequency AC Signals (2035 words)
However, if a square wave is actually an infinite series of sine wave harmonics added together, it stands to reason that we should be able to prove this by adding together several sine wave harmonics to produce a close approximation of a square wave.
When a square wave AC voltage is applied to a circuit with reactive components (capacitors and inductors), those components react as if they were being exposed to several sine wave voltages of different frequencies, which in fact they are.
Square waves are equivalent to a sine wave at the same (fundamental) frequency added to an infinite series of odd-multiple sine-wave harmonics at decreasing amplitudes.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.