ANALOG DEVICES AD2S1205 Service Manual

12-Bit R/D Converter
YSTA

FEATURES

Complete monolithic resolver-to-digital converter (RDC) Parallel and serial 12-bit data ports System fault detection ±11 arc minutes of accuracy Input signal range: 3.15 V p-p ± 27% Absolute position and velocity outputs 1250 rps maximum tracking rate, 12-bit resolution Incremental encoder emulation (1024 pulses/rev) Programmable sinusoidal oscillator on board Single-supply operation (5.00 V ± 5%)
−40°C to +125°C temperature rating 44-lead LQFP 4 kV ESD protection

APPLICATIONS

Automotive motion sensing and control Hybrid-electric vehicles Electric power steering Integrated starter generator/alternator Industrial motor control Process control
EXCITATION
OUTPUTS
INPUTS
FROM
RESOLVER
ENCODER
EMULATION
OUTPUTS
with Reference Oscillator
AD2S1205

FUNCTIONAL BLOCK DIAGRAM

CR
AD2S1205
ADC
ADC
ENCODER
EMULATION
RESET
REFERENCE
REFERENCE OSCILLATOR
(DAC)
SYNTHETIC
REFERENCE
TYPE II TRACKING LOOP
POSITION REGISTER
Figure 1.
PINS
VOLTAGE
REFERENCE
VELOCITY REGISTER
MULTIPLEXER
DATA BUS OUTPUT
DATA I/O
INTERNAL
CLOCK
GENERATOR
FAULT
DETECTION
L
FAULT DETECTION OUTPUTS
06339-001

GENERAL DESCRIPTION

The AD2S1205 is a complete 12-bit resolution tracking resolver-to-digital converter that contains an on-board programmable sinusoidal oscillator providing sine wave excitation for resolvers.
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.
Rev. 0
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Anal og Devices for its use, nor for any infringements of patents or ot her 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.

PRODUCT HIGHLIGHTS

1. Ratiometric Tracking Conversion. The Type II tracking
loop provides continuous output position data without conversion delay. It also provides noise immunity and tolerance of harmonic distortion on the reference and input signals.
2. System Fault Detection. A fault detection circuit can sense
loss of resolver signals, out-of-range input signals, input signal mismatch, or loss of position tracking.
3. Input Signal Range. The Sin and Cos inputs can accept
differential input voltages of 3.15 V p-p ± 27%.
4. Programmable Excitation Frequency. Excitation frequency
is easily programmable to 10 kHz, 12 kHz, 15 kHz, or 20 kHz by using the frequency select pins (the FS1 and FS2 pins).
5. Triple Format Position Data. Absolute 12-bit angular position
data is accessed via either a 12-bit parallel port or a 3-wire serial interface. Incremental encoder emulation is in standard A-quad-B format with direction output available.
6. Digital Velocity Output. 12-bit signed digital velocity accessed
via either a 12-bit parallel port or a 3-wire serial interface.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 ©2007 Analog Devices, Inc. All rights reserved.
AD2S1205
TABLE OF CONTENTS
Features.............................................................................................. 1
False Null Condition.................................................................. 10
Applications....................................................................................... 1
Functional Block Diagram .............................................................. 1
General Description ......................................................................... 1
Product Highlights ........................................................................... 1
Revision History ............................................................................... 2
Specifications..................................................................................... 3
Absolute Maximum Ratings............................................................ 5
ESD Caution.................................................................................. 5
Pin Configuration and Function Descriptions............................. 6
Resolver Format Signals................................................................... 8
Theory of Operation ........................................................................ 9
Fault Detection Circuit................................................................ 9
Monitor Signal .............................................................................. 9
Loss of Signal Detection .............................................................. 9
Signal Degradation Detection .................................................... 9
On-Board Programmable Sinusoidal Oscillator.................... 10
Synthetic Reference Generation............................................... 11
Charge-Pump Output ................................................................ 11
Connecting the Converter ........................................................ 11
Clock Requirements................................................................... 12
Absolute Position and Velocity Output ................................... 12
Parallel Interface......................................................................... 12
Serial Interface............................................................................ 14
Incremental Encoder Outputs.................................................. 16
Supply Sequencing and Reset ................................................... 16
Circuit Dynamics ........................................................................... 17
Loop Response Model ............................................................... 17
Sources of Error.......................................................................... 18
Connecting to the DSP.............................................................. 19
Outline Dimensions....................................................................... 20
Loss of Position Tracking Detection ........................................ 10
Responding to a Fault Condition............................................. 10

REVISION HISTORY

1/07—Revision 0: Initial Version
Ordering Guide .......................................................................... 20
Rev. 0 | Page 2 of 20
AD2S1205

SPECIFICATIONS

