Skip to main content

Driver Display Unit (DDU) using Railware/Scheron/HasslerRail Rico004 MVB/MICAS interface for WAP Series Electric Locomotive: A Prototype

 




Running GUI on sample hardware


Sample GUI showing DDU interface for WAP Series Locomotive



  • Driver Display Units are used in Locomotives to provide HMI for operating the locomotives. Various realtime sensor information of the locomotive/train are presented in user friendly interface on an LCD screen on an SBC. 
  • The WAP Series locomotives use a variant of the MultiFunction Vehicular Bus (MVB) called MICAS. It is a master/slave realtime bus operating in the locomotive and beyond and can work over long distances (~4kms). Information is exchanged over the bus in the form of process data and messages. It supports connection via wire or fiber.
  • There was a need to implement a Driver Interface while being interfaced to the MVB/MICAS.
  • The design also had to be kept similar to existing products so as to retain locopilot familiarity and also provide similar features.
  • Just as a fun exercise, an oscilloscope was used to dump traffic on the MVB from an available setup and manually validated with the IEC 61375, the TCN standard. It was a tedious exercise indeed.
  • Later a Zeroplus MVB analyser was procured and interfaced to the same setup and it was proven that the test setup with indeed working well. The Zeroplus is limited in the number of packets it can capture, etc.
  • So a feature rich MVB traffic analyser would be desirable and writing one locally was dropped as it is a time consuming process.
  • Luckily Railware, an Italian manufacturer (which subsequently got acquired by Scheron and then by HasslerRail) had an MVB compatible card along with a MVB protocol dumping and analysis capability. This is called the  Rico004 by Railware and there are tools written on Windows/Linux to configure it for various modes.
  •  A couple of cards were purchased and interfaced with the VCU setup and the protocol studied.
  • Railware also provides MVB cards for various SBC interfaces like SPI, serial etc. A suitable card for the SBC was procured. There also was availability of libraries and APIs on Linux so that an end client could receive MVB data as a slave.
  • After configuring such a setup an application to receive MVB data and present it in a real-time fashion on the SBC as DDU was implemented. 
  • The above Video shows a sample UI which shows emulated data on the DDU screen. The image shows the various sensor information that would be relevant to a locopilot: including various subsystems, PIXY data, status of braking systems, meters, etc.
  • This setup was working well in this test setup but due to change in project priorities never made it to actual deployment.




WAP7 Locomotive. Image from Wikimedia

Comments

Popular posts from this blog

Leg Brake for a Bicycle

Leg Brake on a Bicycle  Growing up, there was a need to learn how to drive a geared motor cycle and also get a driver's license. There are two categories of two wheeler licenses: one for geared vehicles usually with leg brakes and one for auto/non-geared vehicles where the braking happens by hand and are simpler to operate. Driving license had already been acquired for the non-geared vehicle but due to lack of availability of a geared vehicle for practice, the acquiring of this license was taking quite some time. The main problem was adapting to braking a vehicle using the leg where one to respond differently and the conditioning takes some time. Unfortunately could not manage to get anybody/s vehicle for learning after many attempts. And at that time (1995 or so) bicycles were rather common and used for transport. So an idea was: why not add such a feature to a bicycle. A Hercules Town and Trek was also available. After some visits to the local bicycle shop and a used vehicle part...

Making PlotClock

Building the PlotClock by Joo from ThingiVerse  with English Character support Plotters are fun things. One can move in a 2D space and do very interesting things. Been fascinated by plotters from a long time. Notable mentions like the Drawbot, AxiDraw, EggBot, etc. Always wanted to build a small inexpensive one which did not require too many components or a lot of domain knowledge. One of my favourite past-times is to ThingSurf ie check which open source designs are available and try to make them, either on Thingiverse or Printables, etc. Its a lot of fun and because these provide designs for real-world things,  one can study and learn from them and also extend them to do other things. There is also a requirement of a device that will be a low-power notice board, like a limited power device that will just consume power for a short time, do some useful work, maybe display a message and go back to sleep. Things written on a sheet of paper remain visible for a long time. So it wo...

RGB Dot Matrix Display as Multi-Function Panel Display

PxMatrix on ESP8266 connected to an 32x16 RGB DOT MATRIX 1/8 SCAN Panel It was always wonderful to see the numerous colour displays that display messages and animations on Dot Matrix Displays (DMD) in the commercial places. One useful thing would be to take an Off-the-Shelf Display and run fully controllable custom software rather than rely on some external products to do. Luckily found a display vendor who offered to give me some DMD as samples for experimentation. I was given a P10 32x16 pixel color DMD panel. I have experimented with Monochrome DMDs (maybe blog about this later) but the RGB display is another world all together. The Monochrome world does not have lot of open source software, the RGB world has PxMatrix, RGBMatrix and SmartMatrix. As I wanted the controlling entity to be super cheap which meant use of an 8266 I had to start with PxMatrix. Though there are better options than PxMatrix, the others use a more expensive controller. Its better to start with the lowest cost...