고조파 란 정확히 무엇이고 어떻게 "어떻게"나타 납니까?


29

온라인에서 너무 많은 소스를 읽음으로써 왜 다른 파형에 고조파가 있는지 파악할 수 없습니다.

예를 들어, 마이크로 컨트롤러에서 안테나로 구형파를 넣는 바보 진폭 변조 (AM) 회로를 설계 할 때 고조파는 어떻게 생성됩니까? 신호는 단지 "켜짐"또는 "꺼짐"입니다. 첫 번째, 세 번째 및 다섯 번째 고조파는 어떻게 존재하며 왜 더 약해 집니까?

오실로스코프가 구형파의 5 차 고조파 (또는 이와 유사한 것)까지 측정 할 수 있다는 것이 중요하다고 들었습니다. 그러나 왜 그 결과가 다른가? 이러한 고조파는 데이터 전송 (높음 = 1, 낮음 = 0)과 관련이 없으며 오디오 나 RF와 같은 상황에서만 중요합니까?

정현파에는 왜 많은 고조파가 없습니까? 파형이 항상 움직이고 편평하게 올라가거나 (삼각형) 수평이 아니라 항상 변화하는 값을 가진 원형이기 때문에?


2
I get the impression that you're using "harmonics" colloquially - higher frequency disturbance. Harmonics (frequencies) are tied into the definition of the Fourier series decomposition - so you will have harmonics if you decompose a square wave into sine waves. You could in theory use some other orthonormal basis - see @supercat's comment below.
Sridhar

답변:


30

정현파는 다른 파형을 구성 할 수있는 정현파이기 때문에 고조파가 없습니다. 기본 파는 사인이므로 사인파 신호로 만들기 위해 아무것도 추가 할 필요가 없습니다.

오실로스코프 정보. 많은 신호에는 이론적으로 무한대로 구형파와 같은 다수의 고조파가 있습니다.

enter image description here

이것은 구형파의 부분 구조입니다. 1주기를 나타내는 블루 사인이 기본입니다. 그런 다음 세 번째 고조파 (사각 파에는 고조파가 없음), 보라색이 있습니다. 진폭은 기본의 1/3이며 기본주기의 3 배임을 알 수 있습니다. 3 주기로 표시되기 때문입니다. 5 차 고조파 (갈색)도 동일합니다. 진폭은 기본의 1/5이며 5주기를 나타냅니다. 이것들을 추가하면 녹색 곡선이 나타납니다. 이것은 아직 좋은 구형파는 아니지만 이미 가파른 가장자리를 보았으며 더 많은 고조파를 추가하면 물결 모양의 수평선이 완전히 수평이됩니다. 최대 5 차 고조파 만 표시되는 경우 스코프에서 구형파를 보는 방법입니다. 더 나은 재구성을 위해서는 더 많은 고조파가 필요합니다.

Like every non-sinusoidal signal the AM modulated signal will create harmonics. Fourier proved that every repeating signal can be deconstructed into a fundamental (same frequency as the wave form), and harmonics which have frequencies that are multiples of the fundamental. It even applies to non-repeating waveforms. So even if you don't readily see what they would look like, the analysis is always possible.

enter image description here

This is a basic AM signal, and the modulated signal is the product of the carrier and the baseband signal. Now

sin(fC)sin(fM)=cos(fCfM)cos(fC+fM)2

So you can see that even a product of sines can be expressed as the sum of sines, that's both cosines (the harmonics can have their phase shifted, in this case by 90°). The frequencies (fCfM) and (fC+fM) are the sidebands left and right of the carrier frequency fC.

enter image description here

Even if your baseband signal is a more complex looking signal you can break the modulated signal apart in separate sines.


9
@JohnQuinn, In real life a square wave is made up of spectral content as shown. Making a signal instantly change from 0V to 5V takes an infinite amount of power, in reality there is some rise time to the square wave and this determines the amount of spectral content required. High speed digital signals can be the devil for unwanted radiated transmission if allowed because the fast rise time means you are driving some very high frequencies.
Kortuk

2
@JohnQuinn, Any signal that exists can be made up of sin waves, this is how we look at what the spectral content is of a signal(ie. The amount of which frequencies exist) and most circuits can be looked at as affecting frequencies differently. When I was acting as a teaching assistant I found most often teaching an understanding of frequency domain to be top 5 on things that allow an electrical engineer to be a great one.
Kortuk

