Meilhaus Electronic ME-5810 Series Manual

Opto-isolated digital-i/o board with bit-pattern detection, 3 x 16-bit counters (8254) (alternatively: frequency measurement and pulse generator)

Advertisement

Quick Links

Meilhaus Electronic Manual
ME-5810 Series
Opto-Isolated Digital-I/O Board
with Bit-Pattern Detection, 3 x 16-bit Counters (8254)
(alternatively: Frequency Measurement and Pulse Generator)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ME-5810 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Meilhaus Electronic ME-5810 Series

  • Page 1 Meilhaus Electronic Manual ME-5810 Series Opto-Isolated Digital-I/O Board with Bit-Pattern Detection, 3 x 16-bit Counters (8254) (alternatively: Frequency Measurement and Pulse Generator)
  • Page 2 Electronic assumes no responsibility for its use, any infringements of patents or other rights of third parties which may result from use of this manual or the product. Meilhaus Electronic assumes no responsibility for any problems or damage which may result from errors or omissions.
  • Page 3: Table Of Contents

    Content Introduction ............5 Important Notes ............... 5 1.1.1 Use in Accordance with the Requirements ....... 5 1.1.2 Improper Application ............6 1.1.3 Unforeseeable Misapplications ........6 Package Contents ............. 6 Features ................7 System Requirements ............. 10 Software Support ............10 Initial Operation ...........
  • Page 4 External Interrupt ............25 Programming ............26 Single Operation Mode ............. 28 4.1.1 Digital Input/Output ............. 29 4.1.2 Frequency Input/Output ..........29 4.1.2.1 Frequency Measurement ........31 4.1.2.2 Pulse Generator ..........31 4.1.3 Counters (8254) ............32 4.1.3.1 Standard Operation Modes ......... 32 4.1.3.2 Pulse Width Modulation ........
  • Page 5: Introduction

    Introduction Valued customer, Thank you for purchasing this device from Meilhaus Electronic. You have chosen an innovative high-technology product that left our premises in a fully functional and new condition. Please take the time to carefully examine the contents of the pack- age for any loss or damage that may have occurred during shipping.
  • Page 6: Improper Application

     As a basic principle, all connections to the board should only be made or removed in a powered-down state of all components.  Ensure that no static discharge occurs while handling the board or while connecting/disconnecting the external cable. ...
  • Page 7: Features

    Features The ME-5810 series PC boards are opto-isolated digital-I/O boards with bit-pattern detection and counters for PCI-Express- and Com- pactPCI-systems. In this user manual “ME-5810” is used for all versions of the cards, whereas “ME-5810A” or “ME-5810B” is used to describe special features of these versions.
  • Page 8 with a current limiting per channel. If required, the output driver can send an interrupt on overload to the PC. A suitable external source is required to supply the output driv- ers.  Frequency measurement: With the concept of “configurable subdevices”...
  • Page 9  Interrupt: Used for interrupt processing in bit-pattern change and bit-pattern compare mode (see chapter 4.3 on page 35). Custom specific firmware versions are available on request. Model ME-5810 A ME-5001 ME-5002 ME-5004 PC-Interface cPCI/PCIe – – – Board type base board plug-on board plug-on...
  • Page 10: System Requirements

    (32 bit, 33 MHz, 5 V). The board is supported by the Meilhaus Electronic Intelligent Driver System (ME-iDS). Software Support The ME-series is supported by the Meilhaus Electronic Intelligent Driver System (ME-iDS). The ME-iDS is a unique driver system cov- ering different devices and operating systems. It supports Win- dows 2000/XP/Vista and Windows 7, 8.1, 10 and contains a uni-...
  • Page 11: Initial Operation

    First choose a di- rectory on your computer (e.g. C:\Temp\Meilhaus\ME-iDS). Use the Meilhaus Electronic Intelligent Driver System (ME-iDS) for programming your new data acquisition hardware. For installation and operation of the driver system, please follow the documenta- tion in electronic form included with the software package.
  • Page 12 1. If the base board is installed, you must first remove it in or- der to be able to insert the plug-on board. Here you should observe the procedure as described in the manual for your PC system. 2. Make sure that electrostatic discharges cannot take place through the plug-on board or the base board as you plug it in.
  • Page 13: Power Supply For Pci-Express Models

    Power Supply for PCI-Express Models Because of the PCI-Express slot drive’s insufficient current for op- erating the board, an additional supply is required via the PC power supply. For that purpose connect a free “MOLEX” connector of the PC (as used for power supply of drives) with the appropriate termi- nal of the board (see the following diagram).
  • Page 14: Hardware

    Hardware Block Picture *Note: “FIFO IN” and “FIFO OUT” for streaming mode are only avail- able on “S”-versions. Pinout picture of the 78-pin D-sub female connector in the appen- dix (see “Pinout”page 46). In the following chapters you will learn more about the external wir- ing of the functional sections.
  • Page 15: Me-5810 Cpci

    ME-5810 cPCI ME-5810 PCIe...
  • Page 16: Digital Input/Output

    The isolation voltage to PC-ground is 1000 VAC The ME-5810 series base board has 16 opto-isolated inputs (port A) and 16 opto-isolated outputs (port B). In combination with the plug-on board ME-5002, 16 further opto-isolated inputs (port C) and 16 opto-isolated outputs (port D) can be added.
  • Page 17: Opto-Isolated Inputs

    configuration of your PC – a total data throughput of up to 30 MS/s is realistic (see also table 6). The programming of the various operating modes is described in chapter 4.1 from page 28. 3.5.1 Opto-Isolated Inputs The ME-5810 has 16 opto-isolated inputs (port A). In combination with a plug-on board ME-5002, 16 further opto-isolated inputs (port C) can be added.
  • Page 18: Opto-Isolated Outputs

    3.5.2 Opto-Isolated Outputs The ME-5810 has 16 opto-isolated outputs (port B). In combina- tion with a plug-on board ME-5002, further 16 opto-isolated out- puts (port D) can be added. The ME-5810 and ME-5002 output ports are equipped with special driver chips that allow a selection of sink and source via software. Depending on the application, the user can switch between low-ac- tive outputs (sink driver = standard setting) and high-active out- puts (source driver) via software.
  • Page 19 To supply the sink output drivers, an external power supply has to be connected to VCC_EXT (Pin 10, 20) with sufficient power (de- pending on the application). At full load this means min. 0.8 A for the ME-5810A and min. 1.6 A for the ME-5810B.
  • Page 20: Source Driver

    3.5.2.2 Source Driver Each input port is equipped with two source driver chips of type ISO1H811G; detailed specifications see page 38. The source output drivers are short-circuit-proof and are equipped with a current limiting per channel. The combination of current lim- iting, thermal shutdown, and automatic restart protects the cir- cuitry against overload.
  • Page 21: External Trigger

    To supply the source output drivers, an external power source has to be connected to VCC_EXT (pin 10, 20), with sufficient power (depending on the application). At full load this means minimum 6 A for the ME-5810A/B. The output voltage U can be calculated Out,H like this:...
  • Page 22: Counters

     Frequency measurement (FI = “Frequency Input”): 4 independent inputs for measurement of frequency and duty cycle of periodic rectangular signals (max. 300 kHz). 4 further channels can be added using the plug-on board ME-5002.  Pulse generator (FO = “Frequency Output”): 4 independent outputs for a periodic rectangular signal up to 3 kHz with a selectable duty cycle.
  • Page 23: Wiring Of The Counters

    has to be in the range of 24…30 V. The counter outputs are equipped with pull-up resistors (R = 4.7 kΩ ). For programming the timers see chapter 4.1 on page 28. 3.7.1 Wiring of the Counters Notes:  Output OUT_2 is designed as an “Open Collector” output, i.e. as soon as the output is conducting (logic “1”), the load R connected to ground (GND_EXT).
  • Page 24: Pulse Width Modulation

    3.7.2 Pulse Width Modulation Pulse width modulation (PWM) is a special application of the coun- ters. With a suitable external wiring a signal with variable duty cy- cle can be generated with the help of counters 0…2. The duty cy- cle can be varied in the range of 1…99 % in steps of 1.
  • Page 25: External Interrupt

    External Interrupt If required, you can also monitor the bit-pattern of a digital input port. You can select one of the modes “bit-pattern change” and “bit-pattern compare”. As soon as the specified event occurs, an interrupt is issued and passed directly to the PC. The digital inputs/outputs are programmed in the single operating mode.
  • Page 26: Programming

    Control Center“ in the info area of the task bar (as a rule in the lower right corner of the screen) or via the Windows start menu. The ME-5810 series base boards are devices with five subdevices, beginning with index “0”. When using plug-on boards (e.g. ME- 5002) these appear as individual devices and subdevices, beginning with the index “0”.
  • Page 27 Base boards ME-5810A(/S) Subdevice of Type …Subtype I/Os ID of the Configuration Subdevice 0 (DI, FI) Digital input (DI) single 16-bit port (ME-5810A) Digital input (DI) streaming 16-bit port (ME-5810A/S) Frequency input (FI) single 4 channels Subdevice 1 (DO, FO) Digital output (DI) single 16-bit port...
  • Page 28: Single Operation Mode

     Single: In this mode single values can be read or written.  Streaming (only for the versions “S”): In this mode data-I/O is done via FIFO. The timing can either be controlled by a timer and/or external trigger signals. Various trigger options are available which can be defined as start and stop conditions, see chapter 4.2.1 on page 33.
  • Page 29: Digital Input/Output

    4.1.1 Digital Input/Output ME-5810 ME-5001 ME-5002 ME-5004 ✔ ✔ ✔ ✔ For input/output of individual digital values the single operation mode is used. The subdevices are defined as follows: subdevice 0 of the ME-5810 always is of type ME_TYPE_DI and subdevice 1 of type ME_TYPE_DO.
  • Page 30 the ME-iDC configuration tool in order to specify the configuration for the corresponding subdevice (see also Table 4 on page 27). The programming of the frequency measurement and the pulse generator is always done in the single operation mode. The subtype of the subdevices is always ME_SUBTYPE_SINGLE.
  • Page 31: Frequency Measurement

    The time reference is provided by a 66 MHz counter. It is config- ured using the function. A period of 15.15 ns fol- lows from this, and is defined as the smallest unit of time. It is re- ferred to below as "1 tick". The resolution for T and t is therefore 1 tick (see also the specifications on page 38).
  • Page 32: Counters (8254)

    The first phase of the rectangular signal is "high" by default. By set- ting the ME_IO_SINGLE_TYPE_FO_START_LOW flag it is also possi- ble to start the output with a "low" level. In combination with the plug-on board ME-5002, 4 additional pulse generators (FO_D0…3) are available, addressed as one subdevice.
  • Page 33: Pulse Width Modulation

    4.1.3.2 Pulse Width Modulation With the wiring shown in picture 14 on page 24 you can simplify programming considerably using the functions for this operation mode (see also ME-iDS manual and ME-iDS help file). Streaming Operation Mode 4.2.1 Digital Input/Output ME-5810 ME-5001 ME-5002...
  • Page 34: External Trigger

    This option is used for repetitive output of the very same data buffer on port B. Note: When no more than 8192 values are to be output for an in- definitely long period, this is done on firmware level of the ME-5810 without loading the host computer.
  • Page 35: Interrupt Operation

    ✔ ✔ ✔ On the board of the ME-5810 series you can monitor the bit-pat- tern of the 16-bit-wide input ports of subdevice 0 of the base- board ME-5810 (DI_A0..15) as well as subdevice 0 of the plug-on board ME-5002 (DI_C0..15). Depending on the application you can select one of the operating modes “bit-pattern compare”...
  • Page 36: Bit-Pattern Change

    Programming the digital input/output is carried out in the operation mode single. The subdevice must have the type ME_TYPE_DI. The interrupt processing is controlled with the functions … Please observe the ME-iDS manual and the ME-iDS help file (*.chm) for the procedure. You can open both of these documents through the “ME-iDS Control Center”...
  • Page 37: Bit-Pattern Compare

    Example (see picture 21): By writing the value 0x00800004 Hex as a mask value (see param- eter <iIrqArg> of the function , bit 2 is monitored for a falling edge, and bit 7 for a rising edge. A rising edge now is to arrive at bit 7, so that an interrupt is issued and in the inter- rupt status value bit b 23 returns "1".
  • Page 38: Appendix

    Appendix Specification (Ambient temperature 25 °C) PC Interface 32 bit, 33 MHz, 3.3 V, PCI-Express x1 specification PCI-Express Bus version 2.0 CompactPCI Bus 32 bit, 33 MHz, 5 V, specification PICMG 2.0 R3.0 Plug&Play is fully supported Digital Input/Output (general) Measured Condition/Explanation Value...
  • Page 39 Transfer rate in between ME-5810 and max. 25 MHz (cPCI) resp. streaming mode 30 MHz (PCIe) (system-dependent) Frequency input symmetrical rectangular max. 300 kHz signal signal Frequency output symmetrical rectangular max. 3 kHz signal signal option „wraparound“ max. 3 kHz, without load for the Host PCs Timer (CHAN-time) input...
  • Page 40 Opto-Isolated Outputs Conditions: T =25 °C Output-drivers sink 2 x ULN2803 (ME-5810A) + 2 x ULN2803 (ME-5002) source 2 x ISO1H811G (ME-5810A) + 2 x ISO1H811G (ME-5002) External supply 15…30 V Lmax For further specifications see chapter sink driver resp. source driver Sink Driver (UDN2803) Measured...
  • Page 41 Source Driver (ISO1H811G) (short-circuit proof with current limiting and temperature monitoring) Voltage supply Conditions: U =15…30 V, TJ=-25…+125 °C Measured Test Criterion MIN Type MAX Unit Quantity =24 V; 1 channel 23.8 with I =0,625 A /channel 1 channel 16 channel 32 channel (with ME- 5002) (undervoltage...
  • Page 42 Switching Times Measured Test Criterion MIN Type MAX Unit Quantity (switch-on RL=47 Ω, to 90 % U μs time) (switch-off RL=47 Ω, to 10 % U μs time) (slope on RL=47 Ω, up 10…30 % V/ μs (on) switch-on) =15 V (slope RL=47 Ω, up 70…40 % V/ μs...
  • Page 43 ME-5002 (FI_C0…3) 4 inputs (opto-isolated) Input-level see digital I/O Input-current see digital I/O Period (T) . =T 3.3 μs (300 kHz) min.asym.= min.sym 16.25 s (0.06 Hz) max.asym 32.5 s (0.03 Hz) max.sym Duty-cycle variable, depending on T measurable in steps of 1 tick Resolution 1 tick...
  • Page 44 …with Opto-Isolation Measured Condition/Explanation Value Quantity/Criterion Reference ground isolated from PC GND_EXT ground External supply for 24…30 V opto-couplers Level for Counter Outputs (OUT_x) Type “Open Collector” Lmax max. 30 mA Level for Counter Inputs CLK_x, Gate_x) Logic level inverted by opto- low-active couplers 7.5 mA ≤...
  • Page 45 Connections 78-pin D-sub female socket I/Os der ME-5002 via ST1 of base board Operating 0 °C…70 °C temperature Storage -40 °C…100 °C temperature Air humidity 20 %…55 % (non-condensing) Certification...
  • Page 46: B Pinout

    Pinout Note: „ME-5810“ represents all models of the ME-5810 series. Legend for pinouts: Name Function DI_A0..15 digital inputs of ME-5810 (subdevice 0) DO_B0..15 digital outputs of ME-5810 (subdevice 1) DI_C0..15* digital inputs of ME-5002 (subdevice 0) DO_D0..15*- digital inputs of ME-5002 (subdevice 1) CLK_0..2...
  • Page 47: B1 78-Pin D-Sub (St1) - Me-5810

    78-pin D-Sub (ST1) — ME-5810 *These pins can only be used as frequency measurement inputs (FI_x) resp. pulse generator outputs (FO_x) after appropriate con- figuration of the corresponding subdevice with the ME-iDC. The re- maining pins of the digital ports cannot be used for digital-I/O.
  • Page 48: C Accessories

    Accessories We recommend to use high-quality connector cables with single- shielded lines per channel. For further accessories please refer to the current Meilhaus Elec- tronic catalog and the internet: www.meilhaus.de/en/pc-boards/accessories/...
  • Page 49: D Technical Questions

    Download-Server and Driver Update: To download current driver versions for Meilhaus Electronic devices as well as manuals in PDF format, please go to: www.meilhaus.org/driver Service Department with RMA Process: In case you need to return a board for repair purposes, we strongly ask you attach a detailed description of the error as well as infor- mation regarding your computer/system and the software used.
  • Page 50: Index

    Index Index Initial Operation Interrupt Interrupt Operation Accessories Introduction Appendix ME-5002 Bit-Pattern Compare ME-5810 cPCI Block Picture ME-5810 PCIe Model overview Counters Opto-Isolated Inputs Digital Input/Output 18, 31 Package Contents Pinout Power Supply Programming External Interrupt External Trigger Single Sink driver Features Software Installation Fitting the Plug-on Boards...

Table of Contents