LTDVE8CH-20 – INSTRUCTION MANUAL 1. Disclaimer Always deploy and store Opto Engineering products in the prescribed conditions in order to ensure proper functioning. Failing to comply with the following conditions may shorten the product lifetime and/or result in malfunctioning, performance degradation or failure.
LTDVE8CH-20 – INSTRUCTION MANUAL used to both optimize illumination intensity and obtain repeatable trigger sequencing between lights and vision cameras. This controller is a compact unit that includes power supply conditioning, intensity control, timing generation and advanced triggering functions. The controller can be set up using a PC with serial RS485 or Ethernet interfaces. Configurations are saved in non-volatile memory so that the controller will resume operation after a power cycle.
LTDVE8CH-20 – INSTRUCTION MANUAL interface and an Ethernet interface (see chapter 6. Mechanical fixing The controller must be mounted on a DIN rail. Allow free flow of air around the unit. The controller has an IP rating of 20 and should be installed so that moisture and dirt cannot enter it.
LTDVE8CH-20 – INSTRUCTION MANUAL SupplyVoltage is the actual supply voltage (from 24 V to 48 V) DutyCycle is the actual duty cycle The duty cycle is given by: DutyCycle [·] = PulseWidth [s] * TriggerFrequency [Hz] If the output is driven in continuous mode, the previous equations are still valid but the parameter DutyCycle becomes one because the output is always active.
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 1: connectors on the controller front panel The connectors are briefly described below. A detailed description follows in the next sections. Connectors P1, P2, P3 and P4 are used to connect the eight illuminators ...
LTDVE8CH-20 – INSTRUCTION MANUAL Power supply is delivered to the controller using the screw terminals of connector P5. Connector pinout, ordered from left to right, is listed in Table 2: pinout of connector P5. Number Name Description Note +V LOG Power supply.
LTDVE8CH-20 – INSTRUCTION MANUAL P2. Connector pinout, ordered from left to right, is listed in Table 4: pinout of connector P2. Be careful not to cross-connect the two lights. Number Name Description Note LD3+ Power channel 3 output. LED anode LD3- Power channel 3 output.
LTDVE8CH-20 – INSTRUCTION MANUAL Please note that LED7- and LED8- are not the same as 0V. 8.4. Input/output synchronization Connector P6 is used for input and output synchronization and for serial RS485 communication. There are eight independent, galvanically isolated, synchronization inputs. These inputs can be connected directly to the system for voltages up to 24V.
Page 14
LTDVE8CH-20 – INSTRUCTION MANUAL TR8+ Input 8. Positive terminal Table 7: pinout of connector P6 for synchronization inputs The schematic of Figure 2: interface circuits for input synchronization depicts the internal input circuits. An internal constant current generator connected in series with each input allows for a broad range of input voltages without any need for a series resistor.
LTDVE8CH-20 – INSTRUCTION MANUAL 8.4.3. Serial RS485 interface The serial interface is available on the D+, D- and GND terminals of connector P6. These signals are listed in Table 11: pinout of serial interface in connector P6. Be careful not to cross-connect the serial interface signals.
LTDVE8CH-20 – INSTRUCTION MANUAL Power and logic supply Light output 0.75 Synchronization inputs 0.25 Synchronization outputs 0.25 Serial RS485 interface 0.25 External temperature sensor 0.25 Table 13: cable wire size and length For improved immunity against external disturbance sources, use a single shielded cable or multiple shielded cables, grounded at the end opposite to the controller, on the synchronization inputs, synchronization outputs, serial RS485 interface and external temperature sensor signals.
LTDVE8CH-20 – INSTRUCTION MANUAL 9.2. Ethernet interface The Ethernet interface allows to configure the controller using the Modbus/TCP slave protocol, the Modbus/UDP slave protocol or the HTTP protocol. For the last option, the controller provides an internal web server accessible by most common web browsers.
LTDVE8CH-20 – INSTRUCTION MANUAL Yellow Pulses when light output 4 is activated Yellow Pulses when light output 5 is activated Yellow Pulses when light output 6 is activated Yellow Pulses when light output 7 is activated Yellow Pulses when light output 8 is activated...
LTDVE8CH-20 – INSTRUCTION MANUAL If the button is sampled as pressed, the user is given a ten seconds interval to start the firmware update procedure (see chapter 14). If the firmware update procedure is not started in then ten seconds interval, the settings are restored to the factory values and the controller resumes normal operation.
LTDVE8CH-20 – INSTRUCTION MANUAL TR8), while the eight light outputs (LD1, LD2, LD3, LD4, LD5, LD6, LD7 and LD8) and the eight synchronization outputs (SH1, SH2, SH3, SH4, SH5, SH6, SH7 and SH8) are drawn at the right. A description of each of the blocks is given in the next sections.
LTDVE8CH-20 – INSTRUCTION MANUAL Each multiplexer can have its output selected from one of the following sources: • No selection • Filtered synchronization input 1 (TR1) • Filtered synchronization input 2 (TR2) • Filtered synchronization input 3 (TR3) • Filtered synchronization input 4 (TR4) •...
Page 25
LTDVE8CH-20 – INSTRUCTION MANUAL The diagram in Figure 7: turn-on and turn-off times within limits shows what happens when both time constraints are satisfied. As visible in the diagram, the output follows the input. TonMAX TonMAX input ToffMIN output Figure 7: turn-on and turn-off times within limits The diagram in Figure 8: protection prevents too long turn-on time shows what happens when the turn-on time is too long.
Page 26
LTDVE8CH-20 – INSTRUCTION MANUAL time) and ToffMIN (minimum turn-off time). All of these time intervals can be programmed and may range from 1 ms to 1023 ms in steps of 1 ms. The turn-on protection can be inhibited on selected outputs if a continuous operation is required by the application.
Page 27
LTDVE8CH-20 – INSTRUCTION MANUAL If required for the application, a safety switch may be included in the circuit to cut off supply to the power stages in order to protect the end user from photo-biological hazard. That switch would be appropriately placed on the machine chassis.
Page 28
LTDVE8CH-20 – INSTRUCTION MANUAL a subset of the Modbus/RTU slave protocol. A second option is to use the Ethernet interface. Supported Ethernet speeds are 10 Mbit/s and 100 Mbit/s with auto negotiation. The Ethernet interface allows to configure the controller using the Modbus/TCP slave protocol, the Modbus/UDP slave protocol or the HTTP protocol.
Page 29
LTDVE8CH-20 – INSTRUCTION MANUAL Write Single Register 0x06 Write Multiple Registers 0x10 Table 16: function codes supported by the controller Any Modbus request containing an unimplemented function code is silently ignored by the controller and no response, of any kind, is given back to the master. These supported function codes can be used to access the controller internal register file, organized as an array of sixteen-bit (two bytes) values.
Page 30
LTDVE8CH-20 – INSTRUCTION MANUAL FPGA_VERSION FPGA firmware version 65535 BOARD_VERSION Board version 65535 OSC_PERIOD Period of the internal oscillator 1000 FILTER_SEL0 Filter setting for input TR1 FILTER_SEL1 Filter setting for input TR2 FILTER_SEL2 Filter setting for input TR3 FILTER_SEL3 Filter setting for input TR4...
Page 31
LTDVE8CH-20 – INSTRUCTION MANUAL GEN_WDT_BASE0 Pulse width time base selector for generator 1 GEN_WDT_CNT0 Pulse width setting for generator 1 1023 GEN_DLY_BASE1 Pulse delay time base selector for generator 2 GEN_DLY_CNT1 Pulse delay setting for generator 2 1023 GEN_WDT_BASE1 Pulse width time base selector for...
Page 32
LTDVE8CH-20 – INSTRUCTION MANUAL 1023 GEN_WDT_BASE5 Pulse width time base selector for generator 6 GEN_WDT_CNT5 Pulse width setting for generator 6 1023 GEN_DLY_BASE6 Pulse delay time base selector for generator 7 GEN_DLY_CNT6 Pulse delay setting for generator 7 1023 GEN_WDT_BASE6...
Page 33
LTDVE8CH-20 – INSTRUCTION MANUAL GEN_DLY_CNT10 Pulse delay setting for generator 11 1023 GEN_WDT_BASE10 Pulse width time base selector for generator 11 GEN_WDT_CNT10 Pulse width setting for generator 11 1023 GEN_DLY_BASE11 Pulse delay time base selector for generator 12 GEN_DLY_CNT11 Pulse delay setting for generator 12...
Page 34
LTDVE8CH-20 – INSTRUCTION MANUAL generator 16 GEN_DLY_CNT15 Pulse delay setting for generator 16 1023 GEN_WDT_BASE15 Pulse width time base selector for generator 16 GEN_WDT_CNT15 Pulse width setting for generator 16 1023 OUTPUT_SEL_HI0 0-511 High order byte of setting for LD1 output...
Page 35
LTDVE8CH-20 – INSTRUCTION MANUAL OUTPUT_SEL_HI8 0-511 High order byte of setting for SH1 output multiplexer OUTPUT_SEL_LO8 Low order byte of setting for SH1 output 65535 multiplexer OUTPUT_SEL_HI9 0-511 High order byte of setting for SH2 output multiplexer OUTPUT_SEL_LO9 Low order byte of setting for SH2 output...
Page 36
LTDVE8CH-20 – INSTRUCTION MANUAL PRT_CNT_ON1 Maximum turn-on time for LD2 1023 PRT_ENA_ON1 Enable limitation of turn-on time for LD2 PRT_CNT_OFF1 Minimum turn-off time for LD2 1023 PRT_ENA_OFF1 Enable limitation of turn-off time for PRT_CNT_ON2 Maximum turn-on time for LD3 1023...
Page 37
LTDVE8CH-20 – INSTRUCTION MANUAL PRT_CNT_OFF6 Minimum turn-off time for LD7 1023 PRT_ENA_OFF6 Enable limitation of turn-off time for PRT_CNT_ON7 Maximum turn-on time for LD8 1023 PRT_ENA_ON7 Enable limitation of turn-on time for LD8 PRT_CNT_OFF7 Minimum turn-off time for LD8 1023...
Page 38
LTDVE8CH-20 – INSTRUCTION MANUAL RS485_LINE_SPEED Speed for serial RS485 interface RS485_LINE_PARITY Parity for serial RS485 interface ETH_MAC_ADDR0 Bytes 0 and 1 of Ethernet MAC address 65535 ETH_MAC_ADDR1 Bytes 2 and 3 of Ethernet MAC address 65535 ETH_MAC_ADDR2 Bytes 4 and 5 of Ethernet MAC address...
Page 39
LTDVE8CH-20 – INSTRUCTION MANUAL ETH_PRI_DNS_LO Low order word of Ethernet primary 65535 DNS address ETH_SEC_DNS_HI High order word of Ethernet secondary 65535 DNS address ETH_SEC_DNS_LO Low order word of Ethernet secondary 65535 DNS address ETH_MODBUS_ADDR 1-247 Modbus address for Ethernet interface...
Page 40
LTDVE8CH-20 – INSTRUCTION MANUAL 20000 MEASURED_CURRENT3 Measured current for light output LD4 20000 MEASURED_CURRENT4 Measured current for light output LD5 20000 MEASURED_CURRENT5 Measured current for light output LD6 20000 MEASURED_CURRENT6 Measured current for light output LD7 20000 MEASURED_CURRENT7 Measured current for light output LD8...
Page 41
LTDVE8CH-20 – INSTRUCTION MANUAL CALIB_CUR_ADD4 Calibration constant for LD5 current 65535 measurement CALIB_CUR_MUL4 Calibration constant for LD5 current 65535 measurement CALIB_CUR_ADD5 Calibration constant for LD6 current 65535 measurement CALIB_CUR_MUL5 Calibration constant for LD6 current 65535 measurement CALIB_CUR_ADD6 Calibration constant for LD7 current...
Page 42
14.2.1. Register DEVICE_TYPE This register contains the device type. This information is encoded as a 16-bit unsigned number. For the standard LTDVE8CH-20 the device type is 0x0008. 14.2.2. Register BOOT_VERSION This register contains the bootloader firmware version for the microcontroller. This information is encoded as a 16-bit unsigned number.
Page 43
LTDVE8CH-20 – INSTRUCTION MANUAL 14.2.5. Register BOARD_VERSION This register contains the board version. This information is encoded as a 16-bit unsigned number. 14.2.6. Register OSC_PERIOD Bits [9:0] of this register contain the period of the internal oscillator. The information is expressed in ms.
Page 44
LTDVE8CH-20 – INSTRUCTION MANUAL INPUT_SEL3: setting of input multiplexer 3 INPUT_SEL4: setting of input multiplexer 4 INPUT_SEL5: setting of input multiplexer 5 INPUT_SEL6: setting of input multiplexer 6 INPUT_SEL7: setting of input multiplexer 7 INPUT_SEL8: setting of input multiplexer 8 ...
Page 45
LTDVE8CH-20 – INSTRUCTION MANUAL GEN_DLY_BASE6: time base selector for generation of pulse delay in generator 7 GEN_DLY_BASE7: time base selector for generation of pulse delay in generator 8 GEN_DLY_BASE8: time base selector for generation of pulse delay in generator 9 ...
Page 46
LTDVE8CH-20 – INSTRUCTION MANUAL GEN_DLY_CNT14: pulse delay setting for generator 15 GEN_DLY_CNT15: pulse delay setting for generator 16 Allowed values are in the range from 0 (default value) to 1023 (maximum value). Avoid operation with non-allowed values. According to the time base selected in register GEN_DLY_BASE[x] and the count set in GEN_DLY_CNT[x], the pulse delay may be calculated using the following formula: Delay[x] [µs] = value(GEN_DLY_BASE[x]) * value(GEN_DLY_CNT[x])
Page 47
LTDVE8CH-20 – INSTRUCTION MANUAL 14.2.12. Registers GEN_WDT_CNT[0:15] Each bit field [9:0] of these sixteen registers holds the actual count for the generation of the pulse width in the relevant pulse generator. GEN_WDT_CNT0: pulse width setting for generator 1 GEN_WDT_CNT1: pulse width setting for generator 2 ...
Page 48
LTDVE8CH-20 – INSTRUCTION MANUAL OUT_SEL_HI3: upper nine bits of output multiplexer 4 selector (light LD4) OUT_SEL_HI4: upper nine bits of output multiplexer 5 selector (light LD5) OUT_SEL_HI5: upper nine bits of output multiplexer 6 selector (light LD6) ...
Page 49
LTDVE8CH-20 – INSTRUCTION MANUAL When 0x0040000 filtered input TR3 is selected When 0x0080000 filtered input TR4 is selected When 0x0100000 filtered input TR5 is selected When 0x0200000 filtered input TR6 is selected When 0x0400000 filtered input TR7 is selected ...
Page 50
LTDVE8CH-20 – INSTRUCTION MANUAL LD3, LD4, LD5, LD6, LD7 and LD8. PRT_CNT_ON0: maximum turn-on time for light output LD1 PRT_CNT_ON1: maximum turn-on time for light output LD2 PRT_CNT_ON2: maximum turn-on time for light output LD3 PRT_CNT_ON3: maximum turn-on time for light output LD4 ...
Page 51
LTDVE8CH-20 – INSTRUCTION MANUAL PRT_CNT_OFF5: minimum turn-off time for light output LD6 PRT_CNT_OFF6: minimum turn-off time for light output LD7 PRT_CNT_OFF7: minimum turn-off time for light output LD8 Allowed values are in the range from 1 (default value) to 1023 (maximum value) and are expressed in ms, so the minimum turn-off time can range from 1 ms to 1023 ms with a resolution of 1 ms.
Page 52
LTDVE8CH-20 – INSTRUCTION MANUAL When 0x2 the mid current range (zero up to 4000 mA) is selected When 0x3 the high current range (zero up to 20000 mA) is selected Bit field [15:2] of this register is unused. When writing these bits, they must be set to zero.
Page 53
LTDVE8CH-20 – INSTRUCTION MANUAL When 0x7 the selected baud rate is 115200 bits per second Bit field [15:3] of this register is unused. When writing these bits, they must be set to zero. The default value is 3, corresponding to 9600 bits per second. The factory settings can be restored...
Page 54
LTDVE8CH-20 – INSTRUCTION MANUAL 14.2.26. Register ETH_DHCP_ENABLE Bit 0 of these registers holds the enable flag for the DHCP. When set to 0 the DHCP is disabled (default value) When set to 1 the DHCP is enabled Bit field [15:1] of this register is unused. When writing these bits, they must be set to zero.
Page 55
LTDVE8CH-20 – INSTRUCTION MANUAL 14.2.33. Register ETH_PRI_DNS_HI This register contains the sixteen high order bits of the primary (preferred) DNS address for Ethernet communication of the controller. These are the bits [31:16]. The primary DNS address is 192.168.0.2. The factory settings can be restored using the INIT button (see...
Page 56
LTDVE8CH-20 – INSTRUCTION MANUAL The factory settings can be restored using the INIT button (see chapter 10 for a description of the INIT button functionalities). 14.2.40. Registers WEB_PASSWORD[0:3] These registers contain the web password of the controller. WEB_PASSWORD0: bytes 0 and 1 of the web password ...
Page 57
LTDVE8CH-20 – INSTRUCTION MANUAL SupplyVoltage [V] = value(SUPPLY_VOLTAGE) * 0.1 The measured value drops to zero if the supply for the power stages is removed. 14.2.44. Registers MEASURED_CURRENT[0:7] The controller is capable of measuring the actual output currents for the eight light outputs.
Page 58
LTDVE8CH-20 – INSTRUCTION MANUAL Bit 0: set if supply for the power stages is missing, reset if supply is present Bit 1: set if excessive temperature on LD1 and LD2 output stages, reset if safe temperature Bit 2: set if excessive temperature on LD3 and LD4 output stages, reset if safe temperature ...
Page 59
LTDVE8CH-20 – INSTRUCTION MANUAL 14.2.48. Registers CALIB_CUR_MUL[0:7] These registers contain calibration constants for measurement of light output currents. CALIB_CUR_MUL0: calibration constant for measurement of light output LD1 current CALIB_CUR_MUL1: calibration constant for measurement of light output LD2 current ...
Page 60
LTDVE8CH-20 – INSTRUCTION MANUAL 14.2.52. Register BOARD_COMMAND This register is used to execute special actions. Allowed values are listed below. Avoid operation with non-listed values. When 0 no action to perform When 1 register file is read from non-volatile memory (current contents will be overridden) ...
Page 61
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 12: the Main web page...
Page 62
LTDVE8CH-20 – INSTRUCTION MANUAL The top part of the main web page contains the navigation menu that is used to access all the other pages necessary to configure and manage the controller. The navigation menu is always visible and accessible at the top of every page.
Page 63
LTDVE8CH-20 – INSTRUCTION MANUAL o Measured current LD5: measured current on light output LD5 o Measured current LD6: measured current on light output LD6 o Measured current LD7: measured current on light output LD7 o Measured current LD8: measured current on light output LD8...
Page 64
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 13: the Setup synch inputs TR1-TR8 web page Each synchronization input has a digital filter that can be set independently. Each of the eight filters can be enabled or disabled. If enabled, it can be set to one of six predefined time constants. The available selections are: ...
Page 65
LTDVE8CH-20 – INSTRUCTION MANUAL 50 µs: the filter is enabled with a 50 µs time constant 100 µs: the filter is enabled with a 100 µs time constant 200 µs: the filter is enabled with a 200 µs time constant ...
Page 66
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 14: the Setup pulse generators GN1-GN4 web page Each pulse generator can be set independently. Each pulse generator is triggered by a selectable source and can have a different pulse delay and pulse width. Source selects the trigger for the generator. It can be chosen between Off (default), Input TR1, Input TR2, Input TR3, Input TR4, Input TR5, Input TR6, Input TR7, Input TR8 and Oscillator.
Page 67
LTDVE8CH-20 – INSTRUCTION MANUAL Pulse width is the time duration of the generated pulse. The pulse width may range from 1 µs to 1,023,000 µs with variable resolution Settings Pulse delay and Pulse width are expressed in μs. 14.3.4. Setup pulse generators GN5-GN8 This page allows to inspect and change all the settings related to the pulse generators from 5 to 8.
Page 68
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 15: the Setup light outputs LD1-LD4 web page Each light output can be set independently. Each light output can have a different activation source, a specific output current and independent maximum turn-on and minimum turn-off parameters.
Page 69
LTDVE8CH-20 – INSTRUCTION MANUAL is disabled. When set to Continuous the light output is always active Current range selects the current range for the light output. It can be chosen between Automatic range selection (default), Low range (from zero up to 200 mA), Mid range (from zero up to 4 A) and High range (from zero up to 20 A) ...
Page 70
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 16: the Setup synch outputs SH1-SH4 web page Each synchronization output can be set independently. Each one can have a different activation source chosen between Off (default), Generator GN1, Generator GN2, Generator GN3, Generator GN4,...
Page 71
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 17: the General setup web page A password can be used to deny the modification of the settings to unauthorized personnel. In case the password is set, it must be entered in the Current password field. If the entered password matches the saved password, the settings can be changed.
Page 72
LTDVE8CH-20 – INSTRUCTION MANUAL functionalities). The fields under Ethernet interface collect all the settings related to the Ethernet interface. It is possible to enable the use of a DHCP server, to change the IP address, the subnet mask, etc. MAC address is the unique MAC address of the Ethernet interface ...
Page 73
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 18: the Advanced setup web page The fields under Change unlock password can be used to set or modify the password employed to protect the settings of the controller from unauthorized modify. Current password is the current password (leave blank if there is not current password) ...
Page 74
LTDVE8CH-20 – INSTRUCTION MANUAL Address is the address of the register to be written (decimal number) Value contains the value that has to be written to the register specified by the address (decimal number) Please refer to chapter 13.2 for a comprehensive list of the Modbus registers available.
Page 75
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 20: dialog used to locate the FPGA Algo firmware file After the FPGA Algo file has been specified, the relative modal dialog is closed. The new modal dialog of Figure 21: dialog used to locate the FPGA Data firmware file will then be displayed, asking...
Page 76
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 21: dialog used to locate the FPGA Data firmware file After the FPGA Data file has been specified, the relative modal dialog is closed. The couple of FPGA firmware files will then be loaded from the PC disk to the PC RAM. The text box at the bottom of the main window will then be updated with some information regarding the loading process (see image in Figure 22: main window after the FPGA firmware files have been loaded).
Page 77
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 22: main window after the FPGA firmware files have been loaded To update the MCU firmware it is necessary to specify a single file, named the MCU file. After pressing the Load MCU file button the modal dialog of Figure 23: dialog used to locate the MCU...
Page 78
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 23: dialog used to locate the MCU firmware file After the MCU file has been specified, the relative modal dialog is closed. The single MCU firmware file will then be loaded from the PC disk to the PC RAM. The text box at the bottom of the main window will then be updated with some information regarding the loading process (see image in Figure 24: main window after the MCU firmware file has been loaded).
Page 79
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 24: main window after the MCU firmware file has been loaded The firmware update sequence is then started by pressing the Update button. The PC application connects to the controller and starts the data transfer and programming. The progress bar in the middle of the main window keeps updating to show the advancement of the process.
Page 80
LTDVE8CH-20 – INSTRUCTION MANUAL sequence). Figure 26: FPGA Data firmware update sequence Last, the FPGA Algo firmware is transferred (see image in Figure 27: FPGA Algo firmware update sequence). Figure 27: FPGA Algo firmware update sequence The FPGA is programmed just after both the FPGA Data and the FPGA Algo files have been...
Page 81
LTDVE8CH-20 – INSTRUCTION MANUAL Figure 28: main window after FPGA programming The information in Figure 29: main window after successful firmware update is displayed when the update process is successfully finished. Figure 29: main window after successful firmware update The whole update process takes about two minutes to complete.
Need help?
Do you have a question about the LTDVE8CH-20 and is the answer not in the manual?
Questions and answers