4
@John - Nobody composes the signal from harmonics, but the math says they're there. The frequency spectrum will be infinitely wide. If you pass such a signal through a low-pass filter it's shape will change because harmonics are cut off. The scope's limited bandwidth works as a low-pass filter.
stevenvh

2
@John - Yes, it may look implausible, but if you switch on and off once per second that signal will have a 1Hz sine in it. And a 3Hz sine, etc. You can isolate each one of them by passing the square wave through a narrow band-pass filter. If you would filter 0.8Hz to 1.2Hz you would clearly see the 1Hz sine! It's all Fourier's fault, really! ;-)
stevenvh

6
"because it's exactly sine waves which combined can construct other waveforms". Actually, you could use any other complete set of orthonormal waves as well (e.g. wavelets). The reason trigonometric functions / complex exponentials are most popular is that they're eigenvectors of the differential operator, which is why Fourier transform immediately solves linear differential equations. But if those weren't so important, some other transform would probably prevail.
leftaroundabout

23

Pentium100's answer is quite complete, but I'd like to give a much simpler (though less accurate) explanation.

The reason because sinewaves have (ideally) only one harmonic is because the sine is the "smoothest" periodic signal that you can have, and it's therefore the "best" in term of continuity, derivability and so. For this reason is convenient to express waveforms in terms of sinewaves (you can do it with other waves as well, as well as they are C).

Just an example: why in the water you usually see curved waves? (for this sake, ignore the effect of the beach or wind) Again, it's because it's the shape that requires less energy to form, since all the ramps and edges are smooth.

In some cases, like the Hammond organ, sinewaves are actually used to compose the signal, because with decomposition is possible to synthesize a lot of (virtually all) sounds.

There is a beautiful animation by LucasVB explaining the Fourier decomposition of a square wave:

These images explain better the square wave decomposition in harmonics:

enter image description here

enter image description here


18

You can decompose any waveform into an infinite series of sine waves added together. This is called Fourier analysis (if the original waveform is repeating) or Fourier transform (for any waveform).

In case of a repeating waveform (like a square wave), when you do Fourier analysis you find that all the sines that compose the waveform have frequencies that are an integer multiple of the frequency of the original waveform. These are called "harmonics".

A sine wave will only have one harmonic - the fundamental (well, it already is sine, so it is made up of one sine). Square wave will have an infinite series of odd harmonics (that is, to make a square wave out of sines you need to add sines of every odd multiple of the fundamental frequency).

The harmonics are generated by distorting the sine wave (though you can generate them separately).

Why is this important:

  1. You can make a sine wave out of any wave of a fixed frequency, as long as you have a filter that passes the fundamental frequency, but blocks 2x frequency (as you would be leaving only one harmonic in place).
  2. Actually, you can make a sine wave that has different frequency than the orginal - just use a bandpass filter to pass the harmonic you want. You can use this to get a sine wave of a frequency that is a multiple of the frequency of another sine - just distort the original sine and pick out the harmonic you want.
  3. RF systems have to put out waveforms that do not contain harmonics outside the allowed frequency range. This is how a PWM power supply (operating frequency ~100kHz, square wave) can interfere with FM radio (operating frequencies 88-108MHz, 11-12MHz (IF)).
  4. If you want to have a square wave with very fast rise/fall times, the bandwidth of your system will have to be much wider than the fundamental frequency of your square wave.

I read it as "fudge has harmonics, because if you cram chocolate together with extreme force, the friction melts it in to fudge", why does it matter that sines can create squares, if all I am using is a square? Is it because rise time is not instantaneous that it matters that it is not "perfect" and is equivalent to xyz number of sine waves? I still do not get why outputting a 100kHz square wave in to space can generate other frequencies, 100kHz = 100k cycles per second, how on earth do electric fields start oscillating at harmonics? Grr! May need to read these over a few more times..
John Quinn

1
@JohnQuinn the explanation is quite accurate, but obviously it's not so simple...try to look wiki for Fourier transform/analysis
clabacchio

@JohnQuinn, because a square wave is many frequencies. A sine wave is the fundamental; to make other waveforms you need to add other sine waves. Pentium's answer explains how a square wave is made of odd harmonics of the fundamental. That is just what it is.
Rory Alsop

