Datasheet

Data Sheet AD5235
Rev. F | Page 27 of 32
PROGRAMMABLE LOW-PASS FILTER
In analog-to-digital conversions (ADCs), it is common to
include an antialiasing filter to band limit the sampling signal.
Therefore, the dual-channel AD5235 can be used to construct a
second-order Sallen-Key low-pass filter, as shown in Figure 56.
A
B
V
I
AD8601
+2.5V
V
O
ADJUSTED
CONCURRENTLY
–2.5V
V+
V–
W
R
R2
02816-055
R1
A
B
W
R
C1
C2
U1
Figure 56. Sallen-Key Low-Pass Filter
The design equations are
2
2
2
f
f
f
I
O
S
Q
S
V
V
ω+
ω
+
ω
=
(10)
C2C1R2R1
O
1
=ω
(11)
Q =
C2R2
1
C1R1
+
1
(12)
First, users should select convenient values for the capacitors.
To achieve maximally flat bandwidth, where Q = 0.707, let C1
be twice the size of C2 and let R1 equal R2. As a result, the user
can adjust R1 and R2 concurrently to the same setting to
achieve the desirable bandwidth.
PROGRAMMABLE OSCILLATOR
In a classic Wien bridge oscillator, the Wien network (R||C, R'C')
provides positive feedback, whereas R1 and R2 provide negative
feedback (see Figure 57).
D1
02816-056
D2
OP1177
V+
V–
+2.5V
+
–2.5V
V
O
U1
R2A
2.1k
R2B
10k
B A
W
R1
1k
AMPLITUDE
ADJUSTMENT
R = R' = AD5235
R2B = AD5231
D1 = D2 = 1N4148
R'
25k
A
B
W
C'
VP
R
25k
A
B
W
C
2.2nF
FREQUENCY
ADJUSTMENT
2.2nF
Figure 57. Programmable Oscillator with Amplitude Control
At the resonant frequency, f
O
, the overall phase shift is zero, and
the positive feedback causes the circuit to oscillate. With R = R
',
C = C
', and R2 = R2A /(R2B + R
DIODE
), the oscillation frequency is
RC
O
1
=ω
or
RC
f
O
π
=
2
1
(13)
where R is equal to R
WA
such that :
W
ABWA
RR
D
DR +×
=
1024
1024
)(
(14)
At resonance, setting R2/R1 = 2 balances the bridge. In practice,
R2/R1 should be set slightly larger than 2 to ensure that the
oscillation can start. On the other hand, the alternate turn-on
of the diodes, D1 and D2, ensures that R2/R1 is smaller than 2,
momentarily stabilizing the oscillation.
When the frequency is set, the oscillation amplitude can be
turned by R2B because
DD
O
VR2BIV +=
3
2
(15)
V
O
, I
D
, and V
D
are interdependent variables. With proper
selection of R2B, an equilibrium is reached such that V
O
converges. R2B can be in series with a discrete resistor to
increase the amplitude, but the total resistance cannot be too
large to saturate the output.
In Figure 56 and Figure 57, the frequency tuning requires that
both RDACs be adjusted concurrently to the same settings.
Because the two channels might be adjusted one at a time, an
intermediate state occurs that might not be acceptable for some
applications. Of course, the increment/decrement instructions
(Instruction 5, Instruction 7, Instruction 13, and Instruction 15)
can all be used. Different devices can also be used in daisy-chain
mode so that parts can be programmed to the same settings
simultaneously.