2 EE462L Triac Light Dimmer
2 EE462L Triac Light Dimmer
2 EE462L Triac Light Dimmer
+
0V
Light
bulb a
n
b
Before firing, the triac is an open switch,
so that practically no voltage is applied
across the light bulb. The small current
through the 3.3k resistor is ignored in
this diagram.
+ 0V
+
V
an
+
V
an
+
=
(
(
(
(
+
=
RC j
V
C j
R
C j
V V
an an cn
e
e
e
1
1
1
1
,
where R is the series combination of the fixed and variable resistances. For small R,
an cn
V V ~ .
As R increases, the RC je term begins to dominate, causing the magnitude of
cn
V to decrease
and lag
an
V . As a result, values of o greater than 90 are possible.
E. Measure magnitudes of harmonic components of Vab
1. Using only one scope probe, with V
an
= 70Vrms, view V
ab
on the scope and set
90.
2. Set the horizontal scale so that at least three cycles of the waveform as shown.
3. Press the Math button, then FFT, then Settings.
4. Adjust Span to 1kHz, and Center to 500Hz.
V
ab
time trace, with Van 70Vrms, and 90
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 13 of 28
5. Press More FFT to see the dB per division scale.
6. Press Math to return.
7. Press the 1 button to turn off the time trace.
8. Press the Cursors button.
9. Adjust Y1 to the top of the 60Hz component, and Y2 to the top of the 180Hz
component.
10. Measure the dB values of the 60Hz and 180Hz components. These values are with
respect to a 1Vrms reference.
Measuring the dB difference between 60Hz and 180Hz
components of V
ab
60Hz component
180Hz component
100Hz
Save screen
snapshot #3
Spectral content of V
ab
, superimposed on time trace (note
spacing between vertical lines corresponds to 100Hz)
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 14 of 28
11. Compute the ratio of V
180
/V
60
and compare the ratio to that predicted in Excel
program EE462L_Triac_Light_Dimmer_Fourier_Waveform.xls.
Example calculations:
|
.
|
\
|
=
Vrms
V
db
Hz
1
log 20 81 . 32
60
10
, so
|
.
|
\
|
- =
20
81 . 32
60
10 1Vrms V
Hz
= 43.7Vrms
|
.
|
\
|
=
Vrms
V
db
Hz
1
log 20 87 . 26
180
10
, so
|
.
|
\
|
- =
20
87 . 26
180
10 1Vrms V
Hz
= 22.1Vrms
|
|
.
|
\
|
=
Hz
Hz
V
V
db
60
180
10
log 20 94 . 5 , so
|
.
|
\
|
=
20
94 . 5
60
180
10
Hz
Hz
V
V
= 0.505.
F. 120Vac operation
Careful! Slowly raise the variac output voltage to 120Vrms, observe V
ab
on the
oscilloscope as you vary the firing angle from minimum to maximum, and verify that the
circuit is working properly. The smooth operation should make it obvious that the circuit
components have been optimized to work best at full 120Vrms input voltage. You may also
be interested in powering up to 1kW of lights.
Lab report
Document your experiment, addressing the steps in parts C through E as needed. Many
students include a digital photo of their circuit in their report. Paste in the requested screen
snapshots. Use Excel, with scatter plot option, to plot your three oscilloscope-measured
V
ab,rms
data points from Steps C10, C11, and C12 versus in degrees, along with
calculations using the theoretical formula below.
(
+ =
t
o
t
o
2
2 sin
1
2
,
2
,
rms an
rms ab
V V , in radians. (1)
Optional using the definition of rms, can you derive the above theoretical formula?
Parts list
- Isolated case triac, 200V, 15A Littlefuse Q2015L5, (Mouser #576-Q2015L5)
- Heat sink for triac, approx. 1.5 x 1.75 for TO-220 case style, 9.6C/W (Aavid Thermalloy,
Mouser #532-507222B00)
- 32V trigger diode (diacs), STMicroelectronics DB3 or DB3TG, on-state voltage = 5V,
(Mouser #511-DB3 or #511-DB3TG)
- 0.1F, 100V axial lead ceramic capacitor (Kemet, Mouser #80-C430C104K1R) (in student
parts bin)
- 250k, W potentiometer with linear taper (Alpha/Xicon, Mouser #31VC503-F)
- 3.3k, W resistor (in student parts bin)
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 15 of 28
- One 3-terminal, 20A terminal block (Molex, Mouser #538-38780-0103). One of the center
screws is removed and the hole marked with paint to indicate dont use.
- 1 steel corner bracket for mounting the potentiometer (Stanley 30-3010, Home Depot).
Hole in 1 bracket enlarged with 5/16 drill bit to fit the potentiometer.
- 1 steel corner bracket for mounting the triac (Stanley 30-3170, Home Depot).
- 1 x 6 wood (approx. 10 long piece)
- Porcelain 120V light bulb holder
- 60W clear-glass bulb
- Two 9/16 or outer diameter flat rubber water-faucet washers for the porcelain light bulb
holder. A rubber washer goes between the screw head of the 1 screw and the porcelain to
prevent the porcelain from cracking.
Extra parts for the student parts bin and screw cabinet, at least
- 5 of the triacs, and diacs
- 5 of the rubber washers
Plastic bags for parts
- 6x8, 6mil for light bulb
- 6x8, 6mil for porcelain socket
- 4x6, 4mil antistatic for small parts
- 8x10, 6mil for holding everything
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 16 of 28
Flat rubber washers between
#8 x 1 screws and porcelain
Remove
this
center
screw
#6-32, machine screw,
flat washer, split washer, and
hex nut
#8 x 3/4
screws for
terminal blocks
#8 x
screws
for corner
brackets
The back of the triac fits
firmly against the heat sink,
with maximum surface
contact. The flat washer,
then split washer, then hex
nut fit on the other side of the
corner bracket.
Remove
this
center
screw
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 17 of 28
Appendix
RMS
The rms value of a periodic current (or voltage) waveform is defined as
2
rms rms
I I = , where
}
+
=
T t
t
rms
dt t i
T
I ) (
1
2 2
.
Evaluating the integral for the special case of a sine wave of current shows that the rms value is
the peak current divided by 2 .
Fourier Series
Any physically realizable periodic waveform can be decomposed into a Fourier series of average
(i.e., DC), fundamental frequency, and harmonic terms. In sine form, the Fourier series in polar
form is
=
=
+ + = + + =
1 1
) 90 cos( ) sin( ) (
k
o
k o k avg
k
k o k avg
t k I I t k I I t i u e u e ,
where
avg
I is the average value,
k
I are peak magnitudes of the individual harmonics,
o
e is the
fundamental frequency (in radians per second), and
k
u are the harmonic phase angles. The time
period of the waveform is
o o o
f f
T
1
2
2 2
= = =
t
t
e
t
.
The formulas for computing
avg
I ,
k
I ,
k
u are well known and can be found in any
undergraduate electrical engineering textbook on circuit analysis. These are described in a
following section.
Figure A.1 shows a desktop computer (i.e., PC) current waveform. The figure illustrates how the
actual waveform can be approximated by summing only the fundamental, 3
rd
, and 5
th
harmonic
components. If higher-order terms are included (i.e., 7
th
, 9
th
, 11
th
, and so on), then the original
PC current waveform will be perfectly reconstructed. A truncated Fourier series is actually a
least-squared error curve fit. As higher frequency terms are added, the error is reduced.
Fortunately, a special property known as half-wave symmetry exists for most power electronic
loads. Have-wave symmetry exists when the positive and negative halves of a waveform are
identical but opposite, i.e.,
)
2
( ) (
T
t i t i = ,
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 18 of 28
where T is the period. Waveforms with half-wave symmetry have no even-ordered harmonics.
It is obvious that the PC current waveform is half-wave symmetric. Televisions and other home
entertainment equipment have the same waveform.
Figure A.1. PC Current Waveform, and its 1
st
, 3
rd
, and 5
th
Harmonic Components
-5
0
5
A
m
p
e
r
e
s
1
Sum of 1
st
, 3
rd
, 5
th
3
5
-5
0
5
A
m
p
e
r
e
s
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 19 of 28
Fourier Coefficients
If function ) (t i is periodic with an identifiable period T (i.e., ) ( ) ( NT t i t i = ), then ) (t i can be
written in rectangular form as
| |
=
+ + =
1
) sin( ) cos( ) (
k
o k o k avg
t k b t k a I t i e e ,
T
o
t
e
2
= ,
where
}
+
=
T
o
t
o
t
avg
dt t i
T
I ) (
1
,
( )
}
=
T
o k
dt t k t i
T
a
0
cos ) (
2
e ,
( )
}
=
T
o k
dt t k t i
T
b
0
sin ) (
2
e .
The sine and cosine terms above can be converted to the convenient polar form by using
trigonometry as follows:
) sin( ) cos( t k b t k a
o k o k
e e +
2 2
2 2
) sin( ) cos(
k k
o k o k
k k
b a
t k b t k a
b a
+
+
- + =
e e
(
(
(
+
+
+
- + = ) sin( ) cos(
2 2 2 2
2 2
t k
b a
b
t k
b a
a
b a
o
k k
k
o
k k
k
k k
e e
| | ) sin( ) cos( ) cos( ) sin(
2 2
t k t k b a
o k o k
k k
e u e u + - + = ,
where
2 2
) sin(
k k
k
k
b a
a
+
= u ,
2 2
) cos(
k k
k
k
b a
b
+
= u .
Applying trigonometric identity
) sin( ) cos( ) cos( ) sin( ) sin( B A B A B A + = + ,
a
k
b
k
k
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 20 of 28
yields polar form
) sin(
2 2
k o
k k
t k b a u e + - + ,
where
k
k
k
k
k
b
a
= =
) cos(
) sin(
) tan(
u
u
u .
Phase Shift
If the PC waveform in Figure A.2 is delayed by T A seconds, the modified current is
( )
=
+ A = A
1
) sin( ) (
k
k o k
T t k I T t i u e =
=
+ A
1
) sin(
k
k o o k
T k t k I u e e
( ) ( )
=
A + =
1
sin
k
o k o k
T k t k I e u e = ( )
=
+
1
sin
k
o k o k
k t k I u u e ,
where
o
u is the phase lag of the fundamental current corresponding to T A . The last term above
shows that individual harmonics are delayed by
o
ku of their own degrees.
Symmetry Simplifications
Waveform symmetry greatly simplifies the effort in developing Fourier coefficients. Symmetry
arguments should be applied to the waveform after the average value has been removed. The
most important cases are
Odd Symmetry, i.e., ) ( ) ( t i t i = ,
then the corresponding Fourier series has no cosine terms,
-5
0
5
A
m
p
e
r
e
s
delayed
Figure A.2. PC Current Waveform Delayed in Time
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 21 of 28
0 =
k
a ,
and
k
b can be found by integrating over the first half-period and doubling the results,
( )
}
=
2 /
0
sin ) (
4 T
o k
dt t k t i
T
b e .
Even Symmetry, i.e., ) ( ) ( t i t i = ,
then the corresponding Fourier series has no sine terms,
0 =
k
b ,
and
k
a can be found by integrating over the first half-period and doubling the results,
( )
}
=
2 /
0
cos ) (
4 T
o k
dt t k t i
T
a e .
Important note even and odd symmetry can sometimes be obtained by time-shifting the
waveform. In this case, solve for the Fourier coefficients using the time-shifted waveform,
and then phase-shift the Fourier coefficient angles according to (A.6).
Half-Wave Symmetry, i.e., ) ( )
2
( t i
T
t i = ,
then the corresponding Fourier series has no even harmonics, and
k
a and
k
b can be
found by integrating over any half-period and doubling the results,
( )
}
+
=
2 /
cos ) (
4 T
o
t
o
t
o k
dt t k t i
T
a e , k odd,
( )
}
+
=
2 /
sin ) (
4 T
o
t
o
t
o k
dt t k t i
T
b e , k odd.
Half-wave symmetry is common in power systems.
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 22 of 28
Examples
Square Wave
By inspection, the average value is zero, and
the waveform has both odd symmetry and
half-wave symmetry. Thus, 0 =
k
a , and
( )
}
+
=
2 /
sin ) (
4 T
o
t
o
t
o k
dt t k t v
T
b e , k odd.
Solving for
k
b ,
( ) ( )
|
|
.
|
\
|
|
.
|
\
|
=
= =
=
=
}
) 0 cos(
2
cos
4
cos
4
sin
4
2 /
0
2 /
0
T k
T k
V
t k
T k
V
dt t k V
T
b
o
o
T t
t
o
o
T
o k
e
e
e
e
e
Since
T
o
t
e
2
= , then
( ) ( ) ( ) ( ) t
t
t
t
k
k
V
k
k
V
b
k
cos 1
2
1 cos
2
4
=
= , yielding
t k
V
b
k
4
= , k odd.
The Fourier series is then
( ) ( ) ( ) ( )
(
+ + + = =
=
t t t
V
t
k
V
t v
odd k k
o o o
, 1
o
5 sin
5
1
3 sin
3
1
1 sin
4
k sin
1 4
) ( e e e
t
e
t
.
Note that the harmonic magnitudes decrease according to
k
1
.
Triangle Wave
By inspection, the average value is zero, and
the waveform has both even symmetry and
half-wave symmetry. Thus, 0 =
k
b , and
( )
}
+
=
2 /
cos ) (
4 T
o
t
o
t
o k
dt t k t v
T
a e , k odd.
Solving for
k
a ,
V
V
T
T/2
V
V
T
T/2
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 23 of 28
( ) ( ) ( )
} } }
= |
.
|
\
|
=
2 /
0 2
2 /
0
2 /
0
cos
16
cos
4
cos
4
1
4 T
o
T
o
T
o k
dt t k t
T
V
dt t k
T
V
dt t k
T
t
V
T
a e e e
( ) ( )
dt
k
t k
T
V
k
t k t
T
V T k
T k
V T
o
o
T t
t
o
o o
o
}
+
|
|
.
|
\
|
|
.
|
\
|
=
=
=
2 /
0 2
2 /
0
2
sin 16 sin 16
) 0 sin(
2
sin
4
e
e
e
e e
e
( ) ( ) ( ) ( ) t
t
t
t
t
t
k
k
V
k
k
V
k
k
V
cos 1
4
sin
4
sin
2
2 2
+ , k odd.
Continuing,
2 2
8
t k
V
a
k
= , k odd
The Fourier series is then
( )
=
=
odd k k
t os
k
V
t v
, 1
o
2 2
k c
1 8
) ( e
t
( ) ( ) ( )
(
+ + + = t t t os
V
o o o
2
5 cos
25
1
3 cos
9
1
1 c
8
e e e
t
,
where it is seen that the harmonic magnitudes decrease according to
2
1
k
.
To convert to a sine series, recall that ) 90 sin( ) cos(
o
+ = u u , so that the series becomes
( ) ( ) ( )
(
+ + + + + + =
o o o
t t t
V
t v 90 5 sin
25
1
90 3 sin
9
1
90 1 sin
8
) (
o o o
2
e e e
t
.
To time delay (i.e., move to the right) the waveform by
4
T
(i.e.,
o
90 of fundamental),
subtract ( )
o
k 90 - from each harmonic angle. Then, the above series becomes
( ) ( )
|
.
|
- + + - + =
o o o o
t t
V
t v 90 3 90 3 sin
9
1
90 1 90 1 sin
8
) (
o o
2
e e
t
( )
(
(
+ - + +
o o
t 90 5 90 5 sin
25
1
o
e ,
or
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 24 of 28
( ) ( ) ( ) ( )
(
+ = t t t t
V
t v
o o o o
2
7 sin
49
1
5 sin
25
1
3 sin
9
1
1 sin
8
) ( e e e e
t
.
Half-Wave Rectified Cosine Wave
The waveform has an average value and even
symmetry. Thus, 0 =
k
b , and
( )
}
=
2 /
0
cos ) (
4 T
o k
dt t k t i
T
a e , k odd.
Solving for the average value,
( ) ( )
4 /
4 /
4 /
4 /
sin cos
1
) (
1
T t
T t
o
o
T
T
o
T
o
t
o
t
avg
t
T
I
dt t I
T
dt t i
T
I
=
=
+
= = =
} }
e
e
e
2
sin
1
4
sin
4
sin
4
sin
2
t
t
e
t
e e
t
= = |
.
|
\
|
=
T I T T I
o o o
.
t
I
I
avg
= .
Solving for
k
a ,
( ) ( ) ( ) ( ) ( )dt t k t k
T
I
dt t k t I
T
a
T
o o
T
o o k
} }
+ + = =
4 /
0
4 /
0
1 cos 1 cos
2
cos cos
4
e e e e
( )
( )
( )
( )
4 /
0
1
1 sin
1
1 sin 2
T t
t
o
o
o
o
k
t k
k
t k
T
I
=
=
|
|
.
|
\
|
+
+
+
=
e
e
e
e
.
For 1 = k , taking the limits of the above expression when needed yields
( )
( )
( )
( )
o o
o
o
k
I
k
T
k
T
I
a
e
t
t e
e
e 1 1
2
1 1 sin
1
4
1 sin
lim
2
0 ) 1 (
1
+
+
+
|
|
|
|
.
|
\
|
- =
( )
( )
( )
( )
o o
o
o
k
I
k
k
T
I
e t e
e
e 1 1
0 sin
1
0 1 sin
lim
2
0 ) 1 ( +
-
-
I
T/2
T
T/2
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 25 of 28
( )
2
0 0 sin
2 4
2
1
I I T
T
I
a
o
= + = t
t e
.
For 1 > k ,
( )
( )
( )
( )
|
|
|
|
.
|
\
|
+
+
+
=
k
k
k
k
I
a
k
1
2
1 sin
1
2
1 sin
t t
t
.
All odd k terms above are zero. For the even terms, it is helpful to find a common
denominator and express the above equation as
( ) ( ) ( ) ( )
|
|
|
|
.
|
\
|
+ + +
=
2
1
2
1 sin 1
2
1 sin 1
k
k k k k
I
a
k
t t
t
, 1 > k , k even.
Evaluating the above equation shows an alternating sign pattern that can be expressed as
( )
=
+
=
, 6 , 4 , 2
2
2
2
1
1
1
2
k
k
k
k
I
a
t
, 1 > k , k even.
The final expression becomes
( ) ( ) ( ) t k
k
I
t
I I
t i
o
k
k
o
e
t
e
t
cos
1
1
1
2
cos
2
) (
, 6 , 4 , 2
2
1 2 /
=
+
+ + =
( ) ( ) ( ) ( )
(
+ + + = t t t
I
t
I I
o o o o
e e e
t
e
t
6 cos
35
1
4 cos
15
1
2 cos
3
1 2
cos
2
.
Light Dimmer Current
The Fourier coefficients of the waveform in Figure 1 can be shown to be the following:
For the fundamental,
o
t
2
1
sin
p
V
a
= ,
(
+ = o
t t
o
2 sin
2
1
1
1 p
V b ,
where
p
V is the peak value of the underlying AC waveform, and is in radians.
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 26 of 28
For harmonic multiples above the fundamental (i.e., k = 3, 5, 7 , ),
( ) ( )
(
+ +
+
+
= t o t o
t
) 1 cos( ) 1 cos(
1
1
) 1 cos( ) 1 cos(
1
1
k k
k
k k
k
V
a
p
k
,
( ) ( )
(
+ +
+
+
= t o o t
t
) 1 sin( ) 1 sin(
1
1
) 1 sin( ) 1 sin(
1
1
k k
k
k k
k
V
b
p
k
.
The waveform has zero average, and it has no even harmonics because of half-wave
symmetry.
The magnitude of any harmonic k, including k = 1, is
2 2
k k
k
b a V + = . Performing the
calculations with =
2
t
radians (i.e., 90) yields
1
V =
4
1
2
t
t
+
p
V
= 0.593
p
V , and
3
V =
t
p
V
= 0.318
p
V ,
so that
1
3
V
V
=
4
1
1
2
t
+
= 0.537.
The above case is illustrated in the following Excel spreadsheet.
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 27 of 28
Excel Program EE462L_Triac_Light_Dimmer_Fourier_Waveform.xls
Note the magnitude of the fundamental is computed to be 0.593 times the magnitude of the underlying sine wave (see Magk
column). If the underlying sine wave is 70Vrms, this corresponds to 41.5Vrms, which is close to the Section D calculation. The ratio
of the 3
rd
harmonic voltage magnitude to the fundamental is computed to be 0.537, which also compares favorably with Section D.
Differences are most likely the fact that the wall outlet voltage is not an ideal sine wave, and also to errors in measuring .
Triac_Light_Dimmer_Fourier_Waveform.xls. Light Dimmer Voltage Waveform (normalized to peak value of underlying sine wave)
Enter
Ratio Alpha = 90 1.570796
Fourier Fourier Magk/
k ak bk Magk Mag1
1 -0.31831 0.5 0.592724 1.000
3 0.31831 -3.9E-17 0.31831 0.537
5 -0.106103 3.9E-17 0.106103 0.179
7 0.106103 -3.9E-17 0.106103 0.179
9 -0.063662 3.9E-17 0.063662 0.107
11 0.063662 -3.9E-17 0.063662 0.107
13 -0.045473 3.9E-17 0.045473 0.077
15 0.045473 -3.9E-17 0.045473 0.077
17 -0.035368 3.9E-17 0.035368 0.060
19 0.035368 -3.9E-17 0.035368 0.060
21 -0.028937 1.93E-16 0.028937 0.049
23 0.028937 -1.93E-16 0.028937 0.049
25 -0.024485 -9.15E-17 0.024485 0.041
27 0.024485 9.15E-17 0.024485 0.041
29 -0.021221 1.52E-16 0.021221 0.036
31 0.021221 -1.52E-16 0.021221 0.036
33 -0.018724 -6.08E-17 0.018724 0.032
35 0.018724 6.08E-17 0.018724 0.032
37 -0.016753 1.28E-16 0.016753 0.028
39 0.016753 -1.28E-16 0.016753 0.028
41 -0.015158 -4.18E-17 0.015158 0.026
43 0.015158 9.32E-17 0.015158 0.026
45 -0.01384 6.13E-17 0.01384 0.023
47 0.01384 -1.13E-16 0.01384 0.023
49 -0.012732 -2.89E-17 0.012732 0.021
Light Dimmer Voltage Waveform
-1
-0.5
0
0.5
1
0 45 90 135 180 225 270 315 360
EE462L, Power Electronics, Triac Light Dimmer
Version January 20, 2013
Page 28 of 28
Triac Light Dimmer Modified to Serve as a Voltage Clamp
This circuit helps prevent voltage runaway on the output of a DC-DC boost or buck/boost
converter. When the voltage across the diac reaches its 35V trigger level, the triac and 150W
light bulb turn on, thus loading down the converter significantly, which helps to limit the
converters output voltage.
Steps:
- Remove the 3.3k resistor, and replace it with a 33k, W resistor (in student parts
bin). Solder the 33k resistor to the diac/capacitor terminal of the 250k potentiometer
- Solder a 15k resistor (in student parts bin) across the 0.1F capacitor
- Replace the 60W light bulb with a 150W light bulb
Note: After completing the above steps, the potentiometer of the original triac light dimmer is
effectively disabled, but it is still useful as a soldering terminal.
Light bulb
0.1F
3.3k
250k linear
pot
Original Triac Light Dimmer Circuit
150W Light bulb
0.1F
33k
250k
linear
pot
15k
Modified Circuit that Turns On at
Approximately 120V