English
Language : 

IC-TW2_13 Datasheet, PDF (16/28 Pages) IC-Haus GmbH – 8-BIT SIN/COS INTERPOLATION IC
iC-TW2 8-BIT SIN/COS INTERPOLATION IC
WITH INTEGRATED EEPROM
CALIBRATION
Rev E2, Page 16/28
In order to facilitate system gain and offset calibration,
two calibration modes can be enabled by either setting
bit CALIB1 of register 0x01 or CALIB2 of register 0x0C.
CALIB2
Addr. 0x0C; bit 0
R/W
CALIB1
Addr. 0x01; bit 5
R/W
CALIB2;1 Function, defaults to eeprom setting
00
Normal operation, no calibration
01
A/B gain and index calbration
10
Oscillator and index window calibration
11
Not permitted
Table 18: Calibration modes
A/B gain and offset calibration
In calibration mode 1 the SIN/COS input is directly
passed through two zero-cross comparators to output
pin A and B respectively. In addition, the sum of the
input signals
SIN √+ COS
2
is also fed through a comparator and driven on pin Z.
The actual calibration process must be carried out in
several steps.
1. Select proper coarse gain by programming register
GC(2:0). Set GFA(1:0) and GFB(1:0) to 0.
2. Adjust offset register OFSA(5:0) and OFSB(5:0) un-
til output A and B are 50% duty cycle.
3. Adjust fine gain register GFA(1:0) and GFB(1:0) until
output Z is equidistant between output A and B.
4. Repeat step 1 and 2 until no more improvement can
be achieved.
Oscillator and index window calibration
When calibration mode 2 is enabled, the output of the
index comparator is driven on pin B_V. In conjunction
with the actual index output on pin Z_W, the gating
window can be centered around the output pulse (see
Figure 9). Fine offset adjustment applied to the input
of the index comparator is possible through OFSZ(3:0)
which is sign magnitude encoded. This is beneficial
when using small amplitude index sources such as an
MR sensor.
Simultaneously, the oscillator frequency fosc/32 can be
observed on pin A_U. Register CLOCK(4:0) is used to
tune the oscillator to its desired frequency.
OFSZ(3:0)
Addr. 0x0B; bit 7:4
R/W
Code
Function, defaults to eeprom setting
1111
maximum negative adjust, -10.5 mV
1110
-9 mV
1001
-1.5 mV
...
...
1000
no correction
0000
no correction
0001
1.5 mV
...
...
0110
9 mV
0111
10.5 mV
1
calibration mode 2 activated
Table 19: Index comparator offset control
CLOCK(4:0)
Addr. 0x0A; bit 4:0
R/W
Code
Function, defaults to eeprom setting
00000
Slowest clock
...
...
11111
fastest clock
Table 20: Oscillator tuning
PINB
(A+B) /
sqrt(2)
PINA
A_U
B_V
Z_W
Figure 10: Output signals for A/B gain and offset ad-
justment in calibration mode 1.