AD2S1205
Rev. A | Page 15 of 20
t
11
t
SCLK
t
10
t
9
t
8
06339-008
SCLK
SO
MSB MSB – 1 LSB RDVEL DOS LOT PAR
RD
t
3
t
6
t
7
f
CLKIN
CLKIN
SO
VELOCITYPOSITION
t
2
S
AMPLE
CS
RD
RDVEL
t
1
t
1
t
3
t
5
t
4
t
5
t
4
t
7
t
6
Figure 8. Serial Port Read Timing
Table 7. Serial Port Timing
1
Parameter Description Min Typ Max Unit
t
8
MSB read time RD/CS to SCLK
15 t
SCLK
ns
t
9
SO enable time RD
/CS to DB valid
30 ns
t
10
Data access time, SCLK to DB valid 30 ns
t
11
Bus relinquish time RD
/CS to SO high-Z
18 ns
t
SCLK
Serial clock period (25 MHz maximum) 40 ns
1
t
1
to t
7
are as defined in Table 6.
AD2S1205
Rev. A | Page 16 of 20
INCREMENTAL ENCODER OUTPUTS
The A, B, and NM incremental encoder emulation outputs are
free running and are valid if the resolver format input signals
applied to the converter are valid.
The AD2S1205 emulates a 1024-line encoder, meaning that, in
terms of the converter resolution, one revolution produces 1024 A
and B pulses. Pulse A leads Pulse B for increasing angular rotation
(clockwise direction). The addition of the DIR output negates
the need for external A and B direction decode logic. The DIR
output indicates the direction of the input rotation and is high
for increasing angular rotation. DIR can be considered an asyn-
chronous output that can make multiple changes in state between
two consecutive LSB update cycles. This occurs when the direction
of the rotation of the input changes but the magnitude of the
rotation is less than 1 LSB.
The north marker pulse is generated as the absolute angular
position passes through zero. The north marker pulse width is
set internally for 90° and is defined relative to the A cycle.
Figure 9 details the relationship between A, B, and NM.
06339-009
A
B
NM
Figure 9. A, B, and NM Timing for Clockwise Rotation
Unlike incremental encoders, the AD2S1205 encoder output is
not subject to error specifications such as cycle error, eccentricity,
pulse and state width errors, count density, and phase ϕ. The
maximum speed rating (n) of an encoder is calculated from its
maximum switching frequency (f
MAX
) and its pulses per revo-
lution (PPR).
PPR
f
n
MAX
×
=
60
(9)
The A and B pulses of the AD2S1205 are initiated from the inter-
nal clock frequency, which is exactly half the external CLKIN
frequency. With a nominal CLKIN frequency of 8.192 MHz,
the internal clock frequency is 4.096 MHz. The equivalent
encoder switching frequency is
)Pulse1Updates4(MHz024.1MHz096.44/1 ==× (10)
For 12 bits, the PPR is 1024. Therefore, the maximum speed (n)
of the AD2S1205 with a CLKIN of 8.192 MHz is
rpm000,60
1024
000,024,160
=
×
=n (11)
To achieve the maximum speed of 75,000 rpm, select an
external CLKIN of 10.24 MHz to produce an internal clock
frequency equal to 5.12 MHz.
This compares favorably with encoder specifications, which
state f
MAX
as 20 kHz (photo diodes) to 125 kHz (laser based),
depending on the type of light system used. A 1024-line laser-
based encoder has a maximum speed of 7300 rpm.
The inclusion of A and B outputs allows an AD2S1205 and
resolver-based solution to replace optical encoders directly
without the need to change or upgrade the user’s existing
application software.
SUPPLY SEQUENCING AND RESET
The AD2S1205 requires an external reset signal to hold the
RESET
input low until V
DD
is within the specified operating
range of 4.5 V to 5.5 V.
The
RESET
pin must be held low for a minimum of 10 μs after
V
DD
is within the specified range (shown as t
RST
in ).
Applying a
Figure 10
RESET
signal to the AD2S1205 initializes the output
position to a value of 0x000 (degrees output through the parallel,
serial, and encoder interfaces) and causes LOS to be indicated
(LOT and DOS pins pulled low), as shown in . Figure 10
Failure to apply the correct power-up/reset sequence may result
in an incorrect position indication.
After a rising edge on the
RESET
input, the device must be
allowed at least 20 ms (shown as t
TRACK
in ) for the
internal circuitry to stabilize and the tracking loop to settle to
the step change of the input position. After t
TRACK
, a
Figure 10
SAMPLE
pulse must be applied, which in turn releases the LOT and DOT
pins to the state determined by the fault detection circuitry and
provides valid position data at the parallel and serial outputs.
(Note that if position data is acquired via the encoder outputs,
it can be monitored during t
TRACK
.)
The
RESET
pin is then internally pulled up.
t
RST
t
RST
0
6339-010
V
DD
RESET
4.75V
VALID
OUTPUT
DATA
S
AMPLE
LOT
DOS
t
TRACK
Figure 10. Power Supply Sequencing and Reset
AD2S1205
Rev. A | Page 17 of 20
CIRCUIT DYNAMICS
LOOP RESPONSE MODEL
0
6339-011
ERROR
(ACCELERATION)
θ
IN
θ
OUT
VELOCITY
k1 × k2
1 – z
–1
1 – bz
–1
1 – z
–1
c 1 – az
–1
c
Sin/Cos LOOKUP
Figure 11. RDC System Response Block Diagram
The RDC is a mixed-signal device that uses two ADCs to
digitize signals from the resolver and a Type II tracking loop
to convert these to digital position and velocity words.
The first gain stage consists of the ADC gain on the Sin/Cos
inputs and the gain of the error signal into the first integrator.
The first integrator generates a signal proportional to velocity.
The compensation filter contains a pole and a zero that are used
to provide phase margin and reduce high frequency noise gain.
The second integrator is the same as the first and generates the
position output from the velocity signal. The Sin/Cos lookup has
unity gain. The values for each section are as follows:
ADC gain parameter (k1
NOM
= 1.8/2.5)
)V(
)V(
p
REF
IN
V
V
k2 = (12)
Error gain parameter
π××= 21018
6
k2 (13)
Compensator zero coefficient
4096
4095
=a
(14)
Compensator pole coefficient
4096
4085
=b
(15)
Integrator gain parameter
000,096,4
1
=c (16)
INT1 and INT2 transfer function
1
1
)(
=
z
c
zI (17)
Compensation filter transfer function
1
1
1
1
)(
=
bz
az
zC (18)
R2D open-loop transfer function
)()()(
2
zCzIk2k1zG ×××= (19)
R2D closed-loop transfer function
)(1
)(
)(
zG
zG
zH
+
=
(20)
The closed-loop magnitude and phase responses are that of a
second-order low-pass filter (see Figure 12 and Figure 13).
To convert G(z) into the s-plane, an inverse bilinear transfor-
mation is performed by substituting the following equation
for z:
s
t
s
t
z
+
=
2
2
(21)
where t is the sampling period (1/4.096 MHz ≈ 244 ns).
Substitution yields the open-loop transfer function G(s).
)1(2
)1(
1
)1(2
)1(
1
4
1
)1(
)(
2
22
b
bt
s
a
at
s
s
ts
st
ba
ak2k1
sG
+
×+
+
×+
×
++
×
×
= (22)
This transformation produces the best matching at low frequencies
(f < f
SAMPLE
). At such frequencies (within the closed-loop bandwidth
of the AD2S1205), the transfer function can be simplified to
2
1
2
1
1
)(
st
st
s
K
sG
a
+
+
× (23)
where:
ba
ak2k1
K
b
bt
t
a
at
t
a
×
=
+
=
+
=
)1(
)1(2
)1(
)1(2
)1(
2
1
Solving for each value gives t
1
= 1 ms, t
2
= 90 μs, and K
a
≈ 7.4 ×
10
6
s
−2
. Note that the closed-loop response is described as
)(1
)(
)(
sG
sG
sH
+
=
(24)
By converting the calculation to the s-domain, it is possible to
quantify the open-loop dc gain (K
a
). This value is useful to
calculate the acceleration error of the loop (see the Sources of
Error section).

AD2S1205YSTZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Data Acquisition ADCs/DACs - Specialized IC 12-Bit R/D Cnvtr
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union