AVDD = DVDD = 5.0 V ± 5% at −40°C to +125°C, CLKIN = 8.192 MHz ± 25%, unless otherwise noted.
Table 1.
Parameter Min Typ Max Unit Conditions/Comments
Sin, Cos INPUTS
Voltage 2.3 3.15 4.0 V p-p
Input Bias Current 12 μA VIN = 3.25 VDC, CLKIN = 10.24 MHz Input Impedance 0.35 VIN = 3.25 VDC Common-Mode Voltage 100 mV peak CMV with respect to REFOUT/2 at 10 kHz Phase-Lock Range −44 +44 Degrees Sin/Cos vs. EXC output
ANGULAR ACCURACY
Angular Accuracy ±11 Arc minutes Zero acceleration, Y grade ±22 Arc minutes Zero acceleration, W grade Resolution 12 Bits Guaranteed no missing codes Linearity INL 2 LSB Zero acceleration, 0 rps to 1250 rps, CLKIN = 10.24 MHz Linearity DNL 0.3 LSB Guaranteed monotonic Repeatability 1 LSB Hysteresis 1 LSB
VELOCITY OUTPUT
Velocity Accuracy 2 LSB Zero acceleration Resolution 11 Bits Linearity 1 LSB Guaranteed by design, 2 LSB maximum Offset 0 1 LSB Zero acceleration Dynamic Ripple 1 LSB Zero acceleration
DYNAMIC PERFORMANCE
Bandwidth 1000 2400 Hz Tracking Rate 750 rps CLKIN = 6.144 MHz , guaranteed by design 1000 rps CLKIN = 8.192 MHz , guaranteed by design 1250 rps CLKIN = 10.24 MHz , guaranteed by design Acceleration Error 30 Arc minutes At 10,000 rps, CLKIN = 8.192 MHz Settling Time 179° Step Input 5.2 ms To within ±11 arc minutes, Y grade, CLKIN = 10.24 MHz
4.0 ms To within 1 degree, Y grade, CLKIN = 10.24 MHz
EXC, EXC OUTPUTS
Voltage 3.34 3.6 3.83 V p-p Load ±100 μA Center Voltage 2.39 2.47 2.52 V Frequency 10 kHz FS1 = high, FS2 = high, CLKIN = 8.192 MHz 12 kHz FS1 = high, FS2 = low, CLKIN = 8.192 MHz 15 kHz FS1 = low, FS2 = high, CLKIN = 8.192 MHz 20 kHz FS1 = low, FS2 = low, CLKIN = 8.192 MHz EXC/EXC DC Mismatch THD −58 dB First five harmonics
FAULT DETECTION BLOCK
Loss of Signal (LOS)
Sin/Cos Threshold 2.18 2.24 2.3 V p-p DOS and LOT go low when Sin or Cos fall below threshold Angular Accuracy (Worst Case) 57 Degrees
Angular Latency (Worst Case) 114 Degrees
Time Latency 125 μs
1
Sinusoidal waveforms, Sin − SinLO and Cos − CosLO, differential inputs
35 mV
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)
Rev. 0 | Page 3 of 20
AD2S1205
Parameter Min Typ Max Unit Conditions/Comments
Degradation of Signal (DOS)
Sin/Cos Threshold 4.0 4.09 4.2 V p-p DOS goes low when Sin or Cos exceeds threshold Angular Accuracy (Worst Case) 33 Degrees DOS indicated before angular output error exceeds limit Angular Latency (Worst Case) 66 Degrees Maximum electrical rotation before DOS is indicated Time Latency 125 μs Sin/Cos Mismatch 385 420 mV
Loss of Tracking (LOT)
Tracking Threshold 5 Degrees
Time Latency 1.1 ms Hysteresis 4 Degrees Guaranteed by design
VOLTAGE REFERENCE
REFOUT 2.39 2.47 2.52 V ±I Drift 70 ppm/°C PSRR −60 dB
CHARGE-PUMP OUTPUT (CPO)
Frequency 204.8 kHz Square wave output, CLKIN = 8.192 MHz Duty Cycle 50 %
POWER SUPPLY
IDD Dynamic 20 mA
ELECTRICAL CHARACTERISTICS
VIL, Voltage Input Low 0.8 V VIH, Voltage Input High 2.0 V VOL, Voltage Output Low 0.4 V +1 mA load VOH, Voltage Output High 4.0 V −1 mA load IIL, Low Level Input Current
−10 +10 μA
(Non-Pull-Up) IIL, Low Level Input Current (Pull-Up) −80 +80 μA IIH, High Level Input Current −10 +10 μA I
, High Level Three-State Leakage −10 +10 μA
OZH
I
, Low Level Three-State Leakage −10 +10 μA
OZL
1
The voltages for Sin, SinLO, Cos, and CosLO relative to AGND must be between 0.2 V and AVDD.
DOS latched low when Sin/Cos amplitude mismatch exceeds threshold
LOT goes low when internal error signal exceeds threshold; guaranteed by design
= 100 μA
OUT
SAMPLE, CS, RDVEL, CLKIN, SOE
Pins
RD, FS1, FS2, RESET
Pins
Rev. 0 | Page 4 of 20
AD2S1205

ABSOLUTE MAXIMUM RATINGS

Table 2.
Parameter Rating
Supply Voltage (VDD) −0.3 V to +7.0 V Supply Voltage (AVDD) −0.3 V to +7.0 V Input Voltage −0.3 V to VDD + 0.3 V Output Voltage Swing −0.3 V to VDD + 0.3 V Operating Temperature Range (Ambient) −40°C to +125°C Storage Temperature Range −65°C to +150°C
Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum ratings for extended periods may affect device reliability.

ESD CAUTION

Rev. 0 | Page 5 of 20
AD2S1205
K

PIN CONFIGURATION AND FUNCTION DESCRIPTIONS

