Added: 1 year ago
From: ThorstenBenter
Views: 58,505
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (23)

Sign In or Sign Up now to post a comment!
  • Isn't this like back emf on regular dcc decoders for the constant speed? Nice remote control idea.

  • @MrRailroadrunner

    oh well I don't have any clue what "back emf" is; never had the chance to play with DCC - the code on the RCX is a plain vanilla PID control loop, nothing fancy at all.

    Regards,

    Thorsten

  • niceeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeeeeeeeeeeeee­eeeeeeeeeeeeeeeeeeee

  • nice train i like view

  • 6:11 is the best :D

  • Great gp40!!!!

  • I want that BNSF locomotive :D

  • AWESOME! How did you connect the rcx to the train motors? Please reply!

    Thanks

  • @twinbrickproductions

    Directly. The RCX can directly operate two train motors + light on the third output.

    The only problem is that the pulse-width-modulated RCX outputs do only generate low torque on the train motors at power levels 1 to 3. So a useful range is 3 to 5 and than they really go fast; level 6 and 7 may be too much.

    But that is why the PID output power control loop was programmed into the RCX. Railbricks has the software as well.

    Regards,

    Thorsten

  • COOL!!!! I was wondering if you could make one with the new NXT? If so, please do. I want to try to make one but I only have the NXT. I want to know if it's possible. Thanks

  • Absolutely, software wise. The RobotC program running on the RCX trains is easily adapted to run on the NXT. If you find a way to power the train off from the NXT motors, then you have PID already built in.

    However, the NXT PBrick is HUGE - I haven't yet figured out how to fit that monster reasonably looking into a 7 wide train. Also you need the LiPo along with a custom charging cable (can easily be done!) or run on batteries only.

    Yes, should work, needs work though.

    Regards, Thorsten

  • Comment removed

  • @ThorstenBenter Thanks for the tips!!!! I made a custom powerhaul that I think you would like. Please check it out! And please rate and comment!!!!!!

  • very intresting idea

  • Moin Thorsten,

    man behauptet: "Ein Bild sagt mehr als 1000 Worte". Ein Film kann aber noch viel mehr zeigen....

    Schön Deine Sachen hier mal "live and in action" in erleben!

    Beste Grüße,

    Ben

  • Moin Ben,

    danke Dir!

    Du bist mir "ein paar Tage" zuvorgekommen; Deine 23 hat jetzt 2 9V Motoren im Bauch und meistert hier tapfer eine Teststrecke bestehend Kurven, Weichen, flex track ... bis bald und herzliche Grüße!

    Thorsten

  • Impressive.

  • Anyway nice! :)

  • But why aren't they moving smoothly with PID?

  • Thanks for the flowers!

    Well the trains are more or less always moving "smoothly", but not very much "controlled". See time 1:53 - start w/o PID control. Power "1" does not start the train. Power "3" is required to get it off and then the train stops again in the curve - too much friction (time 2:11). Power is still at "3"! Then we need to go to "5" etc. With PID control Power level "1" = always speed level "1".

    Regards,

    Thorsten

  • Woops,

    sorry I guss I missed you question entirely: I guess you are talking about the GP40, sort of oscillating a little with PID control, right? Well, that's the beauty of it: All trains were running a PID loop with identical parameters for P/I/and D. But the GP40 does behave differently compared to the SantaFe - and that was the train I used to optimize the PID parameters. Need to adjust them for the other trains as well!

    Well spotted!!!

    Regards,

    Thorsten

    tho

  • Wonderful video!

  • Great!!!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more