EKE-Electronics EKE-Trainnet MVB2791B Technical Manual

Mvb esd interface module

Advertisement

Quick Links

®
EKE-Trainnet
MVB2791B MVB ESD Interface Module
Technical Manual
EKE-Electronics Ltd
Piispanportti 7
02240 Espoo, Finland

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EKE-Trainnet MVB2791B and is the answer not in the manual?

Questions and answers

Summary of Contents for EKE-Electronics EKE-Trainnet MVB2791B

  • Page 1 ® EKE-Trainnet MVB2791B MVB ESD Interface Module Technical Manual EKE-Electronics Ltd Piispanportti 7 02240 Espoo, Finland...
  • Page 2: Table Of Contents

     | Contents | ii Contents 1 Multifunction Vehicle Bus Electrical Short Distance Module MVB2791B.....4 1.1 Warning symbols used in EKE manuals........................4 1.2 Safety considerations..............................4 1.3 Correct handling of the module............................ 5 1.4 Ambient conditions for storage............................ 5 2 About this document....................6 3 Module features and operation................7 3.1 Module identification...............................
  • Page 3  | Contents | iii 8 Console from the Master CPU................46 9 Signalling.......................47 9.1 Diagnostics from LEDs..............................47 9.2 Connecting the oscilloscope............................48 9.3 Example waveforms..............................48 9.3.1 No transmission errors..........................49 9.3.2 Low signal level.............................. 49 9.3.3 Missing half of a differential signal......................50 9.3.4 Missing signal..............................51 9.3.5 Missing or incorrect termination........................51 10 Technical specifications..................54 10.1 Dimensions...................................
  • Page 4: Multifunction Vehicle Bus Electrical Short Distance Module Mvb2791B

     | 1 Multifunction Vehicle Bus Electrical Short Distance Module MVB2791B | 4 1 Multifunction Vehicle Bus Electrical Short Distance Module MVB2791B Technical manual for Multifunction Vehicle Bus Electrical Short Distance Module MVB2791B. 1.1 Warning symbols used in EKE manuals In EKE manuals, situations that require caution are marked with special warning symbols. The warning symbols appear in the beginning of the appropriate chapter or paragraph.
  • Page 5: Correct Handling Of The Module

     | 1 Multifunction Vehicle Bus Electrical Short Distance Module MVB2791B | 5 CAUTION: In a warm environment, some components may become very hot. This does not harm the module, but it could harm you. Touching hot components may cause burning of skin. Carefully hold the module by the front panel or sides, and DO NOT TOUCH ANY COMPONENTS.
  • Page 6: About This Document

    • Document version: • Publishing date: 27.05.2019 • Publisher: EKE-Electronics Ltd Piispanportti 7, 02240 Espoo, Finland Tel: +358 9 6130 30 We reserve the right to update or modify this document at any time without prior notice. Table 3: Change History...
  • Page 7: Module Features And Operation

    The Board ID next to the board test label indicates an ID for the circuit board. The Module ID, located just below the front connector, indicates an ID for the entire module. Manufacturer's name The manufacturer's name is EKE-Electronics Ltd. MVB2791B Technical Manual 1.0...
  • Page 8: Functional Block Diagram

     | 3 Module features and operation | 8 3.2 Functional block diagram The figure below presents a general functionality diagram of the MVB module. Figure 2: Functionality diagram of the MVB module The module has a fully IEC 61375-3-1 compliant redundant Multifunction Vehicle Bus interface with Electrical Short Distance Media (ESD) with galvanic isolation.
  • Page 9: Installation

     | 4 Installation | 9 4 Installation This chapter includes instructions on how to install the module into a rack. The items below have been allowed for in product design. If the product has some equipment integration constraints, these constraints are separately pointed out in documentation. •...
  • Page 10: Installation Procedure

     | 4 Installation | 10 CAUTION: The module and rack can contain sharp edges. Use protective clothing, such as gloves. Do not drop the module. CAUTION: If your module contains M12 X-coded connectors, pay special attention when plugging them. This connector type is easily broken due to bent pins. The type test setup has shown that plugging M12 X-coded connectors with force, or turning/twisting the connector to find the correct orientation, will cause problems, which are directly or indirectly identified later.
  • Page 11: Cable Recommendations

     | 4 Installation | 11 CAUTION: Do not use force. If the module does not fit in the rack easily, take it out of the rack and inspect it for any visible signs of damage. As each module is intended to fit in a specific rack, it is possible that the rack does not match the individual module you have.
  • Page 12: Termination

    The terminator shall bias the line so that the potential of the Data_P wire is lower by at least 750 mV ± 10 % with respect to the Data_N wire when no transmitter is active. Standard terminators are available from EKE-Electronics: • MVT2754A, MVB-S1 Terminator, ESD Female •...
  • Page 13  | 4 Installation | 13 Note: Disconnect power from the rack, before connecting the download cable. The 16-pin flat ribbon cable connector is connected to the module's download connector, which is marked X4 (DLOAD) on the PCB. The USBFloader adapter box is connected to the other end. Proceed as follows: 1.
  • Page 14: Configuration

     | 5 Configuration | 14 5 Configuration This chapter describes how to configure the module. 5.1 References • /15449/ • 15449.doc • ISaGRAF MVB I/O Card • /16819/ • 16819.doc • MVB – C Application Interface • /22800/ • 22800.doc • MVB – ISaGRAF Application Interface 5.2 CPU File System (tms-base) All necessary Linux software and parameter files, as well as application software and its configuration, are stored in the...
  • Page 15: Configuring Mvb Related Cpu Files

    Further configuring of the MVB bus process and message data definitions are done in the ISaGRAF application, using the Target Definition Builder. See below for example file templates: startup # EKE-Electronics ltd 2016 # Created: # Modified: [NETWORK] DEVICE eth0 ADDRESS 10.0.0.11...
  • Page 16 SOURCE SOURCE 128h SOURCE 512h tcn.dat # EKE-Electronics ltd 2016 # Created: # Modified: # This station identification. NAME,Station number THIS STATION GW_STATION 10h #Busses defined for the TCN kernel. Possible types are WTB,MVB and INTERNAL #Notice. If there is more than one module for same bus type. Definitions are #based on rack configuration.
  • Page 17: Installing The File System

     | 5 Configuration | 17 FUNCTION FBh CPU_STATION # ROUTER FUNCTION THIS HAS TO BE DEFINED FOR THE GATEWAY INITIALISING WTB FUNCTION FDh CPU_STATION # TCN Agent function FUNCTION FEh CPU_STATION # TCN manager function #Groups defined for this node. GROUP COACH 1 GROUP COACH 2 GROUP ALL_UNITS 10 5.2.2 Installing the file system...
  • Page 18: Isagraf Project

     | 6 ISaGRAF Project | 18 6 ISaGRAF Project This chapter describes the ISaGRAF project. 6.1 Data types The ISaGRAF project data types are: MVB_device_status This structure contains a definition of the device status information, obtained as a response to the F-code 15 frame. The frame structure definition is found from IEC 61375-1, paragraph 3.6.4.1.2.1.
  • Page 19: C Functions And Function Blocks

     | 6 ISaGRAF Project | 19 Name Type Comment ChStatusA BOOL Channel status • FALSE — Communication failed • TRUE — Communication OK ChStatusB BOOL Channel status • FALSE — Communication failed • TRUE — Communication OK LinesBroken BOOL Indicates disconnect cables or a missing terminator •...
  • Page 20  | 6 ISaGRAF Project | 20 InitialiseMVB Configures the MVB module and enables it to the line. Usually, this function is called once at a start up phase of the ISaGRAF application. If the configuration of the module is large, the function call can take even one second. For this reason, call this function during the first cycle, before watchdog kick call.
  • Page 21  | 6 ISaGRAF Project | 21 SetRedundancyMVB This function changes the MVB line redundancy. Usually, this function is not needed, as the MVB configuration file contains the redundancy definition. Table 15: Function SetRedundancyMVB Name Direction Type Comment Index Input SINT The MVB card index, to which message is sent. 1.
  • Page 22: I/O Devices

     | 6 ISaGRAF Project | 22 mvb_set_train_structure This function must be called to create a Node Address Directory (NADI) in an MVB train. Table 18: Function mvb_set_train_structure Name Direction Type Comment OwnNodeIndex Input USINT Own node index. The node number in the local CPU, where this command is given.
  • Page 23  | 6 ISaGRAF Project | 23 Table 21: IO Card MVB input (static) Name Type Comment CARD String The MVB card containing the defined port: • MVB1 — Leftmost • MVB2 — Second Port_Id Word Hexa Process data port-number to be connected. HB_Offset Word If port data contains a heartbeat counter, its offset value.
  • Page 24  | 6 ISaGRAF Project | 24 copied to the MVB data structure. The default values are defined in copying rule entries (Offset;Length;Deffault value). The OEM parameters are listed in the table below: Table 23: IO Card MVB Input (dynamic) Name Type Comment CARD String Static definition: MVB_DYNAMIC...
  • Page 25  | 6 ISaGRAF Project | 25 Table 25: IO Card MVB Output (logical) Name Type Comment CARD String The MVB card identification: MVBX_GROUPS=Y, where X defines the card in rack. MVB1 is the leftmost MVB card in rack. Literal _GROUPS=Y defines that the card is a logical group card, where Y defines the groups to which the card belongs.
  • Page 26: Initialising The Mvb Interface

     | 6 ISaGRAF Project | 26 6.4 Initialising the MVB interface This section shows an example of how to create an ISaGRAF PLC (Programmable Logic Controller), to initialise the MVB interface. Proceed as follows: 1. Open the ISaGRAF Link Architecture view. 2. On the right-hand side panel, select Programs > Add Program > FBD: Function Block Diagram. The screen below is opened: Figure 9: ISaGRAF Link Architecture view 3.
  • Page 27  | 6 ISaGRAF Project | 27 Figure 11: POU logic 6. Save and build the POU. MVB2791B Technical Manual 1.0...
  • Page 28: Serial Console

     | 7 Serial console | 28 7 Serial console Attach the serial console to get access to the command line interface. 7.1 Establishing a serial console connection This section describes how to establish a serial console connection to the module. Proceed as follows: 1.
  • Page 29: Debug Commands

     | 7 Serial console | 29 7.2 Debug commands 7.2.1 Introduction In the following instructions, the possible parameters are separated by the pipe character (a vertical line). If parameters are enclosed in square brackets, you can give the command without a parameter. For example, the dm command can be used in three different modes: dm, dm.h or dm.l, which is marked as follows in the syntax: dm[.h|.l] If you do not enter any parameter after the command, the system uses the default value for the applicable commands.
  • Page 30: Module Debug Commands

     | 7 Serial console | 30 7.2.2 Module debug commands Note: The commands marked with alter the functionality of the bus or the module itself. Consider the operative situation carefully, before using this command on board a train. 7.2.2.1 help Command help Description Shows a brief list of the available shell commands.
  • Page 31  | 7 Serial console | 31 7.2.2.5 pm Command Description Patch memory. pm[.h|.w] <address> <value> Writes the value in the selected width, to the selected memory address. 7.2.2.6 volts Command volts Description Shows the module internal voltages and currents. Example output: VNET_CURRENT 4 mA VCC_CURRENT 396 mA VTT09...
  • Page 32  | 7 Serial console | 32 7.2.2.9 diic Command diic Description Dump an device register. diic <address> <register> [count] Example output: diic 4c 0 5 Reading I2C: Addr: 4Ch, Reg 00h: 20 2A 1E 1F FF 7.2.2.10 piic Command piic Description Patch an I2C device register. piic <address>...
  • Page 33  | 7 Serial console | 33 7.2.2.13 memtest Command memtest Description Fill and verify the memory with a pattern. memtest[.h|.w] <start_address> <size> [opt] Where opt is • 0 — write and verify once (default) • 1 — just verify once • 2 — just verify, repeat forever •...
  • Page 34: Mvb Debug Commands

     | 7 Serial console | 34 7.2.2.17 store Command store Description Stores environment variables to EEPROM. Use set and unset to manage variables. 7.2.2.18 fpgaid Command fpgaid Description Shows the module FPGA version string. 7.2.2.19 ver Command Description Shows the module version details. 7.2.2.20 sernum Command sernum...
  • Page 35  | 7 Serial console | 35 Use this command to modify a logical port, specified by a handle. You can change all of the preconfigured parameters: type (source/sink), logical address, size and basic period. Source is identified with the letter 'o' and sink with the letter 'i'.
  • Page 36  | 7 Serial console | 36 7.2.3.3 ctrl Command ctrl Description Execute ls_v_Control. ctrl <dev_addr> <t_ignore> <command> Where: • dev_addr — Device address. • t_ignore — Not used. Always give 0 here. • command — Command byte. With this command, you can change the device address, or execute a control command. When t_ignore, the time between a master and slave frame before RTI (reply timeout interrupt) occurs, is fixed to 42.7 µs, and cannot be changed.
  • Page 37  | 7 Serial console | 37 Table 28: get_stat command output information in detail MVB Internal Internal MVB One of the following: state • none (not configured) • idle (slave) • periodic_phase (master state) • sporadic_phase (master state) Internal MVB sub- Sub-states for the sporadic phase. One of the following: state •...
  • Page 38  | 7 Serial console | 38 correct frames The number of received correct slave frames. erroneous frames The number of erroneous frames. If the MVB is configured as slave, the reply timeouts are subtracted from the value, as RTIs are not errors from the slave’s perspective. of which reply The number of reply timeouts.
  • Page 39  | 7 Serial console | 39 correct frames 427776 erroneous frames of which reply touts DC/DC-conv. errors status lines redundant, A=1, B=1, active line A MVB_Devices address status ----------------------------- 0100 5780 BA 0200 1400 # get_stat MVB Internal Internal MVB state: idle Internal MVB sub-state: none BA state: none Event poll state:...
  • Page 40  | 7 Serial console | 40 Example output: get_ints MVBC FPGA active interrupts: DTI_4 (EFS) DTI_5 (MSRC) DTI_6 (MSNK) 12709 6354 AMFX 6357 7.2.3.6 lop Command Description Shows configuration information. Example output: Basic_Period: 1000 us Macro_Cycle: 1024 ms Macro_Cycles_Per_Turn: Event_Poll_Strategy: HIGH and LOW Own_Event_Type: HIGH Process_Data Ports:...
  • Page 41  | 7 Serial console | 41 7.2.3.7 monitor Command monitor Description Configure the MVB Module in monitoring mode. The monitoring mode is meant to be used together with the port_stats command. 7.2.3.8 mpl Command Description Make a port list. Creates a Class 1 type Configuration. mpl <addr:hex>...
  • Page 42  | 7 Serial console | 42 7.2.3.9 mpl.r Command mpl.r Description Make a reverse port list. Creates a Class 1 type Configuration with reverse port order. Same as the mpl command, but the source ports will be in low order addresses. Example output: mpl.r 100 4 2 Creates a configuration with device address 0x100, 4 sink and 4 source ports, 2 ports per basic period.
  • Page 43  | 7 Serial console | 43 Example output: msgs 2 0 20 Send two test messages, point-to-point, to device 0x20. The received messages can be read with the msgr command. If the device address is the device's own address: msgr Received message: 1020 6854 7369 6920 2073 6574 7473 6D20 7365 6173 … Received message: 1020 6854 7369 6920 2073 6574 7473 6D20 7365 6173 …...
  • Page 44  | 7 Serial console | 44 4404 0000 00000 00000 00000 00000 00000 00000 00000 00240 00000 00000 8 4404 0000 00000 00000 00000 00000 00000 00000 00000 00241 00000 00000 8 0404 0000 00000 00000 00000 00000 00000 00000 00000 00242 00000 00000 8 0101 0000 00000 00000 00000 00000 00970 00000 00970 00000 00970 00000 2...
  • Page 45  | 7 Serial console | 45 7.2.3.14 rp Command Description Read the logical port contents (process data). rp <port_address> Where: • port_address — Address of port in hex (mandatory). 7.2.3.15 sp Command Description Set the logical port content (process data). sp <port_address> <word0> [word1 word2 … …] Where: •...
  • Page 46: Console From The Master Cpu

     | 8 Console from the Master CPU | 46 8 Console from the Master CPU Command shell <module> [command] is available on the Master CPU. You can use this command to start a console session over the backplane bus. The module is a mandatory argument. It can be, for example MVB1 for the left-most MVB module in the system. To run a single command, you can give the command directly as argument.
  • Page 47: Signalling

     | 9 Signalling | 47 9 Signalling This chapter concentrates on some typical problems on the module bus signals. For taking the measurements, you need a module bus cable breakout-connector and a two-channel oscilloscope with Math capability, or a differential probe. Typically, signalling errors are indicated by the L1 or L2 yellow leds on the module. 9.1 Diagnostics from LEDs You can see the status of the MVB module from the LEDs in the front panel.
  • Page 48: Connecting The Oscilloscope

     | 9 Signalling | 48 Table 30: Some problems that can be detected from the leds LED behaviour Possible cause What to do Green ST: Off Backplane SYSRESET~ signal is Check the other module leds in the rack, if they are stuck active, or supply voltage to the the same, try to remove modules one by one from Red SE: On module is too low.
  • Page 49: No Transmission Errors

     | 9 Signalling | 49 9.3.1 No transmission errors The following figure shows a normal waveform that indicates no transmission errors. Figure 14: No transmission errors 9.3.2 Low signal level The following figure shows a waveform that indicates a low signal level. Figure 15: Low signal level MVB2791B Technical Manual 1.0...
  • Page 50: Missing Half Of A Differential Signal

     | 9 Signalling | 50 9.3.3 Missing half of a differential signal The following figure indicates a missing half in a differential signal. Figure 16: Missing half of a differential signal If the other half of the differential signal is missing, the cause can be a short circuit in the bus, or a broken conductor in the bus cables, or faulty termination.
  • Page 51: Missing Signal

     | 9 Signalling | 51 9.3.4 Missing signal The following figure indicates a missing signal. Figure 17: Missing signal If the entire signal is missing, the cause can be a short circuit in the bus or in bus connectors. Locate the short circuit and solve the problem.
  • Page 52  | 9 Signalling | 52 Figure 18: Missing or incorrect termination Figure 19: Inappropriate termination MVB2791B Technical Manual 1.0...
  • Page 53  | 9 Signalling | 53 Figure 20: Signal reflections Figure 21: Cross talk (redundant line not terminated) Note: Signal reflection can also be caused by a serious misalignment of impedance on the signal path. To rule out this error, check all cables and connections. MVB2791B Technical Manual 1.0...
  • Page 54: Technical Specifications

     | 10 Technical specifications | 54 10 Technical specifications This chapter contains technical specifications of the module. 10.1 Dimensions Dimension Value Height 3U (128.5 mm) Width 4TE (20.32 mm) Depth 179 mm Weight 160 g Free space required in front of the module 75 mm, depending on the connectors type 10.2 Front connectors The tables below specify the MVB front connector signals.
  • Page 55  | 10 Technical specifications | 55 Signal Description B.Data_P Positive wire, Line_B B.Data_N Negative wire, Line_B A.Bus_GND Ground Line_A B.Bus_GND Ground Line_B A.Bus_5V Positive supply Line_A B.Bus_5V Positive supply Line_B X3 - VME Connector Table 33: Pin order, VME (backplane) connector Number Signal Number Signal not connected...
  • Page 56  | 10 Technical specifications | 56 Number Signal Number Signal D(6) BG1OUT D(5) BG1IN D(4) BG0OUT D(3) BG0IN D(2) ACFAIL~ D(1) not connected D(0) not connected A(22) not connected A(23) A(8) AM(5) A(9) LWORD~ A(10) SYSRESET~ A(11) BERR~ A(12) SYSFAIL~ A(13) A(14) D(15) A(15) D(14) A(16)
  • Page 57: Electrical Specifications

     | 10 Technical specifications | 57 Signal Description RS232BRX Transmit data, RS-232 port B D_CDEN~ Download, configuration data enable, input RS232BRX Receive data, RS-232 port B D_FPGAMODE Download, FPGA configuration mode select, input D_VCC Supply output, +5 V max 50 mA D_DOUT Download, data out, output Signal ground for download signals Not Connected <No pin>...
  • Page 58: Reliability

     | 10 Technical specifications | 58 10.6 Reliability Table 37: Reliability specifications of MVB modules Parameter Specification Reliability, MTBF, greater than 1 320 000 h calculated from component data at +40 °C ambient temperature 10.7 Safety Table 38: Safety Feature Reference Properties Safety Integrity Level EN 50128 SIL 0 EN 50129...
  • Page 59  | 10 Technical specifications | 59 Parameter Standard Test conditions Damp heat +55 °C/+25 °C, 2 cycles, 2x24 h EN 50155:2007 HD 323.2.30 Db Vibration 5—150 Hz, 7.9 m/s EN 50155:2007 IEC 61373 Category 1 Class B Shock 50 m/s for 30 ms EN 50155:2007 IEC 61373 Category 1 Class B...
  • Page 60: Disposal Of The Module

     | 11 Disposal of the module | 60 11 Disposal of the module To reduce the environmental load over the entire product lifecycle, EKE-Electronics’ products are designed to be as safe as possible to manufacture, use, and dispose of. Always take recyclable parts to appropriate processing centres, after hazardous waste has been removed. All parts and components containing hazardous materials must be disposed of in accordance with waste legislation and instructions issued by the environmental authorities.
  • Page 61: Glossary

     | 12 Glossary | 61 12 Glossary 12.1 C 12.1.1 CPU Central Processing Unit. 12.2 E 12.2.1 EEPROM Electrically Erasable Programmable Read-Only Memory is a type of non-volatile memory that stores small amounts of data, but allows individual bytes to be erased and reprogrammed. 12.2.2 EMD Electrical Middle Distance, one of the media of the MVB.
  • Page 62  | 12 Glossary | 62 12.5 M 12.5.1 MTBF Mean Time Between Failures. 12.5.2 MVB Multifunction Vehicle Bus. 12.6 P 12.6.1 PCB Printed Circuit Board. 12.7 T 12.7.1 TCN Train Communication Network. 12.7.2 TDB Target Definition Builder. 12.8 V 12.8.1 VME Versa Module Eurocard bus. 12.9 W 12.9.1 WTB Wire Train Bus module.

Table of Contents