Tasty Waves, Cool Buzz
The waves I’m going to talk about here are a little bit different than the “tasty” waves Jeff Spicoli was looking for in Fast Times at Ridgemont High, but they’re still interesting and crucial to modern technology. First though, I need to distinguish what kind of waves I’m talking about. In previous articles, I talked about the electromagnetic spectrum. That spectrum itself is composed of waves too, and we describe electromagnetic radiation waves using wave terminology, such as frequency, amplitude and wavelength.
The waves I want to talk about here though are different. These waves are more accurately described as “electronic signals”. A very basic and simple example of this kind of wave is AC electricity. The voltage varies according to a perfect sine wave up and down, positive to negative. It has a frequency (in the US, 60Hz). It has an amplitude, which is 170V for 120VAC. So this signal is a wave, a sine wave, but it’s not really inherent. We can (and do) create AC electricity with all sorts of frequencies and amplitudes. These waves can also be highly irregular and change over time rapidly.
AC electricity is typically a sine wave because of the rotational methods by which most AC electricity is generated. Any time you have rotation and you’re stretching it over time you’re likely going to see something that resembles a sine wave somewhere along the line. The fact that our normal electricity comes in the form of AC isn’t wasted. We use the sine wave all the time. Induction motors for example use the rising and falling pulses of the wave to “kick” the motor armature into motion. The proper function of the motor depends on the sine wave input. We also use the frequency of the AC signal as a way for certain electronics to keep time.
Sine waves aren’t the only signals we create and use. In fact, while sine waves might be ubiquitous in industrial operations where AC electricity is being used directly, in the consumer world, the square wave dominates. A square wave looks exactly like you’d expect, a square. Unlike the sine wave which gradually increases over time, the square wave goes from one extreme to another almost instantly. Then it holds at some value before dropping back down again. Computers would not function without square waves. A square wave clock signal is like the ultimate orchestral conductor inside of every CPU. Without that signal, the 1s and 0s would be in chaos. Every time the square wave clock signal pulses, one step of the computational cycle can occur. When I built a computer from scratch in college, keeping the clock signal at a reasonable speed was critical.
Another huge use of square waves is in something called PWM (Pulse Width Modulation). PWM can be used to encode a message into a pulsing signal (like a clock signal) and then be transmitted via conventional means. This has applications in telecommunications, though it’s used less today with the advent of digital communications. PWM is also used in photovoltaic charging algorithms. When a battery is depleted, the pulses will be long in duration since the battery needs to be charged. As the battery becomes more charged, the pulses become shorter, thereby delivering less average current to the battery. PWM also has applications in just about any instance where precise motor control is required. Servo motors rely on PWM to function and normal, spinning motors can be adjusted for speed and torque with digital controllers. All CPU fans are controlled by this mechanism. Even my sewing machine relies on PWM. When I press on the foot pedal just a little bit, the motor only spins very slowly. Before PWM, this would’ve been accomplished using a variable resistor. A variable resistor would basically “burn off” excess power in the form of heat. This is wasteful and dangerous. If it got too hot, you could start a fire, or burn your foot. PWM simply sends shorter pulses of power to the motor causing it to spin more slowly. There’s no dangerous “burn off” of excess power. In fact, it’s only using the exact amount of power it needs.
p{text-align: center;}. !http://blog.smalldog.com/images/5148.png!
Square waves aren’t even the end of the story. There are triangle waves, and sawtooth waves and just about any other shape you can imagine (though they might not have any practical use). As an amateur composer of electronic music, the square, triangle and sawtooth waves are the bread and butter of synthesized sounds.
I’m not sure if I’ve changed Jeff Spicoli’s mind on these waves, but hopefully others have found this explanation of waves and signals to be interesting.