DD
39
AD2S1205
TOP VIEW
(Not to Scale)
16
17
DD
DV
DGND
SinLO38Sin37AGND36EXC35EXC
DB218DB119DB0
34
20
21
22
CLKIN
TAL OU T
33
32
31
30
29
28
27
26
25
24
23
RESET
FS2
FS1
LOT
DOS
DIR
NM
B
A
CPO
DGND
06339-002
DV
SAMPLE
RDVEL
DB11/SO
DB10/SCL
RD
CS
SOE
DB9
DB8
DB7
REFOUT44REFBYP43AGND42Cos41CosLO40AV
1
DD
2
3
4
5
6
7
8
9
10
11
15
DB612DB513DB414DB3
Figure 2. Pin Configuration
Table 3. Pin Function Descriptions
Pin No.
Mnemonic Description
1, 17 DVDD
Digital Supply Voltage, 4.75 V to 5.25 V. This is the supply voltage for all digital circuitry on the AD2S1205. The AV voltages ideally should be at the same potential and must not be more than 0.3 V apart, even on a transient basis.
2
RD Edge-Triggered Logic Input. This pin acts as a frame synchronization signal and output enable. The output buffer is
enabled when
3
CS Chip Select. Active low logic input. The device is enabled when CS is held low.
4
SAMPLE 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
5
RDVEL Read Velocity. Logic input. RDVEL input is used to select between the angular position register and the angular velocity
CS and RD are held low.
SAMPLE signal.
register. RDVEL is held high to select the angular position register and low to select the angular velocity register.
6
SOE Serial Output Enable. Logic input. This pin enables either the parallel or serial interface. The serial interface is selected by
SOE pin low, and the parallel interface is selected by holding the SOE pin high.
SOE pin is high, this pin acts as DB11, a three-state data output pin controlled
7 DB11/SO
holding the Data Bit 11/Serial Data Output Bus. When the
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
by clocked out on the rising edge of SCLK.
8 DB10/SCLK
Data Bit 10/Serial Clock. In parallel mode this pin acts as DB10, a three-state data output pin controlled by serial mode this pin acts as the serial clock input.
9 to 15
16, 23
DB9 to DB3
DGND
Data Bits 9 to 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.
18 to
DB2 to DB0
Data Bits 2 to 0. Three-state data output pins controlled by CS and RD.
20 21 XTALOUT
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%.
22 CLKIN
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%.
24 CPO
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.
and DVDD
DD
CS and RD. In
Rev. 0 | Page 6 of 20
AD2S1205
Pin No. Mnemonic Description
25 A
26 B
27 NM
28 DIR
29 DOS
30 LOT
31 FS1 32 FS2 33
RESET Reset. Logic input. The AD2S1205 requires an external reset signal to hold the RESET input low until VDD is within the
34 EXC
35
EXC Excitation Frequency Complement. Analog output. An on-board oscillator provides the sinusoidal excitation signal
AGND
36, 42
37 Sin Positive Analog Input of Differential Sin/SinLO Pair. The input range is 2.3 V p-p to 4.0 V p-p. 38 SinLO Negative Analog Input of Differential Sin/SinLO Pair. The input range is 2.3 V p-p to 4.0 V p-p. 39 AVDD
40 CosLO Negative Analog Input of Differential Cos/CosLO Pair. 41 Cos Positive Analog Input of Differential Cos/CosLO Pair. 43 REFBYP
44 REFOUT Voltage Reference Output, 2.39 V to 2.52 V.
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.
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
Detection Frequency Select 1. Logic input. FSI in conjunction with FS2 allows the frequency of EXC/ Frequency Select 2. Logic input. FS2 in conjunction with FS1 allows the frequency of EXC/
section.
EXC to be programmed.
EXC to be programmed.
Loss of Signal
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) and its complement signal (
EXC) to the resolver. The frequency of this reference signal is programmable via the FS1 and FS2 pins.
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.
Analog Supply Voltage, 4.75 V to 5.25 V. This pin is the supply voltage for all analog circuitry on the AD2S1205. The AV
and DVDD voltages ideally should be at the same potential and must not be more than 0.3 V apart, even on a
DD
transient basis.
Reference Bypass. Reference decoupling capacitors should be connected here. Typical recommended values are 10 μF and 0.01 μF.
Rev. 0 | Page 7 of 20
AD2S1205
V
V
V
V

RESOLVER FORMAT SIGNALS

