Capacitors in an EMI filter are connected where failure can affect electric shock or fire risk. X capacitors are generally connected across the line, while Y capacitors bridge line or neutral to protective earth or another accessible reference. Their safety class defines tested impulse and failure behavior for an application category, but correct EMI filter safety capacitor selection also requires electrical, thermal, environmental, and filter-level analysis.
A component approval mark does not approve the finished equipment. The end product must use the capacitor within its certified ratings and satisfy leakage current, touch current, dielectric, surge, flammability, spacing, and EMC requirements under the applicable standard.
X and Y functions are different
An X capacitor shunts differential-mode noise between current-carrying conductors. Its common failure concern is across-line energy and fire risk. A Y capacitor provides a return path for common-mode noise but connects toward earth or an accessible secondary reference. Excess capacitance can increase touch or leakage current, so Y-capacitor values are often safety-limited.
Do not interchange X and Y classifications based only on voltage. Y capacitors are designed for applications where a short-circuit failure could create an electric-shock hazard. The required subclass depends on system voltage, insulation category, and standard.
Continuous voltage and waveform
Check the maximum continuous RMS voltage, DC bias if present, line tolerance, frequency, and any non-sinusoidal waveform. A capacitor on a converter switching node may see high RMS current and repetitive pulse voltage even when its average voltage appears modest.
Across-line capacitors also experience utility transients and switching surges. Impulse class addresses defined test levels, but repetitive field conditions, surge count, source impedance, and protective devices affect lifetime. A design should not rely on every transient remaining exactly at the certification waveform.
Temperature, ripple current, and self-heating
Capacitor dissipation is driven by dielectric loss, ESR, frequency spectrum, and RMS current. Ambient temperature inside an enclosed filter can be much higher than room temperature because chokes, resistors, relays, and power semiconductors add heat. Temperature rating should be checked at the component hot spot and with expected airflow.
Capacitance and dissipation factor vary with temperature and frequency. A filter simulated with nominal 25 C values may shift resonance or attenuation at the operating extremes. Tolerance and aging should be included when an emissions margin depends on a narrow resonance.
Humidity and capacitance loss
Metallized film capacitors can suffer corrosion or capacitance reduction when moisture penetrates the package and electrical stress drives electrochemical processes. Humidity performance depends on construction, encapsulation, materials, voltage, temperature, and application class. Published damp-heat or biased-humidity qualification should be compared with the real service environment.
Outdoor, appliance, EV charging, solar, and industrial applications may combine high humidity with long energized periods. The initial capacitance value is not enough; allowable end-of-life capacitance loss and its effect on EMI must be considered.
Y capacitors and leakage-current budget
Line-frequency current through Y capacitors adds to leakage or touch current. Multiple filters, motor drives, power supplies, and cable capacitances can accumulate on one system. Calculate the worst-case value using maximum line voltage, frequency, capacitor tolerance, and the applicable measurement network. Also consider single-fault conditions required by the product standard.
Smaller Y capacitance reduces leakage current but may worsen common-mode emissions. Alternatives include improved common-mode choke impedance, reduced transformer capacitance, electrostatic shields, quieter switching edges, better chassis bonding, and optimized physical layout.
Discharge resistors and stored energy
An X capacitor can retain charge after disconnection. Discharge resistors or active discharge circuits may be needed to meet accessible-voltage timing. The resistor network must tolerate continuous line voltage and surge stress, and its open-circuit failure mode should be considered. Resistor power, voltage coefficient, creepage, series configuration, and flameproof rating may all matter.
Filter resonance and damping
X and Y capacitors interact with common-mode choke leakage, differential inductors, cable inductance, source impedance, converter input impedance, and parasitic capacitances. A low-loss filter can develop a high-Q resonance. Changing capacitor value for emissions can therefore affect converter stability, surge current, and immunity.
Selection checklist
- Identify connection location and required X or Y subclass under the product standard.
- Check continuous voltage, line tolerance, DC bias, frequency, and repetitive pulses.
- Review impulse rating, surge environment, protection, and expected event count.
- Calculate ripple current, loss, component hot spot, and temperature derating.
- Evaluate humidity performance and end-of-life capacitance change.
- Calculate leakage current with tolerance and single-fault requirements.
- Verify filter resonance, damping, emissions, and immunity in production-equivalent hardware.
Frequently asked questions
Can an X capacitor be used from line to earth?
Not merely because its voltage rating is high enough. A line-to-earth position requires the appropriate Y safety classification and end-product compliance review.
How does the magnetic component affect capacitor choice?
Choke inductance, leakage, impedance curve, saturation, resistance, and parasitic capacitance set filter resonance and attenuation. BaoHui Tech recommends selecting capacitors and custom magnetics as one filter network.