English
Language : 

IC-TW8_16 Datasheet, PDF (62/67 Pages) IC-Haus GmbH – 16-BIT SIN/COS INTERPOLATOR
iC-TW8 16-BIT SIN/COS INTERPOLATOR
Serial Configuration Mode
Aug 16, 2016 Page SC31/36
Using PWM Output Mode
As an alternative to the standard AB quadrature out-
put, the iC-TW8 can provide a pulse-width modu-
lated (PWM) output proportional to sensor angle.
This is useful as a direct digital interface between
the interpolator and a subsequent microcontroller or
FPGA in imbedded control applications. Note that
the PWM output is generated using a delta-sigma
modulator so the signal does not look like a tradition
PWM waveform. The interpolation factor inter must
be less than or equal to 1024 in PWM output mode.
Enter PWM for the Output Mode in the General
Configuration tab of the design tool. The A and B
outputs (pins 18 and 17 respectively) become the
differential PWM output; the Z output (pin 16) re-
mains unchanged.
OUTA
OUTB
OUTZ
iC-TW8
PWM+
PWM–
OUTZ
The typical configuration is not clamped, in which
case the PWM output duty cycle represents the an-
gle of the sensor Sin/Cos inputs over multiple input
cycles. The clamped configuration is useful for sin-
gle-turn absolute applications where there is only
one Sin/Cos input cycle per revolution.
An external first or second order low-pass filter can
be used to convert the PWM output to a voltage,
which in turn can be sampled by an ADC. Since the
PWM output is generated by a first order delta-
sigma modulator (DSM), a second order filter is
recommended. However, a first order analog RC
filter may be sufficient in simple applications.
R
OUTA
OUTB
OUTZ
iC-TW8
ADC
C
Microcontroller
with built-in ADC
Figure 33: Analog Low-Pass PWM Filter
Figure 31: PWM Output Mode
Selecting PWM output mode in the design tool re-
veals the PWM configuration selections. Enter the
desired frequency for the PWM output; the design
tool shows the closest actual frequency available
using the selected crystal. Finally, select whether the
PWM output is clamped or not.
COS SIN
1 Input Cycle
Alternatively, the PWM output can be directly sam-
pled and digitally filtered by a microcontroller.
FPGA, or PLD. In this case, enable the CLOCK and
FRAME outputs in the General Configuration tab of
the design tool. The CLOCK output (pin 6) can then
be used to synchronously sample the PWM output.
OUTA
CLOCK
OUTZ
iC-TW8
GP Input
GP Input
Microcontroller,
FPGA, or PLD
0° 90° 180° 270° 0° 90° 180° 270° 360°
100%
PWM Output
(Not Clamped)
0%
100%
PWM Output
(Clamped)
0%
Figure 34: Digitally Sampling the PWM Output
This allows an all-digital decimation filter to be im-
plemented. Since a first order DSM is used to gen-
erate the PWM output, a second order restructuring
filter is required for best signal-to-noise perfor-
mance. As with the analog filter, however, a first
order filter may be sufficient for many applications.
Figure 32: PWM Output Clamp
Copyright © 2011–2016 iC-Haus
http://www.ichaus.com