Switches and analog multiplexer Introduction The switches and analog (SWAN) multiplexer can be used to provide additional analog inputs and additional digital switch inputs to a Pectel ECU. The SWAN multiplexer is available in two variants, AC and DC. In the AC variant the analog inputs are AC-coupled for knock sensor inputs and in the DC variant the analog inputs are DC-coupled for analog inputs. Each multiplexer variant can be configured via the MODESEL pin to provide extra digital switch inputs in place of four knock / analog inputs. The following table outlines the inputs that are available on each SWAN multiplexer variant. Input type Knock Knock or digital (controlled by MODESEL) Analog Analog or digital (controlled by MODESEL) Digital AC variant 4 4 4 DC variant 4 4 4 The multiplexer control requires three ECU low-side driver outputs: one that defines the behaviour of the configurable analog / digital inputs, and two address lines that define which of the input signals is provided on each multiplexer output. The control inputs are pulled up to 5V by the SWAN multiplexer. Inputs AIN1 to AIN4 Dedicated analog inputs that accept knock sensors (AC variant) or standard analog sensors (DC variant). The following table details the states of the address lines that define which of the input signals is provided on the multiplexer output. ADDR1 (pin 11) 0 0 1 1 ADDR0 (pin 10) 0 1 0 1 KNOCKOUT1 AIN1 AIN2 AIN3 AIN4 Product Information 29E-071557-1E 1 Digital switches Both multiplexer variants provide four dedicated digital switch inputs (SWIN1 to SWIN4). The four digital inputs are treated as a 4-bit binary number, which is converted into a discrete analog voltage level between 0V and 5V on SWITCHOUT1. The values of the output voltages that correspond to the states of the four digital inputs are detailed in the following table. SWIN 4 Open Open Open Open Open Open Open Open Closed Closed Closed Closed Closed Closed Closed Closed SWIN 3 Open Open Open Open Closed Closed Closed Closed Open Open Open Open Closed Closed Closed Closed SWIN 2 Open Open Closed Closed Open Open Closed Closed Open Open Closed Closed Open Open Closed Closed SWIN 1 Open Closed Open Closed Open Closed Open Closed Open Closed Open Closed Open Closed Open Closed SWITCHOUT1 0V 0.333V 0.667V 1V 1.333V 1.667V 2V 2.333V 2.667V 3V 3.333V 3.667V 4V 4.333V 4.667V 5V AIN5 to AIN8 The behaviour of these inputs is dependent on the MODESEL state. When the MODESEL signal is allowed to pull-up to 5V, the internal pull-up resistors on these signals are disabled and AIN5 to AIN8 are treated as analog inputs, and multiplexed to KNOCKOUT2 in the same manner as AIN1 to AIN4. When the MODESEL pin is switched ground, then the internal pull-up resistors are enabled and the digital levels on AIN5 to AIN8 are converted to a discrete analog voltage level on SWITCHOUT2 in the same manner as SWIN1 to SWIN4. Ground pins There are two ground pins on the connector. One of these pins should be connected to the ECU knock ground or analog ground. The other should be connected to the sensor ground or the switch ground. These two ground pins are shorted internally at the connector. 2 Product Information 29E-071557-1E Functional diagram The diagram below shows the functions of the SWAN multiplexer. The pin numbers refer to the Autosport connector AS212-35PN pins. ADDR (0,1) pin 10 pin 11 SWAN multiplexer Pin 1 Pin 2 Pin 3 Analog (DC) or Knock (AC) Mux Pin 14 Analog (DC) or Knock (AC) Mux Pin 15 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 17 Switch Convertor Pin 12 (MODESEL) Pin 18 Pin 19 Pin 16 Switch Convertor Pin 20 Pin 21 ������������� Dimensions ������������� ������������� Dimensions in millimeters and (inches) Product Information 29E-071557-1E 3 Specifications Ordering information Description Value Product Part number Max. power supply voltage 18V Knock multiplexer 01E-500890-AC AIN input voltage –8V to +8V Analog multiplexer 01E-500890-DC SWIN internal pull-up resistor to +5V 10k Ohms AIN internal pull-up resistor to +5V (MODESEL unlinked) 10k Ohms Max +70°C Min –25°C –40°C to +85°C Operating temperature Storage temperature Weight <125 grams IP Rating IP65 Connector information AS212-35PN connector Pin Signal name Knock variant (AC) description Analog variant (DC) description 1 AIN1 Knock multiplexer input Analog multiplexer input 2 AIN2 Knock multiplexer input Analog multiplexer input 3 AIN3 Knock multiplexer input Analog multiplexer input 4 AIN4 Knock multiplexer input Analog multiplexer input 5 AIN5 Knock multiplexer / switch decoder input Analog multiplexer / switch decoder input 6 AIN6 Knock multiplexer / switch decoder input Analog multiplexer / switch decoder input 7 AIN7 Knock multiplexer / switch decoder input Analog multiplexer / switch decoder input 8 AIN8 Knock multiplexer / switch decoder input Analog multiplexer / switch decoder input 9 GND Ground Ground 10 ADDR0 Multiplexer / switch decoder address bit Multiplexer / switch decoder address bit 11 ADDR1 Multiplexer / switch decoder address bit Multiplexer / switch decoder address bit 12 MODESEL Knock multiplexer / switch decoder selection Analog multiplexer / switch decoder selection 13 GND Ground Ground 14 KNOCKOUT1 Knock multiplexer output (AIN1 to AIN4) Analog multiplexer output (AIN1 to AIN4) 15 KNOCKOUT2 Configurable inputs knock multiplexer mode output (AIN5 to AIN8) Configurable inputs analog multiplexer mode output (AIN5 to AIN8) 16 SWITCHOUT1 Switch decoder output (SWIN1 to SWIN4) Switch decoder output (SWIN1 to SWIN4) 17 SWITCHOUT2 Configurable inputs switch decoder mode output (AIN5 to AIN8) Configurable inputs switch decoder mode output (AIN5 to AIN8) 18 SWIN1 Switch decoder input Switch decoder input 19 SWIN2 Switch decoder input Switch decoder input 20 SWIN3 Switch decoder input Switch decoder input 21 SWIN4 Switch decoder input Switch decoder input 22 VBATT Battery voltage supply Battery voltage supply 4 Product Information 29E-071557-1E Product Information 29E-071557-1E 5