Professional Documents
Culture Documents
A Universal Grammar of Class D Amplification
A Universal Grammar of Class D Amplification
The archetype
+B
Q1
LOAD
Q2
LF in
Triwave in
-B
PWM basics
VPWM,pp VB VB
AV
Vtri ,pp Vtri ,pp
Some conventions
M 1
t sw t on t off
1 1 100%
fs
0 t on t off
-1 M
t sw
1
0 0.5 75% t on
-1 100%
t sw
1
0 0 50%
-1
M 2 1
1
0 -0.5 25%
-1
1
0 -1 0%
-1
Spectrum of 2-state PWM
Full-Bridge amplifier in 2 state PWM
Vdd Vdd
Vin VH VC
VH
VC
VH -VC
Three-state PWM (class BD)
Vdd Vdd
Vin VH VC
VH
VC
VH-VC
Spectrum of 3-state PWM
2-State vs 3-State
Three-state...
• doubles sampling rate
• Better efficiency vs bandwidth
• halves open-loop error
Output filter?
• Single-core
• no excitation current
• crossover distortion results
• Two-core
• excitation current doubles for constant sampling rate
Yet More Phases
Vdd Vdd
V2 V3
Vdd Vdd
Vin V1 V4
It can get worse...
Power Stage
DSD data
Shift Register
Permutation
Selector
LPF
Out
Class D as Power Converter
Half bridge
Vdd= 1V Pdd= 0.375A* 1V= 0.375W
= 75%
0.5V
0.5A 0.5A
= 25% 1 Puit= (0.5V)2* 1= 0.25W
Full bridge
Vdd= 1V
Pdd= 0.25A* 1V= 0.25W
0.25A
0.25A
Inductor current
L Vout
Vsw IR IC IR
IL IC
C R (?)
IL
Inductor current
L Vout
Vsw IR IC IR
IL IC
C R (?)
IL
Dead time effects
D D
G G
S
Ron
S
Dead time effects
-V -V -V -V
PWM
Vsw
1 2 3 4
Dead time effects
-V -V -V -V
PWM
Vsw
1 2 3 4
Open-Loop Distortion
Analyser Reading
MOSFET parasitics
LD
CGD
CDS
LG RG
CGS
LS
Parasitic capacitances
Gate Waveform (hard switching, ideal diode)
dVGS IG dVGS IG
= VGS (V) =
dt CISS (VDS= VDD) dt CISS (VDS= VDD)
Vth
VDS (V)
IDD Vdd
VDS
dVDS I
ID = G
dt CRSS
Vgs Vdd
10V
Q G= IG* t ( C )
Ig ID (A)
IDD
Gate Waveform (real diode)
VGS (V)
IDD
VDS Vth
ID
Vdd VDS (V) Q G= IG* t ( C )
Vgs
Vdd
Ig
10V
ID (A) Q G= IG* t ( C )
IDD
Q G= IG* t ( C )
Gate Gotchas
Until and during recovery
• Dissipated power = Vcc*Qrr
• Vds=Vcc
• Gate capacitance is low
• But we’d like to go slow
After recovery
• Vds<Vgs
• Gate capacitance is high
• Dissipated power = Vds*Id*time
• We’d like to finish quickly
Desired function
• Attenuate the carrier
Undesired functions
• Restrict bandwidth
• Increase output impedance
• Modify the frequency response
• Add distortion
Load response of 2nd order LPF
Output Filter
gain
phase
group delay
Some control theory basics
y A(s) x B(s) y
y A(s) B(s) y A(s) x
A(s) x A(s) x
y
1 A(s) B(s) 1 A(s) B(s) 1 A(s) B(s)
ETF & STF
1
ETF(s)
1 A(s) B(s)
A(s)
STF(s)
1 A(s) B(s)
Various permutations
A B 1
y y x
x A B
1 B A B 1 B A B
B A B 1
x B A y y x
1 B A B 1 B A B
y AC 1
x A C y x C
1 A A C 1 A A C
y AC 1
x A C y x C
1 A C D 1 A C D
D
Various permutations
AL B A B
y A B 1
x A B y x
1 AL 1 AL
AL B A B
x B A y AL 1
y x
1 AL 1 AL
y AL A A C
x A C
AC 1
y x C
1 AL 1 AL
x A C
y AL A C D
AC 1
y x C
D 1 AL 1 AL
Loop needs
Loop function AL
• Loop poles=zeros of ETF
• Loop zeros must be freely settable
Universal loop control function
If AL ...
• has n poles and n-1 zeros
• has independantly settable zeros
...then
• a stable loop is always possible
n 1 n 1
s z a s
i i
i
AL s k i 1
n
i 0
n
i i
s p b si
i 1 i 0
Typical loops
Typical loops
Typical loops
Typical loops
d/dt
...PID!
Proportional
Integrating
Derivative
PI(I...)D control for global loops
Pro
• Very low output impedance
• Minimum 3rd order loop
• Large loop gain
• Nonlinear distortion from inductor is reduced
• Known art
Contra
• Can’t get away with bad PCB layout
+
Digital PWM 1-bit DAC
Pulse Shpr
Rearranged loops
0 +
Digital PWM analogue in
+
analogue in
Rearranged loops
+ -
1-bit DAC
Noise Noise
Shaped Shaped
PWM Corr
ADC
Rearranged loops
-
Noise + Noise
Shaped
PWM
1-bit DAC ADC Shaped
Corr
Full ADC based feedback
ADC
H(z) PWM
Full ADC based feedback
x A y
x A y
Effect of sampling on loop control
NTF
• Transform AL to z domain
• Highly optimised AL may seem instable in linear analysis
and be critically damped in sampled system!
Effect of sampling on loop control
R
PWM
A
C
Triangular Reference=R
Control=(Input-PWM)*H(z)=C
PWM
Ripple aliasing
+
Digital PWM 1-bit DAC
Pulse Shpr
• Operation
• Minimal ripple in feedback loop.
• Pro
• Theoretically perfect regardless of loop order
• Contra
• Gains must be matched: 1-bit DAC and PWM must scale with supply
• PWM generator is a problem in its own right
• Not compatible with post-filter feedback
Dealing with Ripple Aliasing
MAE
• Operation
• Ripple in feedback loop not reduced, phase shift optimised for
minimum impact.
• Pro
• Grafts well onto “standard” control circuit.
• Compatible with post-filter feedback (perhaps not fully global)
Dealing with Ripple Aliasing
Aim
• Getting rid of the oscillator
• Improving maximum modulation index
Self-Oscillating Loops
Hysteresis modulator
out
in
Operation
Vint Vf
Va
Vb
t1 t0
Hysteresis modulator
Improved version
out
in
Output Signal
50
40
30
20
10
-10
-20
-30
-40
-50
0 500u 1m
Hysteresis modulator
• Completely linear
• Switching frequency falls early
• becomes audible near clip
Hysteresis modulator
Post-LPF added
out
in
• Less linear
• No-load stability not guaranteed
Hysteresis modulator
out
in
• Global loop
• Good linearity
• Current sense has low EMI sensitivity
Phase-shift controlled oscillation
Operation
• Oscillation frequency set by loop phase
in
out
Output signal
50
40
30
20
10
-10
-20
-30
-40
500u 1m
Phase-shift controlled oscillation
• Nonlinear, depends on design
• Switching frequency is more stable
Phase-shift controlled oscillation
Clead
Rf
Rlead
in Ri
out
delay=tprop
Operation
• Combined phase shift of output filter, lead network and
propagation delay set fosc.
• Extra pole may be added
UcD
+180
Ph(Delay(f))
Ph(Hlpf(f)*Hfbn(f))
Ph(Hlpf(f)*Hfbn(f)*Delay(f))
Ph(Hlpf(f))
-180
100 1k 10k 100k 1M
Oscillation Frequency
Phase-shift controlled oscillation
Modulator gain
dV1/dt dV2/dt
1/fsw
Phase-shift controlled oscillation
1
2 VCC fsw
1
ADC
dV1 dV2
dt dt
Clead
Rf
Rlead
in Ri
out
ADC
Phase-shift controlled oscillation
10
-2
-4
-6
-8
-10
0 100u 200u
Class D and EMI
“Class BD”.
• Carriers are in phase. Modulation is out of phase.
Bad. Good.
Period.
Class D and EMI
Line In
LPF
DC in
Out
Line in
Power stage
Class D and EMI