1
@JohnQuinn, you are not clueless, the frequency domain is not something anyone is expected to instantly understand. Square waves are simple to understand because you can generate one from turning on and off a switch. I dislike telling someone you need a sum of sine waves to generate a signal, the signal is being generated by some means, in this case easily with a switch, but it can be decomposed into a set of sine waves and for many problems looking at it as a set of frequencies makes things much much easier.
Kortuk

1
It may be worth noting that any wave may also be decomposed into a series of many other kinds of waves as well; sine waves are hardly unique in that regard. What makes sine waves unique is that if two sine waves are combined and fed into a linear circuit, the output resulting from the combination will match the sum of the outputs that would be produced from the individual waves, minus the output (typically a DC level) that would be produced with no input. Other kinds of wave shapes would generally add additional interactions.
supercat

7

The derivative - rate of change - of a sinusoid is another sinusoid at the same frequency, but phase-shifted. Real components - wires, antennas, capacitors - can follow the changes (of voltage, current, field-strength, etc.) of the derivatives as well as they can follow the original signal. The rates of change of the signal, of the rate-of-change of the signal, of the rate-of-change of the rate-of-change of the signal, etc., all exist and are finite.

The harmonics of a square wave exist because the rate of change (first derivative) of a square wave consists of very high, sudden peaks; infinitely high spikes, in the limit-case of a so-called perfect square wave. Real physical systems can't follow such high rates, so the signals get distorted. Capacitance and inductance simply limit their ability to respond rapidly, so they ring.

Just as a bell can neither be displace nor distorted at the speed with which it is struck, and so stores and releases energy (by vibrating) at slower rates, so a circuit doesn't respond at the rate with which it is struck by the spikes which are the edges of the square wave. It too rings or oscillates as the energy is dissipated.

One conceptual block may come from the concept of the harmonics being higher in frequency than the fundamental. What we call the frequency of the square wave is the number of transitions it makes per unit time. But go back to those derivatives - the rates of change the signal makes are huge compared to the rates of change in a sinusoid at that same frequency. Here is where we encounter the higher component frequencies: those high rates of change have the attributes of higher frequency sine waves. The high frequencies are implied by the high rates of change in the square (or other non-sinusoid) signal.

The fast rising edge is not typical of a sinusoid at frequency f, but of a much higher frequency sinusoid. The physical system follows it the best it can but being rate limited, responds much more to the lower frequency components than to the higher ones. So we slow humans see the larger amplitude, lower frequency responses and call that f!


"The fast rising edge is not typical of a sinusoid at frequency f, but of a much higher frequency sinusoid." That's not true. In the image in my answer you can see that all the sines have the same slope. It's the infinite sum of all these slopes which makes it infinitely steep.
stevenvh

But that's my point - the slope isn't typical of a sinusoid - Ok, I overqualified it above - at any 'f'. It is much higher, the essential point being that the physical system can't track the ROC accurately.
JRobert

I had the same question OP asked. I found your answer to be the best, no offense to others but the fact that we can represent square waves as an infinite sum of sinusoids is often the first thing that we learn when dealing with Fourier analysis, it is easy to understand that the more sinusoids you add the closer it gets to a perfect square wave. What isn't intuitive is exactly what OP asked. Are there harmonics in nature or is it just a mathematical tool to help us analyze a phenomenon? Unless you start thinking about rates of change, I don't think you can answer this question properly.
João Pedro

5

In practical terms, the reason harmonics "appear" is that linear filtering circuits (as well as many non-linear filtering circuits) which are designed to detect certain frequencies will perceive certain lower-frequency waveforms as being the frequencies they're interested in. To understand why, imagine a large spring with a very heavy weight which is attached to a handle via fairly loose spring. Pulling on the handle will not directly move the heavy weight very much, but the large spring and weight will have a certain resonant frequency, and if one moves the handle back and forth at that frequency, one can add energy to the large weight and spring, increasing the amplitude of oscillation until it's much larger than could be produced "directly" by pulling on the loose spring.

The most efficient way to transfer energy into the large spring is to pull in a smooth pattern corresponding to a sine wave--the same movement pattern as the large spring. Other movement patterns will work, however. If one moves the handle in other patterns, some of the energy that gets put into the spring-weight assembly during parts of the cycle will be taken out during others. As a simple example, suppose one simply jams the handle to the extreme ends of travel at a rate corresponding to the resonant frequency (equivalent to a square wave). Moving the handle from one end to the other just as the weight reaches end of travel will require a lot more work than would waiting for the weight to move back some first, but if one doesn't move the handle at that moment, the spring on the handle will be fighting the weight's attempt to return to center. Nonetheless, clearly moving the handle from one extreme position to the other would nonetheless work.

