列车模拟控制器
Train Simulator Controller

原始链接: https://z80.me/blog/tsc-2026-july/

在历经三年打造一台实体 80x 系列列车模拟器后,创作者针对几项复杂的升级进度进行了更新。 主要进展包括: * **前照灯面板:** 创作者定制了一块带有 LED 扩散器的电路板(PCB),并成功组装了一个罕见的六档位选择开关,以还原原型车的前照灯及危险警示控制功能。 * **仪表盘面板:** 将材质从易碎的硬纸板改为激光切割并进行粉末喷涂的钢板,大幅提升了耐用度与真实感。目前面板已安装到位,创作者正在优化标签制作工艺,以避免涂料渗入哑光涂层的问题。 * **AWS 系统:** 该项目正在集成原装的微型 AWS“向日葵”信号指示器。为了支持这些模块所需的高侧切换(high-side switching),创作者正在对其 CAN 总线子板进行修改,以实现灵活的开关配置。 虽然这些项目仍在进行中,但它们标志着该模拟器正向着高保真真实感迈进。后续博文将详细介绍 PCB 设计、面板精加工技术以及微型机械 AWS 向日葵装置的集成过程。

这篇 Hacker News 的讨论聚焦于 *z80.me* 上展示的一款自制火车模拟器控制器。用户称赞了该硬件简洁的设计与真实感,并由此引申出关于火车模拟周边设备小众市场的广泛讨论。 要点包括: * **市场潜力:** 评论者认为,尽管在采购锁存按钮等特定的复古机电零件方面存在挑战,但与制造商合作仍具有巨大的挖掘潜力。 * **替代方案:** 用户分享了诸如“火车控制器数据库(Train Controller Database)”等资源,并提到了针对日本风格模拟器、价格实惠且紧凑的 Zuiki Mascon 等选择。 * **创意应用:** 除了模拟游戏外,参与者还对将工业级控制器作为生产力工具、编程或大语言模型(LLM)交互的触觉界面表现出兴趣。建议包括使用 MIDI 接口将物理硬件映射到软件功能上。 * **怀旧情怀:** 讨论在对经典的“Blinkenlights”工程迷因的轻松致意中结束,反映了社区对复古工业控制面板和具有触感的“咔哒”类硬件接口的共同赞赏。
相关文章

原文

For over three years, I have been building a physical train simulator in my apartment, modeled on the UK Class 80x (Class 800/801/802/805/810) passenger train. I’ve been trying to replicate the instruments and controls in the real cab as closely as possible, in many cases managing to acquire real components, and in others building my own replicas. I’ve gone down rabbit holes of design, from a custom CAN bus transceiver board and a variety of daughterboards to tie the simulator together, to the actual panels on which all of the constrols and instruments are mounted. I usually wait until I complete a component or step before I write a blog post, but over the last half-year, I’ve instead made forward progress on several different aspects of the project. Therefore, this blog post is a status update on these many aspects, each of which will hopefully earn its own dedicated blog post when it is completed.

One of the more complex panels on the Class 800 dashboard that doesn’t use an existing instrument or control is the headlight control panel. The real trains have a six-position knob that controls what the head lights (and tail lights) display, a push-on, push-off button to set flashing hazard lights, and a set of LEDs on a diagram of the front of the train that show how the headlights are currently configured. I decided to make my own PCB holding white and red surface-mount LEDs that also acts as a daughterboard for one of the CAN bus transceivers, and breaks out terminals for connecting the selector switch and hazard button. For the PCB, I tested out three options each for the white and the red LEDs, trying to find versions that would have visually similar brightness (and not be too bright). I went through two iterations of the PCB before I landed on the right size, layout, and dimensions, and I also used my current PCB manufacturer of choice, JLC, to make frosted white diffusers for the LEDs connected into one spidery web. Unexpectedly, the hardest part was finding the right selector switch: I knew the manufacturer and even the part number for what I need, but the only way to get it new is to spend hundreds of dollars buying multiples. Therefore, after a few incorrect guesses at eBay listings, I collected all the right parts to cobble together my own six-position selector switch that I believe is exactly what the prototype uses. Of course, I also tested it out with Train Simulator and Train Sim World, although still slightly stymied by Train Sim World not exposing the current output state of LEDs and indicators on trains’ dashboards.

