Unbricking Trains, Uncovering Shady Behavior

The first clue was that a number of locomotives started malfunctioning with exactly 1,000,000 km on the odometer. And when the company with the contract for servicing them couldn’t figure out why, they typed “Polish hackers” into a search engine, and found our heroes [Redford], [q3k], and [MrTick]. What follows is a story of industrial skullduggery, CAN bus sniffing, obscure reverse engineering, and heavy rolling stock, and a fantastically entertaining talk.

Cutting straight to the punchline, the manufacturer of the engines in question apparently also makes a lot of money on the service contracts, and included logic bombs in the firmware that would ensure that revenue stream while thwarting independent repair shops. They also included “cheat codes” that simply unlocked the conditions, which the Polish hackers uncovered as well. Perhaps the most blatant evidence of malfeasance, though, was that there were actually checks in some versions of the firmware that geofenced out the competitors’ repair shops.

We shouldn’t spoil too much more of the talk, and there’s active investigation and legal action pending, but the smoking guns are incredibly smoky. The theme of this year’s Chaos Communication Congress is “Unlocked”, and you couldn’t ask for a better demonstration of why it’s absolutely in the public interest that hackers gotta hack. Of course, [Daniel Lange] and [Felix Domke]’s reverse engineering of the VW Dieselgate ECU shenanigans, another all-time favorite, also comes to mind.

The State Of High Speed Rail, And A Look To Tomorrow

In the 21st century, the global transportation landscape is in shift. Politicians, engineers, and planners all want to move more people, more quickly, more cleanly. Amid the frenzy of innovative harebrained ideas, high-speed rail travel has surged to the forefront. It’s a quiet achiever, and a reliable solution for efficient, sustainable, and swift intercity and intercountry transit.

From the thriving economies of Europe and Asia to the burgeoning markets of the Middle East and America, high-speed rail networks are being planned, expanded, and upgraded whichever way you look. A combination of traditional and magnetic levitation (maglev) trains are being utilized, reaching speeds that were once the stuff of science fiction. As we set our sights towards the future, it’s worth taking a snapshot of the current state of high-speed rail, a field where technology, engineering brilliance, and visions of a greener tomorrow converge.

Continue reading “The State Of High Speed Rail, And A Look To Tomorrow”

Machine Vision Automates Trainspotting With Unique Full-Length Portraits

As hobbies go, trainspotting is just as valid a choice as any — we don’t judge. But it does present certain logistical challenges, such as having to be in visual range of a train to be able to spot it. There’s also the fact that trains are very large objects, and they tend to move very fast. What’s a railfan to do?

If you’re also technically minded, you might try building an automatic trainspotting bot like [jo-m] has. It looks like the hardware end of “Trainbot” is pretty simple since it has been tested on both x86 and Raspberry Pi, and supports both video4linux and Pi cam. The magic is in the software, which is able to detect a train entering the frame, record images, and then stitch them together into one long image. The whole thing is coded in Go and has some interesting bits, like a custom image patch mapping package.

Trainbot gives an unusual view of a train, one that most of us accustomed to watching a train pass at a crossing have never seen. By stitching small chunks of the train as it passes, Trainbot is able to show the entire train in a single image, which would be impossible to do except for being very, very far away from the track. [jo-m] also built a web interface for Trainbot where you can check out the comings and goings yourself. Each passing train’s image is accompanied by data like its velocity and acceleration, length of the train, and time of passage. There’s also a GIF of the original source video, which is pretty cool.

Here in the States, we don’t have a lot of passenger trains to spot, but we do have some really long freight trains. It’d be interesting to see how this works with a train that’s over a mile long; that would be quite an image. Looks like someone at least has the hardware in place to give it a try.

Riding The Rails By Ebike

As most developed countries around the world continue to modernize their transportation infrastructure with passenger rail, countries in North America have been abandoning railroads for over a century now, assuming that just one more lane will finally solve their traffic problems. Essentially the only upside to the abandonment of railroads has been that it’s possible to build some unique vehicles to explore these tracks and the beautiful yet desolate areas they reach, and [Cam Engineering] is using an ebike to do that along the coast of central California.

Continue reading “Riding The Rails By Ebike”

Feeling The Heat: Railway Defect Detection

On the technology spectrum, railroads would certainly seem to skew toward the brutally simplistic side of things. A couple of strips of steel, some wooden ties and gravel ballast to keep everything in place, some rolling stock with flanged wheels on fixed axles, and you’ve got the basics that have been moving freight and passengers since at least the 18th century.

But that basic simplicity belies the true complexity of a railway, where even just keep keeping the trains on the track can be a daunting task. The forces that a fully loaded train can exert on not only the tracks but on itself are hard to get your head around, and the potential for disaster is often only a failed component away. This became painfully evident with the recent Norfolk Southern derailment in East Palestine, Ohio, which resulted in a hazardous materials incident the likes of which no community is ready to deal with.

Given the forces involved, keeping trains on the straight and narrow is no mean feat, and railway designers have come up with a web of sensors and systems to help them with the task of keeping an eye on what’s going on with the rolling stock of a train. Let’s take a look at some of the interesting engineering behind these wayside defect detectors.

Continue reading “Feeling The Heat: Railway Defect Detection”

Model Train Delivers Fresh Coffee

Model trains are good fun, though few of them serve any purpose beyond amusement or authentic railway simulation. [ProjectAir] decided to put his model train to practical use by having it deliver fresh espresso, and faced plenty of difficult challenges along the way.

It sounds simple, but the practicalities of the task proved difficult. After all, even a slight wobble is enough to tip a coffee cup off a small train. Automating everything from the railway itself to the kitchen coffee machine was no mean feat either. Plus, the aim was to deliver coffee from a downstairs kitchen up to an upstairs office. This meant finding a way to get the train to climb a steep staircase and to carry the coffee over a 20-meter journey without losing the caffeinated beverage in the process. That required the construction of a fancy train elevator to do the job — an impressive accomplishment on its own.

The final system is a joy to watch. Having a train roll into the upstairs workshop with a fresh brew certainly beats having to go all the way downstairs for a cup. Just don’t think about the fact that moving the coffee machine upstairs might have been a quicker solution.

Continue reading “Model Train Delivers Fresh Coffee”

China’s New 100 MPH Train Runs On Hydrogen And Supercaps

Electric cars are very much en vogue right now, as the world tries to clean up on emissions and transition to a more sustainable future. However, these vehicles require huge batteries as it is. For heavier-duty applications like trucks and trains, batteries simply won’t cut the mustard.

Normally, the solution for electrifying railways is to simply string up some wires and call it a day. China is trying an alternative solution, though, in the form of a hydrogen-powered train full of supercapacitors.

Continue reading “China’s New 100 MPH Train Runs On Hydrogen And Supercaps”