=
× Sin(ωt)
r
p
R1
θ
R2
S1 S3
= Vs × Sin(ωt) × Sin(θ)
V
b
(A) CLASSICAL RESOLVER
S2
Va = Vs × Sin(ωt) × Cos(θ)
S4
R1
R2
Figure 3. Classical Resolver vs. Variable Reluctance Resolver
=
× Sin(ωt)
r
p
S2
Va = Vs × Sin(ωt) × Cos(θ)
θ
S1 S3
= Vs × Sin(ωt) × Sin(θ)
V
b
(B) VARIABLE RELUCTANCE RESOLVER
S4
06339-003
A classical resolver is a rotating transformer that typically has a primary winding on the rotor and two secondary windings on the stator. A variable reluctance resolver, on the other hand, has the primary and secondary windings on the stator and no windings on the rotor, as shown in
Figure 3; however, the saliency in this rotor design provides the sinusoidal variation in the secondary coupling with the angular position. For both designs, the resolver output voltages (S3 − S1, S2 − S4) are as follows:
(1)
SinθtSinES1S3
0
0
×ω= )(
CosθtSinES4S2
×ω= )(
where:
θ is the shaft angle. Sin(ωt) is the rotor excitation frequency. E
is the rotor excitation amplitude.
0
The stator windings are displaced mechanically by 90° (see Figure 3). The primary winding is excited with an ac reference. The amplitude of subsequent coupling onto the secondary windings is a function of the position of the rotor (shaft) relative to the stator. The resolver therefore produces two output voltages (S3 − S1, S2 − S4), modulated by the sine and cosine of the shaft angle. Resolver format signals refer to the signals derived from the output of a resolver, as shown in Equation 1.
(REFERENCE)
Figure 4 illustrates the output format.
S2 – S4
(COSINE)
S3 – S1
(SINE)
R2 – R4
Figure 4. Electrical Resolver Representation
90° 180°
θ
270° 360°
06339-004
Rev. 0 | Page 8 of 20
AD2S1205
×
×
=

THEORY OF OPERATION

The AD2S1205’s operation is based on a Type II tracking closed­loop 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
×
0
0
CosφSinθωtSinE
SinφCosθωtSinE
S1S3for)(
(2)
S4 S2for)(
×
The difference is taken, giving
)()(
SinφCosθCosSinθωtSinE φ×
0
(3)
This signal is demodulated using the internally generated synthetic reference, yielding
)(
φφ SinCosθCosSinθE
0
Equation 4 is equivalent to E equal to E
(θ ϕ) for small values of θ ϕ, where θ ϕ is the
0
(4)
Sin ϕ), which is approximately
0
angular error.
The value E
(θ ϕ) is the difference between the angular error
0
of the rotor and the digital angle output of the converter.
A phase-sensitive demodulator, some integrators, and a compen­sation filter form a closed-loop system that seeks to null the error signal. If this is accomplished, ϕ equals the resolver angle θ within the rated accuracy of the converter. A Type II tracking loop is used so that constant velocity inputs can be tracked without inherent error.
For more information about the operation of the converter, see
Circuit Dynamics section.
the

FAULT DETECTION CIRCUIT

