Part Number Hot Search : 
UFS1200 13191 ES3HB B0737 1SMB170A 70M6T CS5460A 02M166VL
Product Description
Full Text Search
 

To Download AS5140H04 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  austriamicrosystems ag is now ams ag the technical content of this austriamicrosystems datasheet is still valid. contact information: headquarters: ams ag tobelbaderstrasse 30 8141 unterpremstaetten, austria tel: +43 (0) 3136 500 0 e - mail: ams_sales @ams.com please visit our website at www.ams.com
as5140h 10-bit 360o programmable ma gnetic rotary encoder for high ambient temperatures www.austriamicrosystems.com/as5140h revision 1.4 1 - 37 data sheet 1 general description the as5140h is a contactless magnetic rotary encoder for accurate angular measurement over a full turn of 360o and over an extended ambient temperature range of -40oc to +150oc. it is a system-on-chip, combining integrated hall elements, analog front end and digital signal processing 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.35o = 1024 positions per revolution. this digital data is available as a serial bit stream and as a pwm signal. furthermore, a user-programmable incremental output is available. an internal voltage regulator allows the as5140h to operate at either 3.3v or 5v supplies. the as5140h is pin-compatible to the as5040; however it uses low- voltage otp programming cells with additional programming options. figure 1. as5140h ic block diagram 2 key features contactless high resolution rotational position encoding over a full turn of 360o two digital 10-bit absolute outputs: serial interface and pulse width modulated (pwm) output three incremental output modes: quadrature a/b and index output signal, step / direction and index output signal, 3-phase commutation for brushless dc motors user programmable zero / index position failure detection mode for magnet placement monitoring and loss of power supply rotational speeds up to 10.000 rpm pushbutton functionality detects movement of magnet in z-axis serial read-out of multiple interconnected as5140h devices using daisy chain mode fully automotive qualified to aec-q100, grade 0 wide ambient temperature range: -40oc to +150oc 3 applications the as5140h is an ideal solution for automotive applications like engine compartment sensors, transmission gearbox encoder, throttle valve position control and for industrial applications like rotary sensors in high temperature environment. dsp hall array & frontend amplifier otp register programming parameters absolute interface (ssi) incremental interface sin cos ang mag magincn magdecn do pwm_lsb clk a_lsb_u b_dir_v index_w prog csn pwm interface vdd5v vddv3v ldo 3.3v as5140h ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 2 - 37 as5140h data sheet - contents contents 1 general description .................................................................................................................................................................. 1 2 key features ............................................................................................................................................................................ 1 3 applications .............................................................................................................................................................................. 1 4 pin assignments ....................................................................................................................................................................... 4 4.1 pin descriptions ................................................................................................................................................................................... 4 5 absolute maximum ratings ...................................................................................................................................................... 6 6 electrical characteristics .......................................................................................................................................................... 7 6.1 dc characteristics for digital inputs and outputs ............................................................................................................................... .7 6.2 magnetic input specification ................................................................................................................................................................ 8 6.3 electrical system specifications .......................................................................................................................................................... 8 6.4 programming conditions ...................................................................................................................................................................... 9 6.5 timing characteristics ............................................................................................................................... ......................................... 10 7 detailed description ............................................................................................................................... ................................ 12 7.1 10-bit absolute angular position output ............................................................................................................................... ............. 12 7.1.1 synchronous serial interface (ssi) ........................................................................................................................................... 12 7.1.2 daisy chain mode ....................................................................................................... .............................................................. 14 7.2 incremental outputs ............................................................................................................................... ............................................ 15 7.2.1 quadrature a/b output (quad a/b mode) .................................................................................. ............................................... 15 7.2.2 lsb output (step/direction mode) ....................................................................................... ..................................................... 15 7.2.3 incremental output hysteresis .......................................................................................... ........................................................ 16 7.3 pulse width modulation (pwm) output ............................................................................................................................... .............. 16 7.4 analog output .................................................................................................................................................................................... 17 7.5 brushless dc motor commutation mode ............................................................................................................................... ............ 18 7.6 programming the as5140h ............................................................................................................................... ................................ 19 7.6.1 otp memory assignment .................................................................................................. ........................................................ 19 7.6.2 user selectable settings ............................................................................................... ............................................................ 20 7.6.3 otp default setting .................................................................................................... ............................................................... 20 7.6.4 redundant programming option ........................................................................................... .................................................... 20 7.6.5 otp register entry and exit condition .................................................................................. ................................................... 20 7.6.6 incremental mode programming ........................................................................................... .................................................... 21 7.6.7 zero position programming .............................................................................................. ......................................................... 22 7.7 alignment mode ............................................................................................................................... .................................................. 22 7.8 3.3v / 5v operation ............................................................................................................................... ............................................. 23 7.9 choosing the proper magnet ............................................................................................................................... .............................. 24 7.9.1 physical placement of the magnet ....................................................................................... ..................................................... 24 7.10 simulation modeling ............................................................................................................................... .......................................... 26 7.11 failure diagnostics ............................................................................................................................... ............................................ 27 7.11.1 magnetic field strength diagnosis ..................................................................................... ..................................................... 27 7.11.2 power supply failure detection ........................................................................................ ...................................................... 27 7.12 angular output tolerances ............................................................................................................................... ................................ 27 7.12.1 accuracy .................................................................................................................................................................................. 27 7.12.2 transition noise ...................................................................................................... ................................................................. 29 7.12.3 high speed operation .................................................................................................. ........................................................... 29 7.12.4 propagation delays .................................................................................................... ............................................................. 30 7.12.5 internal timing tolerance ............................................................................................. ........................................................... 30 ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 3 - 37 as5140h data sheet - contents 7.12.6 temperature ........................................................................................................... ................................................................. 31 8 application information ............................................................................................................................... ............................ 32 8.1 as5140h differences to as5040 ............................................................................................................................... ........................ 32 9 package drawings and markings ............................................................................................................................... ............ 33 9.1 recommended pcb footprint ............................................................................................................................... ............................ 34 10 ordering information ............................................................................................................................... .............................. 36 ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 4 - 37 as5140h data sheet - pin assignments 4 pin assignments figure 2. pin assignments (top view) 4.1 pin descriptions the following table shows the description of each pin of the standard ssop16 package (shrink small outline package, 16 leads, b ody size: 5.3mm x 6.2mmm; see figure 2 ). table 1. pin descriptions pin name pin number description magincn 1 magnet field magnitude increase. active low. indicates a distance reduction between the magnet and the device surface. magdecn 2 magnet field magni tude decrease. active low. indicates a distance increase between the device and the magnet. a_lsb_u 3 mode1.x: quadrature a channel mode2.x: least significant bit mode3.x: u signal (phase1) b_dir_v 4 mode1.x: quadrature b channel quarter period shift to channel a mode2.x: direction of rotation mode3.x: v signal (phase2) nc 5 for internal use. must be left unconnected. index_ w 6 mode1.x and mode2.x: index signal indicates the absolute zero position mode3.x: w signal (phase3) vss 7 negative supply voltage (gnd). prog 8 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 9 data output of synchronous serial interface. clk 10 ssi clock input. schmitt-trigger input. csn 11 chip select. active low; schmitt-trigger input, internal pull-up resistor (~50k ) connect to vss in incremental mode (see incremental power-up lock option on page 16) as5140h 1 2 3 4 5 6 7 8 12 16 15 14 13 magdecn prog vss magincn a_lsb_u b_dir_v nc index_w vdd3v3 vdd5v nc csn do clk 11 10 9 nc pwm_lsb ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 5 - 37 as5140h data sheet - pin assignments pins 1 and 2 are the magnetic field change indicators, magincn and magdecn (magnetic field strength increase or decrease throug h variation of the distance between the magnet and the device). these outputs can be used to detect the valid magnetic field range. further more 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: mode 1.x: quadrature a/b output represents the default quadrature a/b signal mode. mode 2.x: step / direction output configures pin 3 to deliver up to 512 pulses (up to 1024 state changes) per revolution. it is equivalent to the lsb (least sign ificant bit) of the absolute position value. pin 4 provides the information of the rotational direction. note: both modes (mode 1.x and mode 2.x) provide an index signal (1 pulse/revolution) with an adjustable width of one lsb or three ls b?s. mode 3.x: brushless dc motor commutation mode in addition to the absolute encoder output over the ssi interface, this mode provides commutation signals for brushless dc moto rs with either one pole pair or two pole pair rotors. the commutation signals are usually provided by 3 discrete hall switches, which are no l onger required, as the as5140h can fulfill two tasks in parallel: absolute encoder + bldc motor commutation. in this mode, - pin 12 provides the lsb output instead of the pwm (pulse-width-modulation) signal. - pin 8 (prog) is also used to program the different incremental interface modes, the incremental resolution and the zero position into the otp (see page 21) . this pin is also used as digital input to shift serial data through the device in daisy chain configuration, (see page 14) . - pin 11 chip select (csn; active low) selects a device within a network of as5140h encoders and initiates serial data transfer. a logic high at csn puts the data output pin (do) to tri-state and terminates serial data transfer. this pin is also used for alignment mode (see page 22) and programming mode (see page 19) . - pin 12 allows a single wire output of the 10-bit absolute position value. the value is encoded into a pulse width modulated si gnal with 1s pulse width per step (1s to 1024s over a full turn). by using an external low pass filter, the digital pwm signal is converte d into an ana- log voltage, allowing a direct replacement of potentiometers. pwm_lsb 12 pulse width modulation of approx. 1khz; lsb in mode3.x nc 13 for internal use. must be left unconnected. nc 14 for internal use. must be left unconnected. vdd3v3 15 3v-regulator output (see figure 17) vdd5v 16 positive supply voltage 5v table 2. pin assignment for different incremental output modes output mode pin 3 pin 4 pin 6 pin 12 1.x: quadrature a b index pwm 2.x: step/direction lsb direction index pwm 3.x: commutation u v w lsb table 1. pin descriptions pin name pin number description ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 6 - 37 as5140h data sheet - absolute maximum ratings 5 absolute maximum ratings stresses beyond those listed in table 3 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 on page 7 is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. table 3. absolute maximum ratings parameter min max units comments dc supply voltage at pin vdd5v -0.3 7 v dc supply voltage at pin vdd3v3 -0.3 5 v input pin voltage -0.3 7 v pins prog, magincn, magdecn, clk, csn input current (latchup immunity) -100 100 ma norm: jedec 78 electrostatic discharge 2 kv norm: mil 883 e method 3015 storage temperature -55 +150 oc body temperature (lead-free package) 260 oc t=20 to 40s, norm: ipc/jedec j-std-020c lead finish 100% sn ?matte tin? humidity non-condensing 5 85 % ambient temperature -40 150 oc ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 7 - 37 as5140h data sheet - electrical characteristics 6 electrical characteristics t amb = -40 to 150oc, vdd5v = 3.0-3.6v (3v operation) vdd5v = 4.5-5.5v (5v operation), unless otherwise noted. 6.1 dc characteristics for di gital inputs and outputs table 4. operating conditions symbol parameter conditions min typ max units i supp supply current 16 21 ma vdd5v external supply voltage at pin vdd5v 5v operation 4.5 5.0 5.5 v vdd3v3 internal regulator output voltage at pin vdd3v3 3.0 3.3 3.6 v vdd5v external supply voltage at pin vdd5v,vdd3v3 3.3v operation (pins vdd5v and vdd3v3 connected) 3.0 3.3 3.6 v vdd3v3 3.0 3.3 3.6 v t pwrup3 external vdd3v3 su pply voltage rise time at power-up 10%-90% level in 3.3v mode (pins vdd5v and vdd3v3 connected) 1 150 s table 5. cmos schmitt-trigger inputs: clk, csn (csn = internal pull-up) symbol parameter conditions min typ max units v ih high level input voltage normal operation 0.7 * vdd5v v v il low level input voltage 0.3 * vdd5v v v ion - v ioff schmitt trigger hysteresis 1 v i leak input leakage current clk only -1 1 a i il pull-up low level input current csn only, vdd5v:5.0v -30 -100 table 6. cmos / program input: prog symbol parameter conditions min typ max units v ih high level input voltage 0.7 * vdd5v 5v v prog high level input voltage during programming refer to programming conditions on page 9 v v il low level input voltage 0.3 * vdd5v v i il pull-down high level input current vdd5v:5.5v 100 a table 7. cmos output open drain: magincn, magdecn symbol parameter conditions min typ max units v ol low level output voltage v ss +0.4 v i o output current vdd5v:4.5v 4 ma vdd5v:3v 2 i oz open drain leakage current 1 a table 8. cmos output: a, b, index, pwm symbol parameter conditions min typ max units v oh high level output voltage vdd5v- 0.5 v ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 8 - 37 as5140h data sheet - electrical characteristics 6.2 magnetic input specification 6.3 electrical syst em specifications v ol low level output voltage v ss +0.4 v i o output current vdd5v:4.5v 4 ma vdd5v:3v 2 table 9. tristate cmos output: do symbol parameter conditions min typ max units v oh high level output voltage vdd5v- 0.5 v v ol low level output voltage v ss +0.4 v i o output current vdd5v:4.5v 4 ma vdd5v:3v 2 i oz tri-state leakage current 1 a table 10. electrical characteristics symbol parameter conditions min typ max units magnetic input specification (two-pole cylindrical diametrically magnetized source) d mag diameter recommended magnet: ? 6mm x 2.5mm for cylindrical magnets 46 mm t mag thickness 2.5 b pk 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.1mm 45 75 mt b off magnetic offset constant magnetic stray field 10 mt field non-linearity including offset gradient 5 % f mag_abs input frequency (rotational speed of magnet) absolute mode: 600 rpm @ readout of 1024 positions (see table 19) 10 hz f mag_inc incremental mode: no missing pulses at rotational speeds of up to 10.000 rpm (see table 19) 166 hz disp displacement radius max. x-y offset between defined ic package center and magnet axis (see figure 19) 0.25 mm max. x-y offset between chip center and magnet axis 0.485 chip placement tolerance placement tolerance of chip within ic package (see figure 21) 0.235 mm recommended magnet material and temperature drift ndfeb (neodymium iron boron) -0.12 %/k smco (samarium cobalt) -0.035 table 11. electrical system specifications symbol parameter conditions min typ max units res resolution 1 0.352 deg 10 bit table 8. cmos output: a, b, index, pwm (continued) symbol parameter conditions min typ max units ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 9 - 37 as5140h data sheet - electrical characteristics 6.4 programming conditions t amb = -40 to 150oc, vdd5v = 3.0-3.6v (3v operation) vdd5v = 4.5-5.5v (5v operation), unless otherwise noted. lsb 7 bit adjustable resolution only available for incremental output modes; least significant bit, minimum step 2.813 deg 8 bit 1.406 9 bit 0.703 10 bit 0.352 inl opt integral non-linearity (optimum) 2 maximum error with respect to the best line fit. verified at optimum magnet placement, t amb =25oc 0.5 deg inl temp integral non-linearity (optimum) maximum error with respect to the best line fit. verified at optimum magnet placement, t amb = -40 to +150oc 0.9 deg inl integral non-linearity best line fit = (err max ? err min ) / 2 over displacement tolerance with 6mm diameter magnet, t amb = -40 to +150oc (see figure 3) 1.4 deg dnl differential non-linearity 3 10bit, no missing codes 0.176 deg tn transition noise 4 rms equivalent to 1 sigma 0.12 deg rms hyst hysteresis incremental modes only 0.704 deg v on power-on reset thresholds on voltage; 300mv typ. hysteresis dc supply voltage 3.3v (vdd3v3) 1.37 2.2 2.9 v v off power-on reset thresholds off voltage; 300mv typ. hysteresis 1.08 1.9 2.6 t pwrup power-up time until offset compensation finished 50 ms t delay system propagation delay absolute output includes delay of adc and dsp 48 s system propagation delay incremental output calculation over two samples 192 s f s sampling rate for absolute output internal sampling rate, t amb = 25oc 9.90 10.42 10.94 khz internal sampling rate, t amb = -40 to +150oc 9.38 10.42 11.46 clk read-out frequency max. clock frequency to read out serial data 1 mhz 1. digital interface 2. integral non-linearity (inl) is the maximum deviation between actual position and indicated position. 3. differential non-linearity (dnl) is the maximum deviation of the step length from one position to the next. 4. transition noise (tn) is the repeatability of an indicated position. table 12. programming conditions symbol parameter conditions min typ max units v prog programming voltage voltage applied during programming 3.0 3.3 3.6 v v progoff programming voltage off level line must be discharged to this level 0 1 v i prog programming current current during programming 100 ma table 11. electrical system specifications (continued) symbol parameter conditions min typ max units ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 10 - 37 as5140h data sheet - electrical characteristics 6.5 timing characteristics t amb = -40 to +150oc, vdd5v = 3.0-3.6v (3v operation) vdd5 v = 4.5-5.5v (5v operation), unless otherwise noted. r programmed programmed fuse resistance (log 1) 10a max. current @ 100mv 100k r unprogrammed unprogrammed fuse resistance (log 0) 2ma max. current @ 100mv 50 100 t prog programming time per bit time to prog. a singe fuse bit 10 20 s t charge refresh time per bit time to charge the cap after t prog 1 s f load load frequency data can be loaded at n*2s 500 khz f read read frequency read the data from the latch 2.5 mhz f write write frequency write the data to the latch 2.5 mhz table 13. synchronous serial interface (ssi) symbol parameter conditions min typ max units t do active data output activated (logic high) time between falling edge of csn and data output activated 100 ns t clk fe first data shifted to output register time between falling edge of csn and first falling edge of clk 500 ns t clk/2 start of data output rising edge of clk shifts out one bit at a time 500 ns t do valid data output valid time between rising edge of clk and data output valid 413 ns t do tristate data output tristate after the last bit do changes back to ?tristate? 100 ns t csn pulse width of csn csn =high; to initiate read-out of next angular position 500 ns f clk read-out frequency clock frequency to read out serial data >0 1 mhz table 14. pulse width modulation output symbol parameter conditions min typ max units f pwm pwm frequency signal period = 1025s 5% at t amb = 25oc 0.927 0.976 1.024 khz signal period =1025s 10% at t amb = -40 to +150oc 0.878 0.976 1.074 pw min minimum pulse width position 0d; angle 0 degree 0.90 1 1.10 s pw max maximum pulse width position 1023d; angle 359.65 degree 922 1024 1126 s table 15. incremental outputs symbol parameter conditions min typ max units t incremental outputs valid incremental outputs valid after power-up time between first falling edge of csn after power-up and valid incremental outputs 500 ns t dir valid directional indication valid time between rising or falling edge of lsb output and valid directional indication 500 ns table 12. programming conditions (continued) symbol parameter conditions min typ max units ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 11 - 37 as5140h data sheet - electrical characteristics figure 3. integral and differential non-linearity example (exaggerated curve) 180 360 0 0 512 1023 10bit code 0 1 2 0.35 inl ideal curve actual curve tn 512 1023 dnl+1lsb [degrees] ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 12 - 37 as5140h data sheet - detailed description 7 detailed description the as5140h is manufactured in a cmos standard process and uses a spinning current hall technology for sensing the magnetic fie ld distribution across the surface of the chip. the integrated hall elements are placed around the center of the device, and deliv er a voltage representation of the magnetic field at the surface of the ic. through sigma-delta analog / digital conversion and digital sign al-processing (dsp) algorithms, the as5140h provides accurate high-resolution absolute angular position information. for this purpose, a coor dinate rotation digital computer (cordic) calculates the angle and the magnitude of the hall array signals. the dsp is also used to provide dig ital information at the outputs magincn and magdecn that indicate movements of th e used magnet towards or away from the device?s surface. a smal l low cost diametrically magnetized (two-pole) standard magnet provides the angular position information (see figure 18) . the as5140h senses the orientation of the magnetic field and calculates a 10-bit binary code. this code can be accessed via a s ynchronous serial interface (ssi). in addition, an absolute angular representation is given by a pulse width modulated signal at pin 12 (p wm). simultaneously, the device also provides incremental output signals. the various incremental output modes can be selected by programming the otp mode register bits (see table 20) . as long as no programming voltage is applied to pin prog, the new setting may be overwritten at any time and will be reset to default when power is turned off. to make the setting permanent, the otp register must be programmed. the default setting is a quadrature a/b mode including the index signal with a pulse width of 1 lsb. the index signal is logic high at the user pro grammable zero position. the as5140h is tolerant to magnet misalignment and magnetic stray fields due to differential measurement technique and hall sen sor conditioning circuitry. figure 4. typical arrangement of as5140h and magnet 7.1 10-bit absolute a ngular position output 7.1.1 synchronous serial interface (ssi) 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 i nitiated. after a minimum time t clk 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 t csn . ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 13 - 37 as5140h data sheet - detailed description figure 5. synchronous serial interface with absolute angular position data 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 as5140h has completed the startup and the data is valid (see table 17) . 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. this alarm may be resolved by bringing the magnet within the x-y-z tole rance limits. lin ? (linearity alarm). logic high indicates that the input field generates a critical output linearity. when this bit is set, th e data at d9:d0 may still be used, but can contain invalid data. this warning may be resolved by bringing the magnet within the x-y-z tolerance limits. magincn ? (magnitude increase) becomes high, when the magnet is pushed towards the ic, thus increasing the magnetic field strength. magdecn ? (magnitude decrease) becomes high, when the magnet is pulled away from the ic, thus decreasing the magnetic field strength. signal ?high? for both magincn and magdecn indicate a magnetic field that is out of the allowed range (see table 16) . note: pins 1 and 2 (magincn, magdecn) are open dr ain outputs and require external pull-up resistors. if the magnetic field is in rang e, both outputs are turned off. the two pins may also be combined with a single pull-up resistor. in this case, the signal is high when the magnetic field is i n range. it is low in all other cases (see table 16) . even parity ? a bit for transmission error detection of bits 1to 15 (d9 to d0, ocf, cof, lin, magincn, magdecn). the absolute angular output is always set to a resolution of 10 bit. placing the magnet above the chip, angular values increase in clockwise direction by default. data d9:d0 is valid, when the status bits have the following configurations: table 16. magnetic magnitude variation indicator magincn magdecn description 00 no distance change magnetic input field ok (in range) 01 distance increase: pull-function. this state is dynamic, it is only active while the magnet is moving away from the chip in z-axis. 10 distance decrease: push- function. this state is dynamic, it is only active while the magnet is moving towards the chip in z.-axis. 11 magnetic input field invalid ? out of range: too large, too small (missing magnet). table 17. status bit outputs ocf cof lin magincn magdecn parity 100 00 even checksum of bits 1:15 01 10 csn clk do t do valid angular position data t do active status bits t do tristate t csn t clk fe t clk fe t clk/2 1 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 ocf cof lin mag inc mag dec even par 8 16 1 d9 ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 14 - 37 as5140h data sheet - detailed description the absolute angular position is sampled at a rate of 10khz (0.1ms). this allows reading of all 1024 positions per 360 degrees within 0.1 seconds = 9.76hz (~10hz) without skipping any position. multiplying 10hz by 60, results the corresponding maximum rotational sp eed of 600 rpm. readout of every second angular position allows for rotational speeds of up to 1200 rpm. consequently, increasing the rotational speed reduces the number of absolute angular positions per revolution (see table 21) . regardless of the rotational speed or the number of positions to be read out, the absolute angular value is always given at the highest resolutio n of 10 bit. the incremental outputs are not affected by rotational speed restrictions due to the implemented interpolator. the incremental output signals may be used for high-speed applications with rotational speeds of up to 10.000 rpm without missing pulses. 7.1.2 daisy chain mode the daisy chain mode allows connection of several as5140h?s in series, while still keeping just one digital input for data tran sfer (see ?data in? in figure 6 below). this mode is accomplished by connecting the data output (do; pin 9) to the data input (prog; pin 8) of the subsequent device. the serial data of all connected devices is read from the do pin of the first device in the chain. the prog pin of the last dev ice in the chain should be connected to vss. the l ength of the serial bit stream increas es with every con nected device. it is, n * (16+1) bits (eq 1) for example, 34 bit for two devices, 51 bit for three devices, etc. the last data bit of the first device (parity) is followed by a logic low bit and the first data bit of the second device (d9), etc. (see figure 7) . figure 6. daisy chain hardware configuration figure 7. daisy chain mode data transfer csn csn csn csn clk clk clk clk data in as5140h 1 st device as5140h 2 nd device as5140h last device c do do do prog prog prog csn clk do t do valid angular position data t do active status bits t clk fe t clk/2 1 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 ocf cof lin mag inc mag dec even par 8 16 d d9 1 2 3 d8 d7 angular position data 1 st device 2 nd device ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 15 - 37 as5140h data sheet - detailed description programming daisy chained devices. in daisy chain mode, the prog pin is connected directly to the do pin of the subsequent device in the chain (see figure 6) . during programming (see programming the as5140h on page 19) , a programming voltage of 7.5v must be applied to pin prog. this voltage level exceeds the limits for pin do, so one of the following precautions must be made during programming : open the connection during programming, (or) add a schottky diode between do and prog (anode = do, cathode = prog) due to the parallel connection of clk and csn, all connected devices may be programmed simultaneously. 7.2 incremental outputs three different incremental output modes are possible with quadrature a/b being the default mode. figure 8 shows the two-channel quadrature as well as the step / direction incremental signal (lsb) and the direction bit in clockwise (cw) and counter-clockwise (ccw) di rection. 7.2.1 quadrature a/b ou tput (quad a/b mode) the phase shift between channel a and b indicates the direction of the magnet movement. channel a leads channel b at a clockwis e rotation of the magnet (top view) by 90 electrical degrees. channel b leads channel a at a counter-clockwise rotation. figure 8. incremental output modes 7.2.2 lsb output (step/direction mode) output lsb reflects the lsb (least significant bit) of the programmed incremental resolution (otp register bit div0, div1). out put dir provides information about the rotational direction of the magnet, which may be placed above or below the device (1=clockwise; 0=counter clockwise; top view). dir is updated with every lsb change. in both modes (quad a/b, step/direction), the resolution and the index output are user programmable. the index pulse indicates the zero position and is by default one angular step (1lsb) wide. however, it can be se t to three lsbs by programming the index-bit of the otp register accordingly (see table 20) . do prog o t incremental outputs valid t dir valid lsb dir csn clockwise cw counterclockwise ccw index step / dir-mode b a quad a/b-mode index=1 3 lsb index=0 1 lsb hyst= 2lsb mechanical zero position mechanical zero position rotation direction change ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 16 - 37 as5140h data sheet - detailed description incremental power-up lock option. after power-up, the incremental outputs can optionally be locked or unlocked, depending on the status of the csn pin: csn = low at power-up: csn has an internal pull-up resistor and must be externally pulled low ( ). if csn is low at power-up, the incremental outputs (a, b, index) will be high until the internal offset compensation is finished. this unique state (a=b=i ndex = high) may be used as an indicator for the external controller to shorten the waiting time at power-up. instead of waiting for the spe cified maximum power up-time (0), the controller can start requesting data from the as5140h as soon as the state (a=b=index = high) is cleared . csn = high or open at power-up: in this mode, the incremental outputs (a, b, index) will remain at logic high state, until csn goes low or a low pulse is applied at csn. this mode allows intentional disabling of the incremental outputs until, for example the system mi crocontroller is ready to receive data. 7.2.3 incremental output hysteresis to avoid flickering incremental outputs at a stationary magnet position, a hysteresis is introduced. in case of a rotational di rection change, the incremental outputs have a hysteresis of 2 lsb. regardless of the programmed incremental resolution, the hysteresis of 2 lsb al ways corresponds to the highest resolution of 10 bit. in absolute terms, the hysteresis is set to 0.704 degrees for all resolutions. for constant rotational directions, every magnet position change is indicated at the incremental outputs (see figure 9) . for example, if the magnet turns clockwise from position ?x+3? to ?x+4?, the incremental output would also indicate this position accordingly. a change of the magnet?s rotatio nal direction back to position ?x+3? means that the incremental output still remains unchanged for the duration of 2 lsb, until position ?x+2? is rea ched. following this direction, the incremental outputs will again be updated with every change of the magnet position. figure 9. hysteresis window for incremental outputs 7.3 pulse width modulation (pwm) output the as5140h provides a pulse width modulated output (pwm), whose duty cycle is proportional to the measured angle: position = (eq 2) the pwm frequency is internally trimmed to an accuracy of 5% ( 10% over full temperature range). this tolerance can be cancell ed by measuring the complete duty cycle as shown above. r ext 5k :d clockwise direction counterclockwise direction x+1 x+2 x+3 x+4 x+5 x magnet position x x+1 x+2 x+3 x+4 hysteresis: 0.7o incremental output indication t on 1025 ? t on t off + ------------------------- 1? ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 17 - 37 as5140h data sheet - detailed description figure 10. pwm output signal 7.4 analog output an analog output may be generated by averaging the pwm signal, using an external active or passive lowpass filter. the analog o utput voltage is proportional to the angle: 0o = 0v; 360o = vdd5v. using this method, the as5140h can be used as direct replacement of potent iometers. figure 11. simple passive 2 nd order lowpass filter r1,r2 4k7 c1,c2 1f / 6v (eq 3) r1 should be 4k7 to avoid loading of the pwm output. larger values of rx and cx will provide better filtering and less ripple, but will also slow down the response time. table 18. pwm signal parameters symbol parameter typ unit note f pwm pwm frequency 0.9756 khz signal period: 1025s pw min min pulse width 1 s - position 0d - angle 0 deg pw max max pulse width 1024 s - position 1023d - angle 359.65 deg 1025s 1024s 1/f pwm pw max pw min 359.65 deg (pos 1023) 0 deg (pos 0) angle 1s r1 r2 analog out pin12 pwm pin7 vss c1 c2 vdd 0v 0o 360o ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 18 - 37 as5140h data sheet - detailed description 7.5 brushless dc motor commutation mode brushless dc motors require angular information for stator comm utation. the as5140h provides u-v-w commutation signals for one and two pole pair motors. in addition to the three-phase output signals, the step (lsb) output at pin 12 allows high accuracy speed mea surement. two resolutions (9 or 10 bit) can be selected by programming div0 according to table 20 . mode 3.0 (3.1) is used for brush-less dc motors with one-pole pair rotors. the three phases (u, v, w) are 120 degrees apart, ea ch phase is 180 degrees on and 180 degrees off. mode 3.2 (3.3) is used for motors with two pole pairs requiring a higher pulse count to ensure a proper current commutation. in this case the pulse width is 256 positions, equal to 90 degrees. the precise physical angle at which the u, v and w signals change state (?an gle? in figure 12 and figure 13 ) is calculated by multiplying each transition position by the angular value of 1 count: angle [deg] = position x (360 degree / 1024) (eq 4) figure 12. u, v and v-signals for bldc motor commutation (div1=0, div0=0) figure 13. u, v and w-signals for 2pole bldc motor commutation (div1=1, div0=0) width : 512 steps width : 512 steps cw direction w v u 0 171 341 512 683 853 0 0.0 60.12 119.88 180.0 240.12 299.88 360.0 position: angle: commutation - mode 3.0 (one-pole-pair) width : 256 steps width : 256 steps cw direction w v u 0 171 341 512 683 853 0 0.0 60.12 119.88 180.0 240.12 299.88 360.0 position: angle: commutation - mode 3.2 (two-pole-pairs) 939 768 597 427 256 85 90.0 150.12 209.88 270.00 330.12 29.88 ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 19 - 37 as5140h data sheet - detailed description 7.6 programming the as5140h note: a detailed description of the austriamicrosystems low voltage polyfuse otp programming method is given in application note an51 4x- 10, which can be downloaded from the austriamicrosystems website. the otp programming description in this datasheet is for gene ral information only. after power-on, programming the as5140h is enabled with the rising edge of csn with prog = high and clk = low. the as5140h prog ramming is a one-time-programming (otp) method, based on polysilicon fuses. the advantage of this method is that a programming voltage of only 3.3v is required for programming. the otp consists of 52 bits, of which 21 bits are available for user programming. the remaining 31 bits contain factory settings and a unique chip identifier (chip-id). 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 at any time. this se tting will be cleared and overwritten with the hard programmed otp sett ings at each power-up sequence or by a load operation. the otp memory can be accessed in several ways: load operation : the load operation reads the otp fuses and loads the contents into the otp register. note that the load operation is automatically executed after each power-on-reset. write operation : the write operation allows a temporary modification of the otp register. it does not program the otp. this operation can be invoked multiple times, and will remain set while the chip is supplied with power and while the otp register is not modified with another write or load operation. read operation : the read operation reads the contents of the otp register, for example to verify a write command or to read the otp memory after a load command. program operation : the program operation writes the contents of the otp register permanently into the otp rom. analog readback operation : the analog readback operation allows a quantifiable verification of the programming. for each pro- grammed or unprogrammed bit, there is a representative analog value (in essence, a resistor value) that is read to verify wheth er a bit has been successfully programmed or not. 7.6.1 otp memory assignment table 19. otp bit assignment bit symbol function mbit1 factory bit 51 md0 incremental output mode selection customer section 50 md1 49 div0 48 div1 47 index 46 z0 10 bit zero position :: 37 z9 36 ccw direction 35 ra0 redundancy address :: 31 ra4 30 fs 0 factory bit factory section : fs 1 factory bit 18 fs 12 factory bit ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 20 - 37 as5140h data sheet - detailed description 7.6.2 user selectable settings the as5140h allows programming of the following user selectable options: - md1, md0: incremental output mode selection. - div1, div0: divider setting of incremental output. - index: index pulse width selection ? 1lsb / 3lsb. - z [9:0]: programmable zero / index position. - ccw: counter clockwise bit. ccw=0 ? angular value increases in clockwise direction. ccw=1 ? angular value increases in counterclockwise direction. - ra [4:0]: redundant address. an otp bit location addressed by this address is always set to ?1? independent of the corresponding origi- nal otp bit setting. 7.6.3 otp default setting the as5140h can also be operated without programming. the default, un-programmed setting is as listed below. - md0, md1 :00 = incremental mode = quadrature. - div0, div1 :00 = incremental resolution = 10bit. - index :0 = index bit width = 1lsb. - z9 to z0 :00 = no programmed zero position. - ccw :0 = clockwise operation. - ra4 to ra0 :0 = no otp bit is selected. 7.6.4 redundant programming option in addition to the regular programming, a redundant programming option is available. this option allows that one selectable otp bit can be set to ?1? (programmed state) by writing the location of that bit into a 5-bit address decoder. this address can be stored in bits ra5...0 in the otp user settings. example: setting ra5?0 to ?00001? will select bit 51 = md0, ?00010? selects bit 50 = md1, ?10000? selects bit 36 = ccw, etc. 7.6.5 otp register entry and exit condition to avoid accidental modification of the otp during normal operation, each otp access (load, write, read, program) requires a de fined entry and exit procedure, using the csn, prog and clk signals as shown in figure 14 . 17 chipid0 18 bit chip id id section 16 chipid1 :: 0 chipid17 mbit0 factory bit table 19. otp bit assignment bit symbol function ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 21 - 37 as5140h data sheet - detailed description figure 14. otp access timing diagram 7.6.6 incremental mode programming the following three different incremental output modes are available: mode: md1=0 / md0=1 sets the as5140h in quadrature mode. mode: md1=1 / md0=0 sets the as5140h in step / direction mode (see table 2) . in both modes listed above, the incremental resolution may be reduced from 10 bit down to 9, 8 or 7 bit using the divider otp b its div1 and div0 (see table 20 below). mode: md1=1 / md0=1 sets the as5140h in brushless dc motor commutation mode with an additional lsb incremental signal at pin 12 (pwm_lsb). to allow programming of all bits, the default factory setting is all bits = 0. this mode is equal to mode 1:0 (quadrature a/b, 1lsb index width, 256ppr). the absolute angular output value, by default, increases with clockwise rotation of the magnet (top view). setting the ccw-bit (see table 19) allows for reversing the indicated direction, e.g. when the magnet is placed underneath the ic: - ccw = 0 ? angular value increases clockwise; - ccw = 1 ? angular value increases counterclockwise. by default, the zero / index position pulse is one lsb wide. it can be increased to a three lsb wide pulse by setting the index -bit of the otp register. further programming options (commutation modes) are available for brushless dc motor-control. md1 = md0 = 1 changes the incremental output pins 3, 4 and 6 to a 3-phase commutation signal. div1 defines the number of pulses per revolution for either a two-pole (div 1=0) or four-pole (div1=1) rotor. in addition, the lsb is available at pin 12 (the lsb signal replaces the pwm-signal), which allows for high rotational speed measurement of up to 10.000 rpm. otp access setup condition operation mode selection exit condition csn prog clk ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 22 - 37 as5140h data sheet - detailed description 7.6.7 zero position programming zero position programming is an otp option that simplifies assembly of a system, as the magnet does not need to be manually adj usted to the mechanical zero position. once the assembly is completed, the mechanical and electrical zero positions can be matched by softwa re. any position within a full turn can be defined as the permanent new zero/index position. for zero position programming, the magnet is turned to the mechanical zero position (e.g. the ?off?-position of a rotary switch) and the actual angular value is read. 7.7 alignment mode the alignment mode simplifies centering the magnet over the center of the chip to gain maximum accuracy. alignment mode can be enabled with the falling edge of csn while prog = logic high (see figure 16) . the data bits d9-d0 of the ssi change to a 10-bit displacement amplitude output. a high value indicates large x or y displacement, but also higher absolute magnetic field strength. the magnet is prope rly aligned, when the difference between highest and lowest value over one full turn is at a minimum. under normal conditions, a properly aligned magnet will result in a reading of less than 128 over a full turn. the magi ncn and magdecn indicators will be = 1 when the alignment mode r eading is < 128. at the same time, both hardware pins magincn (#1) and magdec n (#2) will be pulled to vss. a properly aligned magnet will theref ore produce a magincn = magdecn = 1 signal throughout a full 360o turn of t he magnet. stronger magnets or short gaps between magnet and ic may show values larger than 128. these magnets are still properly aligned as long as the difference between highest and lowest value ove r one full turn is at a minimum. the alignment mode can be reset to normal operation by a power-on-reset (disconnect / re-connect power supply) or by a falling edge on csn with prog = low. table 20. one time programmable (otp) register options mode otp-mode-register-bit pin# pulses per revolution incremental resolution md1 md0 div1 div0 index 3 4 6 12 ppr bit default (mode0.0) 1 1. div1, div0 and index cannot be programmed in mode 0:0 0000 0 ab 1lsb pwm 10 bit 2 x 256 10 quadab-mode1.0 0 1 0 0 0 1lsb quadab-mode1.1 0 1 0 0 1 3lsbs quadab-mode1.2 0 1 0 1 0 1lsb 2 x 128 9 quadab-mode1.3 0 1 0 1 1 3lsbs quadab-mode1.4 0 1 1 0 0 1lsb 2 x 64 8 quadab-mode1.5 0 1 1 0 1 3lsbs quadab-mode1.6 0 1 1 1 0 1lsb 2 x 32 7 quadab-mode1.7 0 1 1 1 1 3lsbs step/dir-mode2.0 1 0 0 0 0 lsb dir 1lsb pwm 10 bit 512 10 step/dir-mode2.1 1 0 0 0 1 3lsbs step/dir -mode2.2 1 0 0 1 0 1lsb 256 9 step/dir -mode2.3 1 0 0 1 1 3lsbs step/dir -mode2.4 1 0 1 0 0 1lsb 128 8 step/dir -mode2.5 1 0 1 0 1 3lsbs step/dir -mode2.6 1 0 1 1 0 1lsb 64 7 step/dir -mode2.7 1 0 1 1 1 3lsbs commutation-mode3.0 1 1 0 0 0 u(0o) v(120o) w(240o) lsb 3 x 1 10 commutation-mode3.1 1 1 0 1 0 9 commutation-mode3.2 1 1 1 0 0 u? (0o,18 0o) v? (60o,240o ) w? (120o,300o) lsb 2 x 3 10 commutation-mode3.3 1 1 1 1 0 9 ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 23 - 37 as5140h data sheet - detailed description figure 15. enabling the alignment mode figure 16. exiting alignment mode 7.8 3.3v / 5v operation the as5140h operates either at 3.3v 10% or at 5v 10%. this is made possible by an internal 3.3v low-dropout (ldo) voltage regulator. the internal supply voltage is always taken from the output of the ldo, meaning that the internal blocks are always operating at 3. 3v. for 3.3v operation, the ldo must be bypassed by connecting vdd3v3 with vdd5v (see figure 17) . for 5v operation, the 5v supply is connected to pin vdd5v, while vdd3v3 (ldo output) must be buffered by a 2.2...10f capacitor , which is supposed to be placed close to the supply pin (see figure 17) . the vdd3v3 output is intended for internal use only. it must not be loaded with an external load. the output voltage of the digital interface i/o?s corresponds to the voltage at pin vdd5v, as the i/o buffers are supplied from this pin (see figure 17) . a buffer capacitor of 100nf is recommended in both cases close to pin vdd5v. note that pin vdd3v3 must always be buffered by a capacitor. it must not be left floating, as this may cause an instable intern al 3.3v supply voltage, which may lead to larger than normal jitter of the measured angle. prog csn alignmode enable read-out via ssi 2s min. 2s min. prog csn exit alignmode read-out via ssi ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 24 - 37 as5140h data sheet - detailed description figure 17. connections for 5v / 3.3v supply voltages 7.9 choosing the proper magnet typically the magnet should be 6mm in diameter and 2.5mm in height. magnetic materials such as rare earth alnico, smco5 or ndfeb are recommended. the magnet?s field strength perpendicular to the die surface should be verified using a gaussmeter. the magnetic f ield b v at a given distance, along a concentric circle with a radius of 1.1mm (r1), should be in the range of 45mt?75mt. (see figure 18) . 7.9.1 physical placement of the magnet the best linearity can be achieved by placing the center of the magnet exactly over the defined center of the ic package as sho wn in figure 19 . magnet placement. the magnet?s 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 19) . 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 on page 22) . the vertical distance should be chosen such that the magnetic field on the die surface is within the specified limits (see figure 18) . 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 gap s are possible, as long as the required magnetic field strength stays within the defined limits. a magnetic field outside the specifi ed range may still produce usable results, but the out-of-range condition will be indicated by magincn (pin 1) and magdecn (pin 2), (see table 16) . internal vdd ldo i n t e r f a c e vss vdd5v vdd3v3 100n 4.5 - 5.5v + - 2,2... 10f do pwm_lsb clk csn a_lsb_u b_dir_v index_w prog internal vdd ldo i n t e r f a c e vss vdd5v vdd3v3 3.0 - 3.6v + - do pwm_lsb clk csn a_lsb_u b_dir_v index_w prog 100n 5v operation 3.3v operation ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 25 - 37 as5140h data sheet - detailed description figure 18. typical magnet and magnetic field distribution figure 19. defined ic center and magnet displacement radius n s magnet axis vertical field component r1 concentric circle; radius 1.1mm r1 magnet axis typ. 6mm diameter s n vertical field component (45?75mt) 0 360 360 bv area of recommended maximum mag- net misalignment defined center r d 3.9mm 3.9mm 2.433mm 2.433mm 1 ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 26 - 37 as5140h data sheet - detailed description figure 20. vertical placement of the magnet 7.10 simulation modeling with reference to figure 21 , a diametrically magnetized permanent magnet is placed above or below the surface of the as5140h. the chip uses an array of hall sensors to sample the vertical vector of a magnetic field distributed across the device package surface. the a rea of magnetic sensitivity is a circular locus of 1.1mm radius with respect to the center of the die. the hall sensors in the area of magnetic sensitivity are grouped and configured such that orthogonally related components of the magnetic fields are sampled differentially. the differe ntial signal y1-y2 will give a sine vector of the magnetic field. the differential signal x1-x2 will give an orthogonally related cosine vector of the magnetic field. figure 21. arrangement of hall sensor array on chip (principle) n s n die surface package surface z 0.576mm 0.1mm 1.282mm 0.15mm y1 y2 x1 x2 center of die radius of circular hall sensor as5140h die 2.433mm 0.235mm 3.9mm0.235mm 1 ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 27 - 37 as5140h data sheet - detailed description the angular displacement ( ) of the magnetic source with reference to the hall sensor array may then be modelled by: = arctan 0.5o (eq 5) the 0.5o angular error assumes a magnet optimally aligned over the center of the die and is a result of gain mismatch errors o f the as5140h. placement tolerances of the die within the package are 0.235mm in x and y direction, using a reference point of the edge of pi n #1 ( figure 21 ). in order to neglect the influence of external disturbing magnetic fields, a robust differential sampling and ratiometric calcul ation algorithm has been implemented. the differential sampling of the sine and cosine vectors removes any common mode error due to dc components i ntroduced by the magnetic source itself or external disturbing magnetic fields. a ratiometric division of the sine and cosine vectors rem oves the need for an accurate absolute magnitude of the magnetic field and thus accurate z-axis alignment of the magnetic source. the recommended differential input range of the magnetic field strength (b (x1-x2) ,b (y1-y2) ) is 75mt at the surface of the die. in addition to this range, an additional offset of 5mt, caused by unwanted external stray fields is allowed. the chip will continue to operate, bu t with degraded output linearity, if the signal field strength is outside the recommended range. too strong magnetic fields will introduce erro rs due to saturation effects in the internal preamplifiers. too weak magnetic fields will introduce errors due to noise becoming more dominant. 7.11 failure diagnostics the as5140h also offers several diagnostic and failure detection features, which are discussed in detail further in the documen t. 7.11.1 magnetic field strength diagnosis by software: the magincn and magdecn status bits will both be high when the magnetic field is out of range. by hardware: pins #1 (magincn) and #2 (magdecn) are ope n-drain outputs and will both be turned on (= low with external pull-up resistor) when the magnetic field is out of range. if only one of the outputs is low, the magnet is either moving towards the chip (magincn) or away from the chip (magdecn). 7.11.2 power supply failure detection by software: if the power supply to the as5140h is interrupted, the digital data read by the ssi will be all ?0?s. data is only valid, when bit ocf is high, hence a data stream with all ?0?s is invalid. to ensure adequate low levels in the failure case, a pull-down resistor (~10k ) should be added between pin do and vss at t he receiving side. by hardware: the magincn and magdecn pins are open drain outputs and require external pull-up resistors. in normal operation, these pins are high ohmic and the outputs are high (see table 16) . in a failure case, either when the magnetic field is out of range or the power supply is missing, these outputs will become low. to ensure adequate low levels in case of a broken power supply to the as5140h, the pull -up resistors (>10k ) from each pin must be connected to the positive supply at pin 16 (vdd5v). by hardware - pwm output: the pwm output is a constant stream of pulses with 1khz repetition frequency. in case of power loss, these pulses are missing. by hardware - incremental outputs: in normal operation, pins a(#3), b(#4) and index (#6) will never be high at the same time, as index is only high when a=b=low. however, after a power-on-reset, if vdd is powered up or restarts after a power supply interruption, all thr ee outputs will remain in high state until pin csn is pull ed low. if csn is already tied to vss during power-up, the incremental outputs will a ll be high until the internal offset compensation is finished (within t pwrup ). 7.12 angular output tolerances 7.12.1 accuracy accuracy is defined as the error between the measured angle and the actual angle. it is influenced by several factors: ? the non-linearity of the analog-digital converters ? internal gain and mismatch errors ? non-linearity due to misalignment of the magnet as a sum of all these errors, the accuracy with centered magnet = (err max ? err min )/2 is specified as better than 0.5 degrees @ 25oc (see figure 23) . misalignment of the magnet further reduces the accuracy. figure 22 shows an example of a 3d-graph displaying non-linearity over xy-misalignment. the center of the square xy-area corresponds to a centered magnet (see dot in the center of the graph). the x- and y- axis extends to a misalignment of 1mm in both directions. the total misalignment area of the graph covers a square of 2x2 mm (79x79 mil) with a step size of 100m. for each misalignment step, the measurement as shown in figure 23 is repeated and the accuracy (err max ? err min )/2 (e.g. 0.25o in figure 23 ) is entered as the z-axis in the 3d-graph. y 1 y 2? () 1 x 2? () ------------------------ ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 28 - 37 as5140h data sheet - detailed description figure 22. example of linearity error over xy misalignment the maximum non-linearity error on this example is better than 1 degree (inner circle) over a misalignment radius of ~0.7mm. f or volume production, the placement tolerance of the ic within the package (0.235mm) must also be taken into account. the total nonlinea rity error over process tolerances, temperature and a misalignment circle radius of 0.25mm is specified better than 1.4 degrees. note: the magnet used for this measurement was a cylindrical ndfeb (bomatec? bmn-35h) magnet with 6mm diameter and 2.5mm in height. -1000 -700 -400 -100 200 500 800 -1000 -800 -600 -400 -200 0 200 400 600 800 1000 0 1 2 3 4 5 6 x y ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 29 - 37 as5140h data sheet - detailed description figure 23. example of linearity error over 360o 7.12.2 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 tr ansition noise at the outputs. it is specified as 0.06 degrees rms (1 sigma) 1 . this is the repeatability of an indicated angle at a given mechanical position. the transition noise has different implications on the type of output that is used: absolute output; ssi interface: the transition noise of the absolute output can be reduced by the user by applying an averaging of read- ings. an averaging of 4 readings will reduce the transition noise by 50% = 0.03o rms (1 sigma). pwm interface: if the pwm interface is used as an analog output by adding a low pass filter, the transition noise can be reduced by lower- ing the cutoff frequency of the filter. if the pwm interface is used as a digital interface with a counter at the receiving side, the transition noise may again be reduced by averaging of readings. incremental mode: in incremental mode, the transition noise influences the period, width and phase shift of the output signals a, b and index. however, the algorithm used to generate the incremental outputs guarantees no missing or additional pulses even at high speeds (up to 10.000 rpm and higher). 7.12.3 high speed operation the as5140h samples the angular value at a rate of 10.42k samples per second. consequently, the incremental and the absolute ou tputs are updated each by 96s. at a stationary position of the magnet, this sampling rate creates no additional error. absolute mode. with the given sampling rate of 10.4 khz, the number of samples (n) per turn for a magnet rotating at high speed can be calculated by: n = (eq 6) in practice, there is no upper speed limit. the only restriction is that there will be fewer samples per revolution as the spee d increases. regardless of the rotational speed, the absolute angular value is always sampled at the highest resolution of 10 bit. likewise, for a given number of samples per revolution (n), the maximum speed can be calculated by: rpm = (eq 7) 1. statistically, 1 sigma represents 68.27% of readings; 3 sigma represents 99.73% of readings. -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 1 55 109 163 217 271 325 379 433 487 541 595 649 703 757 811 865 919 973 transition noise err max err min 60 rpm 96 p s ? -------------------------- - 60 n 96 p s ? ------------------- - ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 30 - 37 as5140h data sheet - detailed description in absolute mode (serial interface and pwm output), 610 rpm is the maximum speed, where 1024 readings per revolution can be obt ained. in incremental mode, the maximum error caused by the sampling rate of the adcs is 0/+96s. it has a peak of 1lsb = 0.35o at 610 rp m. at higher speeds, this error is reduced again due to interpolation and the output delay remains at 192s as the dsp requires two sampling periods (2x96s) to synthesize and redistribute any missing pulses. incremental mode. incremental encoders are usually required to produce no missing pulses up to several thousand rpm. therefore, the as5140h has a built-in interpolator, which ensures that there are no missing pulses at the incremental outputs for rotational s peeds of up to 10.000 rpm, even at the highest resolution of 10 bits (512 pulses per revolution). 7.12.4 propagation delays the propagation delay is the delay between the time that a 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. angular error caused by propagation delay. a rotating magnet will therefore cause an angular error caused by the output delay. this error increases linearly with speed: e sampling = rpm * 6 * prop.delay (eq 8) where: e sampling = angular error [o] rpm = rotating speed [rpm] prop.delay = propagation delay [seconds] note: since the propagation delay is known, it can be automatically compensated by the control unit that is processing the data from the as5140h, thus reducing the angular error caused by speed. 7.12.5 internal timing tolerance the as5140h does not require an external ceramic resonator or qu artz. all internal clock timings for the as5140h are generated by an on-chip rc oscillator. this oscillator is factory trimmed to 5% accura cy at room temperature (10% over full temperature range). this tolerance influences the adc sampling rate and the pulse width of the pwm output: absolute output; ssi interface: a new angular value is updated every 100s (typ.) incremental outputs: the incremental outputs are updated every 100s (typ.) pwm output: a new angular value is updated every 100s (typ.). the pwm pulse timings t on and t off also have the same tolerance as the internal oscillator. if only the pwm pulse width t on is used to measure the angle, the resulting value also has this timing tolerance. however, this tolerance can be cancelled by measuring both t on and t off and calculating the angle from the duty cycle (see pulse width modulation (pwm) output on page 16) : position = (eq 9) table 21. speed performance absolute output mode incremental output mode 610rpm = 1024 samples / turn no missing pulses @ 10 bit resolution (512ppr): max. speed = 10.000 rpm 122rpm = 512 samples / turn 2441rpm = 256 samples / turn etc. t on 1025 ? t on t off + ------------------------- 1? ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 31 - 37 as5140h data sheet - detailed description 7.12.6 temperature magnetic temperature coefficient. one of the major benefits of the as5140h, in comparison to linear hall sensors is that it is much less sensitive to temperature. while linear hall sensors require a compensation of the magnet?s temperature coefficient, the as5140h automatically compensates for the varying magnetic field strength over temperature. the magnet?s temperature drift does not need to be considered, as the as5140h operates with magnetic field strengths from 45?75mt. example: a ndfeb magnet has a field strength of 75mt @ -40oc and a temperature coefficient of -0.12% per kelvin. the temperature change is from -40o to +150o = 190k. the magnetic field change is: 190 x -0.12% = -22.8%, which corresponds to 75mt at -40oc and 57.9mt at 150oc. in the above described scenario, the as5140h can automatically compensate for the change in temperature related field strength. no user adjustment is required. accuracy over temperature. the influence of temperature in the absolute accuracy is very low. while the accuracy is 0.5o at room temperature, it may increase to 0.9o due to increasing noise at high temperatures. timing tolerance over temperature. the internal rc oscillator is factory trimmed to 5%. over temperature, this tolerance may increase to 10%. generally, the timing tolerance has no influence in the ac curacy or resolution of the syst em, as it is used mainly for internal clock generation. the only concern to the user is the width of the pwm output pulse, which relates directly to the timing tolerance o f the internal oscillator. this influence however can be cancelled by measuring the complete pwm duty cycle (see internal timing tolerance on page 30) . ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 32 - 37 as5140h data sheet - application information 8 application information the benefits of as5140h are as follows: complete system-on-chip flexible system solution provides absolute, pwm and incremental outputs simultaneously ideal for applications in harsh environments due to contactless position sensing tolerant to magnet misalignment and airgap variations tolerant to external magnetic fields operates up to +150oc ambient temperature no temperature compensation necessary no calibration required 10, 9, 8 or 7-bit user programmable resolution small pb-free package: ssop 16 (5.3mm x 6.2mm) 8.1 as5140h differ ences to as5040 the as5140h and as5040 differ in the following features: table 22. differences between as5140h and as5040 parameter as5140h as5040 pin - assignment pin - compatible ambient temperature range -40oc ?+150oc -40oc?+125oc alignment mode exit alignment mode by power-on-reset, exit alignment mode by por or with prog=low @ falling edge of csn. exit alignment mode by power-on-reset only. otp programming voltage 3.0 to 3.6v 7.3 to 7.5v otp programming options incremental modes (quad ab, step/dir, bldc) incremental resolution incremental index bit width 10-bit zero position direction bit (cw/ccw) redundancy address (1 of 16) 18-bit chip-identifier incremental modes (quad ab, step/dir, bldc) incremental resolution incremental index bit width 10-bit zero position direction bit (cw/ccw) otp programming protocol csn, prog and clk; 52-bit serial data protocol csn, prog and clk; 16-bit (32-bit) serial data protocol ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 33 - 37 as5140h data sheet - pack age drawings and markings 9 package drawings and markings the device is available in a 16-lead shrink small outline package. figure 24. ssop-16 package drawings table 23. ssop-16 package dimensions symbol mm inch min typ max min typ max a 1.73 1.86 1.99 0.068 0.073 0.078 a1 0.05 0.13 0.21 0.002 0.005 0.008 a2 1.68 1.73 1.78 0.066 0.068 0.070 b 0.25 0.315 0.38 0.010 0.012 0.015 c 0.09 - 0.20 0.004 - 0.008 d 6.07 6.20 6.33 0.239 0.244 0.249 e 7.65 7.8 7.9 0.301 0.307 0.311 e1 5.2 5.3 5.38 0.205 0.209 0.212 e 0.65 0.0256 k0 o-8 o0 o-8 o l 0.63 0.75 0.95 0.025 0.030 0.037 aywwizz as5140h ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 34 - 37 as5140h data sheet - pack age drawings and markings 9.1 recommended pcb footprint figure 25. pcb footprint table 24. recommended footprint data symbol mm inch a 9.02 0.355 b 6.16 0.242 c 0.46 0.018 d 0.65 0.025 e 5.01 0.197 ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 35 - 37 as5140h data sheet - revision history revision history note: typos may not be explicitly mentioned under revision history. revision date owner description 1.0 oct 03, 2006 apg initial revision 1.2 mar 05, 2009 updated parameter values for t do valid (see table 13) application note an5000-30 changed to an514x-10 (see programming the as5140h on page 19) 1.3 mar 30, 2009 updated parameter values for pw min and pw max (see table 14) 1.4 sep 23, 2009 rfu updated figure 14 ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 36 - 37 as5140h data sheet - ordering information 10 ordering information the devices are available as the standard products shown in table 25 . note: all products are rohs compliant and pb-free. buy our products or get free samples online at icdirect: http://www.austriamicr osystems.com/icdirect for further information and requests, please contact us mailto:sales@austriamicrosystems.com or find your local distributor at http://www.austriamicros ystems.com/distributor table 25. ordering information ordering code description delivery form package as5140hassu tubes ssop-16 as5140hasst tape & reel ssop-16 ams ag technical content still valid
www.austriamicrosystems.com/as5140h revision 1.4 37 - 37 as5140h data sheet - copyrights copyrights copyright ? 1997-2009, austriamicrosystems ag, tobelbaderstrasse 30, 8141 unterpremstaetten, austria-europe. trademarks registe red ?. 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. all products and companies mentioned are trademarks or registered trademarks of their respective companies. disclaimer devices sold by austriamicrosystems ag are covered by the warranty and patent indemnification provisions appearing in its term of sale. austriamicrosystems ag makes no warranty, express, statutory, implied, or by description regarding the information set forth he rein or regarding the freedom of the described devices from patent infringement. austriamicrosystems ag reserves the right to change specificatio ns and prices at any time and without notice. therefore, prior to designing this product into a system, it is necessary to check with austriamic rosystems ag for current information. this product is intended for use in normal commercial applications. applications requiring extended temper ature 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 austriamicrosystems ag for each application. for shipments of les s than 100 parts the manufacturing flow might show deviations from the standard production flow, such as test flow or test location. the information furnished here by austriamicrosystems ag is believed to be correct and accurate. however, austriamicrosystems 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 austriamicrosystems ag rendering of technical or other services. contact information headquarters austriamicrosystems ag tobelbaderstrasse 30 a-8141 unterpremstaetten, austria tel: +43 (0) 3136 500 0 fax: +43 (0) 3136 525 01 for sales offices, distributors and representatives, please visit: http://www.austriamicrosystems.com/contact ams ag technical content still valid


▲Up To Search▲   

 
Price & Availability of AS5140H04

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X