AD2S1200
Rev. 0 | Page 18 of 24
CIRCUIT DYNAMICS
AD2S1200 LOOP RESPONSE MODEL
04406-0-011
ERROR
(ACCELERATION)
IN
θ
OUT
VELOCITY
k1 × k2
1–z
–1
1–bz
–1
1–z
–1
c1az
–1
c
Sin/Cos LOOKUP
Figure 11. RDC System Response Block Diagram
The RDC is a mixed-signal device, which uses two A/D
converters 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, used to
provide phase margin and reduce high frequency noise gain.
The second integrator is the same as the first integrator and
generates the output position from the velocity signal. The
Sin/Cos lookup has unity gain. Values are given below for each
section:
ADC gain parameter
(k1
nom
= 1.8/2.5)
)(
)(
1
VV
VV
k
REF
p
IN
=
Error gain parameter
π×= 210182
6
xk
Compensator zero coefficient
4096
4095
=a
Compensator pole coefficient
4096
4085
=b
Integrator gain parameter
4096000
1
=c
INT1 and INT2 transfer function
1
1
)(
=
z
c
zI
Compensation filter transfer
function
1
1
1
1
)(
=
bz
az
zC
R2D open-loop transfer function
)()(21)(
2
zCzIkkzG ×××=
R2D closed-loop transfer function
)(1
)(
)(
zG
zG
zH
+
=
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, we perform an inverse bilinear
transformation by substituting for z, where T = the sampling
period (1/4.096 MHz
244 ns).
s
T
s
T
z
+
=
2
2
Substitution yields the open-loop transfer function G(s).
)1(2
)1(
1
)1(2
)1(
1
4
1
)1(21
)(
2
22
b
bT
s
a
aT
s
s
Ts
sT
ba
akk
sG
+
×+
+
×+
×
++
×
×
=
This transformation produces the best matching at low
frequencies (f << f
SAMPLE
). At lower frequencies (within the
closed-loop bandwidth of the AD2S1200), the transfer function
can be simplified to
2
1
2
1
1
)(
st
st
s
K
sG
a
+
+
×
where:
ba
akk
K
b
bT
t
a
aT
t
a
×
=
+
=
+
=
)1(21
)1(2
)1(
)1(2
)1(
2
1
Solving for each value gives t
1
= 1 µs, 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
+
=
By converting to the s-domain, we are able to quantify the
open-loop dc gain (K
a
). This value is useful during calculation
of acceleration error of the loop as discussed in the Sources of
Error
section.
The step response to a 10° input step is shown in Figure 14.
Because the error calculation (Equation 3) is nonlinear for large
values of θ
− ϕ, the response time for larger step changes in
position (90°
180°) will typically take three times as long as the
response to a small step change in position (<20°). In response
to a step change in velocity, the AD2S1200 will exhibit the same
response characteristics as for a step change in position.
AD2S1200
Rev. 0 | Page 19 of 24
04406-0-012
1
5
–0
–40
–35
–30
–25
–20
MAGNITUDE (dB)
–15
–10
–5
–45
10 100 10k1k
FREQUENCY (Hz)
100k
Figure 12. RDC System Magnitude Response
04406-0-013
1
0
–20
–180
–160
–140
–120
–100
PHASE (Degrees)
–80
–60
–40
–200
10 100 10k1k
FREQUENCY (Hz)
100k
Figure 13. RDC System Phase Response
04406-0-014
0
20
18
2
4
6
8
10
ANGLE (Degrees)
12
14
16
0
12 43
TIME (ms)
5
Figure 14. RDC Small Step Response
SOURCES OF ERROR
Acceleration
A tracking converter employing a Type II servo loop does not
suffer any velocity lag. There is, however, an error associated
with acceleration. This error can be quantified using the
acceleration constant (K
a
) of the converter.
ErrorTracking
onAcceleratiInput
K
a
=
Conversely,
a
K
onAcceleratiInput
ErrorTracking =
Figure 15 shows tracking error versus acceleration for the
AD2S1200.
The numerator and denominator’s units must be consistent. The
maximum acceleration of the AD2S1200 has been defined as
the acceleration that creates an output position error of
(when LOT is indicated). The maximum acceleration can be
calculated as
2
2
000,103
)/(360
5)(sec
rps
rev
K
onAcceleratiMaximum
a
°
°×
=
The AD2S1200 will be able to withstand the maximum
acceleration of 103,000 rps
2
for approximately 10 ms before
reaching its maximum tracking rate of 1,000 rps.
ms
rps
rps
10
)(000,103
)(000,1
2
04406-0-015
0
10
9
1
2
3
4
5
TRACKING ERROR (Degrees)
6
7
8
0
40k 80k 160k120k
ACCELERATION (rps
2
)
200k
Figure 15. Tracking Error vs. Acceleration
AD2S1200
Rev. 0 | Page 20 of 24
CLOCK REQUIREMENTS
To achieve the specified dynamic performance, an external
crystal of 8.192 MHz must be used at the CLKIN, XTALOUT
pins. The position and velocity accuracy are guaranteed for
operation with a 8.192 MHz clock. However, the position
accuracy will still be maintained for clock frequencies ±10%
around this value. The velocity outputs are scaled in proportion
to the clock frequency so that if the clock is 10% higher than the
nominal, the full-scale velocity will be 10% higher than
nominal. The maximum tracking rate and the tracking loop
bandwidth also vary with the clock frequency.
CONNECTING TO THE DSP
The AD2S1200 serial port is ideally suited for interfacing to
DSP configured microprocessors. Figure 16 shows the
AD2S1200 interfaced to ADMC401, one of the DSP based
motor controllers.
The on-chip serial port of the ADMC401 is used in the
following configuration:
Alternate framing transmit mode with internal framing
(internally inverted)
Normal framing receive mode with external framing
(internally inverted)
Internal serial clock generation
In this mode, the ADMC401 uses the internal TFS signal as
external RFS to fully control the timing of receiving data and it
uses the same TFS as
RD
to the AD2S1200. The ADMC401 also
provides an internal continuous serial clock to the AD2S1200.
The
SAMPLE
signal on the AD2S1200 could be provided either
by using a PIO or by inverting the PWMSYNC signal to
synchronize the position and velocity reading with the PWM
switching frequency.
CS
and
RDVEL
may be obtained using two
PIO outputs of the ADMC401. The 12 bits of significant data
plus status bits are available on each consecutive negative edge
of the clock following the low going of the
RD
signal. Data is
clocked from the AD2S1200 into the data receive register of the
ADMC401. This is internally set to 16 bits (12 bits data, 4 status
bits) because 16 bits are received overall. The serial port
automatically generates an internal processor interrupt. This
allows the ADMC401 to read 16 bits at once and continue
processing.
All ADMC401 products can interface to the AD2S1200 with
similar interface circuitry.
04406-0-016
SCLK
DR
TFS
RFS
PWMSYNC
PIO
PIO
SCLK SOE
SO
RD
SAMPLE
CS
RDVEL
ADMC401
AD2S1200
Figure 16. Connecting to the ADMC401

AD2S1200YSTZ

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

Products related to this Datasheet