In the eventual dedicated blog post about this panel, I’ll show the PCB iterations, the diffuser, and how the final version works with Train Simulator.

Last November, I posted about a hardboard prototype of the center panel of my train simulator, then at the end of December, the full four-section setup that replicates the driver’s controls in a Class 80x EMU. The hardboard version, especially when mounted on the custom table I built, has validated the dashboard concept, but is too fragile to be used long-term. In addition, it doesn’t look realistic: in fact, some commenters thought that it was cardboard. Therefore, my next step was to replace the panels themselves with sheet metal.

As a test, I started with the TPWS panel and the Driver’s Reminder Appliance (DRA). Both are laser-cut and powder-coated steel. With the tireless help of my good friend and expert prototyper Tim “geekboy1011” Keller, we laser-engraved the panels, painted them, and the result is both very professional and prototypical, and with a little bit of clearcoating, hopefully durable as well. The result was far better than I expected.

With this test having proved that powder-coated steel was a workable solution, I set out to get sheet metal versions of all of the other panels. Unlike the TPWS and DRA panels, which were powder-coasted in semi-gloss and glossy materials respectively to match the prototype, these panels were all powder-coated with a matte black material. I received these panels in late March, and spent a while using, testing, and developing my simulator with the blank panels in place. The buttons and switches transferred without incident from the hardboard versions, and the steel versions work well, inlcuding flexing less than the hardboard prototypes. I did discover that they are very heavy for the hardboard and MDF-based supports I had been using, a reason to switch to sturdier plywood backing as soon as I’m able.

I thought that labeling these panels would be as easy as the TPWS and DRA panels had been. Alas, even beyond slight challenges with geekboy1011’s laser engraver, I discovered that instead of wiping off cleanly, white acrylic paint seeps into matte powder coating. I will need to change my approach to fabricating these panels, ideally without wasting the money I’ve already spent on these panels. I’ll share my latest progress in a future blog post about the panels.

One of the earliest real instruments I interfaced with Train Simulator was an AWS “sunflower”, the evocatively nicknamed black-and-yellow instrument that allows a UK train driver to see if the last signal they passed was at an aspect other than clear (green) (or if they’re approaching a significant speed reduction: basically, if they should be proceeding cautiously). In that post, I opined that “I anticipate that I will let Train Simulator provide the warning horn/buzzer and “clear” bell itself rather than providing those as physical components.” However, more recently, a kind colleague in this space connected me with three smaller AWS modules embedded in units that also produce the real warning horn and clear bell: one with a mechanical sunflower, and two with illuminated LED sunflowers.

As much as I love the big mechanical sunflower and prefer not to deafen everyone around me, I had to see if I could interface these more realistic AWS sunflowers with my setup. To that end, I started with the unit with the miniature mechanical AWS sunflower, disassembling it to document its electrical connections. As shown in the video below, I validated that I could make the sunflower sound both the horn and bell sounds, but this unfortunately requires high-side (common cathode) switching, while the FETs in my CAN bus transciever board all provide low-side (common anode) switching. I went on a side quest to cram even more into my I/O daughterboard, allowing four of its five FETs to be configured for either low-side or high-side switching.

When those circuit boards arrive, or possible even sooner, I’ll show off the result, and I’m seriously considering embedded the more prototypical miniature LED sunflower in my dashboard, even though I’ll be lacking the satisfying mechanical thunk of the electromagnetic ones.

Miniature mechanical AWS sunflower with clear bell and alarm horn, testing sound only

联系我们 contact @ memedata.com