메뉴
HN
Hacker News • 57일 전

자작 기차 시뮬레이터 제작 진행 상황

IMP
4/10
핵심 요약

한 개발자가 3년 넘게 집에서 UK Class 80x 여객 열차의 운전실을 실물처럼 구현하는 하드웨어 시뮬레이터 제작 프로젝트를 진행 중입니다. 최근 6개월간 CAN bus 통신 보드 설계, 실제 운전실과 동일한 전등 제어 패널 제작, 그리고 단단한 금속 패널로의 교체 작업 등 여러 파트에서 큰 진전을 이루었습니다. 하드웨어 프로토타이핑 및 임베디드 시스템 설계 기법을 적용해 실제 열차의 부품을 완벽하게 모방하는 과정이 매우 흥미롭습니다.

번역된 본문

기차 시뮬레이터 컨트롤러: 2026년 7월 진행 상황 요약 (2026년 7월 26일, 블로그)

3년이 넘는 시간 동안, 저는 제 아파트에서 영국 Class 80x(Class 800/801/802/805/810) 여객 열차를 모델로 한 물리적 기차 시뮬레이터를 제작해 왔습니다. 실제 운전실에 있는 계기판과 조작장치를 최대한 가깝게 재현하려고 노력했으며, 실제 부품을 구할 수 있는 경우도 있었고 없는 경우에는 직접 복제본을 만들기도 했습니다. 시뮬레이터를 하나로 연결하기 위한 맞춤형 CAN bus 트랜시버 보드 및 다양한 도터보드(Daughterboard)부터, 모든 컨트롤과 계기를 장착하는 실제 패널에 이르기까지 디자인의 깊은 토끼굴(rabbit hole)에 빠지기도 했습니다. 보통은 하나의 부품이나 단계를 완료한 후에 블로그 글을 작성하지만, 지난 반 년 동안은 프로젝트의 여러 다양한 측면에서 진전을 이루었습니다. 따라서 이 블로그 글은 이러한 여러 측면에 대한 상태 업데이트이며, 각 부분이 완성되면 자체적인 전용 블로그 글을 작성할 수 있기를 바랍니다.

전조등 (Headlights) Class 800 대시보드에서 기존 계기나 컨트롤을 사용하지 않는 더 복잡한 패널 중 하나는 전조등 제어 패널입니다. 실제 기차에는 전조등(및 후미등) 표시를 제어하는 6단계 노브, 점멸하는 비상 점멸등을 설정하는 누름 버튼(push-on, push-off), 그리고 현재 전조등이 어떻게 구성되어 있는지 보여주는 기차 전면도에 있는 LED 세트가 있습니다. 저는 흰색 및 빨간색 표면 실장(Surface-mount) LED를 장착하는 맞춤형 PCB를 만들기로 결정했는데, 이는 CAN bus 트랜시버 중 하나의 도터보드 역할도 하며 셀렉터 스위치와 비상 버튼 연결을 위한 단자를 분리해 냅니다. 이 PCB를 위해 시각적으로 비슷한 밝기(그리고 너무 밝지 않은)를 가진 버전을 찾기 위해 흰색 LED와 빨간색 LED 각각에 대해 세 가지 옵션을 테스트했습니다. 적절한 크기, 레이아웃 및 치수를 찾기 전에 두 번의 PCB 반복 작업을 거쳤으며, 거미줄 같은 하나의 웹으로 연결된 LED용 빛 확산판(diffuser)을 만들기 위해 현재 제가 주로 사용하는 PCB 제조사인 JLC를 이용했습니다.

뜻밖에도 가장 어려운 부분은 적절한 셀렉터 스위치를 찾는 것이었습니다. 제가 필요로 하는 제품의 제조사와 부품 번호까지 알고 있었지만, 새 제품을 구하려면 수백 달러를 들여 여러 개를 사야 하는 유일한 방법뿐이었습니다. 그러므로 이베이(eBay) 리스트를 몇 번 잘못 짚어본 후, 저는 프로토타입이 사용하는 것과 정확히 일치한다고 믿는 자만의 6단계 셀렉터 스위치를 조립하기 위해 올바른 부품들을 모두 수집했습니다. 물론 Train Simulator 및 Train Sim World로 테스트해 보기도 했지만, Train Sim World가 기차 대시보드의 LED 및 표시기의 현재 출력 상태를 노출하지 않아 약간 난감했습니다. 결국 이 패널에 대한 전용 블로그 글에서 PCB 반복 작업, 확산판, 최종 버전이 Train Simulator와 어떻게 작동하는지 보여드리겠습니다.

Class 800 EMU의 전조등 제어 패널 전조등 위치 미리보기를 위해 사용할 최적의 LED 선택 하드보드 버전의 패널에서 (밝은) LED 통합 테스트 수행

금속 패널과 라벨 (Sheet Metal Panels and Labels) 지난 11월, 저는 제 기차 시뮬레이터의 중앙 패널 하드보드 프로토타입에 대해 게시했고, 그해 12월 말에는 Class 80x EMU의 운전자 컨트롤을 복제하는 전체 4섹션 설정을 올렸습니다. 특히 제가 직접 만든 맞춤형 테이블에 장착했을 때 하드보드 버전은 대시보드 콘셉트를 입증했지만, 장기적으로 사용하기에는 너무 취약했습니다. 게다가 실제처럼 보이지 않았습니다. 실제로 몇몇 댓글 작성자들은 이것이 종이 상자라고 생각했습니다. 따라서 다음 단계는 패널 자체를 금속 판으로 교체하는 것이었습니다.

테스트로, 저는 TPWS 패널과 운전자 경고 장치(Driver's Reminder Appliance, DRA)로 시작했습니다. 둘 다 레이저 커팅 및 분체 도장(powder-coated)된 강철입니다. 좋은 친구이자 전문 프로토타이퍼인 Tim "geekboy1011" Keller의 끊임없는 도움으로, 우리는 패널을 레이저 각인하고 페인트칠을 했으며 그 결과는 매우 전문적이고 프로토타입답고 약간의 클...

원문 보기
원문 보기 (영어)
Train Simulator Controller: July 2026 Progress Roundup July 26, 2026 in Blog 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. Headlights 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. Headlight control panel on a Class 800 EMU Selecting the best LEDs to use for the headlight position preview Performing an integration test of the (bright) LEDs in a hardboard version of their panel Sheet Metal Panels and Labels 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. Painting labels on the TPWS control panel Completed TPWS control panel with all labels TPWS and DRA panels installed in the Class 800 simulator center dashboard 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. Sheet metal replacements for hardboard panels Installing components in the right-hand panel Class 800 center panel, partially using sheet metal panels Testing headlight and environmental controls with sheet metal panels 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. Laser-cutting the Class 800 diagram on the headlight control panel Hardboard and metal versions of the headlight control panel Suboptimal tests for inking/painting the matte panels Testing More AWS Sunflower Varieties 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. Inside a miniature mechanical AWS sunflower that can also generate sound Designing a modified I/O daughterboard for my CAN bus transceiver that handles 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