Magnetic Sensor Tooling PGSISI-2 Interface box Application Note Rev. 1.1, 2011-09-01 Sense & Control Edition 2011-09-01 Published by Infineon Technologies AG 81726 Munich, Germany © 2011 Infineon Technologies AG All Rights Reserved. Legal Disclaimer The information given in this document shall in no event be regarded as a guarantee of conditions or characteristics. With respect to any examples or hints given herein, any typical values stated herein and/or any information regarding the application of the device, Infineon Technologies hereby disclaims any and all warranties and liabilities of any kind, including without limitation, warranties of non-infringement of intellectual property rights of any third party. Information For further information on technology, delivery terms and conditions and prices, please contact the nearest Infineon Technologies Office (www.infineon.com). Warnings Due to technical requirements, components may contain dangerous substances. For information on the types in question, please contact the nearest Infineon Technologies Office. Infineon Technologies components may be used in life-support devices or systems only with the express written approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body or to support and/or maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may be endangered. Magnetic Sensor Tooling Revision History 2011-09-01, Revision 1.1 Page or Item Subjects (major changes since previous revision) Page 9 TLE5009 Evaluation Board new Page 10 TLE5012B Evaluation Board new Page 11 TLE5009, TLE5012B Evaluation Kits new Page 16, 17 new PC software GUI Trademarks of Infineon Technologies AG AURIX™, BlueMoon™, COMNEON™, C166™, CROSSAVE™, CanPAK™, CIPOS™, CoolMOS™, CoolSET™, CORECONTROL™, DAVE™, EasyPIM™, EconoBRIDGE™, EconoDUAL™, EconoPACK™, EconoPIM™, EiceDRIVER™, EUPEC™, FCOS™, HITFET™, HybridPACK™, ISOFACE™, I²RF™, IsoPACK™, MIPAQ™, ModSTACK™, my-d™, NovalithIC™, OmniTune™, OptiMOS™, ORIGA™, PROFET™, PRO-SIL™, PRIMARION™, PrimePACK™, RASIC™, ReverSave™, SatRIC™, SIEGET™, SINDRION™, SMARTi™, SmartLEWIS™, TEMPFET™, thinQ!™, TriCore™, TRENCHSTOP™, X-GOLD™, XMM™, X-PMU™, XPOSYS™. Other Trademarks Advance Design System™ (ADS) of Agilent Technologies, AMBA™, ARM™, MULTI-ICE™, PRIMECELL™, REALVIEW™, THUMB™ of ARM Limited, UK. AUTOSAR™ is licensed by AUTOSAR development partnership. Bluetooth™ of Bluetooth SIG Inc. CAT-iq™ of DECT Forum. COLOSSUS™, FirstGPS™ of Trimble Navigation Ltd. EMV™ of EMVCo, LLC (Visa Holdings Inc.). EPCOS™ of Epcos AG. FLEXGO™ of Microsoft Corporation. FlexRay™ is licensed by FlexRay Consortium. HYPERTERMINAL™ of Hilgraeve Incorporated. IEC™ of Commission Electrotechnique Internationale. IrDA™ of Infrared Data Association Corporation. ISO™ of INTERNATIONAL ORGANIZATION FOR STANDARDIZATION. MATLAB™ of MathWorks, Inc. MAXIM™ of Maxim Integrated Products, Inc. MICROTEC™, NUCLEUS™ of Mentor Graphics Corporation. Mifare™ of NXP. MIPI™ of MIPI Alliance, Inc. MIPS™ of MIPS Technologies, Inc., USA. muRata™ of MURATA MANUFACTURING CO., MICROWAVE OFFICE™ (MWO) of Applied Wave Research Inc., OmniVision™ of OmniVision Technologies, Inc. Openwave™ Openwave Systems Inc. RED HAT™ Red Hat, Inc. RFMD™ RF Micro Devices, Inc. SIRIUS™ of Sirius Sattelite Radio Inc. SOLARIS™ of Sun Microsystems, Inc. SPANSION™ of Spansion LLC Ltd. Symbian™ of Symbian Software Limited. TAIYO YUDEN™ of Taiyo Yuden Co. TEAKLITE™ of CEVA, Inc. TEKTRONIX™ of Tektronix Inc. TOKO™ of TOKO KABUSHIKI KAISHA TA. UNIX™ of X/Open Company Limited. VERILOG™, PALLADIUM™ of Cadence Design Systems, Inc. VLYNQ™ of Texas Instruments Incorporated. VXWORKS™, WIND RIVER™ of WIND RIVER SYSTEMS, INC. ZETEX™ of Diodes Zetex Limited. Last Trademarks Update 2010-06-09 Application Note 3 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Table of Contents Table of Contents Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1 1.1 Evaluation Kits for Magnetic Sensors with PGSISI-2 Interface box . . . . . . . . . . . . . . . . . . . . . . . 7 Evaluation Kits with PGSISI-2 Interface box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 2.1 2.2 PGSISI-2 Interface box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 PCB Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 SUB-D connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3 3.1 3.2 3.3 3.4 Evaluation Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Linear Hall Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GMR Angle Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Wheel Speed Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GMR Crankshaft and Transmission Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 15 15 15 15 4 4.1 4.2 4.3 4.4 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PC Software for Linear Hall Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PC Software for Angle Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PC Software for Wheel Speed Sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PC Software for GMR Crankshaft and Transmission Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 16 17 18 19 Application Note 4 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling List of Figures List of Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Tool configuration for evaluation of hall sensors with PGSISI-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 PGSISI-2 PCB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 GUI for TLE4997 and TLE4998 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 GUI for TLE5009, TLE5011 and TLE5012 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 GUI for TLE4941plusC and TLE4943C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Excel File for TLE5027 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Application Note 5 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling List of Tables List of Tables Table 1 Table 2 Table 3 Table 4 Table 5 Programmer tools for magnetic sensors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 PGSISI-2 Programmer and Interface box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Product related Evaluation Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Product related Evaluation Kits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 25 pol. SUB-D connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Application Note 6 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Evaluation Kits for Magnetic Sensors with PGSISI-2 Interface box 1 Evaluation Kits for Magnetic Sensors with PGSISI-2 Interface box For evaluation of Infineons magnetic sensors different programmer tools are available, see Table 1. Table 1 Programmer tools for magnetic sensors product family product programmer tool Linear Hall Sensors TLE4997E, TLE4998 PGSISI-2 TLE4990 PGSISI1) Angle Sensors TLE5009, TLE5011, TLE5012, TLE5012B PGSISI-2 Wheel Speed Sensors TLE4941plusC, TLE4943C PGSISI-2 Crankshaft TLE5025, TLE5027 PGSISI-2 Camshaft TLE4981, TLE4982, TLE4983, TLE4984 Adhoc tool Transmission TLE5025, TLE5027 PGSISI-2 Hall Switches TLE49x5, TLE49x6 no programmer required 1) PGSISI Programmer for Linear Hall Sensor TLE4990 can be purchased at www.ertec.de These tools are available in order to get a first impression of the sensor’s performance. The programmer tools are designed as lab tools and not for productive use. This document focuses on evaluation kits with PGSISI-2 Interface box and should help to find the appropriate evaluation kit for the sensor of interest. A short description of the evaluation kits and the ordering codes are listed below. For evaluation of magnetic sensors all necessary hard- and software to interface and program the sensor are available. Figure 1 shows the typical tool configuration. • • • • • Programmer software (Graphical User Interface) Programmer hardware (PGSISI-2) Evaluation board with sockets for the sensor Engineering samples Documentation (data sheet, application notes, quick start guide, how to use evalboard, schematic of adapter board, general conditions for the supply of starter kits, engineering samples disclaimer) PC Figure 1 USB RS232 PGSISI-2 Programmer Evaluationboard + sensor Tool configuration for evaluation of hall sensors with PGSISI-2 Application Note 7 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Evaluation Kits for Magnetic Sensors with PGSISI-2 Interface box 1.1 Evaluation Kits with PGSISI-2 Interface box The PGSISI-2 programmer is interfaced through a standard USB or a RS232 serial connection to any PC running with a Windows operating system. For a complete evaluation kit the PGSISI-2 programmer box, see Table 2 and an evaluation board acc. to the selected sensor, see Table 3, must be ordered separately. The PGSISI-2 programmer can be used together with all evalboards in Table 3. Alternatively complete evaluation kits with PGSISI-2 programmer and evaluation boards are available, see Table 4. 1.) Basic Programming Tool PGSISI-2 Interface box Table 2 PGSISI-2 Programmer and Interface box Basic tool Programmer ordering code PGSISI-2 SP000875082 content: • 24V DC power supply • 4 adaptors for different countries • USB connection cable Application Note 8 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Evaluation Kits for Magnetic Sensors with PGSISI-2 Interface box 2.) Evaluation boards Table 3 Product related Evaluation Boards Product Evaluation Board Ordering Code / Kit content TLE4997E TLE4997 Evalboard SP000875086 • • • TLE4998 TLE4998 Evalboard SP000875090 • • • TLE5009 TLE5009 Evalboard TLE5011 Evalboard TLE5012 Evalboard PCB with moveable magnet TLE5011 sensor samples soldered on PCB Installation CD: – programmer software – necessary drivers – quick start guide and documentation SP000634326 • • • Application Note PCB with moveable magnet TLE5009 sensor samples Installation CD: – programmer software – necessary drivers – quick start guide and documentation SP000634322 • • • TLE5012 PCB with sockets TLE4998S,-P,-C sensor samples Installation CD: – programmer software – necessary drivers – quick start guide and documentation SP000871466 • • • TLE5011 PCB with sockets TLE4997 sensor samples Installation CD: – programmer software – necessary drivers – quick start guide and documentation 9 PCB with sockets and moveable magnet TLE5012 sensor samples soldered on PCB Installation CD: – programmer software – necessary drivers – quick start guide and documentation Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Evaluation Kits for Magnetic Sensors with PGSISI-2 Interface box Table 3 Product related Evaluation Boards Product Evaluation Board Ordering Code / Kit content TLE5012B TLE5012B Evalboard SP000912898 • • • TLE4941plusC TLE4941plusC Evalboard SP000904590 • • • TLE4943C TLE4943C Evalboard TLE502x Evalboard PCB with sockets sensor samples Installation CD: – programmer software – necessary drivers – quick start guide and documentation SP000879334 • • • Application Note PCB with sockets sensor samples Installation CD: – programmer software – necessary drivers – quick start guide and documentation SP000880418 • • • TLE5027 PCB with sockets and moveable magnet TLE5012B sensor samples soldered on PCB Installation CD: – programmer software – necessary drivers – quick start guide and documentation 10 PCB with sockets sensor samples Installation CD: – programmer software – necessary drivers – quick start guide and documentation Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Evaluation Kits for Magnetic Sensors with PGSISI-2 Interface box Table 4 Product related Evaluation Kits Product Evaluation Kit Ordering Code / Kit content TLE4997E TLE4997x Programmer Kit SP000439708 • • TLE4998 TLE4998x Programmer Kit SP000425300 • • TLE5009 TLE5009 Evalkit TLE5011 Evalkit TLE5012 Evalkit TLE5012B Evalkit TLE4941plusC Evaltool PGSISI-2 Programmer TLE5012B Evalboard SP000618000 • • Application Note PGSISI-2 Programmer TLE5012 Evalboard SP000912902 • • TLE4941plusC PGSISI-2 Programmer TLE5011 Evalboard SP000634334 • • TLE5012B PGSISI-2 Programmer TLE5009 Evalboard SP000634330 • • TLE5012 PGSISI-2 Programmer TLE4998 Evalboard SP000871462 • • TLE5011 PGSISI-2 Programmer TLE4997 Evalboard 11 PGSISI-2 Programmer TLE4941plusC Evalboard Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Evaluation Kits for Magnetic Sensors with PGSISI-2 Interface box Table 4 Product related Evaluation Kits Product Evaluation Kit Ordering Code / Kit content TLE4943C TLE4943C Evaltool SP000904594 • • TLE5027 TLE502x Evalkit SP000775322 • • Application Note PGSISI-2 Programmer TLE4943C Evalboard 12 PGSISI-2 Programmer TLE502x Evalboard Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling PGSISI-2 Interface box 2 PGSISI-2 Interface box The PGSISI (ProGrammer System Infineon Sensor Interface) programmer is the basic hardware tool to interface and program the appropriate magnetic sensors. It is delivered with universal DC power supply 24V incl. 4 adapters for different countries. 2.1 PCB Interfaces There are different interfaces available on the PGSISI-2 PCB: • • • • RS232 serial interface USB connector Analog I/O: – 4 voltage outputs (0... 20V) – 4 voltage inputs (0... 20V) Digital I/O: – Hardware SPI – 2 CapCom I/O – 4 GPIO Figure 2 PGSISI-2 PCB Connection of the PGSISI programmer to the PC can be done with RS232 or USB. The USB interface is converted into a serial RS232 interface via FTDI chip. Connection to the evalboards is made with a 25 pol. SUB-D connector. Application Note 13 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling PGSISI-2 Interface box 2.2 SUB-D connector Pin configuration of 25 pol. SUB-D connector Table 5 25 pol. SUB-D connector Pin# connector description/usage 1 +24V directly from power supply 2 VINOUT1 Voltage input/output 0-22V, 0-200mA 3 VINOUT2 Voltage input/output 0-22V, 0-200mA 4 VINOUT3 Voltage input/output 0-22V, 0-200mA 5 VINOUT4 Voltage input/output 0-22V, 0-200mA 6 VIN1 + window detector Voltage input, 0-20V 7 VIN3 Voltage input, 0-20V 8 P3 general purpose I/O (5V) 9 P1 general purpose I/O (5V) 10 MTSR0 MOSI of hardware SPI or I/O 11 SCLK0 serial clock of hardware SPI or I/O 12 TXD1 Hardware RS232 or I/O 13 PWM0 CapCom input or I/O 14 AGND GND 15 AGND GND 16 AGND GND 17 AGND GND 18 µC_GND GND 19 VIN2 Voltage input, 0-20V 20 VIN4 Voltage input, 0-20V 21 P2 general purpose I/O (5V) 22 P0 general purpose I/O (5V) 23 MRST0 MISO of hardware SPI or I/O 24 RXD1 Hardware RS232 or I/O 25 PWM1 CapCom input or I/O Application Note 14 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Evaluation Boards 3 Evaluation Boards All adapter boards are designed for the corresponding product families and can be ordered separately as evalboard. 3.1 Linear Hall Sensor The evalboard for linear hall sensors is designed for: • • • • TLE4997E with ratiometric analog output TLE4998P with Pulse Width Modulation (PWM) – TLE4998P3 (PG-SSO-3-10) – TLE4998P4 (PG-SSO-4-1) – TLE4998P3C (PG-SSO-3-9 incl. capacitor) – TLE4998P3C E1200 (PG-SSO-3-9 incl. capacitor with extended gain range) TLE4998S with Single Edge Nibble Transmission (SENT) – TLE4998S3 (PG-SSO-3-10) – TLE4998S4 (PG-SSO-4-1) – TLE4998S3C (PG-SSO-3-9 incl. capacitor) TLE4998C with Short PWM Code (SPC), protocol allowing enable pulses from a master, synchronized information transfer communication, selection of the magnetic field range and up to 4 slaves on a single line – TLE4998C3 (PG-SSO-3-10) – TLE4998C4 (PG-SSO-4-1) – TLE4998C3C (PG-SSO-3-9 incl. capacitor) 3.2 GMR Angle Sensor The evalboard for GMR angle sensors is designed for: • • • • TLE5009, angle sensor with analog output TLE5011, angle sensor with bi-directional Synchronous Serial (SSC)-interface that is Serial Peripheral Interface (SPI)-compatible TLE5012, angle sensor with SSC, PWM (Puls-Width Modulation), HSM (Hall-Switch Mode), IIF (Incremental Interface) TLE5012B, angle sensor with SSC, PWM, HSM, IIF and Short PWM Code (SPC) interface 3.3 Wheel Speed Sensor The evalboard for ABS sensors is designed for: • • TLE4941plusC with current single pulse interface TLE4943C with current PWM protocol 3.4 GMR Crankshaft and Transmission Sensor The evalboard for GMR crankshaft and transmission sensors is designed for: • • TLE5025 with voltage single pulse interface TLE5027 with voltage PWM protocol Application Note 15 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Software 4 Software With the PGSISI-2 programmer box and the appropriate evalboard it is possible to get a fast overview of the functionality and performance of the corresponding magnetic sensors. The evalboards are delivered with an installation CD, where all needed documentation and software is available. To use the PGSISI box + evalboard, the evalboard can be directly connected to the PGSISI box using 25 pol. SUB-D connector. Connection of the PGSISI box to the PC is done via USB or RS232 cable. The software delivered with the evaluation kit allows to read the output values from the sensor and perform all relevant programming steps. To install the software run setup.exe which is located in the installation folder. Please follow the instructions described in the quick start or getting started guide. After the installation procedure the GUI (Graphical User Interface) is ready to use. The objective of the software is to visualize the functionality of the sensors. The main features of the connected sensors are the strength of magnetic fields, angle values, register or EEprom content and status information. 4.1 PC Software for Linear Hall Sensor Figure 3 GUI for TLE4997 and TLE4998 The TLE4997/98 GUI includes sensor derivatives and protocol types TLE4997E, TLE4998S, TLE4998P, TLE4998C. The main software features are: • • • • • manual setup of all programmable parameters guided setting of temperature compensation coefficients automatic gain and offset calculation for two point calibration real time feedback of sensor registers burn and erase functionality for EEPROM memory Application Note 16 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Software 4.2 PC Software for Angle Sensor Figure 4 GUI for TLE5009, TLE5011 and TLE5012 The TLE5009/5011/5012 product family includes 360° angle sensors that detect the orientation of a magnetic field by measuring sine and cosine angle components with monolithic integrated Giant Magneto Resistance (iGMR) elements. The data communications are accomplished with a bidirectional Synchronous Serial Communication (SSC) interface that is Serial Peripheral Interface (SPI) compatible. For the TLE5012 additional interfaces are available: PWM (Puls-Width Modulation), HSM (Hall-Switch Mode), IIF (Incremental Interface). With the evaluation board described in this document it is possible to get a fast overview of the functionality of Infineon’s angle sensors. The values can be read out digitally. The GUI makes it easy to understand. Every bit is adjustable within the GUI and the output can be displayed in a time graph or via compass tool Application Note 17 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Software 4.3 PC Software for Wheel Speed Sensors Figure 5 GUI for TLE4941plusC and TLE4943C The TLE4941plusC and TLE4943C hall sensors provide information about rotational speed. The differential hall sensor IC detects the motion of ferromagnetic and permanent magnet structures by measuring the differential flux density of the magnetic field. To detect the motion of ferromagnetic objects the magnetic field must be provided by a back biasing permanent magnet Application Note 18 Rev. 1.1, 2011-09-01 Magnetic Sensor Tooling Software 4.4 PC Software for GMR Crankshaft and Transmission Sensor Figure 6 Excel File for TLE5027 The main functions of the software are initialization of PGSISI-2 interface box, bringing the sensor into test mode and recording of data. With the Excel software max. 4000 samples are recordable with one ADC or 2000 with both ADCs (direction and speed). Max. sample rate with one ADC: 1.2 kHz, 600 Hz when measuring both ADCs. Application Note 19 Rev. 1.1, 2011-09-01 w w w . i n f i n e o n . c o m Published by Infineon Technologies AG