The AD2S1205 fault detection circuit can sense loss of resolver signals, out-of-range input signals, input signal mismatch, or loss of position tracking; however, the position indicated by the AD2S1205 may differ significantly from the actual shaft position of the resolver.

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:
×+×
)()( CosφCosθA2SinφSinθA1Monitor
(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 × (Sin
2
θ + 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.

LOSS OF SIGNAL DETECTION

Loss of signal (LOS) is detected when either resolver input (Sin or Cos) falls below the specified LOS Sin/Cos threshold. The AD2S1205 detects this by comparing the monitor signal to a fixed minimum value. LOS is indicated by both DOS and LOT latching as logic low outputs. The DOS and LOT pins are reset to the no fault state by a rising edge of
SAMPLE
. The LOS condition has priority over both the DOS and LOT conditions, as shown in
Tabl e 4 . LOS is indicated within 57° of the angular
output error (worst case).

SIGNAL DEGRADATION DETECTION

Degradation of signal (DOS) is detected when either resolver input (Sin or Cos) exceeds the specified DOS Sin/Cos threshold. The AD2S1205 detects this by comparing the monitor signal to a fixed maximum value. In addition, DOS is detected when the amplitudes of the Sin and Cos input signals are mismatched by more than the specified DOS Sin/Cos mismatch. This is identified because the AD2S1205 continuously stores the minimum and maximum magnitude of the monitor signal in internal registers and calculates the difference between these values. DOS is indicated by a logic low on the DOS pin and is not latched when the input signals exceed the maximum input level. When DOS is indicated due to mismatched signals, the output is latched low until a rising edge of stored minimum and maximum values. The DOS condition has priority over the LOT condition, as shown in indicated within 33° of the angular output error (worst case).
SAMPLE
resets the
Table 4 . DOS is
Rev. 0 | Page 9 of 20
AD2S1205

LOSS OF POSITION TRACKING DETECTION

Loss of tracking (LOT) is detected when
The internal error signal of the AD2S1205 exceeds 5°.
The input signal exceeds the maximum tracking rate.
The internal position (at the position integrator) differs
from the external position (at the position register) by more than 5°.
LOT is indicated by a logic low on the LOT pin and is not latched. LOT has a 4° hysteresis and is not cleared until the internal error signal or internal/external position mismatch is less than 1°. When the maximum tracking rate is exceeded, LOT is cleared only if the velocity is less than the maximum tracking rate and the internal/external position mismatch is less than 1°. LOT can be indicated for step changes in position (such as after a accelerations of >~65,000 rps
RESET
signal is applied to the AD2S1205), or for
2
. It is also useful as a built-in test to indicate that the tracking converter is functioning properly. The LOT condition has lower priority than both the DOS and LOS conditions, as shown in
Tabl e 4 . The LOT and DOS
conditions cannot be indicated at the same time.
Table 4. Fault Detection Decoding
Order of
Condition DOS Pin LOT Pin
Loss of Signal (LOS) 0 0 1 Degradation of Signal (DOS) 0 1 2 Loss of Tracking (LOT) 1 0 3 No Fault 1 1
Priority

RESPONDING TO A FAULT CONDITION

If a fault condition (LOS, DOS, or LOT) is indicated by the AD2S1205, the output data is presumed to be invalid. Even if a RESET immediately followed by another fault, the output data may be corrupted. As discussed previously, there are some fault conditions with inherent latency. If the device fault is cleared, there may be some latency in the resolver’s mechanical position before the fault condition is reindicated.
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 appli­cation based on the indicated fault(s) and the velocity or position data provided by the AD2S1205.
SAMPLE
or
pulse releases the fault condition and is not

FALSE NULL CONDITION

Resolver-to-digital converters that employ Type II tracking loops based on the previously stated error equation (see Equation 4 in the
Theory of Operation section) can suffer from a condition known as a false null. This condition is caused by a metastable solution to the error equation when θϕ = 180°. The AD2S1205 is not susceptible to this condition because its hysteresis is implemented external to the tracking loop. As a result of the loop architecture chosen for the AD2S1205, the internal error signal constantly has some movement (1 LSB per clock cycle); therefore, in a metastable state, the converter moves to an unstable condition within one clock cycle. This causes the tracking loop to respond to the false null condition as if it were a 180° step change in input position (the response time is the same, as specified in the Dynamic Performance section of
Tabl e 1). Therefore, it is impossible to enter the metastable condition after the start-up sequence if the resolver signals are valid.

ON-BOARD PROGRAMMABLE SINUSOIDAL OSCILLATOR

An on-board oscillator provides the sinusoidal excitation signal
EXC
(EXC) and its complement signal ( quency of this reference signal is programmable to four standard frequencies (10 kHz, 12 kHz, 15 kHz, or 20 kHz) by using the FS1 and FS2 pins (see
Table 5 ). FS1 and FS2 have internal pull-ups, so the default frequency is 10 kHz. The amplitude of this signal is centered on 2.5 V and has an amplitude of 3.6 V p-p.
Table 5. Excitation Frequency Selection
Frequency Selection (kHz) FS1 FS2
10 1 1 12 1 0 15 0 1 20 0 0
The frequency of the reference signal is a function of the CLKIN frequency. By decreasing the CLKIN frequency, the minimum excitation frequency can also be decreased. This allows an excitation frequency of 7.5 kHz to be set when using a CLKIN frequency of 6.144 MHz, and it also decreases the maximum tracking rate to 750 rps.
The reference output of the AD2S1205 requires an external buffer amplifier to provide gain and additional current to drive the resolver. See
Figure 6 for a suggested buffer circuit.
The AD2S1205 also provides an internal synchronous reference signal that is phase locked to its Sin and Cos inputs. Phase errors between the resolver’s primary and secondary windings may degrade the accuracy of the RDC and are compensated for by using this synchronous reference signal. This also compensates for the phase shifts due to temperature and cabling, and it eliminates the need for an external preset phase-compensation circuit.
) to the resolver. The fre-
Rev. 0 | Page 10 of 20
AD2S1205
×
=

SYNTHETIC REFERENCE GENERATION

When a resolver undergoes a high rotation rate, the RDC tends to act as an electric motor and produces speed voltages in addition to the ideal Sin and Cos outputs. These speed voltages are in quadrature to the main signal waveform. Moreover, nonzero resistance in the resolver windings causes a nonzero phase shift between the reference input and the Sin and Cos outputs. The combination of the speed voltages and the phase shift causes a tracking error in the RDC that is approximated by
ShiftPhaseError ×=
RateRotation
FrequencyReference
(6)
To compensate for the described phase error between the resolver reference excitation and the Sin/Cos signals, an internal synthetic reference signal is generated in phase with the reference frequency carrier. The synthetic reference is derived using the internally filtered Sin and Cos signals. It is generated by determining the zero crossing of either the Sin or Cos (whichever signal is larger), which improves phase accuracy, and evaluating the phase of the resolver reference excitation. The synthetic reference reduces the phase shift between the reference and Sin/Cos inputs to less than 10° and can operate for phase shifts of ±45°.

CHARGE-PUMP OUTPUT

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 V
CC
rail.

CONNECTING THE CONVERTER

Ground is connected to the AGND and DGND pins (see Figure 5). A positive power supply (V the AV
and DVDD pins, with typical values for the decoupling
DD
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 AV
and DVDD. If desired, the reference oscillator
DD
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.
In this recommended configuration, the converter introduces a
/2 offset in the Sin and Cos signal outputs from the resolver.
V
REF
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 outputs are differential, there is an inherent gain of 2×. shows a suggested buffer circuit. Capacitor C1 is recommended in parallel with Resistor R2 to filter out any noise that may exist on the EXC and
EXC
outputs. The cutoff frequency of this filter needs to be carefully considered depending on the application needs. Phase shifts of the carrier caused by the filter can effectively skew the phase lock range of the AD2S1205.
) of 5 V dc ± 5% is connected to
DD
Figure 6
EXC
The gain of the circuit is
))1/(1()/( ωC1R2R1R2nCarrierGai
×+×
(7)
and
OUT
VV ))1/(1())121/(1(1
⎜ ⎝
R2
+×=
R1
R2
××+×
ωCR
R1
××+×
(8)
where:
ω is the radian frequency of the applied signal.
is set so that V
V
REF
is always a positive value, eliminating the
OUT
need for a negative supply. 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.
5V
10nF
EXC/EXC
(V
S2
S4
S3 S1
4.7μF
10μF
44
43
42
41
40
39
38
DD
DV
1
2
3
4
5
6
7
8
9
10
11
12 13 14 15
DD
AGND
REFBYP
Cos
AV
SinLO
CosLO
AD2S1205
DD
DGND16DV
17 18 19 20 21 22
5V
4.7μF 10nF
Figure 5. Connecting the AD2S1205 to a Resolver
C1
R2
12V
R1
)
IN
5V
(V
)
REF
442 1.24k
Figure 6. Buffer Circuit
R2
R1
5V
BUFFER CIRCUIT
10nF
37
36 35
34
Sin
12V
AGND
EXC
DGND
8.192 MHz
2.7k
2.7k
EXC
33
33
33
32
31
30
29
28
27
26
25
24
23
20pF20pF
12V
RESET
BUFFER CIRCUIT
06339-005
V
OUT
6339-006
VωC1R2
INREF
Rev. 0 | Page 11 of 20
AD2S1205

CLOCK REQUIREMENTS

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%. However, the velocity outputs are scaled in proportion to the clock frequency so that if the clock is 25% greater than the nominal, the full-scale velocity is 25% greater than nominal. The maximum tracking rate, tracking loop bandwidth, and excitation frequency also vary with the clock frequency.

ABSOLUTE POSITION AND VELOCITY OUTPUT

The angular position and velocity are represented by binary data and can be extracted via either a 12-bit parallel interface or a 3-wire serial interface that operates at clock rates of up to 25 MHz.
SOE
Input
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, Pins DB0 to DB9 are placed into a high impedance state while DB11 is the serial output (SO) and DB10 is the serial clock input (SCLK).

Data Format

The angular position data represents the absolute position of the resolver shaft as a 12-bit unsigned binary word. The angular velocity data is a 12-bit twos complement word, representing the velocity of the resolver shaft rotating in either a clockwise or counterclockwise direction.

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 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 data from the position or velocity register is transferred to the output register. The
CS
pin must be held low to transfer data
SOE
RDVEL
pin selects whether
pin high. Data
from the selected register to the output register. Finally, the 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
SAMPLE
Input
Figure 7.
Data is transferred from the position and velocity integrators to the position and velocity registers, respectively, after a high-to­low transition on the low for at least t
SAMPLE
to guarantee correct latching of the data. RD
1
signal. This pin must be held
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.
CS
Input
The device is enabled when CS is held low.
RDVEL
Input
RDVEL
input is used to select between the angular position register and the angular velocity register, as shown in RDVEL
is held high to select the angular position register and low to select the angular velocity register. The be set (stable) at least t
RD
Input
before the RD pin is pulled low.
4
RDVEL
The 12-bit data bus lines are normally in a high impedance
CS
state. The output buffer is enabled when low. A falling edge of the
RD
signal transfers data to the output
and RD are held
buffer. The selected data is made available to the bus to be read within t impedance state when the t
7
RD
of the RD pin going low. The data pins return to a high
6
RD
pin returns to a high state within
. When reading data continuously, wait a minimum of t3 after
is released before reapplying it.
RD
Figure 7.
pin must
Rev. 0 | Page 12 of 20
AD2S1205
f
CLKIN
CLKIN
t
1
7
06339-007
SAMPLE
CS
RD
RDVEL
DATA
DON'T CARE
t
1
t
2
t
3
t
5
t
4
t
6
t
3
t
5
t
4
VELOCITYPOSITION
t
7
t
6
t
Figure 7. Parallel Port Read Timing
Table 6. Parallel Port Timing
Parameter Description Min Typ Max Unit
f
Frequency of clock input 6.144 8.192 10.24 MHz
CLKIN
t1 t2 t3 t4 t5 t6 t7
SAMPLE pulse width Delay from
SAMPLE before RD/CS low RD pulse width Set time Hold time Enable delay Disable delay
RDVEL before RD/CS low
RDVEL after RD/CS low
RD/CS low to data valid
RD/CS low to data high-Z
2 × (1/f 6 × (1/f
) + 20 ns
CLKIN
) + 20 ns
CLKIN
18 ns 5 ns 7 ns 16 ns 18 ns
Rev. 0 | Page 13 of 20
AD2S1205

SERIAL INTERFACE

The angular position and velocity are available on the AD2S1205 in two 12-bit registers. These registers can be accessed via a 3-wire serial interface (SO, of up to 25 MHz and is compatible with SPI and DSP interface standards. The serial interface is selected by holding the low. Data from the position and velocity integrators are first trans­ferred to the position and velocity registers using the
RDVEL
The position or velocity register to the output register, and the must be held low to transfer data from the selected register to the output register. Finally, the clocked out of the output register and is available on the serial
output pin (SO). When the serial interface is selected, DB11 is used as the serial output pin (SO), DB10 is used as the serial clock input (SCLK), and pins DB0 to DB9 are placed into the high impedance state. The timing requirements for the read cycle are described in Figure 8.
pin selects whether data is transferred from the

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 16-bit word consists of 12 bits of angular data (position or velocity, depending on 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 position and a 0 indicating velocity. DB2 is DOS, the degradation of signal flag (refer to the section). Bit 1 is LOT, the loss of tracking flag (refer to the Detection Circuit position and velocity data are in odd parity format, and the data readback always contains an odd number of logic highs (1s).
RD
, and SCLK) that operates at clock rates
SOE
SAMPLE
CS
RD
input is used to read the data that is
Figure 8. The
RDVEL
RDVEL
section). Bit 0 is PAR, the parity bit. The
input), one
status bit, with a 1 indicating
RDVEL
status bit,
Fault Detection Circuit
pin
pin.
pin
Fault
SAMPLE
Data is transferred from the position and velocity integrators to the position and velocity registers, respectively, after a high-to­low transition on the for at least t not be pulled low before this time because data will not be ready. The converter continues to operate during the read process.
CS
The device is enabled when CS is held low.
RD
The 12-bit data bus lines are normally in a high impedance state. The output buffer is enabled when low. The synchronization signal and an output enable. On a falling edge of the then available on the serial output pin (SO); however, it is only valid after 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 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 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 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 t released before reapplying it.
RDVEL
RDVEL
register and the angular velocity register. select the angular position register and low to select the angular velocity register. The before the
Input
SAMPLE
to guarantee correct latching of the data. RD should
1
signal. This pin must be held low
Input
Input
CS
and RD are held
RD
input is an edge-triggered input that acts as a frame
RD
signal, data is transferred to the output buffer. Data is
RD
is held low for t9. The serial data is clocked out of
RD
, the MSB is
RD
must occur during the high
may rise high after the last falling edge of SCLK. If RD is
after RD is
5
Input
input is used to select between the angular position
RDVEL
is held high to
RDVEL
pin must be set (stable) at least t4
RD
pin is pulled low.
Rev. 0 | Page 14 of 20
AD2S1205
S
f
CLKIN
CLKIN
t
1
7
AMPLE
CS
RD
RDVEL
SO
RD
t
1
t
2
t
3
t
5
t
4
t
6
t
8
t
3
t
5
t
4
t
6
t
7
VELOCITYPOSITION
t
t
SCLK
SO
t
10
MSB MSB – 1 LSB RDVEL DOS LO T PAR
t
9
SCLK
t
11
06339-008
Figure 8. Serial Port Read Timing
Table 7. Serial Port Timing
Parameter Description Min Typ Max Unit
t8 t9
1
MSB read time RD/CS to SCLK SO enable time
RD/CS to DB valid
15
t
SCLK
ns
16 ns
t10 Data access time, SCLK to DB valid 16 ns t11
t
Serial clock period (25 MHz maximum) 40 ns
SCLK
Bus relinquish time
1
t1 to t7 are as defined in Table 6.
RD/CS to SO high-Z
18 ns
Rev. 0 | Page 15 of 20
AD2S1205
S

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.
A
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
as 20 kHz (photo diodes) to 125 kHz (laser based),
MAX
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 VDD is within the specified operating
range of 4.5 V to 5.5 V.
RESET
The V
DD
Applying a 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
pin must be held low for a minimum of 10 μs after
is within the specified range (shown as t
RESET
signal to the AD2S1205 initializes the output
RST
in Figure 10).
Figure 10.
B
NM
Figure 9. A, B, and NM Timing for Clockwise Rotation
06339-009
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
) and its pulses per revo-
MAX
lution (PPR).
×=60
f
n
MAX
(9)
PPR
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
=n
000,024,160=×
1024
rpm000,60
(11)
Failure to apply the correct power-up/reset sequence may result in an incorrect position indication.
After a rising edge on the allowed at least 20 ms (shown as t
RESET
input, the device must be
in Figure 10) for the
TRACK
internal circuitry to stabilize and the tracking loop to settle to the step change of the input position. After t
TRACK
SAMPLE
, a 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
RESET
The
V
RESET
AMPLE
LOT
DOS
pin is then internally pulled up.
4.75V
DD
Figure 10. Power Supply Sequencing and Reset
t
RSTtRST
TRACK
t
.)
TRACK
VAL ID OUTPUT DATA
6339-010
Rev. 0 | Page 16 of 20
AD2S1205
R
z
c
z
+
+

CIRCUIT DYNAMICS

LOOP RESPONSE MODEL

ERRO
(ACCELERATION)
VELOCITY
R2D open-loop transfer function
2
zCzIk2k1zG ×××= (19)
)()()(
θ
IN
k1 × k2
Figure 11. RDC System Response Block Diagram
c 1 – az
–1
1 – z
Sin/Co s LOOKUP
1 – bz
–1
–1
1 – z
c
–1
θ
OUT
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
)V(
V
p
IN
k2
=
V
(12)
)V(
REF
= 1.8/2.5)
NOM
Error gain parameter
6
k2
π××= 21018
(13)
Compensator zero coefficient
4095
=a
(14)
4096
Compensator pole coefficient
4085
=b
(15)
4096
Integrator gain parameter
1
=c
(16)
000,096,4
R2D closed-loop transfer function
zG
)(
zH+=
)(
6339-011
(20)
zG
)(1
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 transformation is performed by substituting the following equation for z:
2
+
s
t
z
=
(21)
2
s
t
where t is the sampling period (1/4.096 MHz ≈ 244 ns).
Substitution yields the open-loop transfer function G(s).
22
ts
1
s
1
st
)1(
ak2k1
)(
sG
=
×
ba
++
×
4
2
s
×+
×
×+
1
s
)1(
at
)1(2
a
+
)1(
bt
)1(2
b
(22)
This transformation produces the best matching at low frequencies (f < f
). At such frequencies (within the closed-loop bandwidth
SAMPLE
of the AD2S1205), the transfer function can be simplified to
1
K
)(
sG
s
st
a
2
1
×
(23)
1
st
+
2
where:
at
+
t
=
1
t
=
2
K
a
)1(
a
)1(2
bt
+
)1(
b
)1(2
=
ak2k1
×
)1(
ba
INT1 and INT2 transfer function
zI
)(
=
(17)
1
1
Compensation filter transfer function
1
az
1
zC
)(
=
1
(18)
1
b
Rev. 0 | Page 17 of 20
Solving for each value gives t
6 s−2
. Note that the closed-loop response is described as
10
sG
sH+=
)(
)(
sG
)(1
By converting the calculation to the s-domain, it is possible to quantify the open-loop dc gain (K calculate the acceleration error of the loop (see the Error
section).
= 1 ms, t2 = 90 μs, and Ka ≈ 7.4 ×
1
). This value is useful to
a
(24)
Sources of
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.
5
–0
–5
–10
–15
–20
–25
MAGNITUDE (d B)
–30
–35
–40
100k
100k
06339-012
06339-013
06339-014
5
PHASE (Degrees)
ANGLE (Degrees)
–45
1
10 100 10k1k
FREQUENCY ( Hz)
Figure 12. RDC System Magnitude Response
0
–20
–40
–60
–80
–100
–120
–140
–160
–180
–200
1
10 100 10k1k
FREQUENCY (Hz)
Figure 13. RDC System Phase Response
20
18
16
14
12
10
8
6
4
2
0
0
12 43
TIME (ms)
Figure 14. RDC Small Step Response

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 (K
= (25)
K
a
Conversely,
ErrorTracking =
Figure 15 shows tracking error vs. acceleration for the AD2S1205.
The units of the numerator and denominator must be consistent. The maximum acceleration of the AD2S1205 is defined as the acceleration that creates an output position error of 5° (that is, when LOT is indicated). The maximum acceleration can be calculated as
10
9
8
7
6
5
4
3
TRACKING ERRO R (Degrees)
2
1
0
0
Figure 15. Tracking Error vs. Acceleration
) of the converter.
a
onAcceleratiInput
ErrorTracking
K
a
K
=
onAcceleratiMaximum
40k 80k 160k120k
ACCELERATION (rp s
2
a
°
onAcceleratiInput
(26)
°×
5)(sec
)/rev(360
2
)
rps000,103
200k
2
(27)
06339-015
Rev. 0 | Page 18 of 20
AD2S1205
RDVEL

CONNECTING TO THE DSP

The AD2S1205 serial port is ideally suited for interfacing to DSP­configured microprocessors. 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
Alternate framing transmit mode with internal framing
(internally inverted)
Normal framing receive mode with external framing
(internally inverted)
Internal serial clock generation
In this configuration, the internal TFS signal of ADMC401 is used as an external RFS to fully control the timing of data received, and the same TFS is connected to AD2S1205. In addition, the ADMC401 provides an internal continuous serial clock to the AD2S1205. The on the AD2S1205 can be provided either by using a PIO or by inverting the PWMSYNC signal to synchronize the position and velocity readings with the PWM switching frequency.
Figure 16 shows the AD2S1205
RD
SAMPLE
of the
signal
CS
and ADMC401. The 12 bits of significant data and the status bits are available on each consecutive negative edge of the clock after
RD
the the data receive register of the ADMC401. This is internally set to 16 bits (12 data bits, 4 status bits) because 16 bits are received overall. The serial port automatically generates an internal processor interrupt. This allows the ADMC401 to read all 16 bits and then continue to process data.
All ADMC401 products can interface to the AD2S1205 by using similar interface circuitry.
can be obtained using two PIO outputs of the
signal goes low. Data is clocked from the AD2S1205 into
ADMC401
SCLK
DR
TFS
RFS
PWMSYNC
PIO
PIO
Figure 16. Connecting to the ADMC401
AD2S1205
SCLK SOE
SO
RD
SAMPLE
CS
RDVEL
06339-016
Rev. 0 | Page 19 of 20
AD2S1205

OUTLINE DIMENSIONS

12.20
12.00 SQ
11.8 0
44
PIN 1
TOP VIEW
(PINS DOWN)
12
0.80
BSC
34
22
0.45
0.37
0.30
33
23
10.20
10.00 SQ
9.80
1.45
1.40
1.35
0.15
SEATING
0.05
PLANE
VIEW A
ROTATED 90° CCW
0.75
0.60
0.45
0.20
0.09
3.5° 0°
0.10 COPLANARIT Y
1.60 MAX
1
11
VIEW A
LEAD PITCH
COMPLIANT TO JEDEC STANDARDS MS-026-BCB
051706-A
Figure 17. 44-Lead Low Profile Quad Flat Package [LQFP]
(ST-44-1)
Dimensions shown in millimeters

ORDERING GUIDE

Temperature
Model
AD2S1205YSTZ AD2S1205WSTZ
1
1
EVAL-AD2S1205CBZ EVAL-CONTROL BRD23 Controller Board
1
Z = Pb-free part.
2
This can be used either as a standalone evaluation board or in conjunction with the evaluation board controller for evaluation/demonstration purposes.
3
Evaluation board controller. This board is a complete unit that allows a PC to control and communicate with all Analog Devices evaluation boards ending in the CB
designator. For a complete evaluation kit, order the ADC evaluation board (that is, the EVAL-AD2S1205CBZ), the EVAL-CONTROL BRD2, and a 12 V ac transformer.
Range
Angular Accuracy Package Description Package Option
−40°C to +125°C ±11 arc min 44-Lead Low Profile Quad Flat Package [LQFP] ST-44-1
−40°C to +125°C ±22 arc min 44-Lead Low Profile Quad Flat Package [LQFP] ST-44-1
1, 2
Evaluation Board
©2007 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. D06339-0-1/07(0)
Rev. 0 | Page 20 of 20
Loading...