|
TaPRK General Projects Shows Excursions Links Yleistä Projektit Näyttelyt Retket Linkit Parish/SRK |
The layout was a one huge loop. The loop consisted of 5 stations:
The yards had power routing turnouts. The yards were split into two rotary sections. The rotary selector switches fed the power to station approach tracks and via turnouts to the middle of the selected siding. in order to feed the whole siding the rotary selectors of both ends of the yard had to be turned to same cab and points set to same siding. If two trains were to approach the station the other had to wait outside yard limits until the other was brought to halt and turnouts thrown and rotary switches reset. If two trains were to depart to different directions it could be easily arranged by setting the turnouts and rotary selectors accordingly. As the members of the club were quite young it was found that a centralized control system suits best for us. So we employed a kind of CTC-system for forwarding the trains from station to another.
The CTC-panel, in the middle top are the so called group buttons for train forwarding, top right is the speed control of fast time clock, the 13 rotary knobs are for block power (not used with computer), and isolating switches below are all down, meaning that blocks are isolated from rotary switches (and with the introduction to C/MRI are connected to relays. The red lunch box houses the C/MRI electronics!
|
|
|
The CTC-panel (which does not follow any prototype) consisted of rotary switches for cab selectors and push buttons for turning the points to through tracks (if points were to be set to spurs, local panels were used by the train crew). If the turnout was set to diverging route a yellow led next to the turnout was lit. To aid train forwarding, the detectors were installed to each rotary section. The rotary switches were to be turned only if the led was off. The detectors only saw trains which were actually powered, so by throwing the points you isolated the engine and thus switch off the detector light. Even after all this the power assignment was a tedious task. What we needed was a Computerised Cab Control System (CCC) Computer / Model Railroad InterfaceBruce Chubb's Computer / Model Railroad Interface (C/MRI)system is good, but it may become unneccesarily expensive, and complicated to handle only a small layout like ours was. So, instead of getting that, we decided to develop our own. With Mr Koskela we developed our own concept and this is what it became. (This is a poor-man approach): Firstly we didn't have a PC, we had an MSX instead. It's parallel port has just 8 bits for data + /STROBE. The only feedback was READY. But MSX did have two joystick ports (for digital, or switch-equipped joysticks). The thing:Data/address clock separation
As there was only the /STROBE and 8 bits of data it was decided that the most
significant bit of data represents data/address selection. Connector P3
is the parallel connector of MSX-computer. By NANDing /STROBE with 8th
bit gave /DATA CK (in diagrams denoted as ">D" and by inverting
the 8th bit and NANDing it with /SROBE gave the /ADDRESS CK (denoted as
">A").
Address Latch
Address decodingTo save lines taken to output cards it was decided that data clock and address decoding will be made into one and resolved address would be forwarded at data clock to final data latch. The address was split into lower and higer "nibble", three lines each, and decoded with 3-to-8 devices ('138). The middle bit (A3) was reserved for expansion. (It selected the U5, but '138 has inverted selector soo, so another '138 could be used as MSB address decoder and full address space be exploited). The LSB nibble was only decoded if computer was sending DATA, not ADDRESS. The MSB was decoded as it came from the address latch. With this arrangement one, and only one of the LSB address nibble expanded lines vas active (low) as data was present. By picking one of these eight lines and one of the address MSB part decoded eight lines we got a unique addresss that was active when data following this address was active at MSX computer's printer port. The dotted line in above separates the Address/data separator (main board) from the output card. By picking two lines from the MSB and two from the LSB group we could (with single NAND package) get clocks for four output latches in the output card.
Address/Data separator, address latch, output buffer (main board) Output card
The output of the latch was amplified with ULN400X-seven bit amplifiers (500mA/50V per channel, originally ment for seven segment displays?). That was the output!
Output board (Latches and ULN-drivers) Data InThe input to the computer was through the joystick ports. The data was red one bit per input port at the time. Four or eight ports could be red at the same time (depending on using one or two joystick ports. The MSX-joysticks were of switch type. The always active lower nibble of the address (taken from Address latch before the U6 3-to-8 device ('138)) selected the input card multiplexer "position" and "chip select" was by the most significant decoded line. The main board had schmitt triggers as the multiplexers in input cards were of analogue type.
The address latch operated data selectors (multiplexers) and inputs were taken through the muxes to the joystick port.
Input board (muxes) |
|
|