Suppose the weight takes one second to swing from left to right and another second to swing back. Now consider what happens if one moves the handle from one extreme of motion to the other has before, but lingers for three seconds on each side instead of one second. Each time one moves the handle from one extreme to the other, the weight and spring will have essentially the same position and velocity as they had two seconds earlier. Consequently, they will have about as much energy added to them as they would have two seconds before. On the other hand, the such additions of energy will only be happening a third as often as they would have when the "linger time" was only one second. Thus, moving the handle back and forth at 1/6Hz will add a third as much energy per minute (power) to the weight as would moving it back and forth at 1/2Hz. A similar thing happens if one moves the handle back and forth at 1/10Hz, but since the motions will be 1/5 as often as at 1/2Hz, the power will be 1/5.

Now suppose that instead of having the linger time be an odd-numbered multiple, one makes it an even-numbered multiple (e.g. two seconds). In that scenario, the position of the weight and spring for each left-to-right move will be the same as its position on the next right-to-left move. Consequently, if the handle adds any energy to the spring in the former, such energy will be essentially cancelled out by the latter. Consequently, the spring won't move.

If, instead of doing extreme motions with the handle, one moves it more smoothly, then at lower frequencies of handle motion there are apt to be more times when one is fighting the motion of the weight/spring combo. If one moves the handle in a sine-wave pattern, but at a frequency substantially different from the resonant frequency of the system, the energy that one transfers into the system when pushing the "right" way will be pretty well balanced by the energy taken out of the system pushing the "wrong" way. Other motion patterns which aren't as extreme as the square wave will, at at least some frequencies, transfer more energy into the system than is taken out.


1

an even simpler analogy is to imagine a trampoline.

electrifying a conductor is analogous to stretching the trampoline membrane, doing so 'stretches' (distorts) energy fields linked to that wire.

go stand in the middle of the trampoline, reach down and grab the membrane of the trampoline floor. now stand up and pull/stretch it up as you go, so there is a peak about the height of your waist.

this has of course the effect of storing some energy in the membrane.

now if you just let it go, it will not simply float gently down and stop moving. it will snap down quickly and then VIBRATE... oscillating back and forth a bunch more times 'on its own' ... as it runs down its stored energy.

if instead you gradually lower it back into place... it cant violently snap anywhere and so nothing causes/allows it to vibrate 'on its own'. the only vibrating its doing is from you moving it.

all frequencies (of any waveform) have mathematical harmonics, waveforms with sudden potential changes provide an easier opportunity for these harmonics to be expressed as real world oscillations.


1
You've provided an analogy about how things vibrate. Vibration doesn't necessarily lead to harmonics. A vibration can be a single tone.
Nick Alexeev

1

Just a complement to this question,

Are these harmonics irrelevant in things such as data transfer (high=1, low=0) and only matter in situations such as audio or RF?

that I think nobody said: It is not irrelevant. Usually we are interested in transmitting pulses in digital circuits so in most cases we don't take this wave phenomenology into consideration. This is because even though the square wave has its harmonics (not infinity number of harmonics in real world) so it will take some time to rise/fall, your circuitry design is usually "aware" of that. This is one of the greatest advantages of digital electronics/digital communication: from a given point (voltage) up, the signal is interpreted as 1 and from a given point down, it's 0. In most cases it does not really matter the precise format of the square wave since it meets certain time specifications.

But note that whether your square signal frequency rises up to a point where the wavelength is approximately in the order of magnitude of its transmission line (may be a conductive track of a PCB), then you may take this wave phenomenology into consideration. You still have a circuit in your hand but some wave phenomena may occur. So depending on your "line" impedance, some frequencies may have different propagation speed of other frequencies. Since the square wave is composed from many harmonics (or ideally infinity) you probably will have a distorted square wave in the end of your transmission line or conductive track (because each harmonic will travel with different speed).

A good example where this may happen is when we use USB data transmission in a circuit. Note that the data rate is very high (high frequency square waves) so you must take the impedance of your transmission line into consideration. Otherwise you probably will have problems in the communication.

In short, it all does matter and it all works together but is up to you to analyze whether these things are important in your project/analysis or not.

당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.