Escolar Documentos
Profissional Documentos
Cultura Documentos
Aalto University
School of Electrical
Engineering
N h
X
V C (i ) cos(i t) + V S (i ) sin(i t)
i=0
m
X
i,j j ,
0 = 0, i = i
j=1
A!
Aalto University
School of Electrical
Engineering
Properties of HB Analysis
Harmonic Balance
8.50
U/V
6.38
6.88
4.25
5.25
2.12
3.62
0.00
-10k
2.00
0
10k
20k
30k
40k
50k
60k
f/Hz
A!
8.50
U/V
Aalto University
School of Electrical
Engineering
50
100
150
t/s
200
Properties of HB Analysis
A!
HB Analysis Equations
Nonlinear circuit equations written in the time domain:
q(v(t))
t
+ i(v(t)) +
Zt
A!
Aalto University
School of Electrical
Engineering
HB Analysis Equations
If the number of nodes in the circuit is K and the number of nonzero
frequencies is N , vector V is
V =
V (0)
V (1 )
V (2 )
..
.
V (N )
{z
V C (0)
1C
V (0)
,
, V (0) = 2 .
..
C
}
(2N +1)K1
{z
all unknowns
VK (0)
{z
K1
{z
DC unknowns
V1C (i )
V2C (i )
..
.
V C (i )
K
V (i ) =
S
V1 (i )
S
V2 (i )
..
S ( )
VK
i
{z
{z
2K1
non-zero frequencies
A!
Aalto University
School of Electrical
Engineering
A!
mixing formula
|i,1 | + |i,2 | D
|i,1 | <= B1
|i,2 | <= B2
N (# frequencies)
D(D + 1)
B1 (2B2 + 1) + B2
A!
Aalto University
School of Electrical
Engineering
i,2
i,1
N h
X
V C (i ) cos(i t) + V S (i ) sin(i t)
i=0
ZT
2 (i)
T
0
ZT
T
0
A!
Aalto University
School of Electrical
Engineering
1
1
..
.
v(t0 )
v(t1 )
..
.
V C (0)
V C (1 )
V S (1 )
..
.
V C (N )
v(tS1 )
V S (N )
cos(1 t0 )
cos(1 t1 )
..
.
sin(1 t0 )
sin(1 t1 )
..
.
...
...
, where
cos(N t0 )
cos(N t1 )
..
.
The DFT
(inverse of IDFT) is obtained directly from
1 v,
if S = 2N + 1
1
V =
v, if S > 2N + 1
A!
Aalto University
School of Electrical
Engineering
sin(N t0 )
sin(N t1 )
..
.
sin(N tS1 )
Instead of the cos / sin form of the Fourier series, we can also use
the complex form
v(t) =
N h
P
V C (i ) cos(i t) + V S (i ) sin(i t)
i=0
N h
X
Re [V C (i ) jV S (i )] exp(ji t)
i=0
N
X
oi
[V R (i ) + jV I (i )] exp(ji t)
i=N
where
V C (0)
= V R (0)
V I (0)
= V S (0) = 0
V C (i ) = 2V R (i ),
when i 6= 0
V S (
when i 6= 0
i)
2V I (
i ),
A!
Aalto University
School of Electrical
Engineering
A!
Aalto University
School of Electrical
Engineering
Y (0)
Y (1 )
..
.
Y (N )
{z
TOT
}|
V (0)
V (1 )
..
.
V (N )
{z
V
I s (0)
I s (1 )
..
.
I s (N )
{z
Is
A!
Aalto University
School of Electrical
Engineering
v(t)
when = 0
J0 = 0.2,
J () =
J1 = 0.3,
when = 1
A!
Aalto University
School of Electrical
Engineering
V (1) =
V (2) =
J (0)
= 0.4 V
(1/R)
J (1 )
(1/R) + j1 C
J (2 )
(1/R) + j2 C
=
=
0.3
0.5 + j
j0.4
= 0.12 j0.24 V
0.5 + j3
= 0.1297 + j0.02162 V
The waveform is
v(t) = {0.4 + 0.12 cos(1 t) + 0.24 sin(1 t)
+0.1297 cos(2 t) 0.02162 sin(2 t)} V
A!
Aalto University
School of Electrical
Engineering
#"
"
(1/R) C
C (1/R)
"
VC
JC
YR YI
=
I
R
S
Y
Y
V
JS
The real form of the circuit equations of the previous example are
#"
V C ()
V S ()
"
J C ()
J S ()
A!
Aalto University
School of Electrical
Engineering
VnS
T
Z /2
0
T
Z /2
2
=
T
0,
2
(1 n 2 )
n odd
, n even
0
, when n 6= 1
1/2 , when n = 1
A!
Aalto University
School of Electrical
Engineering
V C (exact)
V C (FFT)
0.31831
0.317287
0
0
0.212207 0.214269
0.042441 0.044553
0.018189 0.020386
V S (exact) V S (FFT)
0
0
0.500
0.500
0
0
0
0
0
0
waveform, samples=32
APLAC Simulator User: AALTO/RAD Circuit Theory Group
1.05
FFT waveform
oscillates at
t [500 , 1 m]
U/V
0.78
0.50
0.23
-0.05
0
500
1m
1.5m
2m
t/s
waveform/fft
A!
Aalto University
School of Electrical
Engineering
e(t)
Q
I
Y
Is
A!
Aalto University
School of Electrical
Engineering
A!
"
|
0
i
{z
"
0
i C
i
0
i C
0
#"
CV C
CV S
}|
{z
#"
VC
VS
"
0
i
i
0
#"
0
1
1 0
=
,
in are zero
0
2
2 0
Aalto University
School of Electrical
Engineering
QC
QS
I C (i ) cos(i t) + I S (i ) sin(i t) ,
i(v(t)) =
i=0
ZT
2 (i)
T
0
ZT
I
i(v(t)) sin(i t)dt
(
)
=
i
T
0
A!
Aalto University
School of Electrical
Engineering
Q(V )
F(V )
I (V )
=
+
+Y
V
V
V
A!
Aalto University
School of Electrical
Engineering
2
T
2
T
ZT "
0
ZT "
0
i(v(t))
v(t)
i(v(t))
v(t)
#"
#"
cos(k t)dt
cos(k t)dt
v(t)
VlC
v(t)
VlS
A!
Aalto University
School of Electrical
Engineering
2
T
|
ZT
0
ZT
0
i(v(t))
cos(l t) cos(k t)dt
v(t)
i(v(t))
v(t)
l=
6 k:
IkC
VlC
IkC
VlS
IkS
VlC
IkS
VlS
A!
1
G C (k l ) + G C (k + l )
1
G S (k l ) + G S (k + l )
2
1 S
G (k l ) + G S (k + l )
=
2
1 C
G (k l ) G C (k + l )
=
2
=
k = 0, l 6= 0:
l = 0:
Aalto University
School of Electrical
Engineering
IkC
V0C
|
I0C
I0C
1 C
1
G
(
),
=
= G S (l )
l
VlC
2
VlS
2
= G C (k ),
IkS
V0C
= G S (k )
2G0C
G1C
G1S
G2C
G2S
2G1C
2G1S
2G0C + G2C
G2S
G2S
2G0C G2C
G1C + G3C
G3S G1S
G3S + G1S
G1C G3C
2G2C
2G2S
G1C + G3C
G3S + G1S
G3S G1S
G1C G3C
2G0C + G4C
G4S
G4S
2G0C G4C
A!
Aalto University
School of Electrical
Engineering
6)
V (i+1) = V (i) + V
F(V )
V |V =V (i)
Use norm reduction if needed, (0, 1]
Check convergence
If kV k < 1 and kF(V (i+1) )k < 2 , goto 7)
Set i = i + 1, goto 3)
7)
Solution is V (i+1)
J (i) =
5)
A!
Aalto University
School of Electrical
Engineering
1
j(t)
v1
i(v1 )
V1 =
A!
V1C (0)
V1C (1 )
V1S (1 )
V1C (21 )
V1S (21 )
Aalto University
School of Electrical
Engineering
0.1
0.05
0
0
0
, V2 =
V2C (0)
V2C (1 )
V2S (1 )
V2C (21 )
V2S (21 )
5.625m
4.0m
2.0m
312.5
312.5
1 C
V =
C
V1 (0)
V C (0)
2
1 C
1
G
1
G
21 C
21 C
Above V1C (1) means V1C (1 ), V1S (2) = V1S (21 ), ...
Numerical values: G = 2, 1 C = 1, 21 C = 2
A!
Aalto University
School of Electrical
Engineering
C
V1 (2)
V2C (2)
V1S (2)
V1C (1)
V2C (1)
V1S (1)
V2S (1)
V2S (2)
Source vector I s =
j0
0
j1
0
0
0
0
0
0
0
0.1
0
0.05
0
0
0
0
0
0
0
Nonlinear current I (V ):
i(v1 ) = v12 , where v1 = V1C (0) + V1C (1) cos(1 t)
Expanding i(v1 ) = (V1C (0) + V1C (1) cos(1 t))2 gives the
spectrum of i(v1 )
Note: the direction of I (V ) is from node to the ground
A!
Aalto University
School of Electrical
Engineering
I (V ) =
A!
Aalto University
School of Electrical
Engineering
0
2
C
[V1 (0)] + (1/2)[V1C (1)]2
0
C
2V1 (0)V1C (1)
0
0
0
(1/2)[V1C (1)]2
0
0
0
11.25m
0
10m
0
0
0
1.25m
0
0
=0
A!
Aalto University
School of Electrical
Engineering
0.1
11.25m
0.05
10m
0
0
0
1.25m
0
0
{z
YV
0
11.25m
0
10m
0
0
0
1.25m
0
0
0.1
0
0.05
0
0
0
0
0
0
0
{z
{z
I (V )
Is
20.00
26
Gain
Pout
Pout/dBm
3.33
25
dB
dBm
-13.33
24
-30.00
23
1dB
-46.67
22
-63.33
1 dB compression
occurs at
Pin=25 dBm
21
Gain/dB
-80.00
-100
20
-90
-80
-70
-60
-50
-40
-30
-20
-10
Pin/dBm
Linear gain
Gain
Pout
1dB
A!
Aalto University
School of Electrical
Engineering
Pout
IM3 -->
3.33
dBm
-13.33
-30.00
IM3 is at
Pin=12 dBm
-46.67
-63.33
-80.00
-100
-72.5
-45
-17.5
10
Pin/dBm
Linear[fund]
Linear[3rd]
Pout[fund]
Pout[3rd]
A!
Aalto University
School of Electrical
Engineering
Oscillator analysis
A!
HB analysis of an oscillator
Aalto University
School of Electrical
Engineering
4.00
u(t)
V
2.75
1.50
0.25
-1.00
0
3.75n
7.5n
11.25n
15n
t/s
vtran(outn)
vtran(outp)
4.00
U/V
2.75
1.50
0.25
-1.00
0
3n
6n
9n
t/s
HB(outp)
A!
Aalto University
School of Electrical
Engineering
HB(outn)
12n
4)
A!
Aalto University
School of Electrical
Engineering
1
The results shown here were obtained in EU/FP7/ICT/ICESTARS/214911
project (http://www.icestars.eu)
A!
Aalto University
School of Electrical
Engineering
HB Divider analysis
A divider (ratio P) is usually driven by a signal at frequency P f0
and the circuit generates the signal at frequency f0 . HB divider
analysis is done as follows:
Use artificial excitation (voltage source in series with a
non-zero resistor R0 ) at frequency f0 to generate a signal at
the lowest harmonics (f0 , 2f0 , ...)
The value of the resistor R0 is swept from small (k) to
large (G) values, i.e., gradually disconnect the artificial
element from the circuit
Divider by 4 (f0=1G)
APLAC 8.50 User: AALTO/RAD/CT Mon Jan 31 2011
2.50
1.25
0.00
-1.25
-2.50
0
1n
2n
3n
t/s
clk
A!
Aalto University
School of Electrical
Engineering
div
4n
A!
Aalto University
School of Electrical
Engineering
Using HB Analysis
A!
Aalto University
School of Electrical
Engineering
Using HB Analysis
Analysis commands and results
Analysis results:
A!
Aalto University
School of Electrical
Engineering