BDL168

Occupancy Detection Yet Again

About fifteen months ago work on adding occupancy detection to Sumida Crossing stalled. That was in part because I’d planned to use the BDL168 detectors to also do transponding, and a few months earlier had abandoned that plan since I was unable to get that aspect to work reliably, even on a simple test track. The number of solder joints on the BDL was also a nuisance that caused me to put off further work.

Recently I’ve been rethinking my approach. The BDL168 is an amazingly cost-effective solution. Ignoring the transponding part, you get 16 detectors on a board that includes a LocoNet bus interface for US$120 (street price). That’s $7.50 per detector (if you can use all 16). That’s really hard to beat for a bus-connected detector. I’d originally planned to install one per table on the layout, and my cost would have worked out to around $10 to $15 per detector on average.

On the other hand, I’m thinking that I might want to move to either a OpenLCB/NMRAnet bus (if I want a feature-rich bus for the future) or a really dumb serial bus (like S88 or C/MRI). The latter is attractive since I can potentially interface to it with an Arduino, opening up some room for home-brew devices. Of course I could do that with NMRAnet, but today that requires a US$45 shield to add to the Arduino (or one with it built in), which kind of takes away from the appeal of using $10 Arduinos to do things like drive signal masts.

While thinking about this, I went off and started researching what was available commercially or as home-brew circuitry and software libraries for these busses and for doing occupancy detection with them, as the latter would be a good way to get my feet wet and solve my “don’t want to solder those #$@! BDL168s any more” problem.

But in the past week I’ve been sidetracked into looking at homebrew inductive-coil detection circuits.

Read More...

August 2013 Status - a Retrospective

And not only another month, but another year has passed. Not much happened in August; as I mentioned last time I’ve mostly been working on the Arduino project. So this month’s post will focus on the past, but will also look forward to the future.

This month marks the fourth anniversary of Sumida Crossing, dating things from the start of construction. Planning actually started earlier, around June of 2009 in earnest although there had been a lot of thought prior to that. And the first real train didn’t run until early 2010 (unless you count a test on a loop of temporary track). And actually, although the first post in this blog dates from September 16, it wasn’t actually online until the end of November. Prior to that I’d been working on the initial version of the website offline, and hadn’t bought the domain name or space on a server until I judged it ready. I don’t think it even had a name before November; I’m pretty sure I made that up when I bought the domain name.
Read More...

June 2012 Status - What, its not June

Yeah, this is a bit late. I’ve been distracted. I’m throwing this up so I can summarize what did get done, before moving on.
Read More...

More Wires

After saying I was going to finish up the DCC electronics several times, I’ve finally made a start. There are two parts to this. The first is finishing up the remaining DCC power protection and occupancy detector panels. I did the first three tables last year, starting around January. The third was the first I’d done as a removable panel, which I wired up back in November. At the same time I’d begun the work of setting up a third accessory power bus, adding a switch and meter to the main panel. However at that point I’d stalled, with my attention off the layout over the holidays, and when I returned it was to work on buildings.
Read More...

DCC Power II

The DCC Power work continues, but it’s still not done, as I have to do the power panels for the urban scene and the unsceniced return loops, but with the panel I built and tested back in September/October finally installed under the tables of the River Crossing scene, I’m at the halfway mark (having done the Riverside Station scene back in March).

To recap, the board contains a PM42 DCC circuit breaker that provides four separate circuit breakers and a BDL168 occupancy detector that can provide up to sixteen occupancy detectors and eight transponding sensors (see my pages on occupancy detection and the BDL168 for more details). This board provides occupancy detection for six electrical blocks, two each on the commuter tracks and one on each subway track where it loops below the expressway. Although I’m also wiring up the transponding sensors, as mentioned previously I’m having doubts about them due to problems in testing and the anticipated low power draw of my trains being borderline to register on them.
Read More...

Kato's "New" Coupler and Oct 2011 Status

When my Ginza 01 series train (Kato 10-864) arrived last month I put it on the track to break it in, then took it off and separated the cars as I usually do with commuter cars, levering them up until the couplers are nearly at a 90-degree angle, just as it says to in the brochure that comes with the train. This time, to my surprise, instead of uncoupling, one coupler assembly exploded into three parts (coupler, bracket, and spring). Attempting to re-install the spring led to it departing over the horizon (or at least into the depths of the basement), never to be seen again. A quick look at the brochure, and it was clear Kato had changed something. It showed the cars being separated by pulling apart rather than the levering up procedure I was used to from earlier commuter models.

This was a bit of a surprise, because the coupler looked just like the usual commuter coupler, with a square, pyramid-tipped spike and a matching socket, with a hook underneath, all designed to mimic the standard Japanese coupler used on many narrow-gauge trains, a type of multi-function close coupler known as a Shibata coupler after its developer, Mamoru Shibata, although often called more generically a “Scharfenberg” coupler, after the original European close-coupler it was modeled on. I decided it must be a new type of coupler developed for the new subway trains (which the Ginza is assumed to be the first of) and ordered a replacement. That turned out to be an incorrect assumption.
Read More...

Fun with JMRI II and September 2011 Status

