AN-EVAL 2x8-ISO1I811T ISOFACETM Evaluation Board for galvanically isolated 8-Channel Digital Input ICs with IEC61131-2 compatible characteristics for industrial applications ISO1I811T EVAL - Board Application Note V 1.2, 2011-09-09 Edition 2011-09-09 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. AN-EVAL 2x8-ISO1I811T Draft Version Revision History Page or Item Subjects (major changes since previous revision) V 1.2, 2011-09-09 Updated version Trademarks of Infineon Technologies AG AURIX™, C166™, CanPAK™, CIPOS™, CIPURSE™, EconoPACK™, CoolMOS™, CoolSET™, CORECONTROL™, CROSSAVE™, DAVE™, EasyPIM™, EconoBRIDGE™, EconoDUAL™, EconoPIM™, EiceDRIVER™, eupec™, FCOS™, HITFET™, HybridPACK™, I²RF™, ISOFACE™, IsoPACK™, MIPAQ™, ModSTACK™, my-d™, NovalithIC™, OptiMOS™, ORIGA™, PRIMARION™, PrimePACK™, PrimeSTACK™, PRO-SIL™, PROFET™, RASIC™, ReverSave™, SatRIC™, SIEGET™, SINDRION™, SIPMOS™, SmartLEWIS™, SOLID FLASH™, TEMPFET™, thinQ!™, TRENCHSTOP™, TriCore™. Other Trademarks Advance Design System™ (ADS) of Agilent Technologies, AMBA™, ARM™, MULTI-ICE™, KEIL™, PRIMECELL™, REALVIEW™, THUMB™, µVision™ 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 Satellite 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 2011-02-24 Application Note 3 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version Table of Contents Table of Contents Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 Board Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 3.1 3.2 3.3 3.3.1 3.3.2 3.4 3.5 3.6 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Parallel Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 μC Control Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Direct Control Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Sensor Input Stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Filter Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5 Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 6 PCB Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 7 Bill of Material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Application Note 4 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version Application Note Table of Contents 5 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version 1 Introduction Introduction Application This Application Note describes an Evaluation Board with two isolated 8 Channel IEC61131-2 compatible Digital Input IC’s for a wide range of industrial applications. The board is designed to allow easy exploration of the features of the ISOFACETM Digital Input part. It contains two ISO1I811T as an electrically isolated 8 bit data input interface in TSSOP-48 package. These parts are used to detect the signal states of up to eight independent input lines according to IEC61131-2 Type 1/2/3 (e.g. twowire proximity switches) with a common ground. An 8 bit parallel/serial µC compatible interface allows to connect the IC directly to a µC system. The input interface supports also a direct control mode and is designed to operate with 3.3/5V CMOS compatible levels. The data transfer from input to output side across the galvanic isolation uses Infineon’s Coreless Transformer Technology. VBB VFI 330n VCC TS Rosc 8 sensors IN0 12k I0H 2k I0L I7H IN7 12k GNDFI 2k I7L S E R I A L I Z E D E S E R I A L I Z E DS0 digital filter DS1 L O G I C /ERR µC /RD /CS e.g. XE166 parallel or serial interface digital filter GND GNDBB ISO1I811T Figure 1 Typical Application Application Note 6 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version Board Characteristics ISO1I811T Figure 2 EVAL 2x8-ISO1I811T 2 Board Characteristics Table 1 Board Characteristics Parameter Symbol Values Unit Min. Typ. Max. – 35 V 35 V VBB Input Voltage VBB 9.6 VINx Input Voltage VINx -35 VCC Input Voltage VCC 3.0 – 5.5 V Logic Signals uC Interface VIL -0.3 – 0.3 x VCC V VIH 0.7 x VCC – VCC + 0.3 V V Oscillator Frequency 50 125 kHz Note / Test Condition set to 125kHz using ROSC 82k For a complete description of the characteristics of the ISO1I811T please consult respective Data Sheet available at: www.infineon.com/isoface Note: this board is intended to be used in the lab to explore the functionality of the ISO1I811T device. It is not designed to be used in professional applications! Application Note 7 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version 3 Functional Description Functional Description This board contains two ISO1I811T as an electrically isolated 8 bit data input interface in TSSOP-48 package. These parts are used to detect the signal states of up to eight independent input lines according to IEC61131-2 Type 1/2/3 (e.g. two-wire proximity switches) with a common ground. For operation in accordance with IEC61131-2, it is necessary for the ISO1I811T to be wired with resistors rated RIN and RLED. (it is recommended to use resistors with an accuracy of 2%, in any case < 5% - mandatory, temperature-coefficients < 200ppm are allowed) A parallel/serial µC compatible interface allows to connect the board directly to a µC system. If the parallel interface is used, only IC1 can be operated. In serial mode either IC1 can be used with 8 Bit SPI or IC1 and IC2 can be put into a Daisy Chain configuration with 16 Bit SPI. The isolated data transfer from input to output side is realized by the integrated Coreless Transformer Technology. VBB VBB VCC 470n VCC TS Rosc DS0 I0H IN0 12k I0L S E R I A L I Z E I7H IN7 L O G I C D E S E R I A L I Z E /RD /CS D0 D2 D3 D4 D5 D6 digital filter I7L D7 GND GNDBB GNDbb /ERR D1 2k 12k DS1 digital filter 2k /ERR /RD /CS D0 D1 D2 D3 D4 D5 D6 D7 GND ISO1I811T VBB VBB VCC 470n TS Rosc IN0 IN0 12k DS0 I0H 2k I0L S E R I A L I Z E IN7 12k GNDbb Figure 3 I7H IN7 L O G I C D E S E R I A L I Z E /ERR /RD /CS D0 D1 D2 D3 digital filter 2k GNDbb DS1 digital filter I7L D4 D5 D6 D7 GND GNDBB ISO1I811T Block Diagram Application Note 8 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version 3.1 Functional Description Power Supply The IC contains 2 electrically isolated voltage domains that are independent from each other. The microcontroller interface is supplied via pin VCC and the input stage is supplied via pin VBB. The different voltage domains can be switched on at different time. If the VCC and VBB voltage have reached their operating range and the internal data transmission have been started successfully, the IC indicates the end of the Start-Up procedure by setting the pin /ERR to logic high. 3.2 Oscillator The frequency of the internal oscillator can be set by the resistor ROSC. This internal oscillator provides the clock for the data sampling and transmission as well as for the digital averaging filter. For adjusting the frequency of the oscillator the values of ROSC can be taken out of the diagram in the ISO1I811T datasheet. 3.3 Parallel Interface The ISO1I811T contains a parallel interface that can be selected by pulling the pin SEL to logic low state (see also Table 2). This interface can be directly controlled by the microcontroller output signals. The parallel interface can also be switched over to a direct control that allows direct changes of the inputs IN0...IN7 by means of the corresponding inputs D0 ... D7 on the Demo Board without additional logic signals. To activate the parallel direct control mode, both the pinCS and pinRD must be connected to ground. Table 2 Mode Select Mode K13 K9 K10 K8 K15 K16 Parallel (IC1) 2-3 close open 1-2 open open Serial 8 Bit (IC1) 1-2 close open 1-2 Table 4 Table 4 Serial 16 Bit 1-2 open close 2-3 Table 4 Table 4 3.3.1 μC Control Mode CS - Chip select. The system microcontroller selects the ISO1I811T by means of thepin CS . Whenever the pin is in a logic low state, data can be transferred from the μC. RD - Read. The system controller enables the read procedure in the ISO1I811T by means of the signal RD. A logic low state signal at pin RD enables the output data when thepin CS is in a logic low state. D0…D7. The parallel output data is transferred to the data bus a high-to-low transition of the signal RD (read) while the CS is logic low. Then a low-to-high transition of CS sets the driver to tristate. The μC Control Mode can be operated by connecting a Processor Board to the corresponding Signals of Connector K4. The timing requirements for the μC Control Mode are shown in Figure 5. Application Note 9 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version Functional Description VCC VCC /CS /RD D0 D1 INx D2 D3 D4 D5 D6 D7 ISO1I811T Figure 4 MCU (e.g. XE166) or ASIC SEL μC Control Mode /CS tCSD /RD tCSS tRD tRDlow tdirect tfloat tvalid D7:D0 t valid data scan event t scan tscan data data data data ~3 scan cycles direct control mode Figure 5 Timing Diagram μC Control Mode Application Note 10 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version 3.3.2 Functional Description Direct Control Mode Beside the use of the parallel μC compatible interface, a parallel direct control mode can be chosen. In this mode, the output Data D0...D7 will directly follow the inputs IN0...IN7 without the need for additional logic signals. To activate this mode, pin CS and RD must be connected to ground for a time longer then 15us (see also Figure 6). VCC VCC /CS /RD D0 D1 INx D2 D3 D4 D5 D6 D7 ISO1I811T Figure 6 MCU (e.g. XE166) or ASIC SEL parallel_interface _direct.vsd Direct Control Mode Application Note 11 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version 3.4 Functional Description Serial Interface The ISO1I811T contains a serial interface that can be activated by pulling the pin SEL to logic High state . It can be directly controlled by the microcontroller output ports. The output pin SDO is in state “Z” as long as CS=1. Otherwise, the bits are sampled with the falling edge of CS. With every falling edge of SCLK the bits are provided serially to the pin SDO, respectively. At the same time, the input to SDI is put into an 8bit FIFO buffer sampled with the rising edge of SCLK. When all 8 internally sampled bits from SDI input have been put to SDO, the buffered bits are provided to these pins (Daisy Chain Mode). The timing requirements for the serial interface are shown in Figure 8. The serial interface can be set to 8 Bit operation by using IC1 only or to 16 Bit operation by using IC1 and IC2 in Daisy Chain Mode. For this purpose the jumpers K8, K9, K10 have to be set in the according manner (see also Figure 7, Table 2) IC1 SCLK SCLK SDI SDI INx SDO /CS /CS K8 IC2 SCLK K10 K9 SDI INx SDO SDO /CS Figure 7 SPI Configuration inactive /CS t SCLK_su active tCSD t SCLK receive edge SCLK t SU transmit edge t HD tSU t CSH MSB SDI LSB tCS_valid SDO Figure 8 t SCLK_valid MSB tfloat LSB Timing Diagram Serial Mode Application Note 12 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version 3.5 Functional Description Sensor Input Stage The sensor input structure is shown in Figure 9. Due to its active current a I-V-characteristic as shown in Figure 10 is maintained. This I-V-curve is well within the IEC 61131 standard requirements of Type 1 and Type 3 sensors, respectively. Type 2 sensors are supported as well with the restriction that 2 input channels have to be used in parallel i.e. only 4 channels are available. Additionally RIN and RLED has to be modified according Figure 9. It is recommended to choose for the external resistors RIN, RLED an accuracy of 2 % (< 5% is mandatory) otherwise the I/V-characteristic shown in Figure 10 cannot be attained. The Input Type 1, 2, 3 can be selected by modifying RTS according Table 3. Table 3 Type Select Input Characteristic Type 1 according IEC61131-2 33R RTS Type 2 Type 3 33k 330k VBB P24 TS RTS Inputx INx 12k (8.5k *) 0V 2k (1,5k *) IxH DATAx RIN RLED IxL GNDBB *) : for Type2 Figure 9 Sensor Input Application Note 13 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version Functional Description VFI=30V 15V/11V VINxDset VINxDhys VINxDclr active current sink 5V -3V 0.5mA 2mA/3mA I INxsnkC,M Data Bit must be zero Figure 10 Sensor Input Characteristic 3.6 Filter Setting 15mA Data Bit must be one The sensor data bits can be filtered by a configurable digital input filter. If selected, the filter changes its output according to an averaging rule with a selectable average length. When the sensor state changes without any spikes and noise the change is delayed by the averaging length. Sensor spikes that are shorter than the averaging length are suppressed. The averaging length is selected using the configuration pins DS0 and DS1. See Table 4 for the different setting options including filter bypass. The filters are dimensioned for the nominal internal sampling fscannom. The corresponding filter delays can be adjusted by changing the oscillator frequency i.e. by tuning the resistor at the pin ROSC . Table 4 Filter Time Setting K15 Delay Time K16 K6 IC1 K7 IC2 0ms (bypass) 1-2 1-2 1-2 1-2 1ms 2-3 1-2 2-3 1-2 3.2ms 1-2 2-3 1-2 2-3 10ms 2-3 2-3 2-3 2-3 Application Note 14 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version Connectors 4 Connectors Table 5 K1, K2 Connector Pin Number K1 (IC1) K3 (IC2) 1 VBB VBB 2 Input0 Input0 3 Input1 Input1 4 Input2 Input2 5 Input3 Input3 6 Input4 Input4 7 Input5 Input5 8 Input6 Input6 9 Input7 Input7 10 GNDBB GNDBB Table 6 K4 Connector Pin Number Serial Mode Parallel Mode 1 VCC VCC 2 ERR ERR 3 NC 4 RD 5 DS0 DS0 6 DS1 DS1 7 CS CS 8 SDI D0 9 D1 10 D2 11 D3 12 D4 13 SCLK 14 15 D5 D6 SDO 16 Application Note D7 GND 15 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version Connectors 1 1 2 3 1 2 3 1 1 Figure 11 Board Assembly Application Note 16 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version 5 Schematic Figure 12 Schematic Page 1 Application Note Schematic 17 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version Figure 13 Schematic Schematic Page 2 Application Note 18 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version PCB Layout 6 PCB Layout Figure 14 Board Layout - Component Side Figure 15 Board Layout - Bottom Side (mirror view) Application Note 19 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version Bill of Material 7 Bill of Material Table 7 Bill of Material Nr Quant. 1 2 C1, C7 470nF, 50V 805 2 1 C11 10uF,16V SMD-B 3 2 C2, C8 100nF, 50V 805 4 16 D1, D2, D3, D4, D5, D6, D7, D8, D10, D11, D12, D13, D14, D15, D16, D17 LED, gn KPHCM2012CGCK 0805-DIODE 5 2 D18, D19 LED, rt KPHCM2012EC-T 0805-DIODE 6 2 IC1, IC2 ISO1I811T TSSOP48 7 2 K1, K2 MKDS 1/10-3,81 10x3,81mm 8 2 K9, K10 Connector 2pol 2,54mm 9 6 K6, K7, K8, K13, K15, K16 Connector 3pol 2,54mm 10 2 K17, K18 Connector 1pol 2,54mm 11 1 K4 Connector 16pol 2,54mm 12 16 R1, R2, R3, R4, R5, R6, R7, R8, R24, R25, R26, R27, R28, R29, R30, R31 2k, 1% 1206 13 2 R17, R40 1k, 1% 805 14 2 R19, R42 33R, 1% 805 15 2 R20, R43 100R, 1% 1206 16 2 R21, R44 82k, 1% 805 17 16 12k, 1% R9, R10, R11, R12, R13, R14, R15, R16, R32, R33, R34, R35, R36, R37, R38, R39 18 5 19 1 wire 20 6 Jumper 21 1 Application Note Pos. Value Package 1206 Spacer D8mm , H2,8mm K11 2,54mm Print Board 20 V 1.2, 2011-09-09 AN-EVAL 2x8-ISO1I811T Draft Version References References [1] ISO1I811T, Isolated 8 Channel Digital Input with IEC61131-2 Type 1/2/3 Characteristics, Data Sheet, Infineon Technologies Application Note 21 V 1.2, 2011-00-09 w w w . i n f i n e o n . c o m Published by Infineon Technologies AG