AS5261 12-Bit Automotive Angle Position Sensor General Description The AS5261 is a contactless magnetic angle position sensor for accurate angular measurement over a full turn of 360°. A sub range can be programmed to achieve the best resolution for the application. It is a system-on-chip, combining integrated Hall elements, analog front end, digital signal processing and best in class automotive protection features in a single device. To measure the angle, only a simple two-pole magnet, rotating over the center of the chip, is required. The magnet may be placed above or below the IC. The absolute angle measurement provides instant indication of the magnet’s angular position with a resolution of 0.022° = 16384 positions per revolution. According to this resolution the adjustment of the application specific mechanical positions are possible. The angular output data is available over a 12 bit PWM output. The AS5261 operates at a supply voltage of 5V and the supply and output pins are protected against overvoltage up to +20V. In addition the supply pins are protected against reverse polarity up to –20V. Figure 1: Typical Arrangement of AS5261 and Magnet Ordering Information and Content Guide appear at end of datasheet. ams Datasheet [v1-04] 2015-Dec-07 Page 1 Document Feedback AS5261 − General Description Key Benefits & Features The benefits and features of AS5261, 12-Bit Automatic Angle Position Sensor are listed below: Figure 2: Added Value of Using AS5261 Benefits Features • Great flexibility on angular excursion • 360º contactless high resolution angular position sensing • Simple programming • User programmable start and end point of the application region • Saw tooth mode 1-4 slopes per revolution • Clamping levels • Transition point • Failure diagnostics • Broken GND and VDD detection for all external load cases • High-Resolution output signal • 12-Bit pulse width modulated (PWM) output • Ideal for applications in harsh environments due to contactless position sensing • Wide temperature range: - 40°C to 150°C • Stacked die redundant approach • Small Pb-free package: MLF 16 6x6 (with dimple) Applications The AS5261 is ideal for automotive applications like: • Throttle and valve position sensing • Gearbox position sensor • Pedal position sensing • Contactless potentiometers Page 2 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − General Description Block Diagram The functional blocks of this device are shown below: Figure 3: AS5261 Block Diagram VDD3V3_T VDD3V3_B High Voltage/ Reverse Polarity Protection VDD_T VDD_B Hall Array Frontend Amplifier ADC AS5261 Sin Cos DSP CORDIC Controller 12 Single Pin Interface (UART) PWM OUT_T LS Driver OUT_B OTP Register (Programming Parameters) GND_B ams Datasheet [v1-04] 2015-Dec-07 GND_T Page 3 Document Feedback AS5261 − Pin Assignment Pin Assignment Figure 4: MLF-16 Pin Configuration (Top View) VDD_B VDD_T OUT_B OUT_T 16 15 14 13 TP1_T 1 12 S_B TP1_B 2 11 S_T VDD3V3_T 3 10 TP3_B VDD3V3_B 4 9 Epad 5 6 7 8 TP3_T GND_T GND_B TP2_T TP2_B Pin Description Figure 5: MLF-16 Pin Description Pin Number Pin Name 1 TP1_T Pin Type DIO/AIO Multi purpose pin 2 TP1_B 3 VDD3V3_T Description Test pin for fabrication. Connected to ground in the application. Test pin for fabrication. Connected to ground in the application. Output of the LDO. 1μF required. AIO 4 VDD3V3_B 5 GND_T Output of the LDO. 1μF required. Ground pin. Connected to ground in the application. Supply pin 6 GND_B Page 4 Document Feedback Ground pin. Connected to ground in the application. ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Pin Assignment Pin Number Pin Name 7 TP2_T 8 TP2_B 9 TP3_T Test pin for fabrication. Left open in the application. 10 TP3_B Test pin for fabrication. Left open in the application. 11 S_T Pin Type Description Test pin for fabrication. Connected to ground in the application. DIO/AIO Multi purpose pin Test pin for fabrication. Connected to ground in the application. Test pin for fabrication. Connected to OUT_T in the application. (special case for the connection possible → 4-wire mode) AIO 12 S_B 13 OUT_T 14 OUT_B 15 VDD_T Test pin for fabrication. Connected to OUT_B in the application. (special case for the connection possible → 4-wire mode) Digital output/Digital PWM output PWM output pin. Open drain configuration. Programming pin. PWM output pin. Open drain configuration. Programming pin. Positive supply pin. This pin is over voltage protected. Supply pin 16 ams Datasheet [v1-04] 2015-Dec-07 VDD_B Positive supply pin. This pin is over voltage protected. Page 5 Document Feedback AS5261 − Absolute Maximum Ratings Absolute Maximum Ratings Stresses beyond those listed in Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in Electrical Characteristics is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Figure 6: Absolute Maximum Ratings Symbol Parameter Min Max Units Comments Electrical Parameters VDD DC supply voltage at pin VDD Overvoltage -20 20 V No operation VOUT Output voltage OUT -0.3 20 V Permanent DC supply voltage at pin VDD3V3 -0.3 5 V Input current (latchup immunity) -100 100 mA Norm: AEC-Q100-004 kV Norm: AEC-Q100-002 VDD3V3 Iscr Electrostatic Discharge ESD Electrostatic discharge ±2 Temperature Ranges and Storage Conditions TStrg Storage temperature TBody Body temperature RHNC Relative humidity non-condensing MSL Moisture Sensitivity Level Page 6 Document Feedback -55 150 5 3 ºC Min -67ºF; Max 257ºF 260 ºC The reflow peak soldering temperature (body temperature) specified is in accordance with IPC/JEDEC J-STD-020 “Moisture/Reflow Sensitivity Classification for Non-Hermetic Solid State Surface Mount Devices”. The lead finish for Pb-free leaded packages is matte tin (100% Sn). 85 % Represents a maximum floor life time of 168h ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Electrical Characteristics Electrical Characteristics Operating Conditions In this specification, all the defined tolerances for external components need to be assured over the whole operation conditions range and also over lifetime. Figure 7: Operating Conditions Symbol Parameter Conditions TAMB Ambient temperature -40ºF to 302ºF Isupp Supply current Only for one die. Must be multiplied by 2 VDD Supply voltage at pin VDD Min Typ -40 4.5 5.0 Max Units 150 ºC 10 mA 5.5 V Magnetic Input Specification TAMB = -40ºC to 150ºC, V DD = 4.5V to 5.5V (5V operation), unless otherwise noted. Two-Pole Cylindrical Diametrically Magnetized Source Figure 8: Magnetic Input Specification Symbol Bpk Bpkext Boff Disp Parameter Conditions Min Magnetic input field amplitude Required vertical component of the magnetic field strength on the die’s surface, measured along a concentric circle with a radius of 1.25 mm Magnetic input field amplitude (extended) default setting Required vertical component of the magnetic field strength on the die’s surface, measured along a concentric circle with a radius of 1.25 mm. Increased sensor output noise. Magnetic offset Constant magnetic stray field Displacement radius Offset between defined device center and magnet axis. Dependent on the selected magnet. Including Eccentricity ams Datasheet [v1-04] 2015-Dec-07 Typ Max Units 30 70 mT 10 90 mT ±5 mT 1 mm Page 7 Document Feedback AS5261 − Electrical Characteristics Electrical System Specifications TAMB = -40ºC to 150ºC, V DD = 4.5V - 5.5V (5V operation), Magnetic Input Specification, unless otherwise noted. Figure 9: Electrical System Specifications Symbol RES Parameter Conditions Min Typ Max Units Resolution PWM Output Range > 90º 12 bit INLopt Integral non-linearity (optimum) Best aligned reference magnet at 25ºC over full turn 360º. 0.5 deg INLtemp Integral non-linearity (optimum) Best aligned reference magnet over temperature -40 -150º over full turn 360º. 0.9 deg Integral non-linearity Best aligned reference magnet over temperature -40 -150º over full turn 360º and displacement 1.4 deg ONF0 At 14 bit angular information, 360º mode. Internal Filter disabled. ±5 LSB ONF1 At 14 bit angular information, 360º mode. Filter setting 1. ±3 LSB ONF2 At 14 bit angular information, 360º mode. Filter setting 2. ±2 LSB ONF3 At 14 bit angular information, 360º mode. Filter setting 3. Jitter free. ±0.5 LSB 10 ms 300 μs Max Units 12 ms INL Output Noise tPwrUp Power-up time 0-5V tdelay System propagation delay absolute output: delay of ADC, DSP and absolute interface Power up time 5V operation. Default Power up. Timing Characteristics Figure 10: Timing Conditions Symbol Parameter TDETWD WachDog error detection time Page 8 Document Feedback Conditions Min Typ ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Detailed Description Detailed Description The AS5261 is manufactured in a CMOS process and uses a spinning current Hall technology for sensing the magnetic field distribution across the surface of the chip. This IC consists of two galvanic isolated dies. All following in and register names refers to one die. The integrated Hall elements are placed around the center of the device and deliver a voltage representation of the magnetic field at the surface of the IC. Through Sigma-Delta Analog / Digital Conversion and Digital Signal-Processing (DSP) algorithms, the AS5261 provides accurate high-resolution absolute angular position information. For this purpose a Coordinate Rotation Digital Computer (CORDIC) calculates the angle and the magnitude of the Hall array signals. The DSP is also used to provide digital information at the outputs that indicate movements of the used magnet towards or away from the device’s surface. A small low cost diametrically magnetized (two-pole) standard magnet provides the angular position information. The AS5261 senses the orientation of the magnetic field and calculates a 14-bit binary code. This code is mapped to a programmable output characteristic in a PWM duty cycle format. This signal is available at the pin (OUT). The application angular region can be programmed in a user friendly way. The start angle position T1 and the end point T2 can be set and programmed according the mechanical range of the application with a resolution of 14 bits. In addition the T1Y and T2Y parameter can be set and programmed according the application. The transition point 0 to 360 degree can be shifted using the break point parameter BP. The voltage for clamping level low CLL and clamping level high CLH can be programmed with a resolution of 9 bits. Both levels are individually adjustable. The output parameters can be programmed in an OTP register. No additional voltage is required to program the AS5261. The setting may be overwritten at any time and will be reset to default when power is cycled. To make the setting permanent, the OTP register must be programmed by using a lock bit the content could be frozen for ever. The AS5261 is tolerant to magnet misalignment and unwanted external magnetic fields due to differential measurement technique and Hall sensor conditioning circuitry. ams Datasheet [v1-04] 2015-Dec-07 Page 9 Document Feedback AS5261 − Detailed Description Operation VDD Voltage Monitor VDD Over Voltage Management. If the voltage applied to the VDD pin exceeds the over-voltage upper threshold for longer than the detection time the output is turned off. When the over voltage event has passed and the voltage applied to the VDD pin falls below the over-voltage lower threshold for longer than the recovery time the device enters the normal mode and the output is enabled. VDD Under Voltage Management. When the voltage applied to the VDD pin falls below the under-voltage lower threshold for longer than the detection time the output is turned off. When the voltage applied to the VDD pin exceeds the under-voltage upper threshold for longer than the detection time the device enters the normal mode and the output is enabled. PWM Output By default (after programmed CUST_LOCK OTP bit) the PWM output mode is selected. The pin OUT provides a modulated signal that is proportional to the angle of the rotating magnet. Due to an intelligent approach a permanent short circuit will not damage the device. This is also feasible in a high voltage condition up to 20V and at the highest specified ambient temperature. After the digital signal processing (DSP) a PWM engine provides the output signal. The DSP maps the application range to the output characteristic. An inversion of the slope is also programmable to allow inversion of the rotation direction. An on-chip diagnostic feature handles the error state at the output. Depending on the failure the output is in HiZ condition or indicates a PWM signal within the failure bands of 4 – 96% duty cycle (see Figure 18). Page 10 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Detailed Description Programming Parameters The PWM output characteristic is programmable by OTP. Depending on the application, the output can be adjusted. The user can program the following application specific parameters. Figure 11: Programming Parameters T1 Mechanical angle start point T2 Mechanical angle end point T1Y % duty cycle level at the T1 position T2Y % duty cycle level at the T2 position CLL Clamping Level Low CLH Clamping Level High BP Break point (transition point 0 to 360º) These parameters are input parameters. Using the available programming software and programmer these parameters are converted and finally written into the AS5261 128 bit OTP memory. ams Datasheet [v1-04] 2015-Dec-07 Page 11 Document Feedback AS5261 − Detailed Description Application Specific Angular Range Programming The application range can be selected by programming T1 with a related T1Y and T2 with a related T2Y into the AS5261. The clamping levels CLL and CLH can be programmed independent from the T1 and T2 position and both levels can be separately adjusted. Figure 12: Programming of an Individual Application Range 90 degree Application range electrical range T2 mechanical range T1 100%DC clamping range high CLH CLL 0 degree T2Y 180 degree CLH T1Y BP CLL 0 clamping range low T1 T2 270 degree Figure 12 shows a simple example of the selection of the range. The mechanical starting point T1 and the mechanical end point T2 are defining the mechanical range. A sub range of the internal CORDIC output range is used and mapped to the needed output characteristic. The PWM output signal has 12 bit, hence the level T1Y and T2Y can be adjusted with this resolution. As a result of this level and the calculated slope the clamping region low is defined. The break point BP defines the transition between CLL and CLH. In this example the BP is set to 0º. The BP is also the end point of the clamping level high CLH. This range is defined by the level CLH and the calculated slope. Both clamping levels can be set independently form each other. The minimum application range is 9.8º. Page 12 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Detailed Description Application Specific Programming of the Break Point The break point BP can be programmed as well with 14 bits. This is important when the default transition point is inside the application range. In such a case the default transition point must be shifted out of the application range. The parameter BP defines the new position. Figure 13: Individual Programming of the Break Point BP 90 degree Application range electrical range T2 mechanical range T1 100%DC CLH clamping range high CLH 0 degree T2Y 180 degree CLL T1Y CLL BP 0 clamping range low T1 T2 clamping range low 270 degree ams Datasheet [v1-04] 2015-Dec-07 Page 13 Document Feedback AS5261 − Detailed Description Multiple Slope Output The AS5261 can be programmed to multiple slopes. Where one programmed reference slope characteristic is copied to multiple slopes. Two, three and four slopes are selectable by the user OTP bits QUADEN (1:0). In addition to the steepness of the slope the clamping levels can be programmed as well. Duty Cycle Figure 14: Two Slope Mode 0 Duty Cycle Figure 15: Four Slope Mode 0 Page 14 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Detailed Description Resolution of Parameters The programming parameters have a wide resolution of up to 14 bits. Figure 16: Resolution of the Programming Parameters Symbol Parameter Resolution T1 Mechanical angle start point 14 bits T2 Mechanical angle stop point 14 bits T1Y Mechanical start voltage level 12 bits T2Y Mechanical stop voltage level 12 bits CLL Clamping level low 9 bits CLH Clamping level high 9 bits Break point 14 bits BP Note Figure 17: Overview of the Output Range 100 96 Failure Band High Clamping Region High CLH Duty Cycle T2Y Application Region T1Y CLL Clamping Region Low 4 0 ams Datasheet [v1-04] 2015-Dec-07 Failure Band Low Page 15 Document Feedback AS5261 − Detailed Description Figure 17 gives an overview about the different ranges. The failure bands are used to indicate a wrong operation of the AS5261. This can be caused due to a broken supply line. By using the specified load resistors the output level will remain in these bands during a fail. It is recommended to set the clamping level CLL above the lower failure band and the clamping level CLH below the higher failure band. C LOAD ≤ 33nF, R PU= 1kΩ to 10kΩ Figure 18: Different Failure Cases of AS5261 Type Failure Mode Symbol Failure Band MAGRng High/Low Programmable by OTP bit DIAG_HIGH CORDIC overflow COF High/Low Programmable by OTP bit DIAG_HIGH Offset compensation finished OCF High/Low Programmable by OTP bit DIAG_HIGH Watchdog fail WDF High/Low Programmable by OTP bit DIAG_HIGH Oscillator fail OF High/Low Programmable by OTP bit DIAG_HIGH Overvoltage condition OV Out of magnetic range (too less or too high magnetic input) Internal alarms (failures) Application related failures Broken VDD BVDD Broken VSS BVSS Short circuit output SCO Note High Dependant on the load resistor Pull up → failure band high High Switch off → short circuit dependent For efficient use of diagnostics, it is recommended to program to clamping levels CLL and CLH. Hysteresis Function AS5261 device includes a hysteresis function to avoid sudden jumps from CLH to CLL and vice versa caused by noise in the full turn configuration. The hysteresis amplitude can be selected via the OTP bits HYSTSEL<1:0>. Page 16 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Detailed Description PWM Output Driver Parameters The output stage is configured in a open drain output. The PWM duty cycle represents the angular output data. All programming features are available for the PWM mode as well. The PWM period is programmable in four steps and can be programmed by PWMF<2:0>. C LOAD≤ 33nF, R PU= 1kΩ to 10kΩ Figure 19: PWM Parameters Output Driver Symbol Parameter Conditions Min Typ Max Units PWMF1 PWM frequency 7 PWMF<2:0>=111 109.86 122 134.28 Hz PWMF2 PWM frequency 6 PWMF<2:0>=110 179.78 200 219.73 Hz PWMF3 PWM frequency 5 PWMF<2:0>=101 219.73 244 268.55 Hz PWMF4 PWM frequency 4 PWMF<2:0>=100 329.59 366 402.83 Hz PWMF5 PWM frequency 3 PWMF<2:0>=011 494.38 549 604.25 Hz PWMF6 PWM frequency 2 PWMF<2:0>=010 659.18 732 805.66 Hz PWMF7 PWM frequency 1 PWMF<2:0>=001 988.77 1100 1208.50 Hz PWMF8 PWM frequency 0 PWMF<2:0>=000 1977.54 2197 2416.2 Hz PWMDC PWM duty cycle range info parameter 4 96 % PWMVOL Output voltage low IOUT=5mA 0 0.4 V PWMSRF PWM slew rate (falling edge) Between 75% and 25% RPUOUT=4KΩ; CLOUT=1nF VDD=5V 1 4 V / μs ams Datasheet [v1-04] 2015-Dec-07 2 Page 17 Document Feedback AS5261 − Application Information Application Information Recommended Application Schematic Figure 20 shows the recommended schematic in the application. All components marked with (*) are optional and can be used to further increase the EMC. Figure 20: Recommended Schematic of Pull-Up Configuration Sensor PCB Electric Control Unit VDD1 VDD2 R1_x* TP1_T TP1_B VDD3V3_T C2_x VDD3V3_B 15 14 RLPU_B 13 1 12 2 11 AS5261 3 RLPU_T OUT1 OUT_T C4_x* OUT_B VDD_B VDD_T 16 C1_x OUT2 R2_x* 10 4 9 5 6 7 8 S_B S_T C3_x TP3_B CL_T CL_B TP3_T GND_T GND_B TP2_T TP2_B GND1 GND2 Figure 21: External Components Symbol Parameter Min Typ Max Units Note C1 VDD buffer capacitor 0.8 1 1.2 μF Low ESR 0.3 Ω C2 VDD3V3 regulator capacitor 0.8 1 1.2 μF Low ESR 0.3 Ω C3 OUT load capacitor (sensor PCB) 4.7 nF C4* VDD capacitor (optional) 4.7 nF R1* VDD serial resistor (optional) 10 Ω CL OUT load capacitor (ECU) R2* OUT serial resistor (optional) RLPU OUT pull-up resistance Page 18 Document Feedback 0 0 33 nF Ω 50 4 Do not increase due to programming over output. 10 kΩ ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Application Information Programming the AS5261 The AS5261 programming is a one-time-programming (OTP) method, based on polysilicon fuses. The advantage of this method is that no additional programming voltage is needed. The internal LDO provides the current for programming. The OTP consists of 128 bits; several bits are available for user programming. In addition factory settings are stored in the OTP memory. Both regions are independently lockable by build in lock bits. A single OTP cell can be programmed only once. Per default, the cell is “0”; a programmed cell will contain a “1”. While it is not possible to reset a programmed bit from “1” to “0”, multiple OTP writes are possible, as long as only unprogrammed “0”-bits are programmed to “1”. Independent of the OTP programming, it is possible to overwrite the OTP register temporarily with an OTP write command. This is possible only if the user lock bit is not programmed. Due to the programming over the output pin the device will initially start in the communication mode. In this mode the digital angle value can be read with a specific protocol format. It is a bidirectional communication possible. Parameters can be written into the device. A programming of the device is triggered by a specific command. With another command (pass2func) the device can be switched into operation mode. In case of a programmed user lock bit the AS5261 automatically starts up in the functional operation mode. No communication of the specific protocol is possible after this. A standard half duplex UART protocol is used to exchange data with the device in the communication mode. UART Interface for Programming The AS5261 uses a standard UART interface with a byte for address and two bytes for the data content. The read or write mode is selected in the first byte. An even parity for every byte. The timing (baudrate) is selected by the AS5261 over an initial command from the master. The baud rate register can be read and overwritten. The keep synchronization it AS5261 synchronizes art every Start bit. This happens during a standard write access 3 times. A time out function detects not complete commands and resets the AS5261 UART after the timeout period. ams Datasheet [v1-04] 2015-Dec-07 Page 19 Document Feedback AS5261 − Application Information Frame Organization Each frame is composed by 24 bits. The first byte (Address or Command) of the frame specifies the read/write operation with the register address or is used for a command. 16 data bits contains the communication data. There will be no operation in case of the usage of a not specified CMD. The UART programming interface block of the AS5261 can operate in slave communication or master communication mode. In the slave communication mode the AS5261 receives the data. The programming tool is the driver of the single communication line. In case of the master comunication mode the AS5261 transmits data in the frame format. The single communication line can be pulled down by the AS5261. Figure 22: OTP Commands and Communication Possible Interface Commands Address / Command AS5X63 Communication Mode WRITE 0x00-0x0F (OTP) 0x10-0x1F (SFR) 0x20-0xFF (Special Mode) SLAVE Write related to the address the user data READ 0x00-0x0F (OTP) 0x10-0x1F (SFR) 0x20-0xFF (Special Mode) SLAVE and MASTER Read related to the address the user data FUSE 0x22+ key SLAVE Command for permanent programming PASS2FUNC 0x23+ key SLAVE Change operation mode from communication to operation Page 20 Document Feedback Description ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Application Information READ Figure 23 shows the format of the frame. High Byte S P AS5261 in Receiving Mode IDLE Even Parity Stop Even Parity Stop Break Start P MSB LSB Low Byte S R/Wn Even Parity Stop Break Start P MSB LSB Reg. Address S Start IDLE MSB LSB Figure 23: Organization of the READ Command AS5261 in transmitting mode (Read Access) The R/Wn bit in the first byte selects the mode. Between the data packets is always a break state. The break state has the same length as the other data bits. An even parity bit is used to guarantee a correct data transmission. The parity bit is generated by the 8 bits. WRITE Figure 24 shows the format of the frame. P MSB High Byte S P Even Parity Stop LSB MSB Low Byte Even Parity Stop Break Start S R/n Even Parity Stop Break Start P AS5261 in Receiving Mode ams Datasheet [v1-04] 2015-Dec-07 LSB Reg. Address S Start IDLE MSB LSB Figure 24: Organization of the WRITE Command IDLE AS5261 in Receiving Mode (Write Access) Page 21 Document Feedback AS5261 − Application Information Baud Rate Setup Due to the internal RC oscillator the AS5261 needs to synchronize to the master. This happens after startup with the first baud rate command. This register address is reserved after the first successful setup for a possible manual setting of the baud rate. 1 0 IDLE MSB Start LSB IDLE P Baud Command 0 1 0 1 0 1 0 P S Start Even Parity Stop Break Start S 1 0x55 » „U“ will be send from Master to Setup Baudrate of AS5261 Low Byte P High Byte MSB 0 S P Even Parity Stop 1 LSB 0 MSB 1 Even Parity Stop 0 Even Parity Stop Break Start Baud Command S 1 LSB IDLE MSB LSB Figure 25: Baud Rate Setup IDLE Read Write Baud Rate of AS5261 AS5261 in Receiving Mode Page 22 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Application Information OTP Programming Data Figure 26: OTP Memory Map Data Byte Bit Number Symbol Default 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 Description DATA15 (0x0F) 1 Factory Settings 0 ams (reserved) 0 2 0 3 0 4 0 5 0 6 0 7 0 0 0 1 0 Factory Settings 0 DATA14 (0x0E) CUSTID<0> 0 3 CUSTID<1> 0 4 CUSTID<2> 0 5 CUSTID<3> 0 6 CUSTID<4> 0 7 CUSTID<5> 0 0 CUSTID<6> 0 DATA13 (0x0D) DATA12 (0x0C) ams Datasheet [v1-04] 2015-Dec-07 Customer Identifier Customer Settings 2 Page 23 Document Feedback AS5261 − Application Information Bit Number Symbol Default DATA11 (0x0B) 7 CLH<0> 0 0 CLH<1> 0 1 CLH<2> 0 2 CLH<3> 0 3 CLH<4> 0 4 CLH<5> 0 5 CLH<6> 0 6 CLH<7> 0 7 CLH<8> 0 DATA10 (0x0A) Page 24 Document Feedback Description Clamping Level High Customer Settings Data Byte ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Application Information Data Byte Bit Number Symbol Default 0 CLL<0> 0 1 CLL<1> 0 2 CLL<2> 0 3 CLL<3> 0 4 CLL<4> 0 5 CLL<5> 0 6 CLL<6> 0 7 CLL<7> 0 0 CLL<8> 0 1 OFFSET<0> 0 2 OFFSET<1> 0 3 OFFSET<2> 0 4 OFFSET<3> 0 5 OFFSET<4> 0 6 OFFSET<5> 0 7 OFFSET<6> 0 0 OFFSET<7> 0 1 OFFSET<8> 0 2 OFFSET<9> 0 3 OFFSET<10> 0 4 OFFSET<11> 0 5 OFFSET<12> 0 6 OFFSET<13> 0 7 OFFSET<14> 0 Description DATA9 (0x09) Clamping Level Low Customer Settings DATA8 (0x08) Offset DATA7 (0x07) ams Datasheet [v1-04] 2015-Dec-07 Page 25 Document Feedback AS5261 − Application Information Data Byte Bit Number Symbol Default 0 OFFSET<15> 0 1 OFFSET<16> 0 2 OFFSET<17> 0 3 OFFSET<18> 0 4 OFFSET<19> 0 5 GAIN<0> 0 6 GAIN<1> 0 7 GAIN<2> 0 0 GAIN<3> 0 1 GAIN<4> 0 2 GAIN<5> 0 3 GAIN<6> 0 4 GAIN<7> 0 5 GAIN<8> 0 6 GAIN<9> 0 7 GAIN<10> 0 0 GAIN<11> 0 1 GAIN<12> 0 2 GAIN<13> 0 3 GAIN<14> 0 4 GAIN<15> 0 5 GAIN<16> 0 6 BP<0> 0 7 BP<1> 0 0 BP<2> 0 1 BP<3> 0 2 BP<4> 0 3 BP<5> 0 4 BP<6> 0 5 BP<7> 0 Description Offset DATA6 (0x06) DATA5 (0x05) Customer Settings Scale Factor DATA4 (0x04) Break Point DATA3 (0x003) Page 26 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Application Information Data Byte Bit Number Symbol Default 6 BP<8> 0 7 BP<9> 0 0 BP<10> 0 1 BP<11> 0 2 BP<12> 0 3 BP<13> 0 Description Break Point ANGLERNG 0 5 DIAG_HIGH 0 Failure Band Selection 0=Failure Band Low 1=Failure Band High 6 QUADEN<0> 0 7 QUADEN<1> 0 DATA2 (0x02) 0 AIRGAPSEL 0 1 HYSTSEL<0> 0 2 HYSTSEL<1> 0 3 Not used 0 4 Not used 0 5 Not used 0 6 Not used 0 7 Not used 0 DATA1 (0x01) ams Datasheet [v1-04] 2015-Dec-07 Quadrant Mode Enable 00=1quadrant; 01=2quadrants; 10=3 quadrants; 11=4 quadrants Customer Settings 4 Sector selection 0=Angular Sector≥22.5 degrees; 1=Angular Sector<22.5 degrees Magnetic input range extension 0:extended range; 1=normal range Hysteresis selection 00=no hysteresis; 01: 56LSB; 10=91LSB; 11=137LSB Page 27 Document Feedback AS5261 − Application Information Data Byte Page 28 Document Feedback Symbol Default 0 RED_ADD<0> 0 1 RED_ADD<1> 0 2 RED_ADD<2> 0 3 RED_ADD<3> 0 4 RED_BIT<0> 0 5 RED_BIT<1> 0 6 RED_BIT<2> 0 Redundancy Bit Identify the position of the bit to be changed in the byte at the address RED_ADD<3:0> 7 CUST_LOCK 0 Lock bit for Customer Area Description Redundancy Address Identify the address of the byte containing the bit to be changed Customer Settings DATA0 (0x00) Bit Number ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Application Information READ / WRITE Register Map Figure 27: Read/Write Registers Data Byte Bit Number Symbol Default 0 BAUDREG<0> 0 1 BAUDREG<1> 0 2 BAUDREG<2> 0 3 BAUDREG<3> 0 4 BAUDREG<4> 0 5 BAUDREG<5> 0 6 BAUDREG<6> 0 7 BAUDREG<7> 0 0 BAUDREG<8> 0 1 Not used 0 2 Not used 0 3 Not used 0 4 Not used 0 5 Not used 0 6 Not used 0 7 Not used 0 0 Not used 0 1 Not used 0 2 Not used 0 3 Not used 0 4 Not used 0 5 R1K10K<0> 0 6 R1K10K<1> 0 7 DSPRN 0 Description DATA0 (0x20) DATA2 (0x22) ams Datasheet [v1-04] 2015-Dec-07 A read command returns all data bits at 0 Read/Write Area DATA1 (0x21) UART Baud Rate Register Selection of the reference resistance used for OTP download Resetn of the Digital Signal Processing circuit Page 29 Document Feedback AS5261 − Application Information READ Only Register Map Figure 28: Read Only Registers Data Byte DATA0 (0x28) Bit Number Symbol Default 0 Not used 0 A read command returns 0 1 OFFSETFINISHED 0 Offset compensation finished 2 AGCFINISHED 0 AGC loop compensation finished 3 CORDICOVF 0 Overflow of the CORDIC 4 AGCALARML 0 AGC loop saturation because of B field too strong 5 AGCALARMH 0 AGC loop saturation because of B field too weak OTP_RES 0 7 PARITY_ERR 0 UART parity error flag 0 CORDICOUT<0> 0 1 CORDICOUT<1> 0 2 CORDICOUT<2> 0 3 CORDICOUT<3> 0 4 CORDICOUT<4> 0 5 CORDICOUT<5> 0 6 CORDICOUT<6> 0 7 CORDICOUT<7> 0 Read Area 6 0=1K resistance selected for OTP download; 1=10K resistance selected for OTP download DATA1 (0x29) Page 30 Document Feedback Description CORDIC Output ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Application Information Data Byte Bit Number Symbol Default 0 CORDICOUT<8> 0 1 CORDICOUT<9> 0 2 CORDICOUT<10> 0 3 CORDICOUT<11> 0 4 CORDICOUT<12> 0 5 CORDICOUT<13> 0 6 Not used 0 7 Not used 0 0 DSPOUT<0> 0 1 DSPOUT<1> 0 2 DSPOUT<2> 0 3 DSPOUT<3> 0 4 DSPOUT<4> 0 5 DSPOUT<5> 0 6 DSPOUT<6> 0 7 DSPOUT<7> 0 0 DSPOUT<8> 0 1 DSPOUT<9> 0 2 DSPOUT<10> 0 3 DSPOUT<11> 0 4 Not used 0 5 Not used 0 6 Not used 0 7 Not used 0 Description CORDIC Output DATA2 (0x2A) A read command returns all data bits at 0 Read Area DATA3 (0x2B) DSP Output DATA4 (0x2C) ams Datasheet [v1-04] 2015-Dec-07 A read command returns all data bits at 0 Page 31 Document Feedback AS5261 − Application Information Data Byte Bit Number Symbol Default 0 AGCVALUE<0> 0 1 AGCVALUE<1> 0 2 AGCVALUE<2> 0 3 AGCVALUE<3> 0 4 AGCVALUE<4> 0 5 AGCVALUE<5> 0 6 AGCVALUE<6> 0 7 AGCVALUE<7> 0 0 MAG<0> 0 1 MAG<1> 0 2 MAG<2> 0 3 MAG<3> 0 4 MAG<4> 0 5 MAG<5> 0 6 MAG<6> 0 7 MAG<7> 0 0 Not used 0 1 Not used 0 2 Not used 0 3 Not used 0 4 Not used 0 5 Not used 0 6 Not used 0 7 Not used 0 DATA5 (0x2D) AGC Value Magnitude of magnetic field DATA7 (0x2F) Read Area DATA6 (0x2E) Page 32 Document Feedback Description A read command returns all data bits at 0 ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Application Information Special Registers Figure 29: Special Registers Data Byte Bit Number Symbol Default 0 AS5261KEY<0> 0 1 AS5261KEY<1> 0 2 AS5261KEY<2> 0 3 AS5261KEY<3> 0 4 AS5261KEY<4> 0 5 AS5261KEY<5> 0 6 AS5261KEY<6> 0 7 AS5261KEY<7> 0 0 AS5261KEY<8> 0 1 AS5261KEY<9> 0 2 AS5261KEY<10> 0 3 AS5261KEY<11> 0 4 AS5261KEY<12> 0 5 AS5261KEY<13> 0 6 AS5261KEY<14> 0 7 AS5261KEY<15> 0 Description DATA0 (0x41) Fuse Register AS5261 KEY<15:0>=0101 0001 0110 0010 A write command with data different from AS5261 KEY is not executed A read command returns all data bits at 0 DATA1 (0x42) ams Datasheet [v1-04] 2015-Dec-07 Page 33 Document Feedback AS5261 − Application Information Data Byte Bit Number Symbol Default 0 AS5261KEY<0> 0 1 AS5261KEY<1> 0 2 AS5261KEY<2> 0 3 AS5261KEY<3> 0 4 AS5261KEY<4> 0 5 AS5261KEY<5> 0 6 AS5261KEY<6> 0 7 AS5261KEY<7> 0 0 AS5261KEY<8> 0 1 AS5261KEY<9> 0 2 AS5261KEY<10> 0 3 AS5261KEY<11> 0 4 AS5261KEY<12> 0 5 AS5261KEY<13> 0 6 AS5261KEY<14> 0 7 AS5261KEY<15> 0 Description DATA0 (0x60) Pass2Func Register AS5261 KEY<15:0>=0101 0001 0110 0010 A write command with data different from AS5261 KEY is not executed A read command returns all data bits at 0 DATA1 (0x61) Page 34 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Application Information Programming Procedure • Pull-Up on out pin • VDD=5V • Wait 10ms (after the startup time device enters communication mode) • Write command: Trimming bits are written in the OTP RAM • Read command: All the trimming bits are read back to check the correctness of the writing procedure. • Write AS5261KEY in the Fuse register: The OTP RAM content is permanently transferred into the Poly Fuse cells. • Wait 10 ms (fuse time) • Write command, R1K_10K<1:0>=(11)b: Poly Fuse cells are downloaded into the RAM memory using a 10K resistance as reference. • Wait 5 ms (download time) • Read R1K_10K register, the expected value is 00b • Write command, R1K_10K<1:0>=(11)b • Read R1K_10K register, the expected value is (11)b. NB: Step11 and Step12 have to be consecutive. • Read command: all the fused bits downloaded with 10K resistance are read back. • Write command, R1K_10K=<1:0>=(10)b: Poly Fuse cells are downloaded into the RAM memory using a 1K resistance as reference. • Wait 5 ms (download time) • Read R1K_10K register, the expected value is (00)b • Write command register, R1K_10K<1:0>=(10)b • Read R1K_10K register, the expected value is (10)b NB: Step18 and Step19 have to be consecutive. • Read command: All the fused bits downloaded with 1K resistance are read back. • Check that read commands at Steps 5, 13 and 19 are matching • Write AS5261 KEY in the Pass2Func register: Device enters normal mode. ams Datasheet [v1-04] 2015-Dec-07 Page 35 Document Feedback AS5261 − Application Information Mechanical Data The internal Hall elements are placed in the center of the package on a circle with a radius of 1.25mm. Figure 30: Hall Element Position Note(s) and/or Footnote(s): 1. All dimensions in mm. 2. Die thickness 0.150mm nom. 3. Adhesive thickness 0.011mm nom. 4. Spacer thickness 0.178mm typ. Page 36 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Package Drawings & Markings Package Drawings & Markings The device is available in a MLF-16 package. Figure 31: Package Drawings and Dimensions Symbol Min A A1 A2 A3 L L1 L2 Q b b1 D E e D1 E1 D2 E2 aaa bbb ccc ddd eee fff N RoHS Green 0.80 0 0.50 0.05 0.05 0º 0.35 0.20 4.10 4.10 - Nom Max 0.90 0.02 0.65 0.20 REF 0.60 0.15 0.10 0.40 0.25 6.00 BSC 6.00 BSC 1.00 BSC 5.75 BSC 5.75 BSC 4.20 4.20 0.15 0.10 0.10 0.05 0.08 0.10 16 1.00 0.05 1.00 0.70 0.25 0.15 14º 0.45 0.30 4.30 4.30 - Note(s) and/or Footnote(s): 1. Dimensions and tolerancing confirm to ASME Y14.5M-1994. 2. All dimensions are in miilimeters. Angles are in degrees. 3. Bilaretal coplanarity zone applies to the exposed pad as well as the terminal. 4. Radius on the terminal is optional. 5. N is the total number of terminals. Figure 32: Package Marking: YYWWMZZ@ YY WW M ZZ @ Year Week Assembly plant identifier Assembly traceability code Sublot identifier ams Datasheet [v1-04] 2015-Dec-07 Page 37 Document Feedback AS5261 − Ordering & Contact Information Ordering & Contact Information The devices are available as the standard products shown in Figure 33. Figure 33: Ordering Information Ordering Code Description Package Delivery Form AS5261-HMFP 12-bit programmable redundant angle position sensor with PWM outputs MLF 16 6x6 Tape & Reel AS5261-HMFM Delivery Quantity 4000 pcs/reel 500 pcs/reel 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 Unterpremstaetten Austria, Europe Tel: +43 (0) 3136 500 0 Website: www.ams.com Page 38 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − 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. ams Datasheet [v1-04] 2015-Dec-07 Page 39 Document Feedback AS5261 − Copyrights & Disclaimer Copyrights & Disclaimer Copyright ams AG, Tobelbader Strasse 30, 8141 Unterpremstaetten, 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. Page 40 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Document Status Document Status Document Status Product Preview Preliminary Datasheet Datasheet Datasheet (discontinued) ams Datasheet [v1-04] 2015-Dec-07 Product Status Definition Pre-Development 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 Pre-Production 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 Production 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 Discontinued 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 41 Document Feedback AS5261 − Revision Information Revision Information Changes from 1.1 (2012-Oct-31) to current revision 1-04 (2015-Dec-07) Page 1.1 (2012-Oct-31) to 1-02 (2015-Aug-07) Content was updated to the latest ams design Noise Suppressor section was removed Updated Key Benefits & Features 2 Updated Figure 27 24 Added Mechanical Data section 37 Updated Package Drawings & Markings section 38 Updated Figure 35 39 1-02 (2015-Aug-07) to 1-03 (2015-Dec-03) Updated Detailed Description 9 Updated Figure 11 11 Updated Figure 16 15 Updated Figure 30 36 1-03 (2015-Dec-03) to 1-04 (2015-Dec-07) Updated Figure 2 2 Updated Figure 26 [DATA11 (0x0B), DATA12 (0x0C)] 23 Updated Mechanical Data section 36 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 42 Document Feedback ams Datasheet [v1-04] 2015-Dec-07 AS5261 − Content Guide Content Guide ams Datasheet [v1-04] 2015-Dec-07 1 2 2 3 General Description Key Benefits & Features Applications Block Diagram 4 4 Pin Assignment Pin Description 6 Absolute Maximum Ratings 7 7 7 8 8 Electrical Characteristics Operating Conditions Magnetic Input Specification Electrical System Specifications Timing Characteristics 9 10 10 10 11 12 13 14 15 17 18 Detailed Description Operation VDD Voltage Monitor PWM Output Programming Parameters Application Specific Angular Range Programming Application Specific Programming of the Break Point Multiple Slope Output Resolution of Parameters Hysteresis Function PWM Output Driver Parameters 19 19 20 20 21 22 22 23 24 30 31 34 36 37 Application Information Recommended Application Schematic Programming the AS5261 UART Interface for Programming Frame Organization READ WRITE Baud Rate Setup OTP Programming Data READ / WRITE Register Map READ Only Register Map Special Registers Programming Procedure Mechanical Data 38 39 40 41 42 43 Package Drawings & Markings Ordering & Contact Information RoHS Compliant & ams Green Statement Copyrights & Disclaimer Document Status Revision Information Page 43 Document Feedback