Hardware

InhoudHardwareRocrail



ORF-1 is a current sense S88 feedback unit for use with many systems, including ORD-1.

Introduction

This do-it-yourself (DIY) sensor module helps you to detect your trains (or switches or any sensor) to run your layout in auto mode. It is larger then the most commercial sensor modules, but it has opto isolation, twice as much inputs and mode selectors for all of them. You can also use it in a multi booster area: up to four boosters are supported by this unique module.

Main features

  • Full Rocrail support
  • Compatible with ORD-1
  • 16 inputs
  • 100x160mm PCB
  • 6-pin S88 input and output
  • Opto coupler isolation
  • Current sense mode, sensitivity approx 2mA
  • Detect ground mode, current sourced approx 5mA
  • Working mode selectable for each channel with a jumper
  • Four groups for power separation.
  • Power groups ch1-4+ch5-8 linkable with two jumpers
  • Power groups ch9-12+ch13-16 linkable with two jumpers
  • Possible to use detachable terminal blocks, preferably in 4 or 8 terminals per block.
  • Supports S88-N with shielded RJ45 connectors. Use cheap shielded network cable for module interconnection.

Files

Schematics and PCB artwork was created with KiCad, an Open Source (GPL) PCB Suite. Design files are kept in Rocrail Subversion repository

Version 1.13:

Changes: R67 pull down. Better silk screen layout.

Component notes

  • Rectifier diodes: The diodes must sustain full power usage and short circuit currents. You may try 1N5401 series (1N5406).
  • Jumpers/Shorting links: The removable shorting links must sustain full power usage. Choose type specified for at least 3A current.
  • Terminal blocks: Use any type with 200mil=5,08mm spacing. Useful, but not necessary, features are: 1-8 numbered terminals and/or removable terminal blocks.
  • Bulk capacitor: If you have many modules daisy-chained, you may reduce the 100uF capacitor to a smaller value (like 10uF or 4,7uF).

Distributors

  • tobbeb (no spam please, at) users.sourceforge.net
  • Reichelt Elektronik (delivers to Germany only)

Building

  1. Mount all small (low) components and jumpers first. Please note the polarity/direction for diodes (the ring side in the square pad), LEDs (the long leg in the square pad) and electrolytic capacitors (the minus sign in the round pad).
  2. Mount remaining components.
  3. Test it!

Functional description

S88 Connectors P1-P4

These are the S88 Bus connectors. Two connector types are supported, 6 pin S88 header and 8-pin RJ45 S88-N. In the figure above, for P1 and P2 the black (left) pin is no.1. P1or P4 connects ORF-1 with your controller (or daisy chained with the previous S88 module). P2 or P3 is connected to next S88 Module (or left open if end of the chain). S88-N is a new standard supported by OpenDcc, Digital-Bahn, Tams and Moba

Connectors K1, K2, K3, K4

Each of the 4 Connectors has the same configuration:

Pin1: Sensor input a Pin2: Sensor input b Pin3: Sensor input c Pin4: Sensor input d Pin5: Booster common/ground Pin6: Booster common/ground Pin7: Booster power input Pin8: Booster power input

Sensor definition table

input a input b input c input d
K1 Sensor 1 Sensor 5 Sensor 9 Sensor 13
K2 Sensor 2 Sensor 6 Sensor 10 Sensor 14
K3 Sensor 3 Sensor 7 Sensor 11 Sensor 15
K4 Sensor 4 Sensor 8 Sensor 12 Sensor 16

Example: Sensor 11 is connected with Connector K3, input c = Connector K3, Pin3

Booster Mode Jumpers J17, J18, J19, J20

With J17 and J18 you can shorten the Booster power/ground Connectors of K1 and K2. J19 and J20 does the same with K3 and K4.

ORF-1 has 4 separated Booster inputs, one for each connector group ( K1 - K4 ). With the jumpers you are able to combine 2 connector groups. This can be also done with wires but the jumpers offers more comfort. If all the 4 jumpers are closed you receive 2 groups with 8 inputs powered by two boosters.

Independent Booster circuits.

1 Booster: Close J17, J18, J19 and J20. Connect K1 and K3 with Booster A.
2 Boosters: Close J17, J18, J19 and J20. Connect K1 with Booster A and K3 with Booster B.
4 Boosters: Open J17, J18, J19 and J20. Connect K1 with Booster A, K2 with Booster B, K3 with Booster C and K4 with Booster D.

Overview of how to set jumpers with 1, 2, 3, or 4 Boosters.

1 2 3 4
K1 A A A A
K2 - - B B
K3 A B C C
K4 - - D
J17-18 Close Close Open Open
J19-20 Close Close Close Open

Sensor mode jumpers J1 to J16

With these jumpers you can change the mode of each input from Sensor to switch. If you close the Jumper the Input acts as a current sensor. If you open the Jumper the input is active if you shorten it to ground with a switch (e.g. reed switch).

"Forward" and "Reverse" mode

“Forward” mode is described above. If the Sensor mode Jumper is open, the sensor is active if it is shorten to ground, e.g. with a reed switch or so. If the Sensor mode Jumper is closed, the sensor provides Power to the track. It acts as a power output. The used current is measured. The sensor is able to detect 2mA.

“Reverse” mode is turned around. You have to change the Booster common and the Booster power inputs. If you do this the behavior of the sensor is as follows: If the Sensor mode Jumper is open, the sensor is active if it is shorten to Booster Power. If the Sensor mode Jumper is closed, the sensor acts as a power input. The Sensor is active if the current is more than 2mA.

In Both modes the current sensors are active if you connect a 10kOhm resistor or less.

Mixed mode

You can choose “Forward” or “Reverse” mode for each individual connector group. You can also choose the sensor mode for each individual sensor, no matter if it is in reverse or forward mode. This behavior makes ORF-1 to one of the most multi-purpose S88 Sensor cards.

Termination Jumper 21

This is an optional and experimental termination for the clock line, used only on the last card in the chain. It may reduce ringing on the clock signal.

Connection Example

If you are unsure how to connect your ORF-1 take a look at the connections drawing:

Connection diagram

If you are unsure how to connect after reading the drawing feel free to ask the RUG.

Gallery

3D-picture from KiCad, ORF-1 Version 1.11

The real stuff, ORF-1 version 1.11

orf-1.jpg


Personal Tools