AD5360/AD5361
Rev. A | Page 16 of 28
A/B REGISTERS GAIN/OFFSET ADJUSTMENT
Each DAC channel has seven data registers. The actual DAC
data word can be written to either the X1A or X1B input
register, depending on the setting of the
A
/B bit in the control
register. If the
A
/B bit is 0, data is written to the X1A register. If
the
A
/B bit is 1, data is written to the X1B register. Note that
this single bit is a global control and affects every DAC channel
in the device. It is not possible to set up the device on a per-
channel basis so that some writes are to the X1A register and
some writes are to the X1B register.
MUX
DAC
DAC
REGISTER
MUX
X1A
REGISTER
X1B
REGISTER
M
REGISTER
C
REGISTER
X2A
REGISTER
X2B
REGISTER
05761-023
Figure 21. Data Registers Associated with Each DAC Channel
Each DAC channel also has a gain register (M) and an offset (C)
register, which allow trimming out of the gain and offset errors
of the entire signal chain. Data from the X1A register is oper-
ated on by a digital multiplier and adder by the contents of the
M and C registers. The calibrated DAC data is then stored in the
X2A register. Similarly, data from the X1B register is operated
on by the multiplier and adder and stored in the X2B register.
Although a multiplier and adder symbol are shown for each
channel, there is only one multiplier and one adder in the
device, which are shared among all channels. This has
implications for the update speed when several channels are
updated at once, as described in the Register Update Rates
section.
Each time data is written to the X1A register, or to the M or
C register with the
A
/B control bit set to 0, the X2A data is
recalculated and the X2A register is automatically updated.
Similarly, X2B is updated each time data is written to X1B, or
to M or C with
A
/B set to 1. The X2A and X2B registers are
not readable or directly writable by the user.
Data output from the X2A and X2B registers is routed to the
final DAC register by a multiplexer. An 8-bit
A
/B select register
associated with each group of eight DACs controls whether
each individual DAC takes its data from the X2A or X2B
register. If a bit in this register is 0, the DAC takes its data
from the X2A register; if 1, the DAC takes its data from the
X2B register (Bit 0 through Bit 7 control DAC 0 through
DAC 7, respectively).
Note that because there are 16 bits in two registers, it is possible
to set up, on a per-channel basis, whether each DAC takes its
data from the X2A register or X2B register. A global command
is also provided that sets all bits in the
A
/B select registers to 0
or to 1.
All DACs in the AD5360/AD5361 can be updated simultane-
ously by taking
LDAC
low, when each DAC register is updated
from either its X2A or X2B register, depending on the setting of
the
A
/B select registers. The DAC register is not readable or
directly writable by the user.
OFFSET DACs
In addition to the gain and offset trim for each DAC, there are
two 14-bit offset DACs, one for Group 0, and one for Group 1.
These allow the output range of all DACs connected to them to
be offset within a defined range. Thus, subject to the limitations
of headroom, it is possible to set the output range of Group 0
and/or Group 1 to be unipolar positive, unipolar negative, or
bipolar (either symmetrical or asymmetrical) about 0 V. The
DACs in the AD5360/AD5361 are factory trimmed with the
offset DACs set at their default values. This gives the best offset
and gain performance for the default output range and span.
When the output range is adjusted by changing the value of
the offset DAC, an extra offset is introduced due to the gain
error of the offset DAC. The amount of offset is dependent on
the magnitude of the reference and how much the offset DAC
moves from its default value. This offset is shown in Table 1. The
worst-case offset occurs when the offset DAC is at positive full
scale or negative full scale. This value can be added to the offset
present in the main DAC of a channel to give an indication of
the overall offset for that channel. In most cases, the offset can be
removed by programming the C register of the channel with an
appropriate value. The extra offset caused by the offset DACs
needs to be taken into account only when the offset DAC is
changed from its default value. Figure 22 shows the allowable
code range that can be loaded to the offset DAC, and this is
dependent on the reference value used. Thus, for a 5 V
reference, the offset DAC should not be programmed with
a value greater than 8192 (0x2000).
0 4096 8192 12288 16383
OFFSET DAC CODE
0
1
2
3
4
V
R
E
F
(
V
)
5
RESERVED
0
5761-005
Figure 22. Offset DAC Code Range
AD5360/AD5361
Rev. A | Page 17 of 28
OUTPUT AMPLIFIER
Because the output amplifiers can swing to 1.4 V below the
positive supply and 1.4 V above the negative supply, this limits
how much the output can be offset for a given reference voltage.
For example, it is not possible to have a unipolar output range of
20 V because the maximum supply voltage is ±16.5 V.
CLR
CLR
CLR
DAC
CHANNEL
OFFSET
DAC
OUTPUT
R6
10k
R2
20k
S3
S2
S1
R4
60k
R3
20k
S
IGGND
SIGGND
R5
60k
R1
20k
05761-006
Figure 23. Output Amplifier and Offset DAC
Figure 23 shows details of a DAC output amplifier and its
connections to the offset DAC. On power-up, S1 is open,
disconnecting the amplifier from the output. S3 is closed, so
the output is pulled to SIGGND. S2 is also closed to prevent
the output amplifier from being open-loop. If
CLR
is low at
power-up, the output remains in this condition until
CLR
is
taken high. The DAC registers can be programmed, and the
outputs assume the programmed values when
CLR
is taken
high. Even if
CLR
is high at power-up, the output remains
in this condition until V
DD
> 6 V and V
SS
< −4 V and the
initialization sequence has finished. The outputs then go to
their power-on default values.
TRANSFER FUNCTION
The output voltage of a DAC in the AD5360/AD5361 is dependent
on the value in the input register, the value of the M and C
registers, and the value in the offset DAC. The transfer functions
for the AD5360/AD5361 are shown in the following sections.
AD5360 Transfer Function
The input code is the value in the X1A or X1B register that is
applied to DAC (X1A, X1B default code = 32,768)
DAC_CODE = INPUT_CODE × (M + 1)/2
16
+ C − 2
15
DAC output voltage
V
OUT
= 4 × V
REF
× (DAC_CODE − (OFFSET_CODE × 4))/
2
16
+ V
SIGGND
where:
DAC_CODE should be within the range of 0 to 65,535.
V
REF
= 3.0 V, for a 12 V span.
V
REF
= 5.0 V, for a 20 V span.
M = code in gain registerdefault code = 2
16
– 1.
C = code in offset registerdefault code = 2
15
.
OFFSET_CODE is the code loaded to the offset DAC. It is
multiplied by 4 in the transfer function because this DAC is a
14-bit device. On power-up, the default code loaded to the
offset DAC is 8192 (0x2000). With a 10 V reference, this gives
a span of −10 V to +10 V.
AD5361 Transfer Function
The input code is the value in the X1A or X1B register that is
applied to DAC (X1A, X1B default code = 8192)
DAC_CODE = INPUT_CODE × (M + 1)/2
14
+ C − 2
13
DAC output voltage
V
OUT
= 4 × V
REF
× (DAC_CODEOFFSET_CODE)/2
14
+
V
SIGGND
where:
DAC_CODE should be within the range of 0 to 16,383.
V
REF
= 3.0 V, for a 12 V span.
V
REF
= 5.0 V, for a 20 V span.
M = code in gain registerdefault code = 2
14
− 1.
C = code in offset registerdefault code = 2
13
.
OFFSET_CODE is the code loaded to the offset DAC.
On power-up, the default code loaded to the offset DAC
is 8192 (0x2000). With a 5 V reference, this gives a span of
−10 V to +10 V.
REFERENCE SELECTION
The AD5360/AD5361 have two reference input pins. The
voltage applied to the reference pins determines the output
voltage span on VOUT0 to VOUT15. VREF0 determines the
voltage span for VOUT0 to VOUT7 (Group 0), and VREF1
determines the voltage span for VOUT8 to VOUT15 (Group 1).
The reference voltage applied to each VREF pin can be different,
if required, allowing each group of eight channels to have a
different voltage span. The output voltage range and span can
be adjusted by programming the offset register and gain register
for each channel as well as programming the offset DAC. If the
offset and gain features are not used (that is, the M and C
registers are left at their default values), the required reference
levels can be calculated as follows:
VREF = (VOUT
MAX
VOUT
MIN
)/4
If the offset and gain features of the AD5360/AD5361 are used,
the required output range is slightly different. The chosen
output range should take into account the system offset and
gain errors that need to be trimmed out. Therefore, the chosen
output range should be larger than the actual, required range.
The required reference levels can be calculated as follows:
1. Identify the nominal output range on VOUT.
2. Identify the maximum offset span and the maximum gain
required on the full output signal range.
3. Calculate the new maximum output range on VOUT,
including the expected maximum offset and gain errors.
AD5360/AD5361
Rev. A | Page 18 of 28
4. Choose the new required VOUT
MAX
and VOUT
MIN
, keeping
the VOUT limits centered on the nominal values. Note that
V
DD
and V
SS
must provide sufficient headroom.
5. Calculate the value of VREF as follows:
VREF = (VOUT
MAX
− VOUT
MIN
)/4
Reference Selection Example
Nominal output range = 20 V (−10 V to +10 V)
Offset error = ±100 mV
Gain error = ±3%
SIGGND = AGND = 0 V
Gain error = ±3%
Maximum positive gain error = +3%
Output range including gain error = 20 + 0.03 (20) =
20.6 V
Offset error = ±100 mV
Maximum offset error span = 2 (100 mV) = 0.2 V
Output range including gain error and offset error =
20.6 V + 0.2 V = 20.8 V
VREF calculation
Actual output range = 20.6 V, that is, −10.3 V to +10.3 V
(centered);
VREF = (10.3 V + 10.3 V)/4 = 5.15 V
If the solution yields an inconvenient reference level, the user
can adopt one of the following approaches:
Use a resistor divider to divide down a convenient, higher
reference level to the required level.
Select a convenient reference level above VREF and modify
the gain and offset registers to digitally downsize the
reference. In this way, the user can use almost any conven-
ient reference level but may reduce the performance by
overcompaction of the transfer function.
Use a combination of these two approaches.
CALIBRATION
The user can perform a system calibration on the AD5360 and
AD5361 to reduce gain and offset errors to below 1 LSB. This is
achieved by calculating new values for the M and C registers and
reprogramming them.
Reducing Zero-Scale and Full-Scale Error
Zero-scale error can be reduced as follows:
1. Set the output to the lowest possible value.
2. Measure the actual output voltage and compare it with the
required value. This gives the zero-scale error.
3. Calculate the number of LSBs equivalent to the error and
add this from the default value of the C register. Note that
only negative zero-scale error can be reduced.
Full-scale error can be reduced as follows:
1. Measure the zero-scale error.
2. Set the output to the highest possible value.
3. Measure the actual output voltage and compare it with the
required value. Add this error to the zero-scale error. This
is the span error, which includes full-scale error.
4. Calculate the number of LSBs equivalent to the span error
and subtract it from the default value of the M register.
Note that only positive full-scale error can be reduced.
The M and C registers should not be programmed until both
zero-scale errors and full-scale errors have been calculated.
AD5360 Calibration Example
This example assumes that a −10 V to +10 V output is required.
The DAC output is set to −10 V but is measured at −10.03 V.
This gives a zero-scale error of −30 mV.
1 LSB = 20 V/65,536 = 305.176 μV
30 mV = 98 LSBs
The full-scale error can now be removed. The output is set
to +10 V, and a value of +10.02 V is measured. The full-scale
error is +20 mV. The span error is +20 mV − (−30 mV) =
+50 mV.
+50 mV = 164 LSBs
The errors can now be removed.
1. 98 LSBs should be added to the default C register value;
(32,768 + 98) = 32,866.
2. 32,866 should be programmed to the C register.
3. 164 LSBs should be subtracted from the default M register
value; (65,535 − 164) = 65,371.
4. 65,371 should be programmed to the M register.
Additional Calibration
The techniques described in the previous section are usually
enough to reduce the zero-scale errors and full-scale errors in
most applications. However, there are limitations whereby the
errors may not be sufficiently removed. For example, the offset
(C) register can only be used to reduce the offset caused by the
negative zero-scale error. A positive offset cannot be reduced.
Likewise, if the maximum voltage is below the ideal value, that
is, a negative full-scale error, the gain (M) register cannot be
used to increase the gain to compensate for the error.
These limitations can be overcome by increasing the refer-
ence value. With a 2.5 V reference, a 10 V span is achieved.
The ideal voltage range, for the AD5360 or AD5361, is
−5 V to +5 V. Using a 2.6 V reference increases the range
to −5.2 V to +5.2 V. Clearly, in this case, the offset and gain
errors are insignificant and the M and C registers can be
used to raise the negative voltage to −5 V and then reduce
the maximum voltage down to +5 V to give the most
accurate values possible.

AD5360BCPZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Digital to Analog Converters - DAC 16-CH 16-bit Serial bipolar IC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union