|
IC-MP Datasheet, PDF (14/22 Pages) IC-Haus GmbH – 8-BIT HALL ANGLE ENCODER WITH RATIOMETRIC OUTPUT | |||
|
◁ |
iC-MP 8-BIT HALL ANGLE ENCODER
WITH RATIOMETRIC OUTPUT
D(51:0)
7:0
11:8
13:12
21:14
25:22
27:26
35:28
39:36
41:40
45:42
47:46
Parameter
OFFSET1(7:0)
MODE1(3:0)
ENERR1(1:0)
OFFSET2(7:0)
MODE2(3:0)
ENERR2(1:0)
OFFSET3(7:0)
MODE3(3:0)
ENERR3(1:0)
CRCID(3:0)
ZTEST(1:0)
51:48
TEST(3:0)
Description
Offset of the ï¬rst set
Mode of the ï¬rst set,
see Table 5 and 6
Error mask of the ï¬rst
set, see Table 8
Offset of the second set
Mode of the second set,
see Table 5 and 6
Error mask of the
second set, see Table 8
Offset of the third set
Mode of the third set,
see Table 5 and 6
Error mask of the third
set, see table 8
CRC ID
Zener zap diodes, for
iC-Haus test purposes
only
See âTEST MODESâ
Table 4: Programming Datastream
MODE1(1:0)
D(9:8)
MODE2(1:0)
D(23:22)
MODE3(1:0)
D(37:36)
Code
Full Scale Angle
00
360°
01
270°
10
180°
11
90°
Table 5: Linear Analog Output - Mode Bit 1:0
MODE1(2)
D(10)
MODE2(2)
D(24)
MODE3(2)
D(38)
Code
Rotation
0
CW*
1
CCW*
*) CW = clockwise, CCW = counter-clockwise
Table 6: Mode Bit 2
Rev B1, Page 14/22
ENERR
The parameter ENERR indicates two kind of errors. If
the magnetic ï¬eld strength is at low a âLoss of Mag-
netâ is generated. An âExcessive Frequency Alarmâ is
generated when the revolution per minute is to high.
Parameter ENERR handles the various error types.
ENERR1(1:0)
D(13:12)
ENERR2(1:0)
D(27:26)
ENERR3(1:0)
D(41:40)
Code
Error
00
No Error
01
Loss of Magnet*
10
Excessive Frequency Alarm
11
Excessive Frequency Alarm or Loss of Magnet*
*) see âDESIGN REVIEWâ
Table 8: Error masks
Calculating the position offset
Before iC-MP outputs the actual position via the serial
interface or the linear analog output (LAO), an offset is
added internally. This offset consists of the following
parameters:
OFFSET = OFFSET1 xor OFFSET2 xor OFFSET3
The offset is programmed in several stages (see Fig-
ure 16). It is important that the direction of rotation is
programmed prior to this (MODE Bit 2). To determine
the actual conï¬gured offset, all three offset parameters
must be read out. After these parameters have been
xored the actual offset is determined:
Actual Offset = OFFSET1 xor OFFSET2 xor OFFSET3
To calculate the new offset the actual position at the
required offset is required. The formula used to calcu-
late this new offset is as follows:
New Offset = 256 - Actual Position + Actual Offset
MODE1(3)
MODE2(3)
MODE3(3)
Code
0
1
D(11)
D(25)
D(39)
Range
(0 % - 100 %) * VDD
(10 % - 90 %) * VDD
Table 7: Linear Analog Output - Mode Bit 3
|
▷ |