Login
Register
Forum
Help
JNSwiki
May 24, 2012, 12:55:30 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Entire Site
Entire Forum
This board
This topic
Members
Search for
Japanese Modelling & Japan Rail Enthusiasts Forum
>
Forum
>
Platform 4 - (The Dark Side of) Modeling
>
DCC and Electrical
> Topic:
Making precise slow speed station stops (automation)
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Making precise slow speed station stops (automation) (Read 734 times)
0 Members and 2 Guests are viewing this topic.
David
Offline
Gender:
Making precise slow speed station stops (automation)
«
on:
March 26, 2011, 07:13:06 pm »
For the eventual layout a major component will be automation - I want a lot of other traffic moving on its own, making station stops and generally behaving in a realistic manner.
To make a station stop I need to combine 3 elements:
* Trains of varying length need to be able to come to a complete stop at a set point, with a maximum various of 5mm. If Densha de Go has taught me anything it's that you lose a lot of points for overrunning a station.
* Trains should not come to a sudden stop, they should slow down gradually and smoothly. Densha de Go has also shown that you can't slow down too fast, or you'll waste a lot of time coasting along the platform. You also lose points if you have to speed back up again because you undershot the end.
* It has to be economical. Platforms will already cost a lot due to turnouts, the platform itself, and TomyTec figures. Another $150 to install 8 detection zones is not good, assuming they even perform well packed in that close.
Obviously detection zones, based on a load (the train) being placed on an isolated section of track, are the basic building block for automation. But I think something more clever is needed for the stations. Optical detection comes to mind, but neither of the two options seem good: Embedded in the track it can detect a passing train, but that brings us right back to cost because of the quantity. In theory IR and similar optical systems can do range finding, but I think this has been shown to be impractical for precise control at this scale.
I got one idea watching video of the new TomyTec bus system and how it was able to stop precisely inside the painted lines of the bus stop. That system uses magnets and reed switches. What if we placed reed switches under the track, and a magnet in the cab cars? (the motor car might also accidentially project a magnetic field). If the microcontroller component could be done cheaply enough it could be used to provide a large number of detection spots to plot the exact position of a train (we can assume the train is traveling in one direction only) on the platform track.
Logged
inobu
Offline
Re: Making precise slow speed station stops (automation)
«
Reply #1 on:
March 26, 2011, 09:19:33 pm »
Automation = computerization.
Economical DCC computerization = JMRI.
Precision speed control =speed table mapping.
Station to station automation = scripting.
You can script your trains route and manage its starts and stops by time based scripting. Scripting allows you to write DCC commands that will execute in time intervals which can be synchronized with the stations train schedules.
Programming the deceleration trim will allow you to pin point the precise time to enter the stop command resulting it a consistent stopping point along the platform.
«
Last Edit: March 26, 2011, 09:25:35 pm by inobu
»
Logged
Martijn Meerts
Administrator
Online
Gender:
Re: Making precise slow speed station stops (automation)
«
Reply #2 on:
March 28, 2011, 10:03:25 am »
If you only want single direction travel, and want all trains to stop at the exact same spot, all you need is 2 occupancy detectors per block. Depending on which digital system you use, 2 occupancy detectors aren't all that expensive.
The problem I've had with read switches before, is that they tended to get stuck, making them unusable. Also, if you hide them under the track, and hide the magnet inside a car, you'll probably need fairly strong magnets.
There's various options for computer control. JMRI is one, but there's also RocRail (free) and iTrain (low price). Obviously, there's bigger ones, but they're overly expensive ;)
Logged
Mixed Japanese N-scale:
http://www.jr-chiisai.net
Era III German 0-scale:
http://blackforest.jr-chiisai.net
CaptOblivious
Philosopher-Engineer
Administrator
Offline
485系「あいづライナー」
Re: Making precise slow speed station stops (automation)
«
Reply #3 on:
March 28, 2011, 02:12:15 pm »
I've been thinking some about this problem too. A couple things I've considered:
An array of IR-LED/detector pairs placed under the station platform, facing the track. If you used several, you could keep on the actual speed and position of the train. Might be visible, though the LED and detector would only need a small hole drilled in the side of the platform. If they are positioned so that they see the trucks only, you can get a fairly accurate and fine-grained measure of speed and deceleration.
Option two, for increased hidability: Magnets in trucks, hall-effect sensors inside platform, facing trucks. More reliable (and more expensive) than reed-switches, hall-effect sensors are pretty cool, and provide an analog output suitable for a very small amount of range-finding (maybe a few mm in either direction, which would be all that you need for precise placement at the platform end).
After that, it's up to you how you process those signals. An Arduino would be an ideal candidate, I think, for processing them and passing them on to JMRI or the like. The smallest Arduinos can easily be hidden inside the platform.
Logged
A miniature slice of geekdom,
Akihabara Station
The_Ghan
Online
Gender:
"The Ghan" - a famous Australian railway.
Re: Making precise slow speed station stops (automation)
«
Reply #4 on:
March 29, 2011, 03:24:32 am »
Quote from: Martijn Meerts on March 28, 2011, 10:03:25 am
If you only want single direction travel, and want all trains to stop at the exact same spot, all you need is 2 occupancy detectors per block. Depending on which digital system you use, 2 occupancy detectors aren't all that expensive.
Why two? I'm setting up my layout for occupancy detection (Digitrax BDL-168s) but the wiring diagram supplied shows one detector per block. Further, I can't fathom how two detectors per block might operate differently.
I'm also interested in this topic and plan to automate trains stopping at stations. I was hoping that I can just do this with JMRI or TrainController. No?
Cheers
The_Ghan
Logged
Martijn Meerts
Administrator
Online
Gender:
Re: Making precise slow speed station stops (automation)
«
Reply #5 on:
March 29, 2011, 07:54:48 am »
Quote from: The_Ghan on March 29, 2011, 03:24:32 am
Quote from: Martijn Meerts on March 28, 2011, 10:03:25 am
If you only want single direction travel, and want all trains to stop at the exact same spot, all you need is 2 occupancy detectors per block. Depending on which digital system you use, 2 occupancy detectors aren't all that expensive.
Why two? I'm setting up my layout for occupancy detection (Digitrax BDL-168s) but the wiring diagram supplied shows one detector per block. Further, I can't fathom how two detectors per block might operate differently.
I'm also interested in this topic and plan to automate trains stopping at stations. I was hoping that I can just do this with JMRI or TrainController. No?
Cheers
The_Ghan
Just 1 would work as well, but gives you no precise control of where the trains stop. Also, trains will get different running characteristics over time, meaning that if they stop where they should initially, after several months of running they might start driving faster or slower, which in turn means they'll stop at a different spot. Some software allows you to get around the issue though, by adding 1 or more speed traps, where the train speed is constantly measured and updates in the software.
If you use 2 detectors, the first one would be the brake section where the train starts to slow down to minimum speed. The 2nd one would be the stop section, where the train stops. Obviously, with a stop section, you'll be a lot more certain where the train stops.
Not sure about JMRI with regards to complete automate a layout, but I would expect it's possible. With TrainController it's definitely possible.
Logged
Mixed Japanese N-scale:
http://www.jr-chiisai.net
Era III German 0-scale:
http://blackforest.jr-chiisai.net
David
Offline
Gender:
Re: Making precise slow speed station stops (automation)
«
Reply #6 on:
March 29, 2011, 12:36:24 pm »
The software side isn't a problem, JMRI provides an open API for using a Digitrax PR3 or other DCC-Computer interface, I can provide the rest (that's part of the fun). My main concern is what Martijn Meerts talks about, the fact that ideal stopping distance based on a series of blindly issued speed steps, and actual reality (temperate, motor wear, wheel slip, track pickup, missed packets) are not the same. It reminds me of some high school robotics - making the assumption that if you timed how long it took for the robot arm to make a 1 degree turn, you could accurately move it without any sensor feedback. There is a reason specialized motors (servos) exist.
Logged
The_Ghan
Online
Gender:
"The Ghan" - a famous Australian railway.
Re: Making precise slow speed station stops (automation)
«
Reply #7 on:
March 29, 2011, 12:47:15 pm »
Quote from: Martijn Meerts on March 29, 2011, 07:54:48 am
Just 1 would work as well, but gives you no precise control of where the trains stop. Also, trains will get different running characteristics over time, meaning that if they stop where they should initially, after several months of running they might start driving faster or slower, which in turn means they'll stop at a different spot. Some software allows you to get around the issue though, by adding 1 or more speed traps, where the train speed is constantly measured and updates in the software.
If you use 2 detectors, the first one would be the brake section where the train starts to slow down to minimum speed. The 2nd one would be the stop section, where the train stops. Obviously, with a stop section, you'll be a lot more certain where the train stops.
Not sure about JMRI with regards to complete automate a layout, but I would expect it's possible. With TrainController it's definitely possible.
Hmmm ... I'm thinking of going with TrainController, but it's expensive. I've already downloaded the demo and I like the way it works. With regard to speed traps I would imagine (and I'm not this far into it yet) that a speed trap can be set across multiple blocks using one detector per block ... I shall explore, but I take your point.
Cheers
The_Ghan
Logged
Dani
Offline
Gender:
Re: Making precise slow speed station stops (automation)
«
Reply #8 on:
March 29, 2011, 12:59:09 pm »
I'm doing some tests with Rocrail (it's all for free!! and also has Androc to take the control from your Android phone!!!!):
* I have one detection zone at the begining of the station (one for all tracks) (ZONE A)
* I also have one detection zone in each track of the station, all at the same distance of the end of the track (ZONE B)
With RocRail you can setup all trains entering ZONE A to reduce the speed at V_mid or V_min softly following the inertia of the loco. (V_min and V_mid is configured particulary in each loco parameters)
When the traing enters in ZONE B, Rocrail can order to stop this loco, but following the special configuration of each loco. Each loco can be configured with a delay time before stopping, so you can compensate the different inertias and speeds to make all them to stop in the same distance.
I'm testing this for my layout right now, but theoreticaly it can be done without problems.
Hope this helps.....
Logged
m(_ _)m
Club N Caldes de Montbui:
http://clubncaldes.blogspot.com
Martijn Meerts
Administrator
Online
Gender:
Re: Making precise slow speed station stops (automation)
«
Reply #9 on:
March 29, 2011, 01:24:47 pm »
Quote from: David on March 29, 2011, 12:36:24 pm
The software side isn't a problem, JMRI provides an open API for using a Digitrax PR3 or other DCC-Computer interface, I can provide the rest (that's part of the fun). My main concern is what Martijn Meerts talks about, the fact that ideal stopping distance based on a series of blindly issued speed steps, and actual reality (temperate, motor wear, wheel slip, track pickup, missed packets) are not the same. It reminds me of some high school robotics - making the assumption that if you timed how long it took for the robot arm to make a 1 degree turn, you could accurately move it without any sensor feedback. There is a reason specialized motors (servos) exist.
I believe it's Railware that first came with the whole 1 detector per block is enough, because their software was intelligent enough to stop trains exactly where you wanted them to stop. They forgot to mention (in their marketing) that this depends on the actual speed of the train, and the speed will definitely vary. Add 2 cars and your speed will already be different, albeit very slightly.
Quote from: The_Ghan on March 29, 2011, 12:47:15 pm
Quote from: Martijn Meerts on March 29, 2011, 07:54:48 am
Just 1 would work as well, but gives you no precise control of where the trains stop. Also, trains will get different running characteristics over time, meaning that if they stop where they should initially, after several months of running they might start driving faster or slower, which in turn means they'll stop at a different spot. Some software allows you to get around the issue though, by adding 1 or more speed traps, where the train speed is constantly measured and updates in the software.
If you use 2 detectors, the first one would be the brake section where the train starts to slow down to minimum speed. The 2nd one would be the stop section, where the train stops. Obviously, with a stop section, you'll be a lot more certain where the train stops.
Not sure about JMRI with regards to complete automate a layout, but I would expect it's possible. With TrainController it's definitely possible.
Hmmm ... I'm thinking of going with TrainController, but it's expensive. I've already downloaded the demo and I like the way it works. With regard to speed traps I would imagine (and I'm not this far into it yet) that a speed trap can be set across multiple blocks using one detector per block ... I shall explore, but I take your point.
Cheers
The_Ghan
Traincontroller is a good program, but as you said expensive. With the latest release and the bronze, silver and gold versions it seems to be better at first glance, but when you check the features for each version, you'll quickly come to the conclusion that in many cases the gold version is the only thing that works well ;) You could have a look at RocRail, which is similar to Traincontroller, but it's free. It's not (yet) as advanced as Traincontroller, and it's definitely not as easy to use, but might be worth having a look.
Quote from: Dani on March 29, 2011, 12:59:09 pm
I'm doing some tests with Rocrail (it's all for free!! and also has Androc to take the control from your Android phone!!!!):
* I have one detection zone at the begining of the station (one for all tracks) (ZONE A)
* I also have one detection zone in each track of the station, all at the same distance of the end of the track (ZONE B)
With RocRail you can setup all trains entering ZONE A to reduce the speed at V_mid or V_min softly following the inertia of the loco. (V_min and V_mid is configured particulary in each loco parameters)
When the traing enters in ZONE B, Rocrail can order to stop this loco, but following the special configuration of each loco. Each loco can be configured with a delay time before stopping, so you can compensate the different inertias and speeds to make all them to stop in the same distance.
I'm testing this for my layout right now, but theoreticaly it can be done without problems.
Hope this helps.....
My hidden yard is set up like this. 1 common detector for each of the hidden yard tracks, and than 1 detector for where the train has to stop. The disadvantage of this system is that it only works in 1 direction (unless you add the same system for trains traveling the opposite direction, but that defeats the purpose.
A while ago I did some posts about setting up blocks for computer control, it's al fairly rough and basic, but it might help some people:
- Part 1:
http://www.jnsforum.com/index.php/topic,370.0.html
- Part 2:
http://www.jnsforum.com/index.php/topic,372.0.html
- Part 3:
http://www.jnsforum.com/index.php/topic,403.0.html
Logged
Mixed Japanese N-scale:
http://www.jr-chiisai.net
Era III German 0-scale:
http://blackforest.jr-chiisai.net
Pages: [
1
]
Go Up
Print
Japanese Modelling & Japan Rail Enthusiasts Forum
>
Forum
>
Platform 4 - (The Dark Side of) Modeling
>
DCC and Electrical
> Topic:
Making precise slow speed station stops (automation)
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Platform 1 - Birth and Death of a Forum
-----------------------------
=> Welcome Guest!
=> Welcome
=> Forum Announcements
=> The Agora, General Administrative Discussions
-----------------------------
Platform 2 - Japanese Model Railroading
-----------------------------
=> N Gauge
=> Other Gauges and Scales
=> Trams and Trolleys
-----------------------------
Platform 3 - Products and Retailers
-----------------------------
=> New Releases and product Announcements
=> Suppliers
=> Hobby Shops - Where are they?
-----------------------------
Platform 4 - (The Dark Side of) Modeling
-----------------------------
=> The Train Doktor
=> DCC and Electrical
=> Layout Computer Control & Automation
=> The Tool Shed
=> Scenery
-----------------------------
Platform 5 - Layouts, Clubs and Projects
-----------------------------
=> Personal Projects
=> Club News
=> Archived Project Parties
===> September 2009 Project Party
===> Summer 2010 Project Party
===> Summer 2011 Project Party
-----------------------------
Platform 6 - Japan and Japan Rail
-----------------------------
=> Japan Rail, news and announcements
=> Prototypes, pictures and videos
=> Japan, travel tips and memories
-----------------------------
Platform 7 - International Modelling and Railroading
-----------------------------
=> Non-Japanese Modelling
=> Non-Japanese Prototypes
=> Non-Japanese Travelling
-----------------------------
Platform 8 - Other Destinations and Hobbies
-----------------------------
=> Train Related Software, Games and Simulations
=> Other Hobbies
=> Off Topic
TinyPortal v.1.0.6 beta 2 ©
Bloc
Problems? Simply email "help" at "jnsforum" dot "com"!
Loading...