Professional Documents
Culture Documents
Class D Amplifier Design Basics II
Class D Amplifier Design Basics II
02/19/2009
Rev 1.0
1
Contents
Chapter 1
Getting Familiar with Class D Audio Amplifier
Chapter 2
Latest Class D Audio Amplifier Technology Trend
Chapter 3
Identifying Problems ~ Performance Measurement of Class D Amplifier
Chapter 4
Reducing Distortion ~Dead-time ~ LPF Designs
Chapter 5
Reducing Noise ~ Isolation Technique ~ PCB Design
APPENDIX
Simulation of a Simple Class D Amplifier
2
Chapter 1:
Getting Familiar with Class D Audio Amplifier
Audio Amplifier Market Trend
• More Channels
• Smaller Box
• Lighter Weight
• Smaller Size
Device Technology • Lower Cost Control Technology
• Audio Performance
4
Why Class D Now?
• Smaller Size
IR
Class D
• Higher Performance
Device Technology
• MOSFET
• High Speed HVIC
5
Basic Concept of Class D Audio Amplifier
Class D
COMP LPF
Switching Stage
VOUT = B (2D-1)
In concept, Class D amplifier is linear; i.e. 0% distortion.
6
PWM: Heart of Class D Operation
Audio signal Î PWM PWM Î Audio signal
10 10
5 5
0 0
V
V
-5 -5
-10 -10
7
Class AB vs. D Energy Point of View
Class AB
Class D
8
Class AB vs. D Characteristic Comparison (1/2)
9
Class AB vs. D Characteristic Comparison (2/2)
10
Class AB vs D Comparison
Loss
Loss in Class AB
2
VCC
Pc = 0.2 ⋅
π 8 ⋅ RL
PC =
1
⋅∫
Vcc
(1 − K sin ω ⋅ t ) Vcc K sin ω ⋅ t • dω ⋅ t
2 ⋅π 0 2 2 ⋅ RL
Vcc 2 ⎛ 2K K 2 ⎞ Note that this is
= ⋅ ⎜⎜ − ⎟⎟
8π ⋅ RL ⎝ π 2 ⎠ independent to
device parameters.
K=2/π K=1
Loss
Loss in Class D
Efficiency can be
PTOTAL = Psw + Pcond + Pgd improved further!
RDS (ON )
Pcond = ⋅ Po Pgd = 2 ⋅ Qg ⋅ Vgs ⋅ f PWM
RL
Psw = COSS ⋅ VBUS ⋅ f PWM K=1
2
11
Practical Class D Amplifier
Perturbation
Supply impedance Nonlinear inductance /
Limited Gain & BW Bus Pumping +VCC
Noise Figure Capacitance
DC Resistance
-VCC
12
MOSFET Basics
To learn more about power MOSFETs, refer to AN-1084 Power MOSFET Basics.
13
Driving MOSFET for PWM
• Only one side, either high-side or low-
side, MOSFET is ON at a time.
• The ratio of ON time between the high-
High-side ON side and low-side MOSFETs
determines the output voltage.
Low-side ON
Driving a low-side MOSFET
• A bias voltage that refers to negative
bus voltage –B drives the gate of the
low-side MOSFET.
High-side ON
• I4 turns off the low-side MOSFET.
Then, I5 turns on the high-side
MOSFET, lifting VS up to +B. As
long as the high side is ON,
bootstrap diode DBS isolates the
floating power supply VBS and
bootstrap capacitor CBS retains VBS
voltage.
15
Example of a 100W Class D Amplifier
High-side OCP
Bootstrap floating
supply charging path
6V
4.7 Ω
R8
20 V
ENABLE
supply capacitor
C11 10 µF
Demodulation LPF
2nd order integrator
20 V
VSS supply
Low-side OCP
Dead-time
16
Chapter 2:
Latest Class D Audio Amplifier Technology Trend
Class D Amplifier Innovations
0.9
0.8
Normalized R*Qg
The objective of optimization for Class 0.7
IR Mosfet Technology Constant Improvement Trench Technology
0.4
0.3
(Figure of Merit)
Fiscal Year
19
MOSFET Evolution
The latest trench MOSFET technology shows 7 times better figure of merit.
20
Trade-offs in MOSFET Design
There is a best die size for a given Optimal MOSFET die size ⇒Optimal MOSFET Parameters
output power. Optimum die size for
minimal PLOSS depends on load Total Loss = Conduction Loss + Switching Loss
impedance, rated power and switching
frequency. Total Loss
A more advanced platform with better
FOM acheives lower PLOSS.
Optimal MOSFET
Die Size
Conduction Switching
Loss Loss
21
Importance of Packaging
How the package affects the design? To utilize benefits from a newer
generation MOSFET, new package
with reduced stray inductance is
necessary.
1. Amplifier size
• Increase efficiency
• Increase current capability
• Improve the MOSFET thermal
efficiency
⇒
2. EMI considerations
• Better control of current and voltage
transients
D2/S1
G1
D1
G2
S2
TO-220 Full-Pak
5 PIN
3. Amplifier linearity
• Decrease switching times
• Narrow the MOSFET parameter
distribution
22
Stray Inductance
23
Package Comparison
CISPR13 CISPR13
Quasi-Peak Limits Quasi-Peak Limits
Average Limits Average Limits
25
2: Gate Driver IC Technology Trend
Gate driving
Analog signal processing
Power switching
Level shifting
Feed back
AUDIO PWM
SIGNAL Level
Level Speaker
Shift Shift
Down Up
Dead Shut
Time Down
Over Current
Protection functions
26
What The Gate Driver IC Does?
Gate Driver IC
27
How Internal High Voltage Level Shifter Works
Operation Principle
A pair of SET and RESET signals are
generated at the PULSE GEN block.
HIN
The high-side circuitry reconstructs
PWM from SET and RESET pulses.
SET
28
Floating Well and Noise Isolation
29
Dead-time Generation
With Dead-time
Dead-time (or blanking time) is a
period of time intentionally inserted in
between the ON states of high- and
low-side MOSFETs.
HIGH-SIDE
SIMULTANEOUS ON
30
Under Voltage Lockout
• Under voltage lockout (UVLO) • During the UVLO, gate drive stage
prevents the MOSFET from keeps HO/LO low in order to
entering the “half-ON” region when prevent unintentional turn-on of the
the gate bias voltage is reduced. MOSFETs.
• The “half-ON” condition of the • UVLO in VCC resets shutdown logic
MOSFET creates excessive power and causes CSD recycling to start
loss due to increased RDS(on) that over the power up sequence.
could lead to MOSFET failure,
• The IR Class D audio gate driver
therefore must be avoided.
family is designed to accept any
UV
CSH power sequence.
DETECT
VB
UV
HIGH
Q
SIDE
CS
HO
31
Inside of High Voltage Gate Driver IRS2092
High Voltage Isolation
PWM Modulation
DETECT
CLICK NOISE
VAA ELLIMINATION VB
Elimination
` `
IN- VAA+VSS CS
2 COMP HO
20.4V
OTA
Level Shift
DETECT 5V REG VCC
UV
VSS
DETECT
20.4V
HV
Recycle LEVEL
SHIFT
COM
32
3. PWM and Feedback Technologies
33
Natural PWM vs. Self Oscillating PWM
Natural PWM
• Open loop or closed loop
• Fixed frequency
Optional feedback
Self-oscillating PWM
• Closed loop
• Frequency changes with
modulation
• High loop gain
• Fewer components
34
Modern PWM Topologies
Self-oscillating PWM with 2nd order integration Self-oscillating PWM with pulse width control
35
IRAUDAMP5 Functional Block Diagram
+ -
+
*
LPF
PWM COMP. L /S L/S
DT SD *
Micro
-
controller
*
CS
OTP DCP
PROTECTION LOGIC
IRS2092
PROTECTION
CONTROL
36
Chapter 3:
Identifying Problems ~ Performance Measurement
of Class D Amplifier
Identifying Problems
38
1. Frequency Response
+1
+0.5
+0
-0.5
d
B
r -1
A
Reference 1kHz=0dB, usually set to 1W output power
-1.5
-2
-2.5
-3
20 50 100 200 500 1k 2k 5k 10k 20k 50k 100k
Hz
Frequency Response from 20k to 20 Hz. F4 first to set 0 dBr at 1kHz. The 2 Ch Ampl Function Reading meter BW is
set to <10 Hz & >500kHz so the bandwidth is the same as the Level meter. Optimize for detail.
39
Check for..
R117
3.3k 1w
+B
R17
R22 75k
10K R18
U1 C11
9.6k D4 CP8
CP4
Low Frequency
R19 0.1uF,100V 470uF,100V
1 16
R8 VAA CSH
10k
100k 22uF CP6 FET1
R11
2 15
GND VB
5
RCA1 CP1
R2
270R 22uF
20R
High Frequency
3 14 4
IN- HO L1
10uF 3.3k 22uH
1nF 1nF VS1 R24 CH_OUT SPKR1
C7 1nF +
4 13 3
COMP VS 1 CH1
2 -
C4 C6
R3 C12 R30 R31
5 12 D3
SD CSD VCC R20 10, 1W 2.2k
0.47uF, 400V
D1 100R
10uF 4.7R
CP3 20R
6 11 2
VSS LO C13
CP2 -B R25 -B 0.1uF, 400V
22uF R13 7 10
VREF COM
1
10k R21 R23 LED1
R118
3.3k 1w 8 9 R26
OCSET DT 10R 4.7K Blue
10k C14 CP7
R12 IRS2092S DIP 0.1uF 470uF,100V
8.7k R27 CP5
10k 22uF VCC
-B
40
2: THD+N
Fundamental THD+N
• Noise is a measure of added 2nd order harmonic
errors not depending on the 3rd order harmonic
input signal
Noise
Î Refer to Chapter 5
frequency
41
What is Distortion?
42
How to Read THD+N vs. Power
100
T
43
Check for..
R117
3.3k 1w
+B
R17
R22 75k
10K R18
U1 C11
9.6k D4 CP8
CP4
dead-time
R19 0.1uF,100V 470uF,100V
1 16
R8 VAA CSH
Ceramic? 100k
R11
22uF
2 15
10k
CP6 FET1
GND VB
5
RCA1 CP1
R2
270R 22uF
20R
LPF
3 14 4
IN- HO L1
10uF 3.3k 22uH
1nF 1nF VS1 R24 CH_OUT SPKR1
C7 1nF +
4 13 3
COMP VS 1 CH1
2 -
C4 C6
R3 C12 R30 R31
5 12 D3
SD CSD VCC R20 10, 1W 2.2k
0.47uF, 400V
D1 100R
10uF 4.7R
CP3 20R
6 11 2
VSS LO C13
CP2 -B R25 -B 0.1uF, 400V
22uF R13 7 10
VREF COM
1
10k R21 R23 LED1
R118
3.3k 1w 8 9 R26
OCSET DT 10R 4.7K Blue
10k C14 CP7
R12 IRS2092S DIP 0.1uF 470uF,100V
8.7k R27 CP5
10k 22uF VCC
-B
44
Audio Measurement Setup
Amplifier
Output
20KHz LPF
Amplifier Output
Filtered
Amplifier
Input
45
Audio Measurement Setup with IRAUDAMP7D
46
AP Substitute
R1 R2 R3
8
R4 4.7n 2.2n 1n
C1 C2 C3
To HP8903B
Dummy Load
47
Chapter 4:
Reducing Distortion ~dead-time ~ LPF Designs
Trade-off 1: Dead-time and Distortion
40
34
30
20
1 Positive half cycle: Hard Switching
10
10
20
30
3 Negative half cycle: Hard Switching
− 34 40
5 .10
4
0 0.001 0.0015 0.002
0 t 0.0021
49
Gate Drive and Switching Output
Switching Node VS
50
PWM Switching Cycle
1 High Side ON
+B
+B
VBS
-B
VCC
4 Dead-time 2 Dead-time
? ?
+B +B
VBS VBS
-B -B
VCC VCC
-B
+B
VBS
-B
VCC
3 Low Side ON
51
During Dead-time
• Polarity of IL is always
toward the load
1 • VS follows high side switch
status
• Polarity of IL alternates
• Polarity of IL is always
toward the amp
3
• VS follows low side switch
status
Note: Dead-time insertion reduces volt-second of VS. Dead-time inserted in the rising edge of
the high side affects the operating region 1. Dead-time inserted in the rising edge of the low
side affects the operating region 3. As a result, output voltage gets lower than it should be,
causing non-linearity in the output stage.
52
Trade-off 2: Inductor and Distortion
% 0.1
0.001
Inductance
Load current
54
LPF Design
RL
Ln = Lk n
2 ⋅ π ⋅ fC
2 1.414214 0.707107 - -
Cn =
2 ⋅ π ⋅ f C ⋅ RL 4 1.530734 1.577161 1.082392 0.382683
55
Choosing Inductor for LPF
56
Choosing Capacitor for LPF
NOTE
• Do not use winding structure types. Use stacked structure.
• Check AC voltage ratings at highest audio frequency.
57
LPF Design Example
+
4
22uH -
8
-
10 2 5 10 20 50 1 2 5 10 20 50 200
0 0 0 0 0 k Hz k k k k k k
0.1uF 4
0.47uF
10
60
Noise Reduction Strategy
61
1: Minimizing Noise Source
62
Reducing Noise with RC Snubber
63
Snubber and THD
0.1
0.05
%
0.02
0.01
0.005
0.002
0.001
100m 200m 500m 1 2 5 10 20 50 100 300
W
64
2: Maximizing Noise Immunity
NOTE
• Ground can be
a route of noise
Input RF Filter injection to error
Feedback LPF
• Filter out HF amplifier
Differential Input RFI Filter
noise and • Weed out high
reduce node • Prevent RFI causing frequency
impedance audio frequency spectrum to
at high interferences from avoid TIM
frequency switching rings distortion in the
error amplifier
65
RFI
66
3: Minimizing Noise Coupling
67
Switching Noise Injection Example
68
PCB Design Tips
69
PCB Layout Example
70
APPENDIX
Simulation of a Simple Class D Amplifier (SIMetrix)
Feedback
47k 0
IC
R1
1n 1n
C1 C2
E2-N
220
10u 3.3k R2
C8 R8
10k 2.5*(1+tanh(1e4*v(n1,n2)))
ARB1 HC04D HC04D
N1OUT DELAY
ARB1-OUT U5 HO S1
N2 250n D3
U1 U2 IDEAL 50
AC 1 0 Sine(0 1 5k 0 0) E3 LO V4
V5
18u
L1
470n 4 sp out
S2 C3 R6
Note LPF
50
V1
72
Simulation Result Example
100
80
Switching Node
60
40
V
20
Gate and other internal nodes
-20
Speaker Output
-40
T im e / µ S e c s 5 0 µ S e c s / d iv
73
END