0
0
Raspberry-piHow-ToBeginner · 4 min read

How to Reduce Harmonics in Power System: Methods and Examples

To reduce harmonics in a power system, use passive or active filters to block unwanted frequencies, install phase-shifting transformers to cancel harmonics, and ensure equipment like drives and converters are properly designed. These methods help improve power quality and protect devices.
📐

Syntax

Here is a simple representation of how to apply a passive filter to reduce harmonics:

V_filtered = V_source - V_harmonics

Where:

  • V_source is the original voltage with harmonics.
  • V_harmonics is the voltage component of unwanted harmonic frequencies.
  • V_filtered is the voltage after filtering, with reduced harmonics.

Passive filters use inductors, capacitors, and resistors tuned to specific harmonic frequencies to block or reduce them.

python
class PassiveFilter:
    def __init__(self, harmonic_order):
        self.harmonic_order = harmonic_order

    def filter_harmonics(self, voltage_signal):
        # Simplified: remove harmonic components matching harmonic_order
        filtered_signal = [v if (i + 1) % self.harmonic_order != 0 else 0 for i, v in enumerate(voltage_signal)]
        return filtered_signal
💻

Example

This example shows a simple Python simulation of removing 3rd harmonic components from a voltage signal using a passive filter approach.

python
def remove_third_harmonic(signal):
    # Remove every 3rd harmonic component
    return [v if (i + 1) % 3 != 0 else 0 for i, v in enumerate(signal)]

# Sample voltage signal with harmonics (index represents harmonic order)
voltage_signal = [100, 20, 15, 10, 5, 12, 8, 6, 9, 4]

filtered_signal = remove_third_harmonic(voltage_signal)
print('Original signal:', voltage_signal)
print('Filtered signal:', filtered_signal)
Output
Original signal: [100, 20, 15, 10, 5, 12, 8, 6, 9, 4] Filtered signal: [100, 20, 0, 10, 5, 0, 8, 6, 0, 4]
⚠️

Common Pitfalls

Common mistakes when reducing harmonics include:

  • Using filters not tuned to the correct harmonic frequencies, which makes them ineffective.
  • Ignoring the source of harmonics, such as non-linear loads, leading to recurring problems.
  • Overloading filters beyond their capacity, causing damage or poor performance.
  • Neglecting system grounding and wiring practices that can worsen harmonic distortion.

Proper analysis and design are essential to avoid these pitfalls.

python
def wrong_filter(signal):
    # Incorrectly removes 2nd harmonic instead of 3rd
    return [v if (i + 1) % 2 != 0 else 0 for i, v in enumerate(signal)]

signal = [100, 20, 15, 10, 5, 12]
print('Wrong filter output:', wrong_filter(signal))

# Correct filter removes 3rd harmonic
print('Correct filter output:', [v if (i + 1) % 3 != 0 else 0 for i, v in enumerate(signal)])
Output
Wrong filter output: [100, 0, 15, 0, 5, 0] Correct filter output: [100, 20, 0, 10, 5, 0]
📊

Quick Reference

  • Passive Filters: Use inductors and capacitors to block specific harmonics.
  • Active Filters: Use power electronics to inject counter-harmonics and cancel distortion.
  • Phase-Shifting Transformers: Shift phases to cancel triplen harmonics.
  • Proper Equipment Design: Use devices with low harmonic generation.
  • Load Management: Avoid sudden large non-linear loads.

Key Takeaways

Use filters tuned to specific harmonic frequencies to effectively reduce harmonics.
Identify and manage non-linear loads to prevent harmonic generation.
Phase-shifting transformers help cancel certain harmonic orders like triplen harmonics.
Active filters dynamically cancel harmonics but are more complex and costly.
Proper system design and grounding improve overall harmonic performance.