DC bias (also called DC offset, DC component, or DC coefficient) refers to the mean value of a periodic waveform in the time domain. In signal processing and electronics, it is the constant (direct current) voltage or current level upon which an alternating current (AC) signal is superimposed. A waveform with a zero mean value is described as DC balanced or DC free.
Origin
The term originates in electronics, where DC stands for direct current. In a signal that varies over time, the DC bias is the steady component; any time-varying part of the signal is the AC component. When a periodic function is decomposed, the DC bias is the average value of the waveform over one complete cycle.
Applications
Electronic Amplifier Biasing
In amplifier design, every active device (transistors, vacuum tubes, field-effect transistors) requires a DC bias to set its operating point (also called the quiescent point or Q-point). This is the steady-state voltage and current on the device when no input signal is applied. For example, in a bipolar junction transistor (BJT) amplifier, a network of resistors applies a small DC voltage to the base terminal. The AC signal is then superimposed on this DC bias at the same terminal. The choice of operating point significantly affects distortion, linearity, and efficiency; different power amplifier classes (A, B, AB, C) are defined by where the DC bias sets the operating point on the device's characteristic curve.
Blocking/Removing DC Bias
An electrical DC bias will not pass through a transformer or a capacitor. Therefore, a series capacitor (DC-blocking capacitor) or an isolation transformer can be used to remove the DC bias, allowing only the AC component to pass to the next stage. In signal processing, DC offset can be removed in real time using a high-pass filter, or for stored digital signals by subtracting the mean amplitude from each sample.
Communications Systems
DC-balanced signals are used in digital communications to prevent bit errors when signals pass through circuits with capacitive coupling or transformers. If a long series of identical bits (e.g., all 1's) creates a DC level, it can charge a coupling capacitor and cause signal degradation. To avoid this, line codes such as constant-weight codes and paired-disparity codes are designed to maintain a zero DC component.
Audio Recording
In audio, a DC offset is generally undesirable. It can be caused by defective or low-quality recording equipment. A DC offset shifts the center of the recorded waveform, potentially causing premature clipping of loud signals or introducing low-frequency distortion. This distortion may become more audible when the audio is later compressed into lossy formats like MP3.
Tape Recording
A DC tape bias was used in early magnetic tape recorders to reduce distortion by shifting the operating point of the magnetic recording process onto a more linear portion of the tape's magnetization curve.
Vacuum Tube Amplifiers
A DC bias is applied to the control grid of vacuum tubes in power amplifiers to regulate power and set the tube's operating region.
Frequency Selection
On a voltage-controlled oscillator (VCO), the center frequency of the carrier wave is selected using a DC bias. For frequency modulation (FM), the AC component carries the modulating signal, while for frequency-shift keying (FSK), the DC bias is shifted between discrete levels to represent digital data.
Image and Signal Processing
The concept extends to two-dimensional transformations, such as the discrete cosine transform (DCT) used in JPEG compression, where the first coefficient (the DC coefficient) represents the average value of the image block.