Académique Documents
Professionnel Documents
Culture Documents
ams Datasheet
[v2-11] 2015-Nov-20
Page 1
Document Feedback
Benefits
Features
Simple programming
Multiple interfaces
Failure diagnostics
Easy setup
AEC-Q100, grade 1
Applications
AS5040 is ideal for:
Industrial applications:
Contactless rotary position sensing
Robotics
Brushless DC motor commutation
Power tools
Automotive applications:
Steering wheel position sensing
Gas pedal position sensing
Transmission gearbox encoder
Headlight position control
Power seat position indicator
Page 2
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
Block Diagram
The functional blocks of this device are shown below:
Figure 3:
AS5040 Block Diagram
VDDV3V
MagINCn
VDD5V
MagDECn
LDO 3.3V
PWM
Interface
PWM_LSB
Ang
DSP
Hall Array
&
Frontend
Amplifier
Cos
Mag
Absolute
Interface
(SSI)
DO
CSn
CLK
OTP
Register
A_LSB_U
Programming
Parameters
Incremental
Interface
B_Dir_V
Index_W
Prog
ams Datasheet
[v2-11] 2015-Nov-20
Page 3
Document Feedback
Pin Assignment
Figure 4:
Pin Configuration SSOP16
16
VDD5V
MagDECn
15
VDD3V3
A_LSB_U
14
NC
B_Dir_V
13
NC
NC
12
PWM_LSB
Index_W
11
CSn
VSS
10
CLK
Prog
DO
AS5040
MagINCn
Pin Description
Figure 6 shows the description of each pin of the standard
SSOP16 package (Shrink Small Outline Package, 16 leads, body
size: 5.3mm x 6.2mmm; see Figure 4).
Pins 7, 15 and 16 are supply pins, pins 5, 13 and 14 are for
internal use and must not be connected.
Pins 1 and 2 are the magnetic field change indicators,
MagINCn and MagDECn (magnetic field strength increase or
decrease through variation of the distance between the magnet
and the device). These outputs can be used to detect the valid
magnetic field range. Furthermore those indicators can also be
used for contact-less push-button functionality.
Pins 3, 4 and 6 are the incremental pulse output pins. The
functionality of these pins can be configured through
programming the one-time programmable (OTP) register.
Figure 5:
Pin Assignment for the Different Incremental Output Modes
Output Mode
Pin 3
Pin 4
Pin 6
Pin 12
1.x: quadrature
Index
PWM
2.x:step/direction
LSB
Direction
Index
PWM
3.x: commutation
LSB
Page 4
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
Pin
Symbol
Type
MagINCn
DO_OD
MagDECn
DO_OD
ams Datasheet
[v2-11] 2015-Nov-20
Description
Page 5
Document Feedback
Pin
Symbol
Type
Description
A_LSB_U
DO
B_Dir_V
DO
NC
Index_W
DO
VSS
Prog
DI_PD
OTP Programming Input and Data Input for Daisy Chain mode.
Internal pull-down resistor (~74k).
May be connected to VSS if programming is not used
DO
DO_T
10
CLK
DI, ST
11
CSn
DI_PU, ST
12
PWM_LSB
DO
13
NC
14
NC
15
VDD3V3
16
VDD5V
Page 6
Document Feedback
DO_OD
DO
: Digital output
DI_PD
DI_PU
: Supply pin
DI
: Digital input
DO_T
ST
: Schmitt-Trigger input
ams Datasheet
[v2-11] 2015-Nov-20
Figure 7:
Absolute Maximum Ratings
Symbol
Parameter
Min
Max
Units
VDD5V
-0.3
VDD3V3
-0.3
-0.3
VDD5V +0.3
Vin
Iscr
Input current
(latchup immunity)
ESD
Electrostatic discharge
Tstrg
Storage temperature
TBody
Body temperature
(Lead free package)
RHNC
MSL
ams Datasheet
[v2-11] 2015-Nov-20
V
-0.3
7.5
-100
100
5
3
mA
Norm: JEDEC 78
kV
125
260
85
2
-55
Note
Page 7
Document Feedback
Electrical Characteristics
Operating Conditions
Figure 8:
Operating Conditions
Symbol
Parameter
Min
Tamb
Ambient temperature
-40
Isupp
Supply current
Typ
Max
Unit
125
16
21
mA
Note
-40F to 257F
VDD5V
VDD3V3
4.5
3.0
5.0
3.3
5.5
3.6
V
V
5V operation
VDD5V
VDD3V3
3.0
3.0
3.3
3.3
3.6
3.6
V
V
Symbol
Parameter
VIH
VIL
VIon-VIoff
ILEAK
IiL
Page 8
Document Feedback
Min
Max
0.7 * VDD5V
V
0.3 * VDD5V
1
-1
Unit
Note
Normal operation
V
V
CLK only
A
-30
-100
ams Datasheet
[v2-11] 2015-Nov-20
Symbol
Parameter
VIH
VPROG
VIL
IiL
Min
Max
Unit
0.7 * VDD5V
See Programming
Conditions
0.3 * VDD5V
100
Note
During
programming
VDD5V: 5.5V
Symbol
VOL
Parameter
Low level output voltage
Min
Max
Unit
VSS+0.4
IO
Output current
4
2
mA
IOZ
ams Datasheet
[v2-11] 2015-Nov-20
Note
VDD5V: 4.5V
VDD5V: 3V
Page 9
Document Feedback
Symbol
Parameter
VOH
VOL
IO
Min
Max
VDD5V-0.5
Output current
Unit
Note
V
VSS+0.4
4
2
mA
VDD5V: 4.5V
VDD5V: 3V
Symbol
Parameter
VOH
VOL
Min
Max
VDD5V-0.5
Unit
V
VSS+0.4
IO
Output current
4
2
mA
IOZ
Page 10
Document Feedback
Note
VDD5V: 4.5V
VDD5V: 3V
ams Datasheet
[v2-11] 2015-Nov-20
Symbol
Parameter
Min
Typ
6
dmag
Diameter
tmag
Thickness
2.5
Bpk
Magnetic input
field amplitude
Boff
Magnetic offset
Unit
mm
mm
45
Field non-linearity
fmag_abs
fmag_inc
Max
Input frequency
(rotational speed
of magnet)
75
mT
10
mT
10
Hz
500
Hz
Displacement
radius
mm
Recommended
magnet material
and temperature
drift
ams Datasheet
[v2-11] 2015-Nov-20
0.23 5
0.485
Chip placement
tolerance
0.25
Disp
Note
mm
-0.12
%/K
-0.035
Page 11
Document Feedback
Symbol
Parameter
RES
Resolution
LSB
7 bit
8 bit
9 bit
10 bit
INLopt
INLtemp
Typ
DNL
Differential non-linearity
Unit
10
bit
0.352 deg
deg
deg
deg
1.4
deg
0.176
deg
0.12
Deg
RMS
deg
0.5
Integral non-linearity
(optimum)
Integral non-linearity
Max
2.813
1.406
0.703
0.352
Integral non-linearity
(optimum)
INL
TN
Min
0.9
Transition noise
0.704
Note
Hyst
Hysteresis
Von
Power-on-reset threshold
ON voltage; 300mV typ.
hysteresis
1.37
2.2
2.9
Voff
Power-on-reset threshold
OFF voltage; 300mV typ.
hysteresis
1.08
1.9
2.6
tPwrUp
Power-up time
50
ms
tdelay
48
192
Page 12
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
Symbol
fS
Parameter
Min
Typ
Max
9.90
10.42
10.94
Note
Internal sampling rate,
Tamb = 25C
kHz
9.38
CLK
Unit
10.42
11.46
Read-out frequency
MHz
Figure 16:
Integral and Differential Non-Linearity Example (Exaggerated Curve)
1023
D 10bit code
1023
Actual curve
TN
1
0
512
Ideal curve
DNL+1LSB
INL
0.35
512
0
0q
q
360 q
D [degrees]
ams Datasheet
[v2-11] 2015-Nov-20
Page 13
Document Feedback
Timing Characteristics
Synchronous Serial Interface (SSI)
Operating conditions: Tamb = -40C to 125C, VDD5V = 3.0V to
3.6V (3V operation) VDD5V = 4.5V to 5.5V (5V operation) unless
otherwise noted.
Figure 17:
Synchronous Serial Interface (SSI)
Symbol
t DO active
Parameter
Min
Typ
Max
Unit
Note
100
ns
tCLK FE
500
ns
T CLK / 2
500
ns
t DO valid
357
413
ns
100
ns
ns
MHz
t DO tristate
t CSn
500
fCLK
Read-out frequency
>0
Page 14
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
Symbol
f PWM
Parameter
Min
Typ
Max
0.927
0.976
1.024
PWM frequency
Unit
Note
Signal period = 1025s 5% at
Tamb = 25C
KHz
0.878
0.976
1.074
=1025s 10% at
Tamb = -40C to 125C
PW MIN
0.90
1.10
PW MAX
922
1024
1126
Incremental Outputs
Operating conditions: Tamb = -40C to 125C, VDD5V = 3.0V to
3.6V (3V operation) VDD5V = 4.5V to 5.5V (5V operation) unless
otherwise noted.
Figure 19:
Incremental Outputs
Symbol
t Incremental
outputs valid
t Dir valid
Parameter
Max
Unit
Incremental outputs
valid after power-up
500
ns
Directional indication
valid
500
ns
ams Datasheet
[v2-11] 2015-Nov-20
Min
Typ
Note
Page 15
Document Feedback
Programming Conditions
(operating conditions: Tamb = -40C to 125C, VDD5V = 3.0V to
3.6V (3V operation) VDD5V = 4.5V to 5.5V (5V operation) unless
otherwise noted).
Figure 20:
Programming Conditions
Symbol
Parameter
Min
Typ
Max
Unit
Note
Time between rising edge at
Prog pin and rising edge of CSn
Programming enable
time
t Data in
t Data in valid
250
ns
t Load PROG
Load programming
data
t PrgR
t PrgH
t Prog enable
CLK PROG
t PROG
t PROG finished
Write data
programming CLKPROG
CLK pulse width
Hold time of Vprog
after programming
1.8
250
kHz
2.2
7.5
V PROG
Programming voltage
7.3
V ProgOff
Programming voltage
OFF level
I PROG
Programming current
130
mA
During programming
100
kHz
Programmed zener
voltage (log.1)
100
mV
CLKAread
Vprogrammed
Vunprogrammed
Unprogrammed zener
voltage (log. 0)
Page 16
Document Feedback
7.4
ams Datasheet
[v2-11] 2015-Nov-20
Functional Description
ams Datasheet
[v2-11] 2015-Nov-20
Page 17
Document Feedback
CSn
t CLK FE
T CLK / 2
t CSn
CLK
DO
D9
t DO active
t DO valid
D8
D7
D6
D5
D4
D3
D2
16
D1
D0
OCF
COF
LIN
Mag
INC
Status Bits
t CLK FE
M ag Even
D EC PAR
D9
t DO Tristate
If CSn changes to logic low, Data Out (DO) will change from high
impedance (tri-state) to logic high and the read-out will be
initiated.
After a minimum time tCLK FE, data is latched into the
output shift register with the first falling edge of CLK.
Each subsequent rising CLK edge shifts out one bit of data.
The serial word contains 16 bits, the first 10 bits are the
angular information D[9:0], the subsequent 6 bits contain
system information, about the validity of data such as
OCF, COF, LIN, Parity and Magnetic Field status
(increase/decrease).
A subsequent measurement is initiated by a log. high
pulse at CSn with a minimum duration of tCSn.
Data Content
D9:D0 absolute angular position data (MSB is clocked out
first)
OCF (Offset Compensation Finished), logic high indicates
the finished Offset Compensation Algorithm. For fast
startup, this bit may be polled by the external
microcontroller. As soon as this bit is set, the AS5040 has
completed the startup and the data is valid (see Figure 23)
COF (CORDIC Overflow), logic high indicates an out of
range error in the CORDIC part. When this bit is set, the
data at D9:D0 is invalid. The absolute output maintains the
last valid angular value.
Page 18
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
Mag
INCn
Mag
DECn
Distance increase: Pull-function. This state is dynamic, it is only active while the
magnet is moving away from the chip in Z-axis
Distance decrease: Push- function. This state is dynamic, it is only active while the
magnet is moving towards the chip in Z.-axis.
Magnetic Input Field invalid out of range: <45mT or >75mT (or missing magnet)
Description
ams Datasheet
[v2-11] 2015-Nov-20
Page 19
Document Feedback
OCF
COF
LIN
Mag INCn
Mag DECn
Parity
Page 20
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
ams Datasheet
[v2-11] 2015-Nov-20
Page 21
Document Feedback
CSn
CSn
CLK
CLK
CLK
CLK
PROG
DO
DI
CSn
CSn
100R
DO
100R
PROG
PROG
GND
GND
GND
MCU
DO
1nF
1nF
AS5040
AS5040
AS5040
Figure 25:
Daisy Chain Mode Data Transfer
CSn
tCLK FE
TCLK/2
1
CLK
DO
D9
tDO active
tDO valid
D8
D7
D6
D5
D4
D3
D2
16
D1
D0
OCF
LIN
Mag
INC
Status Bits
1st Device
Page 22
Document Feedback
COF
Mag
DEC
Even
PAR
D9
D8
D7
ams Datasheet
[v2-11] 2015-Nov-20
Incremental Outputs
M echanical
Zero Position
Rotation Direction
Change
M echanical
Zero Position
A
B
Index=0
1LSB
H yst =
2 LSB
Index
Step / Dir-Mode
Index=1
3 LSB
LSB
Dir
CSn
ams Datasheet
[v2-11] 2015-Nov-20
Counterclockwise ccw
Clockwise cw
D ir valid
Page 23
Document Feedback
Page 24
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
0.35
!
Clockwise Direction
Counterclockwise Direction
ams Datasheet
[v2-11] 2015-Nov-20
Page 25
Document Feedback
t on 1025
Position = ------------------------- 1
t on + t off
(EQ1)
Angle
PW MIN
0 deg
(Pos 0)
1s
1025s
PW MAX
359.65 deg
(Pos 1023)
1024s
1/fPWM
Figure 29:
PWM Signal Parameters
Parameter
Symbol
Typ
Unit
PWM frequency
fPWM
0.9756
kHz
PWMIN
Position 0d
Angle 0 deg
PWMAX
1024
Position 1023d
Angle 359,65 deg
Page 26
Document Feedback
Note
Signal period: 1025s
ams Datasheet
[v2-11] 2015-Nov-20
Analog Output
R2
R1
analog out
Pin12
PWM
VDD2
C1
C2
0V2
0
Pin7
360
VSS
(EQ2)
ams Datasheet
[v2-11] 2015-Nov-20
Page 27
Document Feedback
Brushless DC Motor
Commutation Mode
(EQ3)
Figure 31:
U, V and V-Signals for BLDC Motor Commutation (Div1=0, Div0=0)
(One-pole-pair)
U
V
W
CW Direction
Position:
Angle:
171
341
512
683
853
0.0
60.12
119.88
180.0
240.12
299.88
360.0
Figure 32:
U, V and W-Signals for 2-Pole BLDC Motor Commutation (Div1=1; Div0=0)
(Two-pole-pairs)
U
V
W
CW Direction
Position:
Angle:
Page 28
Document Feedback
85
171
256
341
427
512
597
683
768
853
939
0.0
29.88
60.12
90.0
119.88
150.12
180.0
209.88
240.12
270.00
299.88
330.12
360.0
ams Datasheet
[v2-11] 2015-Nov-20
ams Datasheet
[v2-11] 2015-Nov-20
CCW
Z [9:0]
Indx
Div1, Div0
Md1, Md0
Page 29
Document Feedback
= Clockwise operation
Z9 to Z0: 00
Indx: 0
Div0,Div1: 00
Md0, MD1: 00
Figure 33:
Programming Access Write Data (section of Figure 34)
Figure 34:
Complete Programming Sequence
Write Data
Programming Mode
Power Off
CSn
Prog
7.5V
VDD
VProgOff
0V
Data
1
16
CLKPROG
tLoad PROG
Page 30
Document Feedback
tPrgH
tPrgR
tPROG
tPROG finished
ams Datasheet
[v2-11] 2015-Nov-20
USB
Figure 35:
OTP Programming Connection of AS5040 (shown with AS5040 demoboard)
ams Datasheet
[v2-11] 2015-Nov-20
Page 31
Document Feedback
Page 32
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
Figure 36:
One Time Programmable (OTP) Register Options
OTP-Mode-Register-Bit
Pin #
Mode
Md1
Md0
Div1
Div0
Index
Default (Mode0.0)
0(1)
0(1)
0(1)
1LSB
quadAB-Mode1.0
1LSB
quadAB-Mode1.1
3LSBs
quadAB-Mode1.2
1LSB
quadAB-Mode1.3
quadAB-Mode1.4
1LSB
quadAB-Mode1.5
3LSBs
quadAB-Mode1.6
1LSB
quadAB-Mode1.7
3LSBs
ams Datasheet
[v2-11] 2015-Nov-20
3LSBs
12
PWM 10
bit
Pulses per
Revolution
Incremental
Resolution
ppr
bit
2x256
10
2x128
2x64
2x32
Page 33
Document Feedback
OTP-Mode-Register-Bit
Pin #
Mode
Md1
Md0
Div1
Div0
Index
Step/Dir-Mode2.0
1LSB
Step/Dir-Mode2.1
3LSBs
Step/Dir -Mode2.2
1LSB
Step/Dir -Mode2.3
3LSBs
LSB
Dir
Step/Dir -Mode2.4
1LSB
Step/Dir -Mode2.5
3LSBs
Step/Dir -Mode2.6
1LSB
Step/Dir -Mode2.7
3LSBs
CommutationMode3.0
CommutationMode3.2
CommutationMode3.3
ppr
bit
512
10
256
128
64
PWM 10
bit
V(120)
W(240)
LSB
3x1
9
10
U (0,
180)
1
Incremental
Resolution
10
U(0)
CommutationMode3.1
12
Pulses per
Revolution
V (60,
240)
W (120,
300)
LSB
2x3
9
Page 34
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
Non-Permanent Programming
It is also possible to re-configure the AS5040 in a
non-permanent way by overwriting the OTP register.
This procedure is essentially a Write Data sequence (see
Figure 33) without a subsequent OTP programming cycle.
The Write Data sequence may be applied at any time during
normal operation. This configuration remains set while the
power supply voltage is above the power-on reset level (see 0).
See Application Note AN5000-20 for further information.
ams Datasheet
[v2-11] 2015-Nov-20
Page 35
Document Feedback
P ro g E N
O u tp E N
P o w e r-o n R e se t;
tu rn o ff
s u p p ly
A n a lo g R e a d b a c k D a ta a t P ro g
CSn
V re f
In te rn a l
te s t b it
d ig ita l
P ro g
V p ro g ra m m e d
M d 0 M d 1 D iv 0 D iv1 V u n p ro g ra m m e d Z 5
Z6
Z7
Z8
Z9
ccw
P ro g c h a n g e s to O u tp u t
CLK
t L o a d P ro g
Page 36
Document Feedback
16
C L K A re a d
ams Datasheet
[v2-11] 2015-Nov-20
Alignment Mode
Figure 38:
Enabling the Alignment Mode
Prog
CSn
AlignMode enable
Read-out
via SSI
2s 2s
min. min.
ams Datasheet
[v2-11] 2015-Nov-20
Page 37
Document Feedback
3.3V / 5V Operation
5V Operation
3.3V Operation
2.2...10F
VDD3V3
VDD3V3
100n
VDD5V
100n
LDO
VDD5V
Internal
VDD
LDO
Internal
VDD
DO
DO
4.5 - 5.5V
I
N
T
E
R
F
A
C
E
PWM_LSB
3.0 - 3.6V
CLK
CSn
A_LSB_U
B_Dir_V
Index_W
Prog
VSS
I
N
T
E
R
F
A
C
E
PWM_LSB
CLK
CSn
A_LSB_U
B_Dir_V
Index_W
Prog
VSS
Page 38
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
S
Magnet axis
R1
Vertical field
component
Magnet axis
Bv
(4575mT)
Vertical field
component
360
R1 concentric circle;
radius 1.1mm
ams Datasheet
[v2-11] 2015-Nov-20
Page 39
Document Feedback
3.9 mm
3.9 mm
2.433 mm
Defined
center
Rd
2.433 mm
Page 40
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
Magnet Placement
The magnets center axis should be aligned within a
displacement radius R d of 0.25mm from the defined center of
the IC with reference to the edge of pin #1 (see Figure 41). This
radius includes the placement tolerance of the chip within the
SSOP-16 package ( 0.235mm). The displacement radius R d is
0.485mm with reference to the center of the chip (see
Alignment Mode)
The vertical distance should be chosen such that the magnetic
field on the die surface is within the specified limits (see
Figure 40). The typical distance z between the magnet and
the package surface is 0.5mm to 1.8mm with the recommended
magnet (6mm x 2.5mm). Larger gaps are possible, as long as
the required magnetic field strength stays within the defined
limits.
A magnetic field outside the specified range may still produce
usable results, but the out-of-range condition will be indicated
by MagINCn (pin 1) and MagDECn (pin 2), see Figure 22.
Figure 42:
Vertical Placement of the Magnet
N
Die surface
S
Package surface
z
0.576mm 0.1mm
1.282mm 0.15mm
ams Datasheet
[v2-11] 2015-Nov-20
Page 41
Document Feedback
Simulation Modelling
Figure 43:
Arrangement of Hall Sensor Array on Chip (principle)
( Y1 Y2 )
= arc tan -------------------------- 0.5
( X1 X2 )
Page 42
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
ams Datasheet
[v2-11] 2015-Nov-20
Page 43
Document Feedback
Failure Diagnostics
Page 44
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
ams Datasheet
[v2-11] 2015-Nov-20
Page 45
Document Feedback
0.1
Err max
0
-0.1 1
-0.2
55
109 163 217 271 325 379 433 487 541 595 649 703 757 811 865 919 973
Err min
-0.3
-0.4
-0.5
Transition Noise
Transition noise is defined as the jitter in the transition between
two steps.
Due to the nature of the measurement principle (Hall sensors
+ Preamplifier + ADC), there is always a certain degree of noise
involved.
This transition noise voltage results in an angular transition
noise at the outputs. It is specified as 0.12 degrees rms (1
sigma) 1
This is the repeatability of an indicated angle at a given
mechanical position.
Page 46
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
60
n = --------------------------rpm 96s
60
rpm = -------------------n 96s
Page 47
Document Feedback
60
n = ------------------------------------rpm 1.025ms
Incremental Mode
Incremental encoders are usually required to produce no
missing pulses up to several thousand rpms.
Therefore, the AS5040 has a built-in interpolator, which ensures
that there are no missing pulses at the incremental outputs for
rotational speeds of up to 30,000 rpm, even at the highest
resolution of 10 bits (512 pulses per revolution).
Figure 46:
Speed Performance
No missing pulses
@ 10 bit resolution (512ppr):
max. speed = 30,000 rpm
etc
Propagation Delays
The propagation delay is the delay between the time that the
sample is taken until it is converted and available as angular
data. This delay is 48s for the absolute interface and 192s for
the incremental interface.
Using the SSI interface for absolute data transmission, an
additional delay must be considered, caused by the
asynchronous sampling (t = 0...1/fs) and the time it takes the
external control unit to read and process the data.
Page 48
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
Where:
e sampling = angular error []
rpm = rotating speed [rpm]
prop delay = propagation delay [seconds]
Note(s): Since the propagation delay is known, it can be
automatically compensated by the control unit processing the
data from the AS5040, thus reducing the angular error caused
by speed.
ams Datasheet
[v2-11] 2015-Nov-20
t on 1025
Position = -------------------------- 1
( t on + t off )
Page 49
Document Feedback
Temperature
Magnetic Temperature Coefficient
One of the major benefits of the AS5040 compared to linear Hall
sensors is that it is much less sensitive to temperature. While
linear Hall sensors require a compensation of the magnets
temperature coefficients, the AS5040 automatically
compensates for the varying magnetic field strength over
temperature. The magnets temperature drift does not need to
be considered, as the AS5040 operates with magnetic field
strengths from 45mT to 75mT.
Example:
A NdFeB magnet has a field strength of 75mT @ -40C and a
temperature coefficient of -0.12% per Kelvin.
The temperature change is from -40 to +125 = 165K.
The magnetic field change is: 165 x -0.12% = -19.8%, which
corresponds to 75mT at -40C and 60mT at 125C.
The AS5040 can compensate for this temperature related field
strength change automatically, no user adjustment is required.
Page 50
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
Mechanical Data
Figure 47:
Hall Element Positions
ams Datasheet
[v2-11] 2015-Nov-20
Page 51
Document Feedback
Symbol
Min
Typ
Max
A
A1
A2
b
c
D
E
E1
e
L
L1
L2
R
1.73
0.05
1.68
0.25
0.09
6.07
7.65
5.2
1.86
0.13
1.73
0.315
6.20
7.8
5.3
0.65
0.75
1.25 REF
0.25 BSC
4
16
1.99
0.21
1.78
0.38
0.20
6.33
7.9
5.38
0.63
0.09
0
0.95
RoHS
Green
Page 52
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
Figure 49:
Package Marking
Figure 50:
Packaging Code
YY
Last two digits of the
manufacturing year
WW
Manufacturing week
Plant identifier
ZZ
Free choice/
traceability code
Sublot identifier
ams Datasheet
[v2-11] 2015-Nov-20
Page 53
Document Feedback
Figure 52:
Recommended Footprint Data
Page 54
Document Feedback
mm
inch
9.02
0.355
6.16
0.242
0.46
0.018
0.65
0.025
5.01
0.197
ams Datasheet
[v2-11] 2015-Nov-20
Ordering Code
Package
Marking
Delivery Form
Delivery Quantity
AS5040-ASSU
SSOP-16
AS5040
Tubes (1)
7700 pcs
AS5040-ASST
SSOP-16
AS5040
2000 pcs/reel
ams Datasheet
[v2-11] 2015-Nov-20
Page 55
Document Feedback
Page 56
Document Feedback
ams Datasheet
[v2-11] 2015-Nov-20
ams Datasheet
[v2-11] 2015-Nov-20
Page 57
Document Feedback
Document Status
Document Status
Product Preview
Preliminary Datasheet
Datasheet
Datasheet (discontinued)
Page 58
Document Feedback
Product Status
Definition
Pre-Development
Pre-Production
Production
Discontinued
ams Datasheet
[v2-11] 2015-Nov-20
Revision Information
Page
51
52
Updated Figure 53
55
ams Datasheet
[v2-11] 2015-Nov-20
Page 59
Document Feedback
Content Guide
Page 60
Document Feedback
1
2
2
3
General Description
Key Benefits & Features
Applications
Block Diagram
4
4
5
5
5
Pin Assignment
Pin Description
Mode 1.x: Quadrature A/B Output
Mode 2.x: Step / Direction Output
Mode 3.x: Brushless DC Motor Commutation Mode
8
8
8
8
9
9
10
10
11
12
14
14
15
15
16
Electrical Characteristics
Operating Conditions
DC Characteristics for Digital Inputs and Outputs
CMOS Schmitt-Trigger Inputs: CLK, CSn
(CSn = Internal Pull-Up)
CMOS / Program Input: Prog
CMOS Output Open Drain: MagINCn, MagDECn
CMOS Output: A, B, Index, PWM
Tristate CMOS Output: DO
Magnetic Input Specification
Electrical System Specifications
Timing Characteristics
Synchronous Serial Interface (SSI)
Pulse Width Modulation Output
Incremental Outputs
Programming Conditions
17
Functional Description
18
18
18
21
21
23
23
23
24
25
Incremental Outputs
Quadrature A/B Output (Quad A/B Mode)
LSB Output (Step/Direction Mode)
Incremental Power-Up Lock Option
Incremental Output Hysteresis
26
27
28
ams Datasheet
[v2-11] 2015-Nov-20
ams Datasheet
[v2-11] 2015-Nov-20
29
30
32
35
35
35
35
37
38
Alignment Mode
3.3V / 5V Operation
39
40
41
42
Simulation Modelling
44
44
44
Failure Diagnostics
Magnetic Field Strength Diagnosis
Power Supply Failure Detection
45
45
46
47
47
47
48
48
48
49
49
50
50
50
50
51
52
54
55
56
57
58
59
Mechanical Data
Package Drawings & Markings
Recommended PCB Footprint
Ordering & Contact Information
RoHS Compliant & ams Green Statement
Copyrights & Disclaimer
Document Status
Revision Information
Page 61
Document Feedback