|
In lugnet.lego, David Laswell wrote:
> So it sounds like a single loop should be no problem under
> most situations... there's the same issue with how much
> amperage a power regulator can push.
Philo kindly corrected me, pointing out that the NXT outputs are regulated down
to 1 A, so you couldn't run a dual-truck train all the way to stall. You could
still get a good bit of the way there, however. Does anyone know what the peak
voltage and current a train regulator can put out is?
While somebody is at it, the next time a large train is run up an incline that
is going around a bend at the same time, what is the train regulator actually
putting out? Do you ever see a train regulator running "full on" and the train
is just making it (i.e., near the limits of the system)? We had this issue with
the RCX powering the GBC trains, in that if we ever do go to "full power" (and
from the RCX, that's 500 mA, max), we get instant train wreck (usually with
impressive colateral damage, but that's a different thread).
> It sounds like what you'd want to do is run three loops
> where only one loop is receiving power at any given moment.
Ah, I see. What I was talking about was running three loops in parallel, pulsing
the power to each of them, not rapidly switching between the three from a single
port. PWM under software control isn't as smooth as you'd like, particularly at
low powers, but it might actually be good enough using the NXT motor encoder
feedback trick. It needs to be tried.
> Well, if you don't mind the fact that many people would
> have difficulty operating it under emergency circumstances
> (such as one train derailing over the tracks of another
> approaching train).
Program in a global kill switch: if the touch sensor is pushed, stop *all*
trains on *all* slave NXTs. Ideal? No... but if what you want is handling an
emergency, that will do it. My primary point is that if you are using a series
of true computers, there's a lot of possibilities.
As an example, let's say a slave NXT is running three loops under steady-state
conditions, and suddenly notices either its internal battery voltage jump up
(I'm not sure how much that would happen if it's plugged in), or one of the
loops suddenly starts running under a "no load" or "light load" condition. The
slave can correctly assume that something has happened to that train, and if
that loop crosses any others, can shut down not just that loop, but the
intersecting ones as well, "safing" that section of the layout (possibly an
out-of-sight section) before sending a message back to the master NXT for user
display. Incidently, since the master NXT isn't doing anything power-intensive
like running the motors, you could wear it on your belt like a big pager,
controling the layout from anywhere you happen to be. Your control center is
mobile.
> Actually, if you include the use of buttons in the
> control scheme...
There are four sensor inputs as well... any one of which could read an old-style
rotation sensor. If you are OK with different style throttles, you could easily
run seven (three motors, four rotation sensors) or more (gang touch sensors,
using pairs of touch sensors for throttle up / throttle down. You can probably
stack three or four touch sensors off every sensor input port, leading to
perhaps 6 up/down throttles from just touch sensors on sensor ports alone).
> No one person should need to own all involved NXT bricks.
No, but to learn how to program this stuff you really need at least two. I find
BT messaging between NXTs to be fairly easy, and very simple under NXT-G... but
that's because I've had the experience. You really need at least two to work out
the kinks on such a remote control scheme, and probably more (response times
change as you add more NXTs into the system).
> So I guess that wouldn't work at all for one of Ringe's
> more devious systems...
Really, if the PF system is going to be embedded into trains, having a "latch
on" mode would be ideal, and solve many problems. It doesn't even have to be an
"exposed" mode to kids, just a behavior that the IR receiver can produce when
properly commanded (like by an IRLink from a NXT, or a special "train remote").
OK, I'd also love non-line-of-sight solutions like compact BT between the train
and the remote, or just good old RC... but I don't know if those are in the
pipe. I'm pretty sure IR is already in the system :-).
--
Brian Davis
|
|
Message is in Reply To:
| | Re: The Future of Trains
|
| (...) So it sounds like a single loop should be no problem under most situations, since I'm not sure I've heard of anyone running three motors on a single train (there's the same issue with how much amperage a power regulator can push). (...) It (...) (17 years ago, 8-Oct-07, to lugnet.lego, lugnet.robotics.nxt)
|
124 Messages in This Thread: (Inline display suppressed due to large size. Click Dots below to view.)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|