English
Language : 

IC-TW2 Datasheet, PDF (17/30 Pages) IC-Haus GmbH – 8-BIT SIN/COS INTERPOLATION IC WITH INTEGRATED EEPROM
iC-TW2 8-BIT SIN/COS INTERPOLATION IC
WITH INTEGRATED EEPROM
CALIBRATION
Rev D3, Page 17/30
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 mode
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.
Oscillator and index window calibration
When calibration mode 2 is enabled, the output of the
index comparator is driven on pin B_V. In conjunc-
tion with the actual index output on pin Z_W, the gat-
ing window can be centered around the output pulse.
Fine offset adjustment applied to the input of the in-
dex 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
2. Adjust offset register OFSA(5:0) and OFSB(5:0) un-
til output A and B are 50% duty cycle.
CLOCK(4:0)
Addr. 0x0A; bit 4:0
R/W
Code
Function, defaults to eeprom setting
3. Adjust fine gain register GFA(1:0) and GFB(1:0) until
output Z is equidistant between output A and B.
00000
...
11111
Slowest clock
...
fastest clock
4. Repeat step 1 and 2 until no more improvement can
be achieved.
Table 20: Oscillator tuning