RC Truck and Construction

RC Truck and Construction (https://www.rctruckandconstruction.com/index.php)
-   Construction Equipment (https://www.rctruckandconstruction.com/forumdisplay.php?f=6)
-   -   Newbie Scratch Build - D575A Dozer (https://www.rctruckandconstruction.com/showthread.php?t=13608)

Originalrob 12-28-2020 04:50 PM

Re: Newbie Scratch Build - D575A Dozer
 
opps !

After several trial configurations i have settled on this:

https://i.postimg.cc/yYtM73ZY/IMG-6222.jpg

i found the bevel gears wanted to push each other apart under load so i had to move the larger gear up against the chassis to get rid of any deflection.

I also had to fab a motor mount for the two 24v dc motors:

the ABS 3d printed one just was not strong enough for all the torque

https://i.postimg.cc/nL8HzwN5/IMG-6221.jpg

Image shows the steel bar that connects the two undercarriages together:

https://i.postimg.cc/vBhM08DF/IMG-6223.jpg

it has a thread and counter sunk bolt at each end to pull it all together and then a couple aesthetic covers to hide them.

https://i.postimg.cc/Xvc0vNfG/IMG-6233.jpg

https://i.postimg.cc/B6BZRcYz/IMG_6209.jpg

https://i.postimg.cc/qRsg4dRj/BEFC79...F92D8BDE1C.jpg

https://i.postimg.cc/6qBqQ14w/575D24...B53A0EE8C3.jpg

I am still amazed by how much time all these little things take to make !

Originalrob 12-28-2020 05:06 PM

Re: Newbie Scratch Build - D575A Dozer
 
For a bit of a break from all the hand cranking operations on the mill and lathe i also started on 3D printing the cab and top elements that had no structural importance and were just for show.

https://i.postimg.cc/Hx6C9kXN/B73F9C...69EB5E047A.jpg

https://i.postimg.cc/MT6SBQMR/E7F8B9...D5408F11F8.jpg

https://i.postimg.cc/vBFDJmQ4/482948...103E54ABBA.jpg

the railings are just 2mm steel rod and bend/silver soldered together. really happy how these worked out!

my original idea was to weld all the elements of the undercarriage together ( bolted together first) and then two pack fill and sand/undercoat:

https://i.postimg.cc/k5Q31MDM/1.jpg

https://i.postimg.cc/TY1xdXNQ/2.jpg

https://i.postimg.cc/hvMjQbVm/D1E7FB...74F5A66787.jpg

Filled and primed :

https://i.postimg.cc/d0KYvZyc/IMG-6227.jpg

https://i.postimg.cc/k5Q31MDM/1.jpg

Yellow colour is just a filler/primer for the ABS prints and is used an acid etched primer for the steelwork

https://i.postimg.cc/br6ywYjH/IMG_6215.jpg

https://i.postimg.cc/X7JND5w2/IMG_6217.jpg

https://i.postimg.cc/dVZsJKNr/IMG_6219.jpg

https://i.postimg.cc/9Qqj9Yh7/6.jpg

https://i.postimg.cc/N0qvk2sP/7.jpg

https://i.postimg.cc/NfncLPWt/8.jpg

Originalrob 12-28-2020 05:53 PM

Re: Newbie Scratch Build - D575A Dozer
 
Which brings us back to electronics !

So i did have this running ( up off the tracks on a stand) using a 2x32a Sabertooth controller from my openTX transmitter ( Radiomaster 16 channel) and it ran as expected (very well). The only problem was when i was at full stick forward the RPM of the track was about 30RPM at the sprocket. Far to fast for what i wanted. With the sabertooth, you can just ease off the stick to slow down but that comes at the cost of torque as the controller just turns down the voltage, slowing the motors. A 24v motor running at 9 v just isnt as strong at one at full power.

Thought about gearing the motors down further ( way to much work and i really didn't want to go back to the drawing board on the transmission!) but i remembered another build thread that talked about PWM control of DC motors. Main benefit being that you just pulse the motors very fast for a percentage of time so that the motors slow but are still getting 24v ( but only for very rapid short bursts)
So after a few weeks i ditched the sabertooth in favour of the following PWM setup:

https://i.postimg.cc/4ytb91GB/electronic.jpg

OpenTX radio talks to two channels on the receiver.
2 channels on the receiver are connected to inputs onto an Arduino microprocessor
Outputs from the Arduino are PWM signals for motor speed and another for motor direction which get connected to a PWM capable motor driver.

That's the easy part ! The hard part was writing the code for the Arduino.

After a couple weeks of Arduino code for dummies and watching every youtube tutorial possible i was able to write the code for differiantial/tank steering.

its a steep learning curve but well worth the effort. Its not just the benefits of PWM motor control but also being able to control lighting, sound or anything really you wanted. I will post the code below so that hopefully it may help someone else one day.


Setup:
Open TX TX16s transmitter (2 channels for drive motors)
10ch receiver
Arduino Uno (Elegoo starter kit)
Cytron MDD10A Dual Motor Driver (PWM input)
2x24v brushed DC motors with 1:72 planetary gearboxes
7s LiPo at 24 v

Code:

int dir1 = 7;
int dir2 = 4;
//the following are all ~PWM capable ports
int pwm1 = 6;
int rc_channel4 = A0;
int pwm2 = 5;
int rc_channel2 = A1;
void setup() {

TCCR0B = TCCR0B & B11111000 | B00000010; // for PWM frequency of 7812.50 Hz (Output pins 5,6)
pinMode(rc_channel4, INPUT);
pinMode(dir1, OUTPUT);
pinMode(pwm1, OUTPUT);
pinMode(rc_channel2, INPUT);
pinMode(dir2, OUTPUT);
pinMode(pwm2, OUTPUT);
Serial.begin(9600);
}


void loop() {

int pwmA = 0;
int rc4 = pulseIn(rc_channel4, HIGH, 35000);
int pwmB = 0;
int rc2 = pulseIn(rc_channel2, HIGH, 35000);

Serial.print(" raw channel4: ");
Serial.print(rc4);
Serial.print(" raw channel2: ");
Serial.print(rc2);
delay(100);

if (rc4<1450 && rc4>1400) {
Serial.println(" stick centered");
analogWrite(pwm1, 0);

}
if (rc2<1450 && rc2>1400) {
Serial.println(" stick centered");
analogWrite(pwm2, 0);
}
if(rc4 > 1450){ //right stick
pwmA = map(rc4, 1450, 1910, 0, 255); //map our speed to 0-255 range
digitalWrite(dir1, LOW);
analogWrite(pwm1, pwmA);
pwmA = constrain(pwmA,0,255);
Serial.print(" right stick speed: ");
Serial.println(pwmA);
}
if(rc2 > 1450){ //left stick
pwmB = map(rc2, 1450, 1910, 0, 255); //map our speed to 0-255 range
digitalWrite(dir2, HIGH);
analogWrite(pwm2, pwmB);
pwmB = constrain(pwmB,0,255);
Serial.print(" left stick speed: ");
Serial.println(pwmB);
}
if(rc4 < 1400){
pwmA = map(rc4, 1400, 920, 0, 255); //map our speed to 0-255 range

digitalWrite(dir1, HIGH);
analogWrite(pwm1, pwmA);
pwmA = constrain(pwmA,0,255);
Serial.print(" right stick speed: ");
Serial.println(pwmA);
}
if(rc2 < 1400){
pwmB = map(rc2, 1400, 920, 0, 255); //map our speed to 0-255 range

digitalWrite(dir2, LOW);
analogWrite(pwm2, pwmB);
pwmB = constrain(pwmB,0,255);
Serial.print(" left stick speed: ");
Serial.println(pwmB);
}


delay(10);
}


I raised the frequency of the PWM to remove the high pitch whine and increase driver efficiency but not necessary. I have this working on my desktop (image) and its working as i would want. once its installed i may have to tweak the steering inputs but generally its a good starting point.

Thats enough for one day !

feel free to ask questions if needed

Rob

Zabco 12-28-2020 06:33 PM

Re: Newbie Scratch Build - D575A Dozer
 
Great work, was really nice to get an update. I really like the idea of using the Arduino and thanks for sharing the code. What will the approximate size of your machine be when finished?

Originalrob 12-29-2020 05:35 AM

Re: Newbie Scratch Build - D575A Dozer
 
Hi Zabco

the total length will be about 850 mm and the blade is 460mm wide (think its a coal blade). depending on a test on how it pushes dirt I may have to opt for a smaller blade width. ill see how it goes as with most of this, its trial and lots of errors :)

I threw all the metal for the blade and ripper on scale with the chassis and its already at 55kg ! its hard enough moving it about already !

can recommend the Arduino enough but If you use the code you will have to tweak the input ranges for your specific RC transmitter/ deadbands. I am sure they all vary a little bit.

Rob

egronvold 12-29-2020 08:50 AM

Re: Newbie Scratch Build - D575A Dozer
 
Congrats on a nice build and thanks for sharing your experience as a first time coder:)

frizzen 12-29-2020 11:57 AM

Re: Newbie Scratch Build - D575A Dozer
 
Great looking machine!

I've got to say, coding your own dual esc is really impressive! i would have totally wimped out and just run 2 seperate esc and setup a channel mix through the radio

9W Monighan 12-29-2020 05:51 PM

Re: Newbie Scratch Build - D575A Dozer
 
Very Nice work Rob.
That coding definitely sounds complicated to me.
You may have to build planetary reductions in your final drives to slow her down thus having full power to the motors. That would take a lot of the stress off of your bevel gearing that you said you're already having trouble with.
I'm not up to date on all of the RC electronics but; Don't the brushless motor speed controllers act like an AC Inverter?
I have some of my machinery and mills in my shop equipped with 208VAC 3phase inverters to control the motor RPM. It seems I get full torque using them at low speeds.

I get a chance, I have a picture I'll post taken 29yrs ago of the first D575A built with my son and I standing next to it.

Zabco 12-29-2020 06:36 PM

Re: Newbie Scratch Build - D575A Dozer
 
Quote:

Originally Posted by Originalrob (Post 169888)
Hi Zabco

can recommend the Arduino enough but If you use the code you will have to tweak the input ranges for your specific RC transmitter/ deadbands. I am sure they all vary a little bit.

Rob

Yes, I love the arduinos, been playing around with them off and on for several years now. Just never tried to do anything like what your have done. Am currently working with a couple of NANO 33 BLE boards on a small project that if it works out, I will post to the forum. Keep up the great work.

Originalrob 12-29-2020 07:01 PM

Re: Newbie Scratch Build - D575A Dozer
 
Hi !
Really appreciate the kind comments :)
Ideally I would to have liked to rotate each motor 90 degrees so that the motor shaft connected straight onto the sprocket but the space inside didn’t really allow it, well not for the motor/gearbox I chose. That would get rid of the need for a right angle transfer. When I first started at this I couldn’t really find any information on how much torque is required to make a 100lb model move itself and then somehow still have enough power to push a blade full of dirt so I just opted to get the highest torque motors that I could fit inside the frame. There are a few D10 builds on the forum that have used wiper motors out of cars etc but none really mention the motor specs In terms of rated torque. The ones I have chosen do have planetary gears already and are rated at 10nm continuous and can do shorter periods of up to 25 mm. Is it enough ? I don’t really know ! But I will post some results when it’s all put together so that the next person may benefit from all this.
I’m not really knowledgeable about inverters etc to comment but from a crude physical test ( hands holding sprocket) between the sabertooth @20% stick and then the PWM setup at 20%, I couldn’t slow the PWM at all , whilst the sabertooth I could make the motors slow/labour. Again I’m not expert at all and it’s just trial and error.
Please post the picture, I would be really interested in seeing it !!

Rob

Originalrob 01-02-2021 11:42 AM

Re: Newbie Scratch Build - D575A Dozer
 
Hi everyone !

First test video..... actually the first test at my mates allotment went ok until the set screws holding the gears to the axle gave up the ghost after 10 mins. So beefed them with bigger grub screws and seems to work fine.

https://youtu.be/BH8w4-jRwyY

frizzen 01-02-2021 05:20 PM

Re: Newbie Scratch Build - D575A Dozer
 
Might want to put a small touch of 'removable thread locking compound' (blue loctite) on the tip of your grub screws so they don't die so fast in use.

Originalrob 01-06-2021 08:18 AM

Re: Newbie Scratch Build - D575A Dozer
 
Hi Frizzen

that's a good shout ! I might have to go back an do all the screws to be on the safe side.

So I have started working on the blade and push arms(?).

I had an arm 3d printed ages ago although the wrong scale. So some steel stock and marked up so I don't f*** up :)

https://i.postimg.cc/x8fPX0pZ/IMG_6244.jpg

I have ordered some swivel and rod end bearings to attached so I have left the arms long for now until I can measure

https://i.postimg.cc/qvhxhDQp/IMG_6245.jpg

https://i.postimg.cc/Njmrv3p2/IMG_6250.jpg

https://i.postimg.cc/tJBNPLL4/IMG_6251.jpg

https://i.postimg.cc/yYrTNCmf/IMG_6252.jpg

A bit of filler and paint and should looks good ( I hope !)

D8R 01-16-2021 09:08 AM

Re: Newbie Scratch Build - D575A Dozer
 
Rob, very impressning build. Also interesting to see your mix of lasercut, 3d printed parts. Had no idea that ardino could be used for steering programing, that may come valid IF i change to electric drive on my build. Will follow this build.
Dan

Lil Giants 01-18-2021 04:07 PM

Re: Newbie Scratch Build - D575A Dozer
 
Your hard work over the last yr is taking shape nicely Rob, the dozer looks like an awesome beast! :cool:

Originalrob 03-20-2021 06:36 AM

Re: Newbie Scratch Build - D575A Dozer
 
Hi Everyone,

Little bit of progress since last time :

Making a blade and hydraulic ram pivots:

https://i.postimg.cc/kgm6bbzY/B1-A5-...6-C53-ED39.jpg

https://i.postimg.cc/KcCgmVN2/F0-EA9...-C61982929.jpg

https://i.postimg.cc/3xXr5fLn/09054-...B946-B1311.jpg

https://i.postimg.cc/7hJDBKG1/16-A3-...98-C210-DE.jpg

https://i.postimg.cc/W4pd9P2M/9-C926...D2-FFF78-E.jpg

I also had a nice delivery from Premacon so I thought it would be best to put together a pump set that I could test outside the machine for leaks etc then simply bolt in position and connect the rams

https://i.postimg.cc/kG2M0nZb/C06-A0...-F66808-C3.jpg

https://i.postimg.cc/xd9f0GhY/DF6-AE...BD8784-F86.jpg

https://youtu.be/hY6JiJXL7Pw

The weight of the blade is quite a lot and I am concerned that the rams wont lift it !

Originalrob 03-20-2021 06:47 AM

Re: Newbie Scratch Build - D575A Dozer
 
So put everything together to see how it works.

The weight of the blade in the raised position seems to move the balance and pivot point towards the front idlers and there is a bit of slack in the tracks when reversing etc. i may need to install some stiffer springs to tension the tracks more and/or install the ripper to add weight to the back which should also balance it out. Happy the rams are up to doing the job though :)

Will try and get some videos of it pushing dirt soon

https://youtu.be/F8dfyTtsrY0

Lil Giants 03-20-2021 10:32 AM

Re: Newbie Scratch Build - D575A Dozer
 
Well done Robert! :cool:

Have you weighed it yet?

sparkycuda 03-20-2021 10:33 PM

Re: Newbie Scratch Build - D575A Dozer
 
Being an avid Komatsu guy, this build is great! Detail, proportion, function are just like the real Super Dozer. Congratulations on a successful first hydraulic test.
Ken

egronvold 03-21-2021 08:25 AM

Re: Newbie Scratch Build - D575A Dozer
 
Looking forward to see the power of this beast on the dirtpiles!


All times are GMT -4. The time now is 03:48 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.