Mains hum, electric hum, or power line hum is a sound associated with alternating current which is twice the frequency of the mains electricity. The fundamental frequency of this sound is usually double of fundamental 50 Hz or 60 Hz, 100 Hz or 120 Hz depending on the local power-line frequency. The sound often has heavy harmonic content above 50-60 Hz. Because of the presence of mains current in mains-powered audio equipment as well as ubiquitous AC electromagnetic fields from nearby appliances and wiring, 50/60 Hz electrical noise can get into audio systems, and is heard as mains hum from their speakers. Mains hum may also be heard coming from powerful electric power grid equipment such as utility transformers, caused by mechanical vibrations induced by magnetostriction in magnetic core. Onboard aircraft (or spacecraft) the frequency heard is often higher pitched, due to the use of 400 Hz AC power in these settings because 400 Hz transformers are much smaller and lighter.
Electric hum around transformers is caused by stray magnetic fields causing the enclosure and accessories to vibrate. Magnetostriction is a second source of vibration, in which the core iron changes shape minutely when exposed to magnetic fields. The intensity of the fields, and thus the "hum" intensity, is a function of the applied voltage. Because the magnetic flux density is strongest twice every electrical cycle, the fundamental "hum" frequency will be twice the electrical frequency. Additional harmonics above 100 Hz or 120 Hz will be caused by the non-linear behavior of most common magnetic materials.
Around high-voltage power lines, hum may be produced by corona discharge.
In the realm of sound reinforcement (as in public address systems and loudspeakers), electric hum is often caused by induction. This hum is generated by oscillating electric currents induced in sensitive (high gain or high impedance) audio circuitry by the alternating electromagnetic fields emanating from nearby mains-powered devices like power transformers. The audible aspect of this sort of electric hum is produced by amplifiers and loudspeakers.
The other major source of hum in audio equipment is shared impedances; when a heavy current is flowing through a conductor (a ground trace) that a small-signal device is also connected to. All practical conductors will have a finite, if small, resistance, and the small resistance present means that devices using different points on the conductor as a ground reference will be at slightly different potentials. This hum is usually at the second harmonic of the power line frequency (100 Hz or 120 Hz), since the heavy ground currents are from AC to DC power supplies that rectify the mains waveform. See also ground loop.
In vacuum tube equipment, one potential source of hum is current leakage between the heaters and cathodes of the tubes. Another source is direct emission of electrons from the heater, or magnetic fields produced by the heater. Tubes for critical applications may have the heater circuit powered by direct current to prevent this source of hum.
Leakage of analogue video signals can give rise to hum sounding very similar to mains hum.
It is often the case that electric hum at a venue is picked up via a ground loop. In this situation, an amplifier and a mixing desk are typically at some distance from one another. The chassis of each item is grounded via the mains earth pin, and is also connected along a different pathway via the conductor of a shielded cable. As these two pathways do not run alongside each other, an electrical circuit in the shape of a loop is formed. The same situation occurs between musical instrument amplifiers on stage and the mixing desk. To fix this, stage equipment often has a "ground lift" switch which breaks the loop. Another solution is to connect the source and destination through a 1:1 isolation transformer, called variously audio humbucker or iso coil. Another extremely dangerous option is to break contact with the ground wire by using an AC ground lift adapter or by breaking the earth pin off the power plug used at the mixing deck. Depending on the design and layout of the audio equipment, lethal voltages between the (now isolated) ground at the mixing desk and earth ground can then develop. Any contact between the AC line live terminals and the equipment chassis will energize all the cable shields and interconnected equipment.
Humbucking is a technique of introducing a small amount of line-frequency signal so as to cancel any hum introduced, or otherwise arrange to electrically cancel the effect of induced line frequency hum.
Humbucking is a process in which "hum" that is causing objectionable artifacts, generally in audio or video systems, is reduced. In a humbucker electric guitar pickup or microphone, two coils are used instead of one; they are arranged in opposing polarity so that AC hum induced in the two coils will cancel, while still giving a signal for the movement of the guitar strings or diaphragm.
In certain vacuum-tube radio receivers, a winding on the dynamic speaker field coil was connected in series with the power supply to help cancel any residual hum.
Some other common applications of this process are:
Assuming a tempered scale with A=440 Hz, a 60 Hz tone is almost exactly halfway between A? (58.24 Hz) and B (61.68 Hz) two octaves below Middle C, and a 50 Hz tone is between G (49.04 Hz) and G? (51.93 Hz) two octaves below Middle C, but slightly flatter than the quarter-tone. These notes are within the range of a 4-string bass guitar.
Or consider this scenario: Suppose the 60 Hz tone is B two octaves below Middle C, A would be tuned to 427.63 Hz (widely used as the classical pitch in period instrument ensembles). And if G? two octaves below Middle C is a 50 Hz tone, then A is set to 423.79 Hz.
In musical instruments, hum is usually treated as a nuisance, and various electrical modifications are made to eliminate it. For instance, humbucker pickups on electric guitars are designed to reduce hum. Sometimes hum is used creatively, for example in dub and glitch music.
In analog video, mains hum can be seen as hum bars, (bands of slightly different brightness) scrolling vertically up the screen. Broadcast television frame rates are chosen to match the line frequency, to minimize the disturbance these bars cause to the picture. A hum bar can be caused by a ground loop in cables carrying analog video signals, poor power supply smoothing, or magnetic interference with the cathode ray tube.
Electrical network frequency (ENF) analysis is a forensic technique for validating audio recordings by comparing frequency changes in background mains hum in the recording with long-term high-precision historical records of mains frequency changes from a database. In effect the mains hum signal is treated as a time-dependent digital watermark that can be used to find when the recording was created, and to help to detect any edits in the sound recording.