6 Channel Input Module

/6 Channel Input Module
6 Channel Input Module2019-09-24T12:53:13+02:00

6 Channel Input Module

General

The 6 channel Input Module is a GOcontroll Moduline II and III compatible expansion card to add 6 general purpose input ports to your modular controller. The inputs are protected and configurable individually for a wide range of applications. Beside a C library, the module can also be configured with an available Matlab function block1. For the Moduline III, the Output Module can be used within Node-RED.

Applications

  • Measure sensor voltages from 0 to 24 Volt

  • Measure digital signals (high – low) 0 – 24 Volt

  • Measure frequency signals from 0 to 10 kHz

  • Measure duty cycle signals (low duty and high duty)

  • Measure (rotation)speed signals

  • Encoder positioning (pulse counting)

Features

  • On board (module) signal processing for high frequency measurements

  • Each input is independent configurable

  • Selectable pull up and pull down resistors

  • Selectable sensor input voltage range for maximal measurement resolution

  • Inputs are transient protected for use in harsh environments(IEC 61000-4-2, IEC 61643-321)

  • Protected 5 volt sensor supply

  • Configurable analog filter

  • Onboard MMC for high frequent data logging

Schematic representation

Local processing of input signals

Communication with processor board

5V sensor supply

Signal input

Sensor ground

Software configurable interface circuit

For the readability, only one interface circuit is shown.

Technical information

min nom max
Input voltage range (analog and digital) 0 24 Volt
Analog input sample resolution 0 – 5 Volt 12 Bit
0 – 12 Volt 12 Bit
0 – 24 Volt 12 Bit
Analog input sample frequency 1 10 kHz
Analog filter samples 1 1000 Samples
Digital input low voltage 0 – 5 Volt 1,5 Volt
0 – 12 Volt 3,6 Volt
0 – 24 Volt 7,2 Volt
Digtal input high voltage 0 – 5 Volt 3 Volt
0 – 12 Volt 7,2 Volt
0 – 24 Volt 14,4 Volt
Input impedance (configuration dependent) 0 – 5 Volt 31,5k Ohm
0 – 12 Volt 14,5k Ohm
0 – 24 Volt 12,1k Ohm
Pull up values 3,2 k Ohm
4,7 k Ohm
10 k Ohm
Pull down values 3,2 k Ohm
4,7 k Ohm
10 k Ohm
5 volt sensor supply current (for each supply pin) 40 45 mA

Pinout controller connector

The eight module expansion slots are directed to four connectors in front of the controller. Connector A,B,D and E. If a module is plugged into a specific expansion slot, one half of the corresponding connector is used to interface this module. The picture below gives an overview of the connectors with their related module expansion slots.

Connector C ( in the middle) is used for controller supply and some optional CAN bus connections.

Connector A

Module 1 & 2

Module 3 & 4

System connections

Module 5 & 6

Module 7 & 8

Connector B

Connector C

Connector E

Connector D

The picture below shows the connector pinning from the Input Module. Be aware of the different pinouts when the module is plugged into even or odd module slots.

Module located on: 1-3-5-7

Module located on: 2-4-6-8

5V sensor supply

Sensor ground

Signal in 1

Signal in 3

Signal in 5

Signal in 2

Signal in 4

Signal in 6

5V sensor supply

Sensor ground

Signal in 1

Signal in 3

Signal in 5

Signal in 2

Signal in 4

Signal in 6

For example let’s assume an Input Module is plugged into expansion slot 5:

  • The corresponding connector is D
  • The 5V sensor supply pins are: 5-6-7
  • The sensor ground pins are: 24-25-26
  • The signal input pins are: 13-19-12-18-11-17

Model based software development

The GOcontroll Moduline II controller can be programmed with Matlab Simulink. By easily drag and drop function blocks into your Simulink model, no knowledge about any programming language is needed to build your control system. Inside the model, you can use a function block that is designed for the 6 channel input module. This function block enables you to configure each input channel according to you demands using a graphic interface. The explanation of each configuration can be found inside the function block.

Signal comming from the module and can be used in your model

Module name

The module connector on the processorboard where the module is connected to.

Module article number

By double clicking the function block, the mask will open. Here you can configure your 6 channel input module according your demands

The sample time determines the function block execution frequency. -1 is deafult and doesn't have to be changed

Select the module connector on the processor board on which the module is plugged in to

Input channel to configure

Select the desired function of the input channel

Select the input voltage range the module can expect on the input pin

If desired, a moving average filter can be applied. The number of samples can be chosen

If the input channel is configured to measure rotation speed, than you can fill in the number of pulses for one rotation

Select pull up or pull down resistors that we be applied to the interface circuit

Apply the configuration of the module

Function select

You can configure each input channel according your demands. For example, if you want to measure a rotation speed from an axle, you only have to select this option and tell the module how many pulses he has to count for one rotation. The signal out of the function block holds, in this case, the number of rotations per second.

Analog input – decimal (12 bit resolution)

This setting convert the analog voltage applied to the corresponding connector pin to a decimal value from 0 to 4095. The voltage range you select is the range on which this resolution applies.

Analog input – mV (1 mV resolution)

The analog input is converted to a readable value with a resolution of 1 mV. If the voltage range is set to  0 – 12V, a measured voltage of 8,54V is returned as 8540.

Digtal input – status (high or low)

The specified input channel checks if the status on the pin is high or low.

Digtal input – frequency (1Hz to 1000 Hz)

A frequency between 1 and 1000 Hz applied on the specific input channel is converted to a value between 1 and 1000 with a resolution of 1Hz.

Digtal input – frequency (500Hz to 10 kHz)

A frequency between 500 and 10000 Hz applied on the specific input channel is converted to a value between 500 and 10000 with a resolution of 1Hz.

Digital Input – duty cycle low time (0.1% resolution)

If a duty cycle signal is applied on the corresponding input pin, the low time percentage is calculated. For example, if the duty cycle signal is 65% (active high) the returned value is 450 (45%). The frequency of the applied signal needs to be between 1Hz and 10kHz.

Digital Input – duty cycle high time (0.1% resolution)

If a duty cycle signal is applied on the corresponding input pin, the high time percentage is calculated. For example, if the duty cycle signal is 65% (active high) the returned value is 650 (65%).The frequency of the applied signal needs to be between 1Hz and 10kHz.

Digital Input – rotation speed (rps)

The module can calculate a rotation speed from for example an axle. Selecting this feature requires the pulses per rotation to be set. Simply fill in the number of pulses for each rotation and the module returns the calculated rotation speed.

Digital Input – pulse counter

For positioning purposes, the module can count the number of pulses. The counter is reset to 0 during start up/ controller reset. The ability  to retain the number of counts during reset or reboot will be released in a future update.

1  The function blocks are designed on top of the available, open source blockset of HAN Automotive Research. More information and downloads can be found on: www.openMBD.com