I’ve been playing around with JMRI some more, and trying to debug my transponding problem with the first of the electronics boards. This is really baffling. I checked the wiring, and it was fed through the RX sensor properly. I replaced BOTH the PM42 and the BDL168 circuit boards (I’ve got a stack of them waiting for more electronics boards once I get this one working) and I tried using other blocks. And I had more transponding sensor failures. On both sets of RX sensors. One defective set I might accept, but two?

So I tried a variety of things, and noticed that the non-functional detectors would, every once in a while, work. In fact, I discovered that with the train motionless, one of them would periodically cycle from detection to non-detection, emitting a LocoNet message reporting the change in status each time. I tried moving the wires. I pulled a fresh RX1 set out of a bag, and set it up atop a trash can (see above) with every wire fed through it fully separated from every other wire in mid-air (about the middle of this I was holding things in both hands and wishing I had a third arm). And that failed too, reliably as it were.
Read More...

Back On Track

After two months spent working on the website move, I’m back to working on (and playing with!) the railroad. That doesn’t mean I’m done with the website stuff. There are still pages left to convert, and a few problems to solve, and I’ll have more to say on that down below. But the new one is up and running, and relatively problem-free. And I’d budgeted this weekend to model railroad work in case there were problems, so I had some free time on my hands. I celebrated by getting the outer loop wired up and running a couple of trains. Then I turned my attention to working on the DCC protection and occupancy detection circuits so I can get the other two loops up and running.
Read More...

April 2011 Status, Subway Station Planning and a Bus System

April sped by rather quickly, as least in part because I had some non-railroad distractions that took me away from the layout. Not much was done in concrete terms, but planning for the Riverside Crossing Subway Station made good progress. Mostly I acquired parts for some more power management wiring (PM42 circuit breakers, BDL168 occupancy detectors, and RX4 transponding sensors, as well as wire, terminal strips, and miscellaneous connectors). I also painted several sheets of cut-to-size plywood with primer, to which I’ll attach all the electronics and wiring. Then I’ll hang the plywood under the layout, where it can be easily wired to terminal strips, but remain far enough away from the track and bus wires to avoid interference with the transponding sensors. I’ll have more on this after I’ve built the first of these.
Read More...

How I learned to stop worrying and love the BDL168

Well, perhaps that’s a bit strong, but I’m coming to terms with its design flaws and the poor state of the documentation surrounding it and the PM42. I now have the first set of PM42 circuit breakers and BDL168 occupancy detectors (with two sets of RX4 “transponding receivers”) installed, and have done a bit more reading over the weekend. I’ve discovered a few things and come to a few conclusions as a result of that work, and that’s making me feel that I have a handle on this now. But I had to work through a number of issues to get to this point.
Read More...

February 2011 Status - Occupancy Detection Revisited

Work has progressed slowly this month, partly from distractions, and partly because I’ve been reluctant to finish up the block occupancy detector wiring. I finally realized that the reason for this was that I wasn’t happy with my hybrid approach to occupancy detection and transponding.

To recap, my Subway and Commuter loop tracks were to be divided into blocks, with Digitrax BDL168 occupancy detectors and PM42 circuit breakers (circuit breakers are typically one per track per table, whereas there may be two, three or even four detectable track sections on a single track on one table, and more in a couple of cases). The PM42 provides for four circuit breakers, which is a nice fit for the four tracks, and the BDL168 is divided into four independent quadrants (so each can be wired to a separate circuit breaker), each with four block detectors. I’d originally planned one PM42/BDL168 per scene, meaning that wires would have to cross a table boundary in the Urban and Riverside Station scenes.

And that was a problem, for several reasons. First, running wires between tables violates my “keep all wires except bus wires local” design goal (it makes the layout harder to disassemble), second while the BDL168 can support 16 occupancy detectors, in some places I needed more than four on one track, which broke the association of the PM42 circuit breaker element to a single track, meaning a short would shut down a second line. And finally, I wanted to do Transponding, and the BDL168 only supports 8 transponding sensors (using a pair of RX4 sets), meaning some blocks would be able to report which train was in them, and some would only be able to report that some train was present, but not which. None of these were fatal flaws, but they were eating at me. And I finally realized that I only needed two more sets (seven instead of five) to fix these problems.
Read More...

Almost There - January 2011 Status

January went primarily to the backdrops and the risers/inclines of the Riverside Station scene commuter loop, and now the Riverside Station scene begins to come together. The tables themselves are not yet connected to each other or anything else, as I’m taking the opportunity to work on the wiring with them stood on edge, which is much easier than working on it from below.

Read More...

Scotty I Need More Power!

DCC doesn’t need to be complicated. At the simplest, it’s a pair of bus wires from the command station running under the track, with feeders connecting the track to it at intervals. I can, however, make anything complicated. Probably more complicated than it needs to be. It’s a talent.

Read More...

More Electrical Work

Rather than turning my attention immediately to the Riverside Station scene, I decided to get the electrical systems ready for the eventual use of the two “ground level” loops, which will require DCC. And that meant I needed to finalize my plans. And although most of them had been worked out last year, and revised (in my head if nowhere else) over the winter, there was still a bit of planning needed before I was ready to start cutting wire. This had to encompass the DCC systems (both power and the LocoNet control bus) as well as the various power strips to supply them, and some additional power supplies for eventual LED lighting. I’d started thinking more intensely about this while I was working on the wiring recently, but needed to bring that to conclusion and write down the results.
Read More...