AMS AS5147 Position Sensor Datasheet
The AMS AS5147 is a high-resolution rotary position sensor that provides accurate angle measurement over a full 360-degree range. With its immunity to external stray magnetic fields and a resolution of up to 14 bits, it is ideal for motor control and position sensing applications. The AS5147 also features a variety of output interfaces, including SPI, ABI, UVW, and PWM, making it easy to integrate with various systems. Additionally, its self-diagnostic capabilities enhance system reliability.
Reklama
Reklama
General Description
AS5147
14-Bit On-Axis Magnetic Rotary
Position Sensor with 11-Bit Binary
Incremental Pulse Count
The AS5147 is a high-resolution rotary position sensor for fast absolute angle measurement over a full 360-degree range. This new position sensor is equipped with a revolutionary integrated dynamic angle error compensation (DAEC™) with almost 0 latency.
The robust design of the device suppresses the influence of any homogenous external stray magnetic field. A standard 4-wire
SPI serial interface allows a host microcontroller to read 14-bit absolute angle position data from the AS5147 and to program non-volatile settings without a dedicated programmer.
Incremental movements are indicated on a set of ABI signals with a maximum resolution of 2048 steps / 512 pulses per revolution. The resolution of the ABI signal is programmable to
1024 steps / 256 pulses per revolution.
Brushless DC (BLDC) motors are controlled through a standard
UVW commutation interface with a programmable number of pole pairs from 1 to 7. The absolute angle position is also provided as PWM-encoded output signal.
The AS5147 supports embedded self-diagnostics including magnetic field strength too high, magnetic field strength too low or lost magnet, and other related diagnostic features.
The product is defined as SEooC (Safety Element out of Context) according ISO26262 including FMEDA, safety manual and third party qualification.
The AS5147 is available as a single die in a compact 14-pin
TSSOP package.
and
Content Guide appear at end of
datasheet.
ams Datasheet
[v1-10] 2016-Apr-27
Page 1
Document Feedback
AS5147 −
General Description
Key Benefits & Features
The benefits and features of AS5147, 14-Bit On-Axis Magnetic
Rotary Position Sensor with 11-Bit Binary Incremental Pulse
Count are listed below:
Figure 1:
Added Value of Using the AS5147
Benefits
• Easy to use – saving costs on DSP
• Good resolution for motor and position control
• Versatile choice of the interface
• No programmer needed (via SPI command)
• Supports safety challenging applications
• Lower system costs (no shielding)
Features
• DAEC™ Dynamic angle error compensation
• 14-bit core resolution
• Independent output interfaces: SPI, ABI, UVW,
PWM
• Zero position, configuration programmable
• Self-Diagnostics
• Immune to external stray field
Applications
The AS5147 has been designed to support BLDC motor commutation for the most challenging automotive applications (AEC-Q100 grade 0 automotive qualified) such as electric power steering (EPS), transmission (gearbox, actuator), pump, brake (actuator) and starter and alternator.
Page 2
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
General Description
Block Diagram
The functional blocks of this device are shown below:
Figure 2:
AS5147 Block Diagram
VDD3V3
VDD
AS5147
LDO
Volatile Memory
OTP
SPI
ABI
Hall
Sensors
Analog
Front-End
A/D
AGC
GND
ATAN
(CORDIC)
INTERPOLATOR
Dynamic Angle
Error
Compensation
UWV
PWM Decoder
Selectable on I or W
CSn
SCL
MISO
MOSI
A
B
I/PWM
U
V
W / PWM
ams Datasheet
[v1-10] 2016-Apr-27
Page 3
Document Feedback
AS5147 −
Pin Assignment
Pin Assignment
Figure 3:
TSSOP-14 Pin Assignment
CSn
CLK
MISO
MOSI
TEST
B
A
Figure 4:
Pin Description
Pin Number Pin Name
5
6
7
3
4
1
2
CSn
CLK
MISO
MOSI
Test
B
A
Pin Type
Digital input
Digital input
Digital output
Digital input
Digital output
Digital output
Description
SPI chip select (active low)
SPI clock
SPI master data input, slave output
SPI master data output, slave input
Test pin (connect to ground)
Incremental signal B
Incremental signal A
I / PWM
GND
VDD3V
VDD
U
V
W / PWM
Page 4
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Pin Assignment
Pin Number Pin Name
10
11
8
9
W/PWM
V
U
VDD
12
13
14
VDD3V3
GND
I
Pin Type
Digital output
Digital output
Digital output
Power supply
Power supply
Power supply
Digital output
Note(s) and/or Footnote(s):
1. Floating state of a digital input is not allowed.
2. If SPI is not used, a Pull up resistor on CSn is required.
3. If SPI is not used, a Pull down resistor on CLK and MOSI is required.
4. If SPI is not used, the pin MISO can be left open.
5. If ABI, UVW or PWM is not used, the pins can be left open.
Description
Commutation signal W or PWM-encoded output
Commutation signal V
Commutation signal U
5V power supply voltage for on-chip regulator
3.3V on-chip low-dropout (LDO) output. Requires an external decoupling capacitor (1
μ
F)
Ground
Incremental signal I (index) or PWM
ams Datasheet
[v1-10] 2016-Apr-27
Page 5
Document Feedback
AS5147 −
Absolute Maximum R atings
Absolute Maximum Ratings
Stresses beyond those listed under
may cause permanent damage to the device. These are stress ratings only. Functional operation of the device at these or any other conditions beyond those indicated under
Characteristics is not implied. Exposure to absolute maximum
rating conditions for extended periods may affect device reliability.
Figure 5:
Absolute Maximum Ratings
Symbol
VDD5
VDD3
V
SS
V in
I scr
ESD
P t
Parameter Min
DC supply voltage at VDD pin
DC supply voltage at VDD3V3 pin
-0.3
-0.3
DC supply voltage at GND pin -0.3
Input pin voltage
Input current
(latch-up immunity)
Electrostatic discharge
Total power dissipation
(all supplies and outputs)
-100
±2
Max
7.0
5.0
0.3
VDD+0.3
100
150
Units
V
V
V
V mA kV mW
Note
AEC-Q100-004
AEC-Q100-002
Ta5V0
Ta3V3
TaProg
Ambient temperature 5V0
Ambient temperature 3V3
Programming temperature
-40
-40
5
150
125
45
°C
°C
°C
In the 5.0V power supply mode only
In the 3.3V power supply mode if
= 0
Programming @ room temperature (25°C ± 20°C)
T strg
T body
RH
NC
Storage temperature
Package body temperature
Relative humidity non-condensing
-55
5
150
260
85
°C
°C
%
IPC/JEDEC J-STD-020
MSL Moisture sensitivity level 3
Represents a maximum floor lifetime of 168h
Page 6
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Electrical Characteristics
Electrical Characteristics
All limits are guaranteed. The parameters with min and max values are guaranteed with production tests or SQC (Statistical
Quality Control) methods.
Figure 6:
Electrical Characteristics
Symbol Parameter Conditions Min
VDD
VDD3V3
VDD3V3_150
VDD_Burn
V
REG
Positive supply voltage 5.0V operation mode
Positive supply voltage
3.3V operation mode; only from -40 to
125°C
Positive supply voltage
Positive supply voltage
Regulated voltage
3.3V operation mode; only from -40 to
150°C (3V150°C Bit has to be set)
Supply voltage required for programming in 3.3V operation
Voltage at VDD3V3 pin if VDD ≠ VDD3V3
I
DD
Supply current
V
IH
High-level input voltage
4.5
3.0
3.2
3.3
3.2
0.7
×
VDD
V
IL
Low-level input voltage
V
V
OH
OL
I_Out
I_Out_MISO
C_L
High-level output voltage
Low-level output voltage
Current on digital output (ABI, UVW)
Current on digital output MISO
Capacitive load on digital output
VDD - 0.5
Typ
5.0
3.3
3.4
3.4
Max
5.5
3.6
3.6
3.5
3.6
15
0.3
×
VDD
V
SS
+ 0.4
1
4
50
Units
V
V
V
V
V mA
V
V
V
V mA mA pf
ams Datasheet
[v1-10] 2016-Apr-27
Page 7
Document Feedback
AS5147 −
Magnetic Characteristics
Magnetic Characteristics
Figure 7:
Magnetic Specifications
Symbol
Bz
Parameter Conditions
Orthogonal magnetic field strength, normal operating mode
Required orthogonal component of the magnetic field strength measured at the die's surface along a circle of 1.1mm
Min Max Unit
35 70 mT
Note(s) and/or Footnote(s):
1. It is possible to operate the AS5147 below 35mT with reduced noise performance.
System Characteristics
Figure 8:
System Specifications
Symbol Parameter Conditions
RES Core resolution
RES_ABI
Resolution of the ABI interface
Programmable with register setting
(ABIRES)
INL
OPT
@ 25°C
Non-linearity, optimum placement of the magnet
INL
OPT+TEMP
Non-linearity optimum placement of the magnet over the full
Temperature Range
INL
DIS+TEMP
ONL
ONH
Non-linearity @ displacement of magnet and temperature -40°C to
150°C
RMS output noise
(1 sigma). Not tested, guaranteed by design.
Assuming N35H
Magnet
(D=8mm, H=3mm)
500
μ m displacement in x and y z-distance @ 2000
μ m
Orthogonal component for the magnetic field within the specified range
(Bz),
= 0
RMS output noise
(1 sigma) on SPI, ABI and UVW interfaces.
Not tested, guaranteed by design.
Orthogonal component for the magnetic field within the specified range
(Bz),
= 1
Min
10
Typ
14
Max Units
bit
11 bit
±0.8
degree
±1 degree
±1.2
degree
0.068
degree
0.082
degree
Page 8
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Timing Characteristics
Symbol
ON_PWM t delay t delay_
DAEC t sampl
DAE
1700
DAE max
DAE acc
MS
Parameter Conditions
RMS output noise
(1 sigma) on PWM interface
Orthogonal component for the magnetic field within the specified range
(Bz)
System propagation delay –core
Reading angle via SPI
Residual system propagation delay after dynamic angle error correction.
At ABI, UVW and SPI
Sampling rate Refresh rate at SPI
Dynamic angle error
Dynamic angle error
At 1700 RPM constant speed
At 14500 RPM constant speed
Dynamic angle error at constant acceleration
(25krad/s²)
Maximum speed
25k radians/s² constant acceleration
Min
90
1.5
202
Typ
222
Max Units
0.068
degree
110
1.9
247
0.02
0.18
μs
μs ns degree degree
0.175
degree
14500 RPM
Reference magnet:
N35H, 8mm diameter; 3mm thickness
Timing Characteristics
Figure 9:
Timing Specifications
Symbol
t pon
Parameter
Power-on time
Conditions
Not tested, guaranteed by design.
Time between
VDD > VDD
MIN
and the first valid outcome
Min Typ Max Units
10 ms
ams Datasheet
[v1-10] 2016-Apr-27
Page 9
Document Feedback
Detailed Description
AS5147 −
Detailed Description
The AS5147 is a Hall-effect magnetic sensor using a CMOS technology. The Hall sensors convert the magnetic field component perpendicular to the surface of the chip into a voltage.
The signals from the Hall sensors are amplified and filtered by the analog front-end (AFE) before being converted by the analog-to-digital converter (ADC). The output of the ADC is processed by the hardwired CORDIC (coordinate rotation digital computer) block to compute the angle and magnitude of the magnetic vector. The intensity of the magnetic field
(magnitude) is used by the automatic gain control (AGC) to adjust the amplification level for compensation of the temperature and magnetic field variations.
The AS5147 generates continuously the angle information, which can be requested by the different interfaces of the device.
The internal 14-bit resolution is available by readout register via the SPI interface. The resolution on the ABI output can be programmed for 10 or 11 bits.
The Dynamic Angle Error Compensation block corrects the calculated angle regarding latency, by using a linear prediction calculation algorithm. At constant rotation speed the latency time is internally compensated by the AS5147, reducing the dynamic angle error at the SPI, ABI and UVW outputs. The
AS5147 allows selecting between a UVW output interface and a PWM-encoded interface on the W pin.
At higher speeds, the interpolator fills in missing ABI pulses and generates the UVW signals with no loss of resolution. The non-volatile settings in the AS5147 can be programmed through the SPI interface without any dedicated programmer.
Power Management
The AS5147 can be either powered from a 5.0V supply using the on-chip low-dropout regulator or from a 3.3V voltage supply.
The LDO regulator is not intended to power any other loads, and it needs a 1 μF capacitor to ground located close to the chip for decoupling as shown in
.
In 3.3V operation, VDD and VDD3V3 must be tied together. In this configuration, normal noise performance (
at reduced maximum temperature (125°C) by clearing
to 0. When
NOISESET is set to 1, the full temperature
range is available with reduced noise performance (
Page 10
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Detailed Description
Figure 10:
Temperature Range and Output Noise in 3.3V and 5.0V Mode
VDD (V)
5.0
3.3
3.3
NOISESET
0
0
1
Temperature Range (°C)
-40 to 150
-40 to 125
-40 to 150
RMS Output Noise (degree)
0.068
0.068
0.082
Figure 11:
5.0V and 3.3V Power Supply Options
4.5 - 5.5V
VDD
100n
F
5.0V Operation
LDO
VDD3V3
3.0 – 3.6V
VDD
1µF
100n
F
3.3V Operation
LDO
GND GND
AS5147 AS5147
VDD3V3
ams Datasheet
[v1-10] 2016-Apr-27
After applying power to the chip, the power-on time ( t
) must elapse before the AS5147 provides the first valid data.
(EQ1)
Dynamic Angle Error Compensation
The AS5147 uses 4 integrated Hall sensors which produce a voltage proportional to the orthogonal component of the magnetic field to the die. These voltage signals are amplified, filtered, and converted into the digital domain to allow the
CORDIC digital block to calculate the angle of the magnetic vector. The propagation of these signals through the analog front-end and digital back-end generates a fixed delay between the time of measurement and the availability of the measured angle at the outputs. This latency generates a dynamic angle error represented by the product of the angular speed (
ω
)and the system propagation delay ( t
):
DAE
=
ω
x
The dynamic angle compensation block calculates the current magnet rotation speed (
ω
) and multiplies it with the system propagation delay ( t
) to determine the correction angle to reduce this error. At constant speed, the residual system propagation delay is t
Page 11
Document Feedback
Figure 12:
SPI Timing Diagram
SS/
(Input)
SCK
(Input)
MISO
(Output)
MOSI
(Input) t
L t sck t sckH t sckL t
MISO data[15] t
MOSI data[15] data[14] data[14]
AS5147 −
Detailed Description
The angle represented on the
compensated by the Dynamic Angle Error Compensation algorithm. It is also possible to disable the Dynamic Angle Error
Compensation with the
DAECDIS setting. Disabling the
Dynamic Angle Error Compensation gives a noise benefit of
0.016 degree rms.This setting can be advantageous for low speed (under 100 RPM) respectively static positioning applications.
SPI Interface (slave)
The SPI interface is used by a host microcontroller (master) to read or write the volatile memory as well as to program the non-volatile OTP registers. The AS5147 SPI only supports slave operation mode. It communicates at clock rates up to 10 MHz.
The AS5147 SPI uses mode=1 (CPOL=0, CPHA=1) to exchange data. As shown in
, a data transfer starts with the falling edge of CSn (SCL is low). The AS5147 samples MOSI data on the falling edge of SCL. SPI commands are executed at the end of the frame (rising edge of CSn). The bit order is MSB first.
Data is protected by parity.
SPI Timing
The AS5147 SPI timing is shown in
t
XSSH t
H data[0] t
OZ t
OZ data[0]
Page 12
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Detailed Description
Figure 13:
SPI Timing
Parameter
t
L t clk t clkL t clkH t
H t
CSn t
MOSI t
MISO t
OZ
Description
Time between CSn falling edge and CLK rising edge
Serial clock period
Low period of serial clock
High period of serial clock
Time between last falling edge of CLK and rising edge of CSn
High time of CSn between two transmissions
Data input valid to falling clock edge
CLK edge to data output valid
Release bus time after CS rising edge.
Min
350
100
50
50 tclk/2
350
20
Max
51
10
SPI Transaction
An SPI transaction consists of a 16-bit command frame followed by a 16-bit data frame.
shows the structure of the command frame.
Units
ns ns ns ns ns ns ns ns ns
Figure 14:
SPI Command Frame
Bit
15
14
13:0
Name
PARC
R/W
ADDR
Description
Parity bit (even) calculated on the lower 15 bits of command frame
0: Write
1: Read
Address to read or write
ams Datasheet
[v1-10] 2016-Apr-27
Page 13
Document Feedback
Figure 15:
SPI Read Data Frame
Bit
15
14
13:0
Name
PARD
EF
DATA
Description
Parity bit (even) calculated on the lower 15 bits of the read data frame
0: No command frame error command occurred
1: Error occurred
Data
The data is sent on the MISO pin. The parity bit
is calculated by the AS5047D of the lower 15 bits of data frame. If an error is detected in the previous SPI command frame, the EF bit is set high. The SPI read is sampled on the rising edge of CSn and the data is transmitted on MISO with the next read command, as shown in
Figure 16:
SPI Read
AS5147 −
Detailed Description
To increase the reliability of communication over the SPI, an even parity bit (
PARC ) must be generated and sent. A wrong
setting of the parity bit causes an parity bit error which is shown the PARERR bit in the error flag register. The parity bit is calculated from the lower 15 bits of the command frame. The
16-bit command consists of a register address and read/write bit which indicates if the transaction is a read or write and the parity bit.
shows the read data frame.
CSn
MOSI
MISO
Command
Read ADD[m]
Command
Read ADD[n]
Command
Read ADD[o]
Command
Read ADD[p]
Data
DATA (
ADD[m]
)
Data
DATA (
ADD[n]
)
Data
DATA (
ADD[o]
)
Page 14
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Detailed Description
Figure 17:
SPI Write Data Frame
Bit
15
14
13:0
Name
PARD
0
DATA
Description
Parity bit (even)
Always low
Data
The parity bit
must be calculated from the lower 15 bit of write data frame. In an SPI write transaction, the write command frame is followed by a write data frame at MOSI. The write data frame consists of the new content of register which address is in the command frame.
During the new content is transmitted on MOSI by the write data frame, the old content is send on MISO. At the next command on MOSI the actual content of the register is transmitted on MISO, as shown in
Figure 18:
SPI Write Transaction
CSn
MOSI
MISO
Comm and
Write ADD[n]
Data to write into A DD[n]
DATA (x)
Comm and
Write ADD[m]
Data to write into A DD[m]
DATA (y)
Comm and
Next command
Data content ADD[n]
DATA (
ADD[n]
)
New Data content of ADD[n] Data content ADD[m]
DATA (x) DATA (
ADD[m]
)
New Data content of ADD[m]
DATA (y)
ams Datasheet
[v1-10] 2016-Apr-27
Page 15
Document Feedback
AS5147 −
Detailed Description
Volatile Registers
The volatile registers are shown in
a 14-bit address.
Figure 19:
Volatile Register Table
Address
0x0000
0x0001
0x0003
0x3FFC
0x3FFD
0x3FFE
0x3FFF
Name
NOP
ERRFL
PROG
DIAAGC
MAG
ANGLEUNC
ANGLECOM
Default
0x0000
0x0000
0x0000
0x0180
0x0000
0x0000
0x0000
Description
No operation
Error register
Programming register
Diagnostic and AGC
CORDIC magnitude
Measured angle without dynamic angle error compensation
Measured angle with dynamic angle error compensation
Reading the NOP register is equivalent to a nop (no operation) instruction for the AS5147.
Figure 20:
ERRFL (0x0001)
Name
PARERR
INVCOMM
FRERR
Read/Write Bit Position
R 2
R
R
1
0
Description
Parity error
Invalid command error: set to 1 by reading or writing an invalid register address
Framing error: is set to 1 when a non-compliant SPI frame is detected
Reading the ERRFL register automatically clears its contents
(ERRFL=0x0000).
Page 16
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Detailed Description
Figure 21:
PROG (0x0003)
Name
PROGVER
PROGOTP
OTPREF
PROGEN
Read/Write Bit Position
R/W
R/W
R/W
R/W
6
3
2
0
Description
Program verify: must be set to 1 for verifying the correctness of the OTP programming
Start OTP programming cycle
Refreshes the non-volatile memory content with the
OTP programmed content
Program OTP enable: enables reading / writing the OTP memory
The PROG register is used for programming the OTP memory.
(See programming the zero position.)
Figure 22:
DIAAGC (0x3FFC)
Name
MAGL
MAGH
COF
Read/Write Bit Position
R
R
R
11
10
9
LF R
AGC R
8
7:0
Description
: Magnetic field strength too low; AGC=0xFF
: Magnetic field strength too high; AGC=0x00
: CORDIC overflow
: Loops Finished
LF=0:internal offset loops not ready regulated
LF=1:internal offset loop finished
value
Note(s) and/or Footnote(s):
1. LF = Loops Finished
Figure 23:
MAG (0x3FFD)
Name
CMAG
Read/Write Bit Position
R 13:0
Description
CORDIC magnitude information
Figure 24:
ANGLE (0x3FFE)
Name
CORDICANG
Read/Write Bit Position
R 13:0
Description
Angle information without dynamic angle error compensation
ams Datasheet
[v1-10] 2016-Apr-27
Page 17
Document Feedback
AS5147 −
Detailed Description
Figure 25:
ANGLECOM (0x3FFF)
Name Read/Write
DAECANG R
Bit Position Description
Non-Volatile Registers (OTP)
The OTP (One-Time Programmable) memory is used to store the absolute zero position of the sensor and the customer settings permanently in the sensor IC.
SPI write/read access is possible several times for all
Non-Volatile Registers (soft write). Soft written register content will be lost after a hardware reset.
The programming itself can be done just once. Therefore the content of the Non-Volatile Registers is stored permanently in the sensor. The register content is still present after a hardware reset and cannot be overwritten.
For a correct function of the sensor the OTP programming is not required. If no configuration or programming is done, the
Non-Volatile Registers are in default state 0x0000.
Figure 26:
Non-Volatile Register Table
Address
0x0016
0x0017
0x0018
0x0019
0x001A
Name
ZPOSM
ZPOSL
SETTINGS1
SETTINGS2
RED
Default
0x0000
0x0000
0x0001
0x0000
0x0000
Description
Zero position LSB/ MAG diagnostic
Custom setting register 1
Custom setting register 2
Redundancy register
Figure 27:
ZPOSM (0x0016)
Name
ZPOSM
Read/Write/Program Bit Position
Description
R/W/P 7:0 8 most significant bits of the zero position
Page 18
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Detailed Description
Figure 28:
ZPOSL (0x0017)
Name
ZPOSL comp_l_error_en comp_h_error_en
Read/Write/Program Bit Position
R/W/P 5:0
R/W/P
R/W/P
6
7
Description
6 least significant bits of the zero position
This bit enables the contribution of MAGH
(Magnetic field strength too high) to the error flag
This bit enables the contribution of MAGL
(Magnetic field strength too low) to the error flag
Figure 29:
SETTINGS1 (0x0018)
Name
IWIDTH
NOISESET
DIR
UVW_ABI
DAECDIS
Dataselect
PWMon
Read/Write/Program Bit Position
R/W/P
R/W/P
R/W/P
R/W/P
R/W/P
R/W/P
R/W/P
0
1
2
3
4
6
7
Description
Width of the index pulse I
(0 = 3LSB, 1 = 1LSB)
Defines the PWM Output
(0 = ABI is operating, W is used as PWM
1 = UVW is operating, I is used as PWM)
Disable Dynamic Angle Error Compensation
(0 = DAE compensation ON, 1 = DAE compensation OFF)
This bit defines which data can be read form address 16383dec (3FFFhex).
0->DAECANG
1->CORDICANG
Enables PWM (setting of UVW_ABI Bit necessary)
ams Datasheet
[v1-10] 2016-Apr-27
Page 19
Document Feedback
AS5147 −
Detailed Description
Figure 30:
SETTINGS2 (0x0019)
Name Read/Write/Program Bit Position
UVWPP
HYS
ABIRES
R/W/P
R/W/P
R/W/P
2:0
4:3
5
Description
number of pole pairs
(000 = 1, 001 = 2, 010 = 3, 011 = 4, 100 = 5, 101 = 6,
110 = 7, 111 = 7)
Hysteresis for 11 Bit ABI Resolution: (00=3LSB, 01=
2LSB,10=1LSB,11=no hysteresis)
Hysteresis for 10 Bit ABI Resolution: (00=2LSB, 01=
1LSB,10=no Hysteresis LSB,11=3LSB)
Resolution of
(0 = 11 bits, 1 = 10 -bits)
The hysteresis (
Figure 35 )is in terms of the chosen resolution
(11 bits vs. 10 bits). The
ABIRES resolution does not affect the
UVW signals.
Figure 31:
RED (0x001A)
Name
REDUNDANCY
Read/Write/
Program
Bit
Position
R/W/P 4:0
Description
Redundancy bits addresses one bit in the nonvolatile memory. If a non-successful OTP programing occurred, one bit can be forced to 1. For more details please refer to the application note
“AN5000 – AS5147_Redundancy_Bits”
Page 20
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Detailed Description
ABI Incremental Interface
The AS5147 can send the angle position to the host microcontroller through an incremental interface. This interface is available simultaneously with the other interfaces.
By default, the incremental interface is set to work at the highest resolution (11 bits), which corresponds to 2048 steps per revolution or 512 pulses per revolution (ppr). This resolution can be cut in half using the OTP bit
, which results in 1024 steps per revolution or 256 pulses per revolution.
The phase shift between the A and B signals indicates the rotation direction: e.g. DIR-Bit = 0, clockwise (A leads, B follows) or counterclockwise (B leads, A follows). The
to invert the sense of the rotation direction. During the start-up time, after power on to the chip, all three ABI signals are high.
setting programs the width of the index pulse from
3 LSB (default) to 1 LSB.
Figure 32:
ABI Signals at 11-Bit Resolution
A
B
I
Steps
N-7 N-6 N-5 N-4 N-3 N-2 N-1 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 0 N-1 N-2 N-3 N-4
Clockwise rotation Counter-clockwise rotation
N = 2048 for 11-bit resolution, and N = 1024 for 10-bit resolution.
The
Figure 32 shows the ABI signal flow if the magnet rotates
in clockwise direction and counter-clockwise direction (
The rotation direction of the magnet is defined as clockwise
(
DIR =0) when the view is from the topside of AS5147.
ams Datasheet
[v1-10] 2016-Apr-27
Page 21
Document Feedback
AS5147 −
Detailed Description
UVW Commutation Interface
The AS5147 can emulate the UVW signals generated by the three discrete Hall switches commonly used in BLDC motors.
The
field in the SETTINGS register selects the number of pole pairs of the motor (from 1 to 7 pole pairs). The UVW signals are generated with 14-bit resolution.
During the start-up time, after power on of the chip, the UVW signals are low.
Figure 33:
UVW Signals
U
V
W
angle
0° 60° 120° 180° 240° 300° 360°
Clockwise rotation
360° 300° 240° 180° 120° 60° 0°
Counter-clockwise rotation
shows the UVW signal flow if the magnet rotates in clockwise direction and counter-clockwise direction (DIR=0).
The rotation direction of the magnet is defined as clockwise
(DIR=0) when the view is from the topside of AS5147. With the bit DIR, it is possible to invert the rotation direction.
Page 22
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Detailed Description
Figure 34:
Pulse Width Modulation Encoded Signal
PWM
The PWM can be enabled with the bit setting PWMon. The PWM encoded signal is displayed on the pin W or the pin I. The bit setting UVW_ABI defines which output is used as PWM. The
PWM output consists of a frame of 4119 PWM clock periods, as shown in
. The PWM frame has the following sections:
• 12 PWM Clocks for INIT
• 4 PWM Clocks for Error detection
• 4095 PWM clock periods of data
• 8 PWM clock periods low
The angle is represented in the data part of the frame with 12-bit resolution. One PWM clock period represents 0.088 degree and has a typical duration of 444 ns.
If the embedded diagnostic of the AS5147 detects any error, the
PWM interface displays only 12 clock periods high
(0.3% duty-cycle). Respectively the 4 clocks for error detection are forced to low.
frame
12 clock periods high
4 clock periods
Error detection
4095 clock periods data
8 clock periods low time
ams Datasheet
[v1-10] 2016-Apr-27
Page 23
Document Feedback
AS5147 −
Detailed Description
Hysteresis
The hysteresis can be programmed in the
bits of the
SETTINGS register. The hysteresis can be 1, 2, or 3 LSB bits, in which the LSB is defined by the ABI resolution setting (
Figure 35:
Hysteresis Settings
HYS
00
01
10
11
HYSTERESIS with 11BIT ABI
Resolution
1
0
3
2
HYSTERESIS with 10BIT ABI
Resolution
0
3
2
1
Automatic Gain Control (AGC) and CORDIC
Magnitude
The AS5147 uses AGC to compensate for variations in the magnetic field strength due to changes of temperature, air gap between the chip and the magnet, and demagnetization of the magnet. The automatic gain control value can be read in the
AGC field of the DIAAGC register. Within the specified input magnetic field strength (
), the Automatic Gain Control keeps the CORDIC magnitude value (
) constant. Below the minimum input magnetic field strength, the CORDIC magnitude decreases and the MAGL bit is set.
Diagnostic Features
The AS5147 supports embedded self-diagnostics.
MAGH : magnetic field strength too high, set if AGC = 0x00
.
This indicates the non-linearity error may be increased.
: magnetic field strength too low, set high if AGC = 0xFF
.
This indicates the output noise of the measured angle may be increased.
: CORDIC overflow. This indicates the measured angle is not reliable.
LF : offset compensation completed. At power-up, an internal
offset compensation procedure is started, and this bit is set when the procedure is completed.
Page 24
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Detailed Description
LF Error / COF Error
In case of an LF or COF error, all outputs are changing into a safe state:
SPI Output: Information in the DIAAGC (0x3FFC) register. The angle information is still valid.
PWM Output: PWM Clock Period 13 - 16 of the first 16 PWM Clock
Periods = low. Additional there is no angle information valid
(all 4096 clock periods = low)
ABI Output: The state of ABI is frozen to ABI = 111
UVW Output: The state of UVW is frozen to UVW = 000
MAGH Error / MAGL Error
Default diagnostic setting for MAGH error /MAGL error:
In case of a MAGH error or MAGL error, there is no safe state on the PWM,ABI or UVW outputs if comp_h_error_en is 0 and comp_l_error_en is 0.
The error flags can be read out with the DIAAGC (0x3FFC) register.
Enhanced diagnosis setting for MAGH error / MAGL error:
In case of a MAGH error or MAGL error, the PWM,ABI or UVW outputs are going into a safe state if comp_h_error_en is 1 and comp_l_error_en is 1. The device is operating with the performance as explained.
SPI Output: Information in the DIAAGC (0x3FFC) register. The angle information is still valid, if the MAGH or MAGL error flag is on.
PWM Output: PWM Clock Period 13 - 16 of the first 16 PWM Clock
Periods = low. Additional there is no angle information valid (all
4096 clock periods = low)
ABI Output: The state of ABI is frozen to ABI = 111
UVW Output: The state of UVW is frozen to UVW = 000
Important:
When comp_(h/l)_error_en is enabled a marginal magnetic field input can cause toggling of MAGH or MAGL which will lead to toggling of the ABI/UVW outputs between operational mode and failure mode.
ams Datasheet
[v1-10] 2016-Apr-27
Page 25
Document Feedback
AS5147 −
Application Information
Application Information
Burn and Verification of the OTP Memory
Step-by-step procedure to permanently program the non-volatile memory (OTP):
Figure 36:
Minimum Programming Diagram for the AS5147 in 5 V Operation
5V operation
VDD during programming 4.5 – 5.5V
VDD
Programmer
CSn
CLK
MISO
MOSI
TEST
A
B
I
GND
VDD3V
VDD
U
V
W
100nF 1μF
GND
Note(s) and/or Footnote(s):
1. In terms of EMC and for remote application, additional circuits are necessary.
Page 26
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Application Information
Figure 37:
Minimum Programming Diagram for the AS5147 in 3.3V Operation
3.3V operation
VDD during programming: 3.3V – 3.5V
VDD
Programmer
CSn
CLK
MISO
MOSI
TEST
A
B
I
GND
VDD3V
VDD
U
V
W
100nF
GND
Note(s) and/or Footnote(s):
1. In terms of EMC and for remote application, additional circuits are necessary.
Figure 38:
Programming Parameter
Symbol Parameter
T aProg
Programming temperature
V
DD
V
DD
I
Prog
Positive supply voltage
Positive supply voltage
Current for programming
Conditions
Programming @ Room
Temperature
(25°C ± 20°C)
5 V operation mode.
Supply voltage during programming
3.3 V operation mode.
Supply voltage during programming
Max current during OTP burn procedure
Min
5
4.5
3.3
Typ Max Units
5
45
5.5
3.5
100
°C
V
V mA
ams Datasheet
[v1-10] 2016-Apr-27
Page 27
Document Feedback
AS5147 −
Application Information
The programming can either be performed in 5V operation using the internal LDO (1uF on regulator output pin), or in 3V
Operation but using a supply voltage between 3.3V and 3.5V.
1.
Power on cycle
2.
Write the
registers with the
Custom settings for this application
3.
Place the magnet at the desired zero position
4.
Read out the measured angle from the
register
5.
Write ANGLE [5:0] into the
register and ANGLE
[13:6] into the
register
6.
Read reg(0x0016) to reg(0x0019)
→
Read register step1
7.
Comparison of written content (settings and angle) with content of read register step1
8.
If point 7 is correct, enable OTP read / write by setting
= 1 in the
9.
Start the OTP burn procedure by setting
= 1 in the
register
10. Read the
register until it reads 0x0001
(Programming procedure complete)
11. Clear the memory content writing 0x00 in the whole non-volatile memory
12. Set the
= 1 to set the Guard band for the guard band test
.
13. Refresh the non-volatile memory content with the OTP content by setting
= 1
14. Read reg(0x0016) to reg(0x0019)
→
Read register step2
15. Comparison of written content (settings and angle) with content of read register step2.
Mandatory: guard band test
16. New power on cycle, if
point 16
is correct. If
point 16
fails, the test with the guard band test
1
was not successful and the device is incorrectly programmed. A reprogramming is not allowed!
17. Read reg(0x0016) to reg(0x0019)
→
Read register step3
18. Comparision of written content (settings and angle) with content of read register step3.
19. If
point 19
is correct, the programming was successful.
If
point 19
fails, device is incorrectly programmed. A reprogramming is not allowed.
1. Guard band test:
- Restricted to temperature range: 25 °C ± 20 °C
- Right after the programming procedure (max. 1 hour with same conditions 25°C ± 20 °C), same VDD voltage.
The guard band test is only for the verification of the burned OTP fuses during the programming sequence.
A use of the guard band in other cases is not allowed.
Page 28
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Application Information
Figure 39:
OTP Memory Burn and Verification Flowchart
Power on cycle START
AS5147 settings
Write reg(0x0018)
Write reg(0x0019)
Write
Reg(0x0016)=0x00
Reg(0x0017)=0x00
Reg(0x0018=0x00
Reg(0x0019)=0x00
Write
Reg(0x0003)=0x40
Clear memory
Position of the magnet to the zero position
Set the magnet to the zero position
Set Guardband
Read ANGLE
Write Angle into ZPOSL and ZPOSM
Read Register step 1
Comparison of written content
(settings and angle) with content of Read Register step 1
Unlock OTParea for burning
(PROGEN=1)
Start OTP burning procedure
(PROGOTP=1)
Read OTP_CTRL
Read reg(0x3FFF)
Not correct
Write
Reg(0x0017(5:0))= reg(0x3FFF(5:0))
Reg(0x0016(7:0))= reg(0x3FFF(13:6))
Read
Reg(0x0016)
Reg(0x0017)
Reg(0x0018)
Reg(0x0019)
Verify 1 correct
Write
Reg(0x0003)=0x01
Write
Reg(0x0003)=0x08
Read
Reg(0x0003)
Write
Reg(0003)=0x04
Refresh memory with OTP content
YES
Read
Reg(0x0016)
Reg(0x0017)
Reg(0x0018)
Reg(0x0016)
Read Register step 2
Verify 2
Not correct correct
Power-on cycle
Guardbandtest fails.
Wrong programming.
Reprogramming not allowed
Comparison of written content (settings and angle) with content of Read Register step 2 mandatory Guardband-Test
Read
Reg(0x0016)
Reg(0x0017)
Reg(0x0018)
Reg(0x0016)
Read Register step 3
Verify 3
Not correct correct
END
Correct programming and verification
END
Wrong programming
Reprogramming not allowed
Comparison of written content (settings and angle) with content of Read Register step 3
NO
OTP burning procedure complete if Reg(0x0003) =0x01
Reg(0x0003)=0x01
ams Datasheet
[v1-10] 2016-Apr-27
Page 29
Document Feedback
AS5147 −
Application Information
Figure 40:
Minimum Circuit Diagram for the AS5147
4.5 – 5.5V
VDD
MCU
CSn
CLK
MISO
MOSI
TEST
A
B
GND
Note(s) and/or Footnote(s):
1. In terms of EMC and for remote application, additional circuits are necessary.
I
GND
VDD3V
VDD
U
V
W
100nF 1µF
Page 30
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Package Drawings & Markings
Package Drawings & Markings
The axis of the magnet must be aligned over the center of the package.
Figure 41:
Package Outline Drawing
RoHS
Green
Symbol Min
E
E1 c
D
A
A1
A2 b e
L
L1
0.09
4.90
-
4.30
-
0.05
0.80
0.19
-
0.45
-
Nom
-
-
1.00
-
-
5.00
6.40 BSC
4.40
0.65 BSC
0.60
1.00 REF
Max
0.20
5.10
-
4.50
1.20
0.15
1.05
0.30
-
0.75
-
Note(s) and/or Footnote(s):
1. Dimensioning and tolerancing conform to ASME Y14.5M - 1994.
2. All dimensions are in millimeters. Angles are in degrees.
3. N is the total number of terminals.
ams Datasheet
[v1-10] 2016-Apr-27 bbb ccc ddd
N
R
R1
S
Θ
1
Θ
2
Θ
3 aaa
Symbol Min
-
-
-
-
0.09
0.09
0.20
0º
-
-
Nom
12 REF
12 REF
0.10
0.10
-
-
-
-
0.05
0.20
14
Max
-
-
-
-
-
-
-
8º
-
-
Page 31
Document Feedback
Figure 42:
Package Marking
AS5147 −
Pack age Drawings & Mark ings
Figure 43:
Packaging Code
YY
Last two digits of the current year
WW
Manufacturing week
M
Plant identifier
ZZ
Free choice / traceability code
@
Sublot identifier
Page 32
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Mechanical Data
Mechanical Data
Figure 44:
Angle Detection by Default (No Zero Position Programmed)
0 degree
S
N
90 degree
N
180 degree
S
270 degree
ams Datasheet
[v1-10] 2016-Apr-27
Page 33
Document Feedback
AS5147 −
Mechanical Data
Figure 45:
Die Placement and Hall Array Position
ɩŜɨɪɥʭɥŜɩɪɬ ɥŜɪɥɭʭɥŜɨɥɥ ɥŜɭɰɫʭɥŜɨɬɥ ɥŜɩɪɭʭɥŜɨɥɥ
Note(s) and/or Footnote(s):
1. Dimensions are in mm.
2. The Hall array center is located in the center of the IC package. Hall array radius is 1.1mm.
3. Die thickness is 203μm nominal.
Page 34
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Ordering & Contact Information
Ordering & Contact Information
Figure 46:
Ordering Information
Ordering
Code
AS5147-HTST
AS5147-HTSM
Package
TSSOP-14
TSSOP-14
Marking
AS5147
AS5147
Delivery Form
13” Tape & Reel in dry pack
7” Tape & Reel in dry pack
Delivery
Quantity
4500 pcs/reel
500 pcs/reel
Online product information is available at: www.ams.com/AS5147
Buy our products or get free samples online at: www.ams.com/ICdirect
Technical Support is available at: www.ams.com/Technical-Support
Provide feedback about this document at: www.ams.com/Document-Feedback
For further information and requests, e-mail us at: [email protected]
For sales offices, distributors and representatives, please visit: www.ams.com/contact
Headquarters
ams AG
Tobelbaderstrasse 30
8141 Premstaetten
Austria, Europe
Tel: +43 (0) 3136 500 0
Website: www.ams.com
ams Datasheet
[v1-10] 2016-Apr-27
Page 35
Document Feedback
AS5147 −
RoHS Compliant & ams Green Statement
RoHS Compliant & ams Green
Statement
RoHS:
The term RoHS compliant means that ams AG products fully comply with current RoHS directives. Our semiconductor products do not contain any chemicals for all 6 substance categories, including the requirement that lead not exceed
0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, RoHS compliant products are suitable for use in specified lead-free processes.
ams Green (RoHS compliant and no Sb/Br):
ams Green defines that in addition to RoHS compliance, our products are free of Bromine (Br) and Antimony (Sb) based flame retardants
(Br or Sb do not exceed 0.1% by weight in homogeneous material).
Important Information:
The information provided in this statement represents ams AG knowledge and belief as of the date that it is provided. ams AG bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. ams AG has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. ams AG and ams AG suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
Page 36
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Copyrights & Disclaimer
Copyrights & Disclaimer
Copyright ams AG, Tobelbader Strasse 30, 8141 Premstaetten,
Austria-Europe. Trademarks Registered. All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner.
Devices sold by ams AG are covered by the warranty and patent indemnification provisions appearing in its General Terms of
Trade. ams AG makes no warranty, express, statutory, implied, or by description regarding the information set forth herein. ams AG reserves the right to change specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is necessary to check with ams AG for current information. This product is intended for use in commercial applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications, such as military, medical life-support or life-sustaining equipment are specifically not recommended without additional processing by ams AG for each application. This product is provided by ams AG “AS IS” and any express or implied warranties, including, but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed.
ams AG shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or liability to recipient or any third party shall arise or flow out of ams AG rendering of technical or other services.
ams Datasheet
[v1-10] 2016-Apr-27
Page 37
Document Feedback
AS5147 −
Document Status
Document Status
Document Status
Product Preview
Preliminary Datasheet
Datasheet
Datasheet (discontinued)
Product Status
Pre-Development
Pre-Production
Production
Discontinued
Definition
Information in this datasheet is based on product ideas in the planning phase of development. All specifications are design goals without any warranty and are subject to change without notice
Information in this datasheet is based on products in the design, validation or qualification phase of development.
The performance and parameters shown in this document are preliminary without any warranty and are subject to change without notice
Information in this datasheet is based on products in ramp-up to full production or full production which conform to specifications in accordance with the terms of ams AG standard warranty as given in the General Terms of
Trade
Information in this datasheet is based on products which conform to specifications in accordance with the terms of ams AG standard warranty as given in the General Terms of
Trade, but these products have been superseded and should not be used for new designs
Page 38
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Revision Information
Revision Information
Changes from 1-06 (2014-Oct-31) to current revision 1-10 (2016-Apr-27)
1-06 (2014-Oct-31) to 1-07 (2015-Feb-17)
Added Notes under Figure 4
Updated Figure 9
Updated text under Detailed Description section
Updated text under Non-Volatile Registers (OTP) section
Updated Figure 31
Added Figure 45 and notes under it
1-07 (2015-Feb-17) to 1-08 (2015-Feb-18)
Updated Figure 9
1-08 (2015-Feb-18) to 1-09 (2015-Mar-18)
Updated notes below Figure 4
Updated text under Non-Volatile Registers (OTP) section
Updated PWM section
Updated notes below Figure 45
Page
8
3
17
22
33
3
8
9
17
19
32
ams Datasheet
[v1-10] 2016-Apr-27
Page 39
Document Feedback
AS5147 −
Revision Information
Changes from 1-06 (2014-Oct-31) to current revision 1-10 (2016-Apr-27)
1-09 (2015-Mar-18) to 1-10 (2016-Apr-27)
Updated Figure 6
Updated text under Detailed Description
Updated text under Dynamic Angle Error Compensation
Updated Figure 12
Updated SPI Transaction section
Updated Figure 26
Updated Figure 28
Updated ABI Incremental Interface section
Updated Figure 33 and text under it
Updated Figure 34
Updated MAGH Error / MAGL Error section
Updated text under Figure 38
Updated Figure 39
Updated Figure 44
Note(s) and/or Footnote(s):
1. Page and figure numbers for the previous version may differ from page and figure numbers in the current revision.
2. Correction of typographical errors is not explicitly mentioned.
Page
Page 40
Document Feedback
ams Datasheet
[v1-10] 2016-Apr-27
AS5147 −
Content Guide
Content Guide
1 General Description
2 Key Benefits & Features
2 Applications
3 Block Diagram
4 Pin Assignment
6 Absolute Maximum Ratings
7 Electrical Characteristics
8 Magnetic Characteristics
8 System Characteristics
9 Timing Characteristics
10 Detailed Description
11 Power Management
12 Dynamic Angle Error Compensation
13 SPI Interface (Slave)
13 SPI Timing
14 SPI Transaction
17 Volatile Registers
19 Non-Volatile Registers (OTP)
22 ABI Incremental Interface
23 UVW Commutation Interface
24 PWM
25 Hysteresis
25 Automatic Gain Control (AGC) and CORDIC Magnitude
25 Diagnostic Features
26 LF Error / COF Error
26 MAGH Error / MAGL Error
27 Application Information
27 Burn and Verification of the OTP Memory
32 Package Drawings & Markings
34 Mechanical Data
36 Ordering & Contact Information
37 RoHS Compliant & ams Green Statement
38 Copyrights & Disclaimer
39 Document Status
40 Revision Information
ams Datasheet
[v1-10] 2016-Apr-27
Page 41
Document Feedback
Preuzimanje
Reklama