Filtering harmonics from a circuit containing square waves?

Click For Summary
Harmonics from a square wave theoretically extend to infinity, but real square waves have finite rise times that limit the highest significant harmonic frequency. The amplitude of these harmonics decreases with frequency, with practical limits on the effective range based on the rise time. Filtering techniques, particularly using LC filters, can effectively reduce higher harmonics, while RC filters are less effective due to their flat response. In applications like power electronics, maintaining low harmonic content is crucial, often achieved through pulse width modulation or stepped signals. Generating a pure sine wave from a square wave is feasible with appropriate filtering methods.
hobbs125
Messages
108
Reaction score
0
Fourier analysis of a square wave shows that it is made up of sine waves which are harmonics of the square wave.

What I am wondering is how far do these harmonics extend to? Are they all of the same amplitude? And, can specific harmonics be filtered using a series or parallel RC filter?
 
Engineering news on Phys.org
hobbs125 said:
Fourier analysis of a square wave shows that it is made up of sine waves which are harmonics of the square wave.

What I am wondering is how far do these harmonics extend to?
For a perfect square wave, which jumps from one level to another in zero picoseconds, the harmonics extend to infinity. :smile:

Are they all of the same amplitude?
What do you think? Can the terms in the Fourier Series give any clue to this?
 
Theoretically the harmonics extend to infinite. But real square wave have finite rise time. Don't quote me on this, but I think the highest component has a frequency with period around 2.2 times the rise time of the square wave. Say if you have a square wave with rise time of 1nS, the highest harmonic frequency has a period of about 2.2nS which is like about 400MHz. The amplitudes of any harmonics higher than 400MHz is going to be much lower. Don 't quote on my exact number, but you should get what I am driving at.

Yes, you can use LC filter to get rid of the higher harmonics. RC is too flat. In fact, it is quite common to get a pure sine wave starting with a good square wave. It is not as easy as people think to generate a pure sine wave from oscillator, so might as well start with a square wave and filter it down. I did very critical design that need very pure sine wave and I started with square from a TTL crystal and then use a D flip flop to do a divide by two to get rid of the even harmonics.
 
It's practical to make fairly good sine waves from a square wave using a third or fifth order filter.
In power electronics, inverters and motor drives often require waves that have fairly low harmonic content to the fifth harmonic. Beyond that, motors don't object as much because their leakage inductance usually prevents the additional harmonics from causing much loss.

For the lower harmonics, the pulse width can be modulated, or the signal can be stepped. This is the idea behind the quasi sine wave inverter, which reduces the third harmonic by setting its output to "floating" between + output and - output swings.
 
I am trying to understand how transferring electric from the powerplant to my house is more effective using high voltage. The suggested explanation that the current is equal to the power supply divided by the voltage, and hence higher voltage leads to lower current and as a result to a lower power loss on the conductives is very confusing me. I know that the current is determined by the voltage and the resistance, and not by a power capability - which defines a limit to the allowable...

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
Replies
38
Views
5K
  • · Replies 28 ·
Replies
28
Views
5K
  • · Replies 39 ·
2
Replies
39
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 26 ·
Replies
26
Views
3K
Replies
15
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 26 ·
Replies
26
Views
3K