as5040 austriamicrosystems, as5040 Datasheet - Page 16

no-image

as5040

Manufacturer Part Number
as5040
Description
10-bit Programmable Magnetic Rotary Encoder
Manufacturer
austriamicrosystems
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AS5040
Manufacturer:
AMS
Quantity:
20 000
Part Number:
as5040 AB
Manufacturer:
austriamicrosystems
Quantity:
135
Part Number:
as5040-ASST
Manufacturer:
AMS
Quantity:
1 500
Part Number:
as5040-ASST
Manufacturer:
AMS
Quantity:
20 000
Part Number:
as5040-ASSU
Manufacturer:
AMS
Quantity:
1 000
Part Number:
as5040-EK-AB
Manufacturer:
BOARDADAPTER
Quantity:
20 000
AS5040 10-BIT PROGRAMMABLE MAGNETIC ROTARY ENCODER
10.2 Incremental Mode Programming
Three different incremental output modes are available.
Mode: Md1=0 / Md0=1 sets the AS5040 in quadrature
mode.
Mode: Md1=1 / Md0=0 sets the AS5040 in step / direction
mode (see Table 1)
In both modes, the incremental resolution may be
reduced from 10 bit down to 9, 8 or 7 bit using the divider
OTP bits Div1 and Div0. (see Table 6 below ).
Mode: Md1=1 / Md0=1 sets the AS5040 in brushless DC
motor commutation mode with an additional LSB
incremental signal at pin 12 (PWM_LSB).
To allow programming of all bits, the default factory
setting is all bits = 0. This mode is equal to mode 1:0
(quadrature A/B, 1LSB index width, 256ppr).
The absolute angular output value, by default, increases
with clockwise rotation of the magnet (top view).
*Note: Div1, Div0 and Index cannot be programmed in Mode 0:0
Revision 1.8
Commutation-Mode3.0
Commutation-Mode3.1
Commutation-Mode3.2
Commutation-Mode3.3
Default (Mode0.0)
Step/Dir -Mode2.2
Step/Dir -Mode2.3
Step/Dir -Mode2.4
Step/Dir -Mode2.5
Step/Dir -Mode2.6
Step/Dir -Mode2.7
quadAB-Mode1.0
quadAB-Mode1.1
quadAB-Mode1.2
quadAB-Mode1.3
quadAB-Mode1.4
quadAB-Mode1.5
quadAB-Mode1.6
quadAB-Mode1.7
Step/Dir-Mode2.0
Step/Dir-Mode2.1
Mode
Md1
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
OTP-Mode-Register-Bit
Md0 Div1
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
Table 6: One Time Programmable (OTP) register options
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0*
Div0
0*
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
Index
0*
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
0
0
www.austriamicrosystems.com
(0º, 180º)
LSB
U(0º)
U’
3
A
Setting the CCW-bit (see Figure 14) allows reversing the
indicated direction, e.g. when the magnet is placed
underneath the IC:
CCW = 0 – angular value increases clockwise;
CCW = 1 – angular value increases counterclockwise.
By default, the zero / index position pulse is one LSB
wide. It can be increased to a three LSB wide pulse by
setting the Index-bit of the OTP register.
Further programming options (commutation modes) are
available for brushless DC motor-control.
Md1 = Md0 = 1 changes the incremental output pins 3, 4
and 6 to a 3-phase commutation signal. Div1 defines the
number of pulses per revolution for either a two-pole
(Div1=0) or four-pole (Div1=1) rotor.
In addition, the LSB is available at pin 12 (the LSB signal
replaces the PWM-signal), which allows for high
rotational speed measurement of up to 30,000 rpm.
(60º,240º)
V(120º)
Dir
B
4
V’
Pin #
(120º,300º)
W(240º)
3LSBs
3LSBs
3LSBs
3LSBs
3LSBs
3LSBs
3LSBs
3LSBs
1LSB
1LSB
1LSB
1LSB
1LSB
1LSB
1LSB
1LSB
1LSB
W’
6
PWM
10 bit
PWM
10 bit
LSB
LSB
12
Pulses per
Revolution
2x256
2x128
2x64
2x32
3 x 1
2 x 3
512
256
128
ppr
64
Incremental
Resolution
Page 16 of 27
bit
10
10
10
10
9
8
7
9
8
7
9
9

Related parts for as5040