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: [email protected] Please visit our website at www.ams.com AS5035 PROGRAMMABLE 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER 1 General Description 2 DATA SHEET Key Features - Full turn (360°) contactless angular position encoder - 2 quadrature A/B outputs with 64 pulses per revolution (ppr), 256 edges per revolution, 1.4° per step Two diagnostic outputs are provided to indicate an out-ofrange condition of the magnetic field as well as movement of the magnet in Z-axis. In addition a specific combination of output states indicate a loss of power supply. - Index output (one pulse per revolution) - Accurate user programmable zero position (0.35°) - Failure detection mode for magnet placement monitoring and loss of power supply - Wide temperature range: - 40°C to + 125°C - Small lead-free package: SSOP 16 (5.3mm x 6.2mm) lv am lc s on A te G nt st il The AS5035 is available in a small 16pin SSOP package. It can be operated at either 3.3V or 5V supplies. al id The AS5035 is a magnetic incremental encoder with 64 quadrature pulses per revolution (8-bit resolution) and index output. 3 Applications Industrial applications: - Robotics - Replacement of optical encoders - Flow meters - Man-machine interface Figure 1: Typical arrangement of AS5035 and magnet 1.1 Benefits Complete system-on-chip, including analog front end and digital signal processing - 2-channel quadrature and index outputs provide an alternative to optical encoders - User programmable Zero positioning by OTP allows easy assembly of magnet 4 Pin Configuration ch ni ca - Automotive applications: - Power seat position sensing - Power mirror position sensing Diagnostic features for operation safety - Ideal for applications in harsh environments due to magnetic sensing principle Te - - Robust system, tolerant to magnet misalignment, air gap variations, temperature variations and external magnetic stray fields - No calibration required Revision 1.5 Figure 2: AS5035 Pin configuration SSOP16 www.austriamicrosystems.com Page 1 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER VDDV3V VDD5V MagINCn LDO 3.3V MagDECn CSn Hall Array & Frontend Amplifier Ang Sin DSP Mag Cos Channel A Incremental Decoder Channel B Index OTP_CLK OTP_DO PROG AS5035 al id OTP Zero Position Figure 3: AS5035 Block diagram Pin List & Description Pin # Name Type AS5035 1 MagInc DO_OD Mag. Field indicator 2 MagDec DO_OD Mag. Field indicator 3 A DO Quadrature channel A 4 B DO Quadrature channel B 5 N.C. test Must be left open 6 Index DO Incremental Index output 7 VSS Supply Supply Ground 8 Prog 9 OTP_DO 10 OTP_CLK 11 CSn 12 N.C. 13 N.C. 14 N.C. 15 VDD3V3 am lc s on A te G nt st il SSOP16 lv 4.1 OTP Programming Input. Internal pull-down resistor DO_T Data Output for Zero Position programming DI,ST Clock Input for Zero Position programming; SchmittTrigger input. Should be connected to VSS if not used DI_ST, pu Enable outputs A,B,I (see 5.4). Connect to VSS for normal operation test Must be left open test Must be left open test Must be left open Supply 3V regulator output Supply 5V positive supply input ca (~74kΩ). Should be connected to VSS if not used ni VDD5V ch 16 : : : : Table 1: Pin description digital output, open drain DO : digital push/pull output digital input ST : Schmitt-Trigger input internal pull-up resistor pd : internal pull-down resistor pin is used for factory testing, must be left unconnected Te DO_OD DI pu test DI , pd 4.2 Unused Pins Pins # 5, 8, 12, 13 and 14 are for factory testing and must be left unconnected Pins# 8, 9 and 10 are used for OTP Zero Position Programming only. In normal operation, they can be left open or connected to VSS (pins 8 and 10 only) Revision 1.5 www.austriamicrosystems.com Page 2 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER 5.2 Connecting the AS5035 5.1 Power Supply 5.1.1 5.0V Operation VDD5V will be either 3.0 - 3.6V or 4.5 - 5.5V, depending on configuration. In either case, the logic levels on output pins A, B and Index will be Vout high = VDD5V – 0.5V, Connect a 4.5V to 5.5V power supply to pin VDD5V only. Add a 1µF to 10µF buffer capacitor to pin VDD3V3 Vout low = VSS+0.4V. 3.3V Operation The logic level on the CSn input pin will be Connect a 3.0V to 3.6 V power supply to both pins VDD5V and VDD3V3. If necessary, add a 100nF ceramic buffer capacitor to pin VDD3V3. Vin high = VDD5V*0.7, Vin low = VDD5V*0.3 5.3 The available maximum output current on pins A, B and Index to maintain the Vout high and Vout low levels is 5V Operation am lc s on A te G nt st il 2.2...10µF VDD3V3 100n VDD5V Output Current al id 5.1.2 Logic High and Low Levels lv 5 LDO 2mA (sink and source) at VDD5V = 3.0V 4mA (sink and source) at VDD5V = 4.5V Internal VDD A 4.5 - 5.5V VSS I N T E R F A C E B 5.4 Index 5.4.1 CSn For standalone operation without microcontroller, pin CSn should be connected to VSS permanently. The incremental outputs will be available, as soon as the internal offset compensation is finished (within <50ms). Prog OTP_CLK OTP_DO 5.4.2 ca VDD3V3 ch ni LDO Te 3.0 - 3.6V 100n Internal VDD VSS With Power-up Diagnostic Feature ~50kΩ) during power-up, the incremental outputs will remain in high state: A = B = Index = High. This state indicates a power-up or temporary loss of power, as in normal operation A, B and Index will never be high at the same time. When Index is high, both A and B are low. A I N T E R F A C E Without Power-up Diagnostic Feature A diagnostic feature is available to detect a temporary loss of power or initial power-up of the AS5035: if the CSn pin is high or left open (internal pull up resistor 3.3V Operation VDD5V Chip Select Pin CSn B Index CSn To clear this state end enable the incremental outputs, CSn must be pulled low. The incremental outputs will remain enabled if CSn returns to high afterwards. Prog OTP_CLK OTP_DO Figure 4: Connections for 5V / 3.3V supply voltages Revision 1.5 www.austriamicrosystems.com Page 3 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER MagDEC, (Magnitude Decrease) turns on, when the magnet is pulled away from the IC, thus when the magnetic field strength is decreasing. MagInc and MagDec Indicators These two pins are open-drain outputs with a maximum driving capability of 2mA @ 3.0V and 4mA @ 4.5V. MagINC, (Magnitude Increase) turns on, when the magnet is pushed towards the IC, thus when the magnetic field strength is increasing. MagINC MagDEC If both outputs are low, they indicate that the magnetic field out of the allowed range: Description off No distance change. Magnetic Input Field OK off on Distance increase (Magnet pulled away from IC) on off Distance decrease (Magnet pushed towards IC) on on Magnetic Input Field invalid – out of range: either too large (magnet too close) or too small (missing magnet or magnet too far away) Table 2: Magnetic field strength diagnostic outputs am lc s on A te G nt st il off = open-drain output transistor is off. Using a pull-up resistor, the output is high on = open-drain output transistor is on. Using a pull-up resistor, the output is low al id off lv 5.5 Both outputs MagInc and MagDec may be tied together, using one common pull-up resistor. In this case, the output will be high only when the magnetic field is in range. It will be low when either the magnet is moving in Z-axis or when the magnetic field is out of range. 6 Incremental Outputs 6.1 6.2 A, B and Index ch A ni ca The phase shift between channel A and B indicates the direction of the magnet movement. Channel A leads channel B at a clockwise rotation of the magnet (top view, magnet placed above or below the device) with 90 electrical degrees. Channel B leads channel A at a counter-clockwise rotation. The Index pulse has a width of 1LSB = 1.4° Hysteresis To avoid flickering of the incremental outputs at a stationary mechanical position, a hysteresis of 0.7° is introduced. When the direction of rotation is reversed, the incremental outputs will not change state unless the movement in the opposite direction is larger than the hysteresis. This leads to the effect that the A,B and Index pulse positions will be shifted by 0.7° when the rotational direction is reversed. This shift is cancelled again with the next reversal of direction so that the A,B and Index pulses appear always at the same position for a given rotational direction no matter how often the rotational direction is reversed (see Figure 5). . Mechanical Zero Position Rotation Direction Change Mechanical Zero Position Te B 1.40625° =90e° Hysteresis =0.7° 5.625° =360e° Index Index= 1.40625° CSn power-up t Incremental outputs valid Figure 5: Incremental quadrature outputs Revision 1.5 www.austriamicrosystems.com Page 4 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER 7 Zero Position Programming For Zero Position Programming, the magnet is turned to the mechanical zero position (e.g. the “off”-position of a rotary switch) and an automatic zero position programming is applied. The zero position is programmed to an accuracy of +/0.35°. am lc s on A te G nt st il USB lv al id Zero Position Programming is an OTP option that simplifies assembly of a system, as the magnet does not need to be manually adjusted to the mechanical zero position. Once the assembly is completed, the mechanical and electrical zero positions can be matched by software. Any position within a full turn can be defined as the permanent new index position. Te ch ni ca Figure 6: Hardware connection of AS5035 to AS50xx Demoboard for Zero Position Programming Revision 1.5 www.austriamicrosystems.com Page 5 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER OTP Programming Timing 7.1.1 CCW Bit Programming The absolute angular output value, by default, increases with clockwise rotation of the magnet (top view). Setting the CCW-bit (see Figure 7) 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. Note: Further information on the required hardware and software for Zero Position programming of the AS5035 can be found in the “AS5035” section of the austriamicrosystems website: am lc s on A te G nt st il Note: During the programming process, the transitions in the programming current may cause high voltage spikes generated by the inductance of the connection cable. To avoid these spikes and possible damage to the IC, the connection wires, especially the signals Prog and VSS must be kept as short as possible. The maximum wire length between the V PROG switching transistor and pin Prog (see Figure 6) should not exceed 50mm (2 inches). To suppress eventual voltage spikes, a 10nF ceramic capacitor should be connected close to pins Prog and VSS. This capacitor is only required for programming, it is not required for normal operation. The specified programming voltage at pin Prog is 7.3 – 7.5V (see section 12.8). To compensate for the voltage drop across the VPROG switching transistor, the applied programming voltage may be set slightly higher (7.5 8.0V). al id OTP programming requires access to the factory settings register of the AS5035. Improper or accidental modification of the factory settings may render the chip unusable. Therefore the Zero Position and CCW programming is recommended only with austriamicrosystems proprietary hardware and software. lv 7.1 http:www.austriamicrosystems.com ( Æ Rotary Encoders Æ AS5035) ca The clock timing t clk must be selected at a proper rate to ensure that the signal Prog is stable at the rising edge of CLK (see Figure 7). Additionally, the programming supply voltage should be buffered with a 10µF capacitor mounted close to the switching transistor. This capacitor aids in providing peak currents during programming. Te ch ni Figure 7: Programming access – write data (first section of Figure 8) Figure 8: Complete programming sequence Revision 1.5 www.austriamicrosystems.com Page 6 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER 8 removes any common mode error due to DC components introduced by the magnetic source itself or external disturbing magnetic fields. A ratiometric division of the sine and cosine vectors removes the need for an accurate absolute magnitude of the magnetic field and thus accurate Z-axis alignment of the magnetic source. Simulation Modelling 3.9 mm ± 0.235mm 1 2.433 mm 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. Y1 X1 X2 al id ± 0.235mm Y2 lv AS5040 die The chip will continue to operate, but with degraded output linearity, if the signal field strength is outside the recommended range. Too strong magnetic fields will introduce errors due to saturation effects in the internal preamplifiers. Too weak magnetic fields will introduce errors due to noise becoming more dominant. Center of die am lc s on A te G nt st il Radius of circular Hall sensor array: 1.1mm radius 9 Figure 9: Arrangement of Hall sensor array on chip (principle) With reference to Figure 9, a diametrically magnetized permanent magnet is placed above or below the surface of the AS5035. The chip uses an array of Hall sensors to sample the vertical vector of a magnetic field distributed across the device package surface. The area 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. ca The differential 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. 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. typ. 6mm diameter N S Magnet axis R1 Magnet axis Vertical field component (Y 1 − Y 2) ± 0.5° ( X 1 − X 2) ch Θ = arctan ni The angular displacement ( Θ ) of the magnetic source with reference to the Hall sensor array may then be modelled by: Te The ± 0.5° angular error assumes a magnet optimally aligned over the center of the die and is a result of gain mismatch errors of the AS5035. Placement tolerances of the die within the package are ± 0.235mm in X and Y direction, using a reference point of the edge of pin #1 (Figure 11) R1 concentric circle; radius 1.1mm Vertical field component Bv (45…75mT) 0 In order to neglect the influence of external disturbing magnetic fields, a robust differential sampling and ratiometric calculation algorithm has been implemented. The differential sampling of the sine and cosine vectors Revision 1.5 360 360 Figure 10: Typical magnet and magnetic field distribution www.austriamicrosystems.com Page 7 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER The magnet’s field strength perpendicular to the die surface should be verified using a gauss-meter. The magnetic field 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 10). N S Die surface z Package surface 0.576mm ± 0.1mm 1.282mm ± 0.15mm Physical Placement of the Magnet Figure 12: Vertical 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 shown in Figure 11: 10 Angular Output Tolerances 10.1 Accuracy 3.9 mm lv 3.9 mm Accuracy is defined as the error between measured angle and actual angle. It is influenced by several factors: am lc s on A te G nt st il 1 2.433 mm Defined center Rd 2.433 mm 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 @ 25°C (see Figure 14). Area of recommended maximum magnet misalignment Figure 11: Defined IC center and magnet displacement radius Magnet Placement: al id 9.1 ni ca 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 11). 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 Misalignment of the magnet further reduces the accuracy. Figure 14 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 (79x79mil) with a step size of 100µm. 5 4 ° 3 800 500 2 200 1 -100 0 x -800 -1000 -1000 -400 0 -600 y -700 -200 200 600 -400 400 1000 A magnetic field outside the specified range may still produce usable results, but the out-of-range condition will be indicated by MagINCn (pin 1) and MagDECn (pin 2), see 5.5. 6 800 Te ch The vertical distance should be chosen such that the magnetic field on the die surface is within the specified limits (see Figure 10). The typical distance “z” between the magnet and the package surface is 0.5mm to 1.8mm with the recommended magnet (6mm x 3mm). Larger gaps are possible, as long as the required magnetic field strength stays within the defined limits. Figure 13: Example of linearity error over XY misalignment Revision 1.5 www.austriamicrosystems.com Page 8 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER (Err max – Err min )/2 (e.g. 0.25° in Figure 14) is entered as the Z-axis in the 3D-graph. The maximum non-linearity error on this example is better than ± 1 degree (inner circle) over a misalignment radius of ~0.7mm. For volume production, the placement tolerance of the IC within the package ( ± 0.235mm) must also be taken into account. The total nonlinearity error over process tolerances, temperature and a misalignment circle radius of 0.25mm is specified better than ± 1.4 degrees. The magnet used for these measurement was a cylindrical NdFeB (Bomatec® BMN-35H) magnet with 6mm diameter and 2.5mm in height. al id For each misalignment step, the measurement as shown in Figure 14 is repeated and the accuracy linearity error with centered magnet [degrees] 0.5 lv 0.4 0.3 0.2 transition noise 0.1 am lc s on A te G nt st il Err m ax 0 -0.1 0° 90° -0.2 -0.3 -0.4 -0.5 180° Err m in 270° 360° Figure 14: Example of linearity error over 360° e° = electrical degrees (see Figure 5) 10.2 Transition Noise : statistically, 1 sigma represents 68.27% of readings, 3 sigma represents 99.73% of readings. *1 Transition noise is defined as the jitter in the transition between two steps. The algorithm used to generate the incremental outputs guarantees no missing or additional pulses even at high speeds (up to 30,000 rpm and higher) This transition noise voltage results in an angular transition noise at the outputs. It is specified as 0.06 degrees rms (1 sigma) *1 . 10.3 High Speed Operation ni ca Due to the nature of the measurement principle (Hall sensors + Preamplifier + ADC), there is always a certain degree of noise involved. ch This is the repeatability of an indicated angle at a given mechanical position. Te The transition noise influences the period, width and phase shift of the output signals A, B and Index: Tolerance (3 σ ) Parameter Tolerance (1 σ ) (rms) Index Pulse width 1.406° +/-0.06° 1.406° +/-0.18° A,B Pulse width 2.813° +/-0.06° 2.813° +/-0.18° Period 5.625° +/-0.06° A-B Phase shift 90e° +/-1.9e° (peak) 5.625° +/-0.18° 90e° +/-5.7e° 10.3.1 Sampling Rate The AS5035 samples the angular value at a rate of 10k samples per second. Consequently, the incremental outputs are updated each 100µs. At a stationary position of the magnet, this sampling rate creates no additional error. Incremental encoders are usually required to produce no missing pulses up to several thousand rpm’s. Therefore, the AS5035 has a built-in interpolator, which ensures that there are no missing pulses at the incremental outputs for rotational speeds of up to 10,000rpm. Table 3: Incremental signal tolerances with transition noise Revision 1.5 www.austriamicrosystems.com Page 9 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER 10.5.3 10.4 Output Delays Timing Tolerance over Temperature The internal RC oscillator is factory trimmed to ± 5%. Due to the sampling rate of 10kHz, there will be a delay of up to 100µs between the time that the sample is taken until it is converted and available as angular data. A rotating magnet will therefore cause an angular error caused by the output delay. This error increases linearly with speed: Over temperature, this tolerance may increase to ± 10%. Generally, the timing tolerance has no influence in the accuracy or resolution of the system, as it is used mainly for internal clock generation. 11 Failure Diagnostics esampling = rpm ∗ 6 E −4 al id The AS5035 also offers several diagnostic and failure detection features: At low speeds this error is small (e.g. <= 0.06° at 100 rpm). 11.1 Magnetic Field Strength Diagnosis am lc s on A te G nt st il At higher speeds this error is reduced again due to interpolation and the output delay remains at 200µs as the DSP requires two sampling periods (2x100µs) to synthesize and redistribute any missing pulses. Pins #1 (MagINCn) and #2 (MagDECn) are open-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). lv At speeds over 586 rpm, the error approaches 1LSB (0.35°). The maximum error caused by the sampling rate of the ADCs is 0/+100µs. It has a peak of 1LSB = 0.35° at 586 rpm. 11.2 Power Supply Failure Detection 11.2.1 10.5 Temperature 10.5.1 Magnetic Temperature Coefficient ca One of the major benefits of the AS5035 compared 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 coefficients, the AS5035 automatically compensates for the varying magnetic field strength over temperature. The magnet’s temperature drift does not need to be considered, as the AS5035 operates with magnetic field strengths from ± 45… ± 75mT. ch ni Example: A NdFeB magnet has a field strength of 75mT @ –40°C and a temperature coefficient of -0.12% per Kelvin. The temperature change is from –40° to +125° = 165K. The magnetic field change is: 165 x -0.12% = -19.8%, which corresponds to 75mT at –40°C and 60mT at 125°C . Te The AS5035 can compensate for this temperature related field strength change automatically, no user adjustment is required. 10.5.2 Accuracy over Temperature The influence of temperature in the absolute accuracy is very low. While the accuracy is ≤ ± 0.5° at room MagINCn and MagDECn Pins: These are open drain outputs and require external pullup resistors. In normal operation, these pins are high ohmic and the outputs are high (see Table 2). 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 AS5035, the pull-up resistors (>10k Ω ) must be connected to the positive supply at pin 16 (VDD5V). 11.2.2 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 three outputs will remain in high state until pin CSn is pulled low (see 5.4.2 ). If CSn is already tied to VSS during power-up, the incremental outputs will all be high until the internal offset compensation is finished (within t PwrUp ). Another way to detect a power supply loss is by connecting pull-up resistors to the A,B and Index pins at the receiving side (µC, control unit, etc..). If the negative power line to the sensor is interrupted, all three outputs will be pulled high by the external pull-up resistors. This unique state again indicates a failure as it does not occur in normal operation. temperature, it may increase to ≤± 0.9° due to increasing noise at high temperatures. Revision 1.5 www.austriamicrosystems.com Page 10 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER 12 Electrical Characteristics 12.1 Absolute Maximum Ratings (non operating) Stresses beyond those listed under “Absolute Maximum Ratings“ may cause permanent damage to the device. These are stress ratings only. Functional operation of the device at these or any other conditions beyond those indicated under “Operating Conditions” is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Symbol Min Max Unit DC supply voltage at pin VDD5V VDD5V -0.3 7 V DC supply voltage at pin VDD3V3 VDD3V3 5 V Note al id Parameter Vin -0.3 VDD5V +0.3 V Input current (latchup immunity) Iscr -100 100 mA Norm: JEDEC 78 Electrostatic discharge ESD ±2 kV Norm: MIL 883 E method 3015 Storage temperature Tstrg -55 125 °C Min – 67°F ; Max +257°F Body temperature (Lead-free package) TBody 260 °C 85 % rH 5 t=20 to 40s, Norm: IPC/JEDEC J-Std-020C Lead finish 100% Sn “matte tin” am lc s on A te G nt st il Humidity non-condensing lv Input pin voltage 12.2 Operating Conditions Parameter Ambient temperature Supply current Symbol Min Typ Max Unit Tamb -40 125 °C 16 25 mA Isupp Supply voltage at pin VDD5V VDD5V 4.5 5.0 5.5 V Voltage regulator output voltage at pin VDD3V3 VDD3V3 3.0 3.3 3.6 V Supply voltage at pin VDD5V VDD5V 3.0 3.3 3.6 V Supply voltage at pin VDD3V3 VDD3V3 3.0 3.3 3.6 V Note -40°F…+257°F 5V Operation 3.3V Operation (pin VDD5V and VDD3V3 connected) 12.3 DC Characteristics for Digital Inputs and Outputs 12.3.1 CMOS Schmitt-Trigger Inputs: OTP_CLK, CSn (CSn = internal Pull-up) Symbol ca Parameter High level input voltage VIH Low level input voltage VIL ni Schmitt-Trigger hysteresis Input leakage current ch Pull-up low level input current 12.3.2 Min Max 0.7 * VDD5V Unit V 0.3 * VDD5V Note Normal operation V VIon- VIoff 1 V ILEAK -1 1 µA CLK only IiL -30 -100 µA CSn only, VDD5V: 5.0V CMOS Output Open Drain: MagINCn, MagDECn Te Parameter Low level output voltage Symbol VOL Output current IO Open drain leakage current IOZ Revision 1.5 Min Max Unit VSS+0.4 V 4 2 1 www.austriamicrosystems.com mA Note VDD5V: 4.5V VDD5V: 3V µA Page 11 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER 12.3.3 CMOS Outputs: A, B, Index, OTP_DO Parameter Symbol Min High level output voltage VOH VDD5V-0.5 Low level output voltage VOL Output current Max Unit Note V VSS+0.4 V 4 mA VDD5V: 4.5V 2 mA VDD5V: 3V IO 12.4 Magnetic Input Specification Symbol Min Typ 6 Diameter dmag 4 Thickness tmag 2.5 Magnetic input field amplitude Bpk 45 Magnetic offset Boff Unit Note mm Recommended magnet Ø 6mm x 2.5mm for cylindrical magnets mm 75 mT Required vertical component of the magnetic field strength on the die’s surface, measured along a concentric circle with a radius of 1.1mm ± 10 mT Constant magnetic stray field 5 % Including offset gradient 500 Hz Incremental mode: no missing pulses at rotational speeds of up to 30,000 rpm %/K Samarium Cobalt ReComa28 mm Max. offset between defined device center and magnet axis (see Figure 11) am lc s on A te G nt st il Field non-linearity Max lv Parameter al id Two-pole cylindrical diametrically magnetised source: Input frequency fmag_inc (rotational speed of magnet) Magnetic field temperature drift Displacement radius – 0.035 Btc Disp 0.25 12.5 Electrical System Specifications Parameter Symbol Min LSB Resolution Typ 1.406 RES Index bit width Max tw,Index Unit Note deg Degrees / step 8 bit 64 ppr 1.406 Channel A and B deg = 1 LSB (see Table 3) INLopt ± 0.5 deg Maximum error with respect to the best line fit. Centered magnet placement without calibration, Tamb =25 °C. Integral non-linearity (optimum) INLtemp ± 0.9 deg Maximum error with respect to the best line fit. Centered magnet placement without calibration, Tamb = -40 to +125°C ch ni ca Integral non-linearity (optimum) Best line fit = (Errmax – Errmin) / 2 INL ± 1.4 deg Over displacement tolerance with 6mm diameter magnet, without calibration Tamb = -40 to +125°C Differential non-linearity DNL ± 0.176 deg no missing codes Transition noise TN 0.06 Deg rms rms = 1 sigma (see 10.2) Hysteresis Hyst Te Integral non-linearity 0.704 deg Power-on reset thresholds On voltage; 300mV typ. hysteresis Von 1,37 2.2 2.9 V DC supply voltage 3.3V (VDD3V3) Off voltage; 300mV typ. hysteresis Voff 1.08 1.9 2.6 V DC supply voltage 3.3V (VDD3V3) Revision 1.5 www.austriamicrosystems.com Page 12 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER 12.6 Timing Characteristics Symbol Power-up time Min Typ tPwrUp Max Unit 50 ms 500 ns t Incremental Incremental outputs valid after power-up outputs valid fS until internal offset compensation is finished if CSn is high during power up: = Time after tPwrUp from first falling edge of CSn to valid incremental outputs. If CSn is low during power up: Incremental outputs are valid as soon as tPwrUp is expired System propagation delay Sampling rate Note 9.5 10 192 µs Calculation over two samples 10.5 kHz Internal sampling rate 12.7 Incremental Output Signal Tolerances lv See Table 3 on page 9 al id Parameter am lc s on A te G nt st il 12.8 Programming Conditions (operating conditions: T am b = -40 to +125°C, VDD5V = 3.0-3.6V (3V operation) VDD5V = 4.5-5.5V (5V operation) unless otherwise noted) Parameter Symbol Min t Prog enable 2 µs t Data in 2 µs t Data in valid 250 ns t Load PROG 3 µs Rise time of VPROG before CLK PROG t PrgR 0 µs Hold time of VPROG after CLK PROG t PrgH 0 Programming enable time Write data start Write data valid Load programming data Write data – programming CLK PROG CLK pulse width Programming voltage off level finished 1.8 7.3 V ProgOff 0 7.4 Unit Note Time between rising edge at Prog pin and rising edge of CSn Write data at the rising edge of CLKPROG 5 µs 250 kHz 2.2 µs During programming; 16 clock cycles µs Programmed data is available after next power-on 7.5 V Must be switched off after zapping 1 V Line must be discharged to this level 130 mA 2 V PROG I PROG 2 Max During programming Te ch ni Programming current t PROG ca Programming voltage CLK PROG t PROG Hold time of Vprog after programming Typ Revision 1.5 www.austriamicrosystems.com Page 13 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER 13 Package Drawings and Markings lv al id 16-Lead Shrink Small Outline Package SSOP-16 am lc s on A te G nt st il AYWWIZZ AS5035 Marking: AYWWIZZ Dimensions Symbol mm A: Pb-free Identifier inch Y: Last Digit of Manufacturing Year Typ Max Min Typ Max A 1.73 1.86 1.99 .068 .073 .078 A1 0.05 0.13 0.21 .002 .005 .008 I: Plant Identifier A2 1.68 1.73 1.78 .066 .068 .070 ZZ: Traceability Code b 0.25 0.315 0.38 .010 .012 .015 c 0.09 - 0.20 .004 - .008 JEDEC Package Outline Standard: MO - 150 AC D 6.07 6.20 6.33 .239 .244 .249 E 7.65 7.8 7.9 .301 .307 .311 Thermal Resistance R th(j-a) : typ. 151 K/W in still air, soldered on PCB E1 5.2 5.3 5.38 .205 .209 .212 e 0° .0256 0.63 - 8° 0° - 8° 0.75 0.95 .025 .030 .037 WW: Manufacturing Week IC's marked with a white dot or the letters "ES" denote Engineering Samples ch L 0.65 ni K ca Min Te 13.1 Packing Options Delivery: Tape and Reel (1 reel = 2000 devices) Tubes (1 box = 100 tubes á 77 devices) Order # AS5035 for delivery in tubes Order # AS5035TR for delivery in tape and reel Revision 1.5 www.austriamicrosystems.com Page 14 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER 14 Recommended PCB Footprint: Recommended Footprint Data mm 9.02 6.16 0.46 0.65 5.01 inch 0.355 0.242 0.018 0.025 0.197 Te ch ni ca am lc s on A te G nt st il lv al id A B C D E Revision 1.5 www.austriamicrosystems.com Page 15 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER 15 Contact 15.1 Headquarters austriamicrosystems AG A 8141 Schloss Premstätten, Austria +43 3136 500 0 Fax: +43 3136 525 01 [email protected] www.austriamicrosystems.com 15.2 Sales Offices austriamicrosystems USA, Inc. 8601 Six Forks Road al id Phone: Suite 400 Raleigh, NC 27615, USA austriamicrosystems Germany GmbH Phone: +1 919 676 5292 Tegernseer Landstrasse 85 Fax: +1 509 696 2713 Phone: +49 89 69 36 43 0 austriamicrosystems USA, Inc. Fax: +49 89 69 36 43 66 4030 Moorpark Ave Suite 116 San Jose, CA 95117, USA Via A. Volta, 18 Phone: +1 408 345 1790 Fax: +1 509 696 2713 am lc s on A te G nt st il austriamicrosystems Italy S.r.l. lv D-81539 München, Germany I-20094 Corsico (MI), Italy Phone: +39 02 4586 4364 Fax: +39 02 4585 773 austriamicrosystems AG Suite 811, Tsimshatsui Centre austriamicrosystems France S.A.R.L. East Wing, 66 Mody Road 124, Avenue de Paris Tsim Sha Tsui East, Kowloon, Hong Kong F-94300 Vincennes, France Phone: +852 2268 6899 Phone: +33 1 43 74 00 90 Fax: +852 2268 6799 Fax: +33 1 43 74 20 98 austriamicrosystems AG austriamicrosystems Switzerland AG AIOS Gotanda Annex 5 t h Fl., 1-7-11, Rietstrasse 4 Higashi-Gotanda, Shinagawa-ku CH 8640 Rapperswil, Switzerland Tokyo 141-0022, Japan Phone: +41 55 220 9008 Phone: +81 3 5792 4975 Fax: +41 55 220 9001 Fax: +81 3 5792 4976 austriamicrosystems AG 88, Barkham Ride, #805, Dong Kyung Bldg., ca austriamicrosystems UK, Ltd. 824-19, Yeok Sam Dong, Berkshire RG40 4ET, United Kingdom Kang Nam Gu, Seoul Phone: +44 118 973 1797 Korea 135-080 Fax: +44 118 973 5117 Phone: +82 2 557 8776 Fax: +82 2 569 9823 ch ni Finchampstead, Wokingham Klaavuntie 9 G 55 austriamicrosystems AG FI 00910 Helsinki, Finland Singapore Representative Office Phone: +358 9 72688 170 83 Clemenceau Avenue, #02-01 UE Square Fax: +358 9 72688 171 239920, Singapore Te austriamicrosystems AG austriamicrosystems AG Phone: +65 68 30 83 05 Fax: +65 62 34 31 20 Bivägen 3B S 19163 Sollentuna, Sweden Phone: +46 8 6231 710 Revision 1.5 www.austriamicrosystems.com Page 16 of 17 AS5035 – 64 PPR INCREMENTAL MAGNETIC ROTARY ENCODER Copyrights Copyright © 1997-2007, austriamicrosystems AG, Schloss Premstaetten, 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. All products and companies mentioned are trademarks or registered trademarks of their respective companies. al id This product is protected by U.S. Patent No. 7,095,228. Disclaimer am lc s on A te G nt st il lv 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 herein or regarding the freedom of the described devices from patent infringement. austriamicrosystems 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 austriamicrosystems AG for current information. This product is intended for use in normal commercial applications. Applications requiring extended temperature range, unusual environmental requirements, or high reliability applications, such as military, medical life-support or lifesustaining equipment are specifically not recommended without additional processing by austriamicrosystems AG for each application. Te ch ni ca 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. Revision 1.5 www.austriamicrosystems.com Page 17 of 17