The LEGO 2868b speed regulator is a beautifully honest piece of engineering, and a recent teardown and repair by LEGO train enthusiast Nonsense Wars shows exactly why: a single PCB, a handful of resistors, one active component, and decades of reliable service all hinging on a part you can still buy for pennies.
How the LEGO 2868b Speed Regulator Actually Works
Before LEGO train sets moved to battery-powered locomotives running on plastic rails, the whole system operated much like any other train set of the era. Metal rails carried power from a central controller to the locomotive’s wheels, which picked it up directly from the track. The controller handled two jobs: regulating speed and switching direction. The 2868b does both with a circuit that is, once you open the case, refreshingly simple.
Power comes in as a 9-12 VAC supply from an external adapter, feeding into a variable voltage regulator whose target voltage is set by a bank of resistors. That large yellow control lever you push back and forth is doing nothing more exotic than switching between resistors in that bank, each one presenting a different resistance value to the regulator and therefore commanding a different output voltage. Push past the midway point and the output polarity reverses, which is how the locomotive changes direction. The whole speed and direction control, mechanically speaking, is that lever stepping through a resistor ladder.
The result is that there is precisely one non-passive component on the entire PCB: a voltage regulator in a TO-220 package, bolted to the large heatsink that dominates one side of the board. Everything else (the resistors, the switching contacts) is passive. There is a certain elegance to that.
The KA317 and Its Famous Equivalent
In Nonsense Wars’s unit, the TO-220 device turned out to be a Fairchild KA317, a component that is, for the purposes of this circuit, functionally identical to the Texas Instruments LM317T. The LM317 is one of the most widely produced adjustable linear voltage regulators ever made, which is exactly why swapping a failed one is so straightforward: the part is not exotic, the pinout is standard, and replacements are available from multiple manufacturers.
Fairchild Semiconductor, whose KA317 sat in this particular regulator for decades, was later acquired by onsemi, and compatible devices continue to be produced to this day under various part numbers. For anyone who owns a 2868b with a similar fault, the repair path is well-trodden: identify the TO-220 package on the heatsink, confirm the part number, source an LM317T or equivalent, and swap it in.
That is precisely what Nonsense Wars did. One component swap and the controller was back in business, pushing current down the metal rails exactly as it would have done in 1995.
A Controller Worth Keeping Running
It is worth pausing on what makes the 2868b so repairable. The circuit topology is fully transparent: no proprietary ASICs, no microcontroller firmware, no sealed modules. The schematic is implied by the board itself. Anyone comfortable with a multimeter and a soldering iron can diagnose and fix one, which is more than can be said for the sophisticated electronics packed into a modern LEGO Powered Up hub.
The LEGO 2868b speed regulator represents a chapter of LEGO’s history when the train system was a genuine competitor in the model railway space, with metal rail sections, proper track power, and controllers that behaved exactly as a hobbyist would expect. The engineering is linear, deterministic, and entirely legible. For collectors keeping these systems running, that repairability is the whole point, and a sub-£5 TO-220 device is a very reasonable price to pay for another few decades of service.

