Skip to Content

Dimmers Guide



Introduction to Working with AC Dimmer Modules

AC dimmer modules allow precise control of AC-powered devices like lights, heaters, and motors. This guide explains the fundamental principles of AC dimming and how to work with TRIAC-based dimmer modules.



How AC Dimming Works

AC dimming is based on cutting off part of the voltage sine wave using a TRIAC component. The TRIAC remains off when the voltage crosses zero and is turned on (by a control pulse from the microcontroller) at a specific point in each half-cycle. This controls the amount of power delivered to the load.

Info
For a deeper understanding of how the TRIAC and dimmer circuit operate, see the detailed technical documentation on phase control dimming.


Key Principles

  • Phase angle control: The TRIAC is triggered at a specific angle during each half-cycle
  • Power regulation: Earlier triggering = more power delivered to the load
  • Zero-cross synchronization: Timing is critical for smooth dimming operation



Why Classic PWM Cannot Be Used

Standard PWM (pulse-width modulation) is suitable for DC current only. It does not work for AC because:

  • AC voltage has a sinusoidal waveform
  • Direction changes 50-100 times per second (depending on power grid frequency)
  • Simple on/off switching creates interference and inefficiency

Using standard DC PWM on AC loads can cause:

  • Electromagnetic interference (EMI)
  • Inefficient power delivery
  • Potential damage to connected devices

To properly control AC power, we need to synchronize with the zero-crossing points of the waveform and trigger the TRIAC at the right moment during each half-cycle.



What Is the Zero-Cross Sensor For?

A zero-cross sensor detects when the AC sine wave crosses the zero voltage point. This is crucial for timing control pulses accurately.


Benefits of Zero-Cross Detection

  • Precise timing of TRIAC triggering
  • Smooth dimming without flicker
  • Reduced electromagnetic interference
  • Protection against voltage spikes
Tip
With zero-cross synchronization, the TRIAC can be triggered at the correct phase angle to control brightness or power level precisely.