12-Bit RDC With Reference Oscillator AD2S1205: Features Functional Block Diagram
12-Bit RDC With Reference Oscillator AD2S1205: Features Functional Block Diagram
12-Bit RDC With Reference Oscillator AD2S1205: Features Functional Block Diagram
REFERENCE
PINS
AD2S1205
REFERENCE
OSCILLATOR
(DAC)
EXCITATION
OUTPUTS
VOLTAGE
REFERENCE
INTERNAL
CLOCK
GENERATOR
SYNTHETIC
REFERENCE
INPUTS
FROM
RESOLVER
ADC
POSITION REGISTER
ENCODER
EMULATION
OUTPUTS
ENCODER
EMULATION
VELOCITY REGISTER
MULTIPLEXER
APPLICATIONS
DATA I/O
RESET
FAULT
DETECTION
OUTPUTS
FAULT
DETECTION
ADC
06339-001
Figure 1.
GENERAL DESCRIPTION
PRODUCT HIGHLIGHTS
1.
The converter accepts 3.15 V p-p 27% input signals on the Sin
and Cos inputs. A Type II tracking loop is employed to track the
inputs and convert the input Sin and Cos information into a digital
representation of the input angle and velocity. The maximum
tracking rate is a function of the external clock frequency. The
performance of the AD2S105 is specified across a frequency
range of 8.192 MHz 25%, allowing a maximum tracking rate
of 1250 rps.
2.
3.
4.
5.
6.
Rev. A
Information furnished by Analog Devices is believed to be accurate and reliable. However, no
responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other
rights of third parties that may result from its use. Specifications subject to change without notice. No
license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
Trademarks and registered trademarks are the property of their respective owners.
Comparable Parts
Reference Materials
Analog Dialogue
Precision Resolver-to-Digital Converter Measures Angular
Position and Velocity
Evaluation Kits
AD2S1205 Evaluation kit
Documentation
Data Sheet
AD2S1205: 12-Bit RDC with Reference Oscillator Data
Sheet
User Guides
UG-365: Evaluation Board for the AD2S1200/AD2S1205
Resolver-to-Digital Converters
Design Resources
Discussions
View all AD2S1205 EngineerZone Discussions
Technical Support
Submit a technical question or find your regional support
number
* This page was dynamically generated by Analog Devices, Inc. and inserted into this data sheet. Note: Dynamic changes to
the content on this page does not constitute a change to the revision number of the product data sheet. This content may be
frequently modified.
AD2S1205
TABLE OF CONTENTS
Features .............................................................................................. 1
Applications ....................................................................................... 1
Specifications..................................................................................... 3
REVISION HISTORY
5/10Rev. 0 to Rev. A
Changes to Features Section............................................................ 1
Changes to Input Bias Current Parameter and Input
Impedance Parameter ...................................................................... 3
Changes to Table 2 ............................................................................ 5
Changes to Loss of Signal Detection Section ................................ 9
Changes to Connecting the Converter Section and Figure 5 ... 11
Change to t6 Max Value in Table 6 ............................................... 13
Changes to t9 and t10 Max Values Table 7 .................................... 15
Changes to Ordering Guide .......................................................... 20
Added Automotive Products Section .......................................... 20
1/07Revision 0: Initial Version
Rev. A | Page 2 of 20
AD2S1205
SPECIFICATIONS
AVDD = DVDD = 5.0 V 5% at 40C to +125C, CLKIN = 8.192 MHz 25%, unless otherwise noted.
Table 1.
Parameter
Sin, Cos INPUTS 1
Voltage
Input Bias Current
Input Impedance
Common-Mode Voltage
Phase-Lock Range
ANGULAR ACCURACY
Angular Accuracy
Resolution
Linearity INL
Linearity DNL
Repeatability
Hysteresis
VELOCITY OUTPUT
Velocity Accuracy
Resolution
Linearity
Offset
Dynamic Ripple
DYNAMIC PERFORMANCE
Bandwidth
Tracking Rate
Min
Typ
Max
Unit
Conditions/Comments
2.3
3.15
4.0
V p-p
12
A
M
mV peak
Degrees
0.35
11
22
12
2
0.3
1
1
2
11
1
0
1
1000
Acceleration Error
Settling Time 179 Step Input
EXC, EXC OUTPUTS
Voltage
Center Voltage
Frequency
EXC/EXC DC Mismatch
THD
FAULT DETECTION BLOCK
Loss of Signal (LOS)
Sin/Cos Threshold
Angular Accuracy (Worst Case)
100
+44
44
2400
750
1000
1250
30
5.2
4.0
3.34
2.39
3.6
2.47
10
12
15
20
3.83
2.52
35
58
2.18
2.24
Arc minutes
Arc minutes
Bits
LSB
LSB
LSB
LSB
LSB
Bits
LSB
LSB
LSB
Zero acceleration
Guaranteed by design, 2 LSB maximum
Zero acceleration
Zero acceleration
Hz
rps
rps
rps
Arc minutes
ms
ms
V p-p
V
kHz
kHz
kHz
kHz
mV
dB
2.3
57
V p-p
Degrees
114
Degrees
Time Latency
125
Rev. A | Page 3 of 20
Load 100 A
FS1 = high, FS2 = high, CLKIN = 8.192 MHz
FS1 = high, FS2 = low, CLKIN = 8.192 MHz
FS1 = low, FS2 = high, CLKIN = 8.192 MHz
FS1 = low, FS2 = low, CLKIN = 8.192 MHz
First five harmonics
DOS and LOT go low when Sin or Cos fall below threshold
LOS indicated before angular output error exceeds limit
(4.0 V p-p input signal and 2.18 V LOS threshold)
Maximum electrical rotation before LOS is indicated
(4.0 V p-p input signal and 2.18 V LOS threshold)
AD2S1205
Parameter
Degradation of Signal (DOS)
Sin/Cos Threshold
Angular Accuracy (Worst Case)
Angular Latency (Worst Case)
Time Latency
Sin/Cos Mismatch
Min
Typ
Max
Unit
Conditions/Comments
4.0
4.09
4.2
33
66
125
420
V p-p
Degrees
Degrees
s
mV
Degrees
385
5
1.1
4
2.39
2.47
70
60
2.52
204.8
50
ms
Degrees
IOUT = 100 A
kHz
%
mA
0.8
4.0
10
+10
V
V
V
V
A
80
10
10
10
+80
+10
+10
+10
A
A
A
A
0.4
Guaranteed by design
V
ppm/C
dB
20
2.0
The voltages for Sin, SinLO, Cos, and CosLO relative to AGND must be between 0.2 V and AVDD.
Rev. A | Page 4 of 20
+1 mA load
1 mA load
SAMPLE, CS, RDVEL, CLKIN, SOE pins
RD, FS1, FS2, RESET pins
AD2S1205
ABSOLUTE MAXIMUM RATINGS
Table 2.
Parameter
Supply Voltage (VDD)
Supply Voltage (AVDD)
Input Voltage
Output Voltage Swing
Input Current to Any Pin Except Supplies 1
Operating Temperature Range (Ambient)
Storage Temperature Range
1
Rating
0.3 V to +7.0 V
0.3 V to +7.0 V
0.3 V to VDD + 0.3 V
0.3 V to VDD + 0.3 V
10 mA
40C to +125C
65C to +150C
ESD CAUTION
Rev. A | Page 5 of 20
AD2S1205
REFBYP
AGND
Cos
CosLO
AVDD
SinLO
Sin
AGND
EXC
EXC
44
43
42
41
40
39
38
37
36
35
34
DVDD
33
RESET
RD
32
FS2
CS
31
FS1
SAMPLE
30
LOT
DOS
RDVEL 5
AD2S1205
29
SOE 6
TOP VIEW
(Not to Scale)
28
DIR
27
NM
12
13
14
15
16
17
18
19
20
21
22
CLKIN
DGND
XTALOUT
23
DB0
CPO
DB7 11
DB1
24
DB2
DB8 10
DVDD
25
DGND
26
DB3
DB9
DB4
DB10/SCLK
DB5
DB6
DB11/SO
06339-002
REFOUT
Mnemonic
DVDD
RD
3
4
CS
SAMPLE
RDVEL
SOE
DB11/SO
DB10/SCLK
9 to 15
16, 23
DB9 to DB3
DGND
18 to 20
21
DB2 to DB0
XTALOUT
22
CLKIN
24
CPO
25
Description
Digital Supply Voltage, 4.75 V to 5.25 V. This is the supply voltage for all digital circuitry on the AD2S1205. The
AVDD and DVDD voltages ideally should be at the same potential and must not be more than 0.3 V apart, even
on a transient basis.
Edge-Triggered Logic Input. This pin acts as a frame synchronization signal and output enable. The output buffer is
enabled when CS and RD are held low.
Chip Select. Active low logic input. The device is enabled when CS is held low.
Sample Result. Logic input. Data is transferred from the position and velocity integrators to the position and
velocity registers, respectively, after a high-to-low transition on the SAMPLE signal.
Read Velocity. Logic input. RDVEL input is used to select between the angular position register and the angular
velocity register. RDVEL is held high to select the angular position register and low to select the angular
velocity register.
Serial Output Enable. Logic input. This pin enables either the parallel or serial interface. The serial interface is
selected by holding the SOE pin low, and the parallel interface is selected by holding the SOE pin high.
Data Bit 11/Serial Data Output Bus. When the SOE pin is high, this pin acts as DB11, a three-state data output pin
controlled by CS and RD. When the SOE pin is low, this pin acts as SO, the serial data output bus controlled by CS
and RD. The bits are clocked out on the rising edge of SCLK.
Data Bit 10/Serial Clock. In parallel mode this pin acts as DB10, a three-state data output pin controlled by CS and RD.
In serial mode this pin acts as the serial clock input.
Data Bit 9 to Data Bit 3. Three-state data output pins controlled by CS and RD.
Digital Ground. These pins are ground reference points for digital circuitry on the AD2S1205. All digital input
signals should be referred to this DGND voltage. Both of these pins can be connected to the AGND plane of a
system. The DGND and AGND voltages should ideally be at the same potential and must not be more than 0.3 V
apart, even on a transient basis.
Data Bit 2 to Data Bit 0. Three-state data output pins controlled by CS and RD.
Crystal Output. To achieve the specified dynamic performance, an external crystal is recommended at the CLKIN and
XTALOUT pins. The position and velocity accuracy are guaranteed for a frequency range of 8.192 MHz 25%.
Clock Input. To achieve the specified dynamic performance, an external crystal is recommended at the CLKIN and
XTALOUT pins. The position and velocity accuracy are guaranteed for a frequency range of 8.192 MHz 25%.
Charge-Pump Output. Analog output. A 204.8 kHz square wave output with a 50% duty cycle is available at the
CPO output pin. This square wave output can be used for negative rail voltage generation or to create a VCC rail.
Incremental Encoder Emulation Output A. Logic output. This output is free running and is valid if the resolver format
input signals applied to the converter are valid.
Rev. A | Page 6 of 20
AD2S1205
Pin No.
26
Mnemonic
B
27
NM
28
DIR
29
DOS
30
LOT
31
32
33
FS1
FS2
RESET
34
EXC
35
EXC
36, 42
AGND
37
38
39
Sin
SinLO
AVDD
40
41
43
CosLO
Cos
REFBYP
44
REFOUT
Description
Incremental Encoder Emulation Output B. Logic output. This output is free running and is valid if the resolver format
input signals applied to the converter are valid.
North Marker Incremental Encoder Emulation Output. Logic output. This output is free running and is valid if the
resolver format input signals applied to the converter are valid.
Direction. Logic output. This output is used in conjunction with the incremental encoder emulation outputs. The
DIR output indicates the direction of the input rotation and is high for increasing angular rotation.
Degradation of Signal. Logic output. Degradation of signal (DOS) is detected when either resolver input (Sin or Cos)
exceeds the specified DOS Sin/Cos threshold. See the Signal Degradation Detection section. DOS is indicated by a
logic low on the DOS pin and is not latched when the input signals exceed the maximum input level.
Loss of Tracking. Logic output. LOT is indicated by a logic low on the LOT pin and is not latched. See the Loss of
Signal Detection section.
Frequency Select 1. Logic input. FSI in conjunction with FS2 allows the frequency of EXC/EXC to be programmed.
Frequency Select 2. Logic input. FS2 in conjunction with FS1 allows the frequency of EXC/EXC to be programmed.
Reset. Logic input. The AD2S1205 requires an external reset signal to hold the RESET input low until VDD is within
the specified operating range of 4.5 V to 5.5 V. See the Supply Sequencing and Reset section.
Excitiation Frequency. Analog output. An on-board oscillator provides the sinusoidal excitation signal (EXC) and its
complement signal (EXC) to the resolver. The frequency of this reference signal is programmable via the FS1 and FS2 pins.
Excitation Frequency Complement. Analog output. An on-board oscillator provides the sinusoidal excitation signal
(EXC) and its complement signal (EXC) to the resolver. The frequency of this reference signal is programmable via
the FS1 and FS2 pins.
Analog Ground. These pins are ground reference points for analog circuitry on the AD2S1205. All analog input
signals and any external reference signal should be referred to this AGND voltage. Both of these pins should be
connected to the AGND plane of a system. The AGND and DGND voltages should ideally be at the same potential
and must not be more than 0.3 V apart, even on a transient basis.
Positive Analog Input of Differential Sin/SinLO Pair. The input range is 2.3 V p-p to 4.0 V p-p.
Negative Analog Input of Differential Sin/SinLO Pair. The input range is 2.3 V p-p to 4.0 V p-p.
Analog Supply Voltage, 4.75 V to 5.25 V. This pin is the supply voltage for all analog circuitry on the AD2S1205. The
AVDD and DVDD voltages ideally should be at the same potential and must not be more than 0.3 V apart, even on a
transient basis.
Negative Analog Input of Differential Cos/CosLO Pair.
Positive Analog Input of Differential Cos/CosLO Pair.
Reference Bypass. Reference decoupling capacitors should be connected here. Typical recommended values are
10 F and 0.01 F.
Voltage Reference Output, 2.39 V to 2.52 V.
Rev. A | Page 7 of 20
AD2S1205
RESOLVER FORMAT SIGNALS
Vr = Vp Sin(t)
Vr = Vp Sin(t)
R1
S2
S2
Va = Vs Sin(t) Cos()
R1
Va = Vs Sin(t) Cos()
S4
S4
R2
R2
S3
S1
Vb = Vs Sin(t) Sin()
S3
Vb = Vs Sin(t) Sin()
06339-003
S1
(1)
S2 S4 = E0 Sin(t ) Cos
where:
is the shaft angle.
Sin(t) is the rotor excitation frequency.
E0 is the rotor excitation amplitude.
S2 S4
(COSINE)
S3 S1
(SINE)
06339-004
R2 R4
(REFERENCE)
90
180
270
Rev. A | Page 8 of 20
360
AD2S1205
THEORY OF OPERATION
The AD2S1205s operation is based on a Type II tracking closedloop principle. The digitally implemented tracking loop continually
tracks the position and velocity of the resolver without the need
for external convert and wait states. As the resolver moves through
a position equivalent to the least significant bit weighting, the
tracking loop output is updated by 1 LSB.
The converter tracks the shaft angle () by producing an output
angle () that is fed back and compared with the input angle
(); the difference between the two angles is the error, which is
driven towards 0 when the converter is correctly tracking the
input angle. To measure the error, S3 S1 is multiplied by Cos
and S2 S4 is multiplied by Sin to give
for S3 S1
for S2 S4
(2)
(3)
(4)
MONITOR SIGNAL
The AD2S1205 generates a monitor signal by comparing the
angle in the position register to the incoming Sin and Cos signals
from the resolver. The monitor signal is created in a similar fashion
to the error signal (described in the Theory of Operation section).
The incoming Sin and Cos signals are multiplied by the Sin
and Cos of the output angle, respectively, and then these values
are added together:
Monitor = ( A1 Sin Sin) + ( A2 Cos Cos)
(5)
where:
A1 is the amplitude of the incoming Sin signal (A1 Sin).
A2 is the amplitude of the incoming Cos signal (A2 Cos).
is the resolver angle.
is the angle stored in the position register.
Note that Equation 5 is shown after demodulation with the
carrier signal Sin(t) removed. Also note that for a matched
input signal (that is, a no fault condition), A1 is equal to A2.
When A1 is equal to A2 and the converter is tracking
(therefore, is equal to ), the monitor signal output has a
constant magnitude of A1 (Monitor = A1 (Sin2 + Cos2) = A1),
which is independent of the shaft angle. When A1 does not
equal A2, the monitor signal magnitude alternates between A1
and A2 at twice the rate of the shaft rotation. The monitor
signal is used to detect degradation or loss of input signals.
Rev. A | Page 9 of 20
AD2S1205
SIGNAL DEGRADATION DETECTION
When a fault is indicated, all output pins still provide data, although
the data may or may not be valid. The fault condition does not
force the parallel, serial, or encoder outputs to a known state.
Response to specific fault conditions is a system-level requirement.
The fault outputs of the AD2S1205 indicate that the device has
sensed a potential problem with either the internal or external
signals of the AD2S1205. It is the responsibility of the system
designer to implement the appropriate fault-handling schemes
within the control hardware and/or algorithm of a given application based on the indicated fault(s) and the velocity or position
data provided by the AD2S1205.
DOS Pin
0
0
1
1
LOT Pin
0
1
0
1
Order of
Priority
1
2
3
Rev. A | Page 10 of 20
AD2S1205
ON-BOARD PROGRAMMABLE SINUSOIDAL
OSCILLATOR
CHARGE-PUMP OUTPUT
FS1
1
1
0
0
FS2
1
0
1
0
Rotation Rate
Reference Frequency
(6)
A 204.8 kHz square wave output with a 50% duty cycle is available
at the CPO pin of the AD2S1205. This square wave output can
be used for negative rail voltage generation or to create a VCC rail.
Ground is connected to the AGND and DGND pins (see Figure 5).
A positive power supply (VDD) of 5 V dc 5% is connected to
the AVDD and DVDD pins, with typical values for the decoupling
capacitors being 10 nF and 4.7 F. These capacitors are then
placed as close to the device pins as possible and are connected
to both AVDD and DVDD. If desired, the reference oscillator
frequency can be changed from the nominal value of 10 kHz
using FS1 and FS2. Typical values for the oscillator decoupling
capacitors are 20 pF, whereas typical values for the reference
decoupling capacitors are 10 F and 0.01 F. As outlined in the
Loss of Signal Detection section 68 k resistors between the Sin
and SinLO inputs and the Cos and CosLO inputs can be used to
ensure loss of signal detection when all four inputs from resolver
are disconnected.
In this recommended configuration, the converter introduces a
VREF/2 offset in the Sin and Cos signal outputs from the resolver.
The SinLO and CosLO signals can each be connected to a different
potential relative to ground if the Sin and Cos signals adhere to the
recommended specifications. Note that because the EXC and EXC
outputs are differential, there is an inherent gain of 2. Figure 6
shows a suggested buffer circuit. Capacitor C1 may be used in
parallel with Resistor R2 to filter out any noise that may exist on the
EXC and EXC outputs. Care should be taken when selecting the
cutoff frequency of this filter to ensure that phase shifts of the
carrier caused by the filter do not exceed the phase lock range
of the AD2S1205.
The gain of the circuit is
CarrierGain = (R2 / R1) (1 /(1 + R2 C1 ))
(7)
R2 R2
(8)
and
where:
is the radian frequency of the applied signal.
VREF, a dc voltage, is set so that VOUT is always a positive value,
eliminating the need for a negative supply.
Rev. A | Page 11 of 20
AD2S1205
A separate screened twisted pair cable is recommended for
analog inputs Sin/SinLO and Cos/CosLO. The screens should
terminate to either REFOUT or AGND.
R2
S3
S2
CLOCK REQUIREMENTS
R1
S1
S4
5V
BUFFER
CIRCUIT
4.7F
BUFFER
CIRCUIT
10nF
10F
39
38
37
36
35
34
AVDD
SinLO
Sin
AGND
EXC
EXC
40
Cos
DVDD
41
CosLO
42
68k
31
30
29
27
26
25
11
14
15
16
17
Data Format
DGND 23
18
19
20
21
5V
22
8.192
MHz
10nF
20pF
20pF
06339-005
4.7F
The serial output enable pin (SOE) is held high to enable the
parallel interface and low to enable the serial interface. In the
latter case, Pin DB0 to Pin DB9 are placed into a high impedance
state while DB11 is the serial output (SO) and DB10 is the serial
clock input (SCLK).
24
DVDD
10
SOE Input
28
AD2S1205
13
RESET
33
12
32
DGND
12V
12V
R1
EXC/EXC
(VIN)
(VREF ) AD8662
VOUT
06339-017
5V
43
AGND
44
68k
REFBYP
10nF
5V
PARALLEL INTERFACE
The angular position and velocity are available on the AD2S1205
in two 12-bit registers, accessed via the 12-bit parallel port. The
parallel interface is selected by holding the SOE pin high. Data
is transferred from the velocity and position integrators to the
position and velocity registers, respectively, after a high-to-low
transition on the SAMPLE pin. The RDVEL pin selects whether
data from the position or velocity register is transferred to the
output register. The CS pin must be held low to transfer data
from the selected register to the output register. Finally, the RD
input is used to read the data from the output register and to
enable the output buffer. The timing requirements for the read
cycle are shown in Figure 7.
SAMPLE Input
Data is transferred from the position and velocity integrators to
the position and velocity registers, respectively, after a high-tolow transition on the SAMPLE signal. This pin must be held
low for at least t1 to guarantee correct latching of the data. RD
should not be pulled low before this time because data will not
be ready. The converter continues to operate during the read
process. A rising edge of SAMPLE resets the internal registers
that contain the minimum and maximum magnitude of the
monitor signal.
Rev. A | Page 12 of 20
AD2S1205
CS Input
RD Input
RDVEL Input
RDVEL input is used to select between the angular position
register and the angular velocity register, as shown in Figure 7.
RDVEL is held high to select the angular position register and
low to select the angular velocity register. The RDVEL pin must
be set (stable) at least t4 before the RD pin is pulled low.
fCLKIN
CLKIN
t1
t1
SAMPLE
t2
CS
t3
t3
RD
t5
t5
RDVEL
t4
t4
VELOCITY
t7
t6
DON'T CARE
06339-007
POSITION
DATA
t7
t6
Description
Frequency of clock input
SAMPLE pulse width
Delay from SAMPLE before RD/CS low
RD pulse width
Set time RDVEL before RD/CS low
Hold time RDVEL after RD/CS low
Enable delay RD/CS low to data valid
Disable delay RD/CS low to data high-Z
Min
6.144
2 (1/fCLKIN) + 20
6 (1/fCLKIN) + 20
18
5
7
Typ
8.192
Max
10.24
30
18
Rev. A | Page 13 of 20
Unit
MHz
ns
ns
ns
ns
ns
ns
ns
AD2S1205
SERIAL INTERFACE
SAMPLE Input
SO Output
The output shift register is 16 bits wide. Data is clocked out of
the device as a 16-bit word by the serial clock input (SCLK).
The timing diagram for this operation is shown in Figure 8.
The 16-bit word consists of 12 bits of angular data (position or
velocity, depending on RDVEL input), one RDVEL status bit,
and three status bits (a parity bit, a degradation of signal bit, and
a loss of tracking bit). Data is clocked out MSB first from the
SO pin, beginning with DB15. DB15 through DB4 correspond
to the angular information. The angular position data format
is unsigned binary, with all 0s corresponding to 0 and all 1s corresponding to 360 l LSB. The angular velocity data format
is twos complement, with the MSB representing the rotation
direction. DB3 is the RDVEL status bit, with a 1 indicating
position and a 0 indicating velocity. DB2 is DOS, the degradation
of signal flag (refer to the Fault Detection Circuit section). Bit 1
is LOT, the loss of tracking flag (refer to the Fault Detection
Circuit section). Bit 0 is PAR, the parity bit. The position and
velocity data are in odd parity format, and the data readback
always contains an odd number of logic highs (1s).
CS Input
The device is enabled when CS is held low.
RD Input
The 12-bit data bus lines are normally in a high impedance
state. The output buffer is enabled when CS and RD are held
low. The RD input is an edge-triggered input that acts as a frame
synchronization signal and an output enable. On a falling edge of
the RD signal, data is transferred to the output buffer. Data is
then available on the serial output pin (SO); however, it is only
valid after RD is held low for t9. The serial data is clocked out
of the SO pin on the rising edges of SCLK, and each data bit is
available at the SO pin on the falling edge of SCLK. However,
as the MSB is clocked out by the falling edge of RD, the MSB is
available at the SO pin on the first falling edge of SCLK. Each
subsequent bit of the data-word is shifted out on the rising edge
of SCLK and is available at the SO pin on the falling edge of
SCLK for the next 15 clock pulses.
The high-to-low transition of RD must occur during the high
time of the SCLK to avoid DB14 being shifted on the first rising
edge of the SCLK, which would result in the MSB being lost.
RD may rise high after the last falling edge of SCLK. If RD is
held low and additional SCLKs are applied after DB0 has been
read, then 0s will be clocked from the data output. When
reading data continuously, wait a minimum of t5 after RD
is released before reapplying it.
RDVEL Input
RDVEL input is used to select between the angular position
register and the angular velocity register. RDVEL is held high to
select the angular position register and low to select the angular
velocity register. The RDVEL pin must be set (stable) at least t4
before the RD pin is pulled low.
Rev. A | Page 14 of 20
AD2S1205
fCLKIN
CLKIN
t1
t1
SAMPLE
t2
CS
t3
t3
RD
t5
t5
RDVEL
t4
t4
t6
t6
t7
t7
POSITION
SO
VELOCITY
t8
RD
tSCLK
SCLK
t10
MSB
MSB 1
LSB
RDVEL
DOS
LOT
PAR
06339-008
SO
t11
t9
Description
t8
t9
t10
t11
tSCLK
Rev. A | Page 15 of 20
Min
15
40
Typ
Max
tSCLK
Unit
ns
30
30
18
ns
ns
ns
ns
AD2S1205
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 asynchronous 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.
A
NM
VDD
1024
(9)
The A and B pulses of the AD2S1205 are initiated from the internal 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
60 1,024,000
= 60,000 rpm
4.75V
tRST
RESET
tTRACK
SAMPLE
LOT
VALID
OUTPUT
DATA
DOS
(11)
Rev. A | Page 16 of 20
06339-010
06339-009
n=
AD2S1205
CIRCUIT DYNAMICS
LOOP RESPONSE MODEL
IN
k1 k2
c
1 z1
VELOCITY
1 az1
1 bz1
c
1 z1
OUT
Sin/Cos LOOKUP
G( z )
1 + G( z )
H (z ) =
V IN (Vp )
VREF (V)
To convert G(z) into the s-plane, an inverse bilinear transformation is performed by substituting the following equation
for z:
2
+s
z= t
2
s
t
k2 = 18 10 6 2
(13)
a b
G( s )
(14)
b=
4085
4096
(15)
c=
1
4,096,000
(16)
c
1 z 1
1 az 1
1 bz 1
(23)
t (1 + b)
2(1 b)
Ka =
k1 k2(1 a)
a b
(17)
H (s ) =
K a 1 + st1
s 2 1 + st 2
(22)
where:
t (1 + a)
t1 =
2(1 a)
t2 =
s 2t 2 1 + s t (1 + a)
2(1 a)
4
t (1 + b)
s2
1+ s
2(1 b)
1 + st +
(21)
(12)
(20)
(19)
06339-011
ERROR
(ACCELERATION)
(18)
G( s )
1 + G( s )
(24)
Rev. A | Page 17 of 20
AD2S1205
The step response to a 10 input step is shown in Figure 14.
Because the error calculation (see Equation 2) is nonlinear for
large values of , the response time for such large (90 to
180) step changes in position typically takes three times as long
as the response to a small (<20) step change in position. In
response to a step change in velocity, the AD2S1205 exhibits
the same response characteristics as it does for a step change
in position.
SOURCES OF ERROR
Acceleration
A tracking converter employing a Type II servo loop does not
have a lag in velocity. There is, however, an error associated
with acceleration. This error can be quantified using the
acceleration constant (Ka) of the converter.
Ka =
Input Acceleration
5
0
Conversely,
Tracking Error =
(26)
Ka
15
20
25
30
06339-012
35
40
45
1
10
100
1k
10k
100k
FREQUENCY (Hz)
Maximum Acceleration =
10
20
40
60
PHASE (Degrees)
Input Acceleration
80
100
120
140
06339-013
160
180
200
1
10
100
1k
10k
100k
18
16
14
12
10
8
6
06339-014
4
2
0
1
5
4
3
2
1
0
40k
80k
120k
160k
20
ACCELERATION (rps2)
TIME (ms)
(27)
FREQUENCY (Hz)
K a (sec 2 ) 5
103,000 rps 2
360(/rev )
06339-015
MAGNITUDE (dB)
10
ANGLE (Degrees)
(25)
Tracking Error
200k
AD2S1205
CONNECTING TO THE DSP
The AD2S1205 serial port is ideally suited for interfacing to DSPconfigured microprocessors. Figure 16 shows the AD2S1205
interfaced to an ADMC401, one of the DSP-based motor
controllers.
The on-chip serial port of the ADMC401 is used in the following
configuration
Rev. A | Page 19 of 20
AD2S1205
SCLK
DR
SO
TFS
RD
SOE
RFS
PWMSYNC
SAMPLE
PIO
CS
PIO
RDVEL
06339-016
AD2S1205
OUTLINE DIMENSIONS
0.75
0.60
0.45
12.20
12.00 SQ
11.80
1.60
MAX
44
34
33
PIN 1
10.20
10.00 SQ
9.80
TOP VIEW
(PINS DOWN)
0.15
0.05
SEATING
PLANE
0.20
0.09
7
3.5
0
0.10
COPLANARITY
11
23
12
VIEW A
VIEW A
0.80
BSC
LEAD PITCH
ROTATED 90 CCW
COMPLIANT TO JEDEC STANDARDS MS-026-BCB
22
0.45
0.37
0.30
051706-A
1.45
1.40
1.35
ORDERING GUIDE
Model 1, 2
AD2S1205YSTZ
ADW71205YSTZ
AD2S1205WSTZ
ADW71205WSTZ
ADW71205WSTZ-RL
EVAL-AD2S1205CBZ 3
EVAL-CONTROL BRD2 4
Temperature Range
40C to +125C
40C to +125C
40C to +125C
40C to +125C
40C to +125C
Angular Accuracy
11 arc min
11 arc min
22 arc min
22 arc min
22 arc min
Package Description
44-Lead Low Profile Quad Flat Package [LQFP]
44-Lead Low Profile Quad Flat Package [LQFP]
44-Lead Low Profile Quad Flat Package [LQFP]
44-Lead Low Profile Quad Flat Package [LQFP]
44-Lead Low Profile Quad Flat Package [LQFP]
Evaluation Board
Controller Board
Package Option
ST-44-1
ST-44-1
ST-44-1
ST-44-1
ST-44-1
AUTOMOTIVE PRODUCTS
The AD2S1205 models are available with controlled manufacturing to support the quality and reliability requirements of automotive
applications. Note that these automotive models may have specifications that differ from the commercial models; therefore, designers should
review the Specifications section of this data sheet carefully. Only the automotive grade products shown are available for use in automotive
applications. Contact your local Analog Devices account representative for specific product ordering information and to obtain the specific
Automotive Reliability reports for these models.
Rev. A | Page 20 of 20