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.
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.
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.
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!
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".
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!
Isn't this like back emf on regular dcc decoders for the constant speed? Nice remote control idea.
MrRailroadrunner 1 month ago
@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
ThorstenBenter 1 month ago
niceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
nitromeano 7 months ago
nice train i like view
clonedrwhoviewer 8 months ago
6:11 is the best :D
stoccop 10 months ago
Great gp40!!!!
MASON1246 11 months ago
I want that BNSF locomotive :D
Midnight1XCoffee 1 year ago
AWESOME! How did you connect the rcx to the train motors? Please reply!
Thanks
twinbrickproductions 1 year ago
@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
ThorstenBenter 1 year ago
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
TuffBuffRuffStuff 1 year ago
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
ThorstenBenter 1 year ago
Comment removed
TuffBuffRuffStuff 1 year ago
@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!!!!!!
TuffBuffRuffStuff 1 year ago
very intresting idea
lego4555 1 year ago
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
Stiegsfeld 1 year ago
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
ThorstenBenter 1 year ago
Impressive.
ronaldmcrae 1 year ago
Anyway nice! :)
lolhun1988 1 year ago
But why aren't they moving smoothly with PID?
lolhun1988 1 year ago
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
ThorstenBenter 1 year ago
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
ThorstenBenter 1 year ago
Wonderful video!
SiempreAprendiendo 1 year ago
Great!!!
Thomasnv53 1 year ago