Project experience in detail
IBIS and IBIS-IP in practice
I have developed software for public transport since 2005, including software for ticket vending machines, driver-operated electronic ticketing machines and fare calculation. To connect devices to the integrated on-board information system (IBIS), I have worked with both the classic vehicle bus and IBIS-IP.
IBIS vehicle bus (VDV 300)
I maintained and extended the IBIS implementation of the device software for years. On the device, the connection runs over the serial interface.
Master and slave
I have maintained and extended device software for both roles.
- Master: a driver-operated electronic ticketing machine can itself serve as the on-board computer. It then uses its own positioning system and data to control the vehicle displays.
- Slave: the device has no positioning system of its own and reads journey data from the IBIS telegrams.
Telegram configuration
I extended the device software so that its configuration determines which telegrams it receives and how it responds to each one. These settings can be changed for each operator without modifying the software.
I configured telegrams directly for about three transport operators, standard telegrams as well as more complex special telegrams, above all for route displays. For further transport operators I searched for faults in existing configurations. All of these transport operators are in Germany.
Telegrams from practice
| Data record | Code | Content |
|---|---|---|
| DS001 | l | Line number |
| DS002 | k | Run number |
| DS003c | zI | Stop name |
| DS004 | e | Stop and direction |
| DS010b | xI | Stop index |
| DS021a | aL | Route, answer DS120 |
| DS020 | a | Status request, answer DS120 |
| DS070 | g | Status request, answer DS170 |
Route display
For a route display, I converted data from an ITCS (intermodal transport control system, in German RBL) into a list of telegrams. DS021a carried the route data, and an operator-specific extension supplied information about connections at each stop.
Why an on-board computer rejected response telegrams
The device responded on the IBIS vehicle bus, but its response telegrams lacked a checksum. Other on-board computers had accepted the same responses. The fault went unnoticed until an on-board computer rejected them because the checksum was missing.
Addressing and timing
- Addressing: the IBIS address of the device has to be configurable and in part depends on where the device is installed in the vehicle.
- Timing: while a long route is sent over DS021a, the regular telegrams have to keep running in between.
IBIS-IP (VDV 301)
For two services, I implemented the functions that the device needed in each project.
- DeviceManagementService 1.0
- TicketValidationService 2.1
This includes service discovery by DNS-SD (DNS-based Service Discovery), simple HTTP requests and subscriptions with heartbeat.
For the device software I built a test counterpart of my own. It provides the services needed, with DNS-SD, subscriptions and heartbeat, and is operated from the command line, with simple commands to change the data.
Testing
I developed a test function of my own: it replays recorded telegram logs to debug programs, and checks the answers for correctness. Besides me, other developers and in part testers used it.
I describe the limitations I found in existing test tools on the page about the planned IBIS simulator.
Environment
- On-board computers: besides IBIS and IBIS-IP, I also connected devices to on-board computers directly over manufacturer-specific interfaces. In one case the device served as the complete operating and control unit of the on-board computer. In another, most of it ran over IBIS and IBIS-IP, and only the power management over special functions.
- Displays: controlled through the standard telegrams of the IBIS master.
- Fare calculation: modules for transport operators and associations in Germany, Denmark and the United Kingdom.
- Technology: C and C++ on Windows CE (devices), Windows (devices and fare calculation) and Linux (fare calculation).
Development, integration or troubleshooting?
You can reach me by e-mail or phone.
