|
I do think Steve is on the right track here. The train regulator varies the
voltage, but the RCX output can't. So you are left with managing (nominally) 9v
pulses. But there is another solution. You could add a DCC decoder to your train
motor, and then use either LDCC or BrickOS with LDCC support to control your
train. This way your RCX sends digital commands to the train and the DCC decoder
takes care of speed and acceleration. Most DCC decoders have highly tunable
performance parameters to get just the kind of control you are seeking.
That's the upside. The downside:
* Your top power output will be reduced (due to voltage drops in the DCC
decoder, I believe).
* You can still use your train in "analog" or normal mode, but the lowest
voltages won't work (because you must supply at least enough voltage to run the
DCC decoder's electronics first).
* Your track must be very clean to avoid dropouts in the signal.
* The LDCC firmware doesn't support scripting or programming. If you use
BrickOS, you may have to compile the LDCC support in yourself. LejOS is probably
too slow to permit an LDCC port in Java, you'd have to do it using native code.
Search LDCC on Lugnet for details.
Kind regards,
Brian A.
Daniel Carvalho wrote:
> >
> > hi Steve,
> >
> > I think the problem is not exactly the same.
In lugnet.robotics.rcx.legos, Daniel Carvalho wrote:
> hi Steve,
>
> I think the problem is not exactly the same.
>
> The lego technic motors run always at the same speed so you need to use
> that kind of schema for speed control in robots. The train motors are
> different, they have a speed proportional to the output level (like the
> old technic motor).
>
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: train precision
|
| (...) hi Steve, I think the problem is not exactly the same. The lego technic motors run always at the same speed so you need to use that kind of schema for speed control in robots. The train motors are different, they have a speed proportional to (...) (19 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
|
8 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|