Тёмный

Micro Robot Arm Precision Test 

Electron Dust
Подписаться 42 тыс.
Просмотров 171 тыс.
50% 1

What are some good tests to apply to this robot arm? We want to figure out whether or not the thing is working the way we think it is working. For example, we think there are no missed steps, but is this really true? The robot arm operates open loop. There are no rotary encoders involved. The microcontroller keeps track of the current positions of all the joints by counting the pulses that are getting sent to the stepper driver chips. The motors might slip and lose a step. And even if the motors are moving reliably, is the microcontroller counting the steps correctly? There might be a bug in the software.
We need data. So let's check how precise the robot arm is able to move. In the video below, the robot arm moves in a fixed manner. We mark 2 positions; One to check mainly for errors along the Y-Axis, another position for errors along the X-Axis.
The results show that the position used to check deviations along the Y-Axis got lower over time (the robot arm was moving for 5 minutes in total), while the error along the X-Axis seemed small. Since the error is in the same direction as the earth's gravitational pull, this might indicate that there indeed were some missed steps. But one could also argue that the precision is within margins considering the gears backlash is about 2.5°. It also seemed like the error was converging to some certain amount.
More time had to be invested to pin down the cause/causes of the error seen in this video. Since it is moving fairly accurate I call it a day. The next project's waiting!
Buy the 12V 28BYJ-48 stepper motors used in this project on Amazon (Affiliated link):
amzn.to/32GI4jN
Read more here:
electrondust.c...

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 78   
@PiefacePete46
@PiefacePete46 5 лет назад
I have just watched a video that may have the answer; The output shaft is connected to the output gear by a friction clutch! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-srDDkkhh3NE.html It's quite possible you are not missing steps at all. There is a view of the output shaft and gear here; ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-srDDkkhh3NE.html I think it would be possible to lock the gear and shaft together without too much drama.
@ElectronDust
@ElectronDust 5 лет назад
Wow, I had no idea that there was a clutch in there! Thanks for sharing that video!
@merxellus1456
@merxellus1456 5 лет назад
I wasn't ready for that speed and accuracy
@ElectronDust
@ElectronDust 5 лет назад
The video footage of the middle part is sped up. Hope this video is not misleading as to the speed at which those motors can be driven.
@voyager5344
@voyager5344 5 лет назад
I really like that you also explain the math you have used to solve the real problem and use it into the project.I believe this is real engineering thank you for explaining all these stuff and keep up good work!
@ElectronDust
@ElectronDust 5 лет назад
Thank you so much!
@solosailor222
@solosailor222 4 года назад
Nice! Your software is the most impressive tech, yet the machinations are mesmerizing to watch. Algorithms do not video well, alas...
@bobbyp4025
@bobbyp4025 4 года назад
0:54 my dog when he smells another dog on me
@diegofranchi50
@diegofranchi50 4 года назад
Ok im done with this xD
@LeoCastroFot
@LeoCastroFot 4 года назад
The problem is not with the stepper motors or gears, probably, but with the structure of the arm and its response to the natural expansion of the material and its connections added to the force of gravity.
@MikeMcRoberts
@MikeMcRoberts 5 лет назад
Wow, it is surprisingly quiet!
@RyanChiang-x9h
@RyanChiang-x9h 2 года назад
Wow you did it!
@frankdearr2772
@frankdearr2772 Год назад
great, thanks for sharing 👍
@ianm1898
@ianm1898 4 года назад
Hi I am a sophomore in mechanical engineer and now I am realy interest with robotic I want to as , what is key poin if I want to build a precision and smooth robot ? as a begineer is it right the mechanical design doesnt play significant role than the electrical/code sir?
@adonitel5152
@adonitel5152 3 года назад
Mechanical parts play a significant role in robot in robot design. However, electrical code can help with calibration of the robotic positions every time errors accumulates. How good your mechanical design is determines how frequently your electrical code needs to make corrections. It can get a bit more complicated., but the principles are similar .
@felixman9691
@felixman9691 5 лет назад
hey there, if you were to use trinamic step sticks/ any trinamic driver with "stealthchop" and "coolstep", you can be sure that no steps are lost because trinamic can read the back emf from the stepper to determine when a step is lost, or even the tourque, or load angle. AMAZING STUFF you might find super useful.
@ElectronDust
@ElectronDust 5 лет назад
That's interesting. Have you got some recommendations in regards to specific drivers?
@felixman9691
@felixman9691 5 лет назад
@@ElectronDust yeah the tmc2130 is the lowest cost chip that you can buy on a step stick that has an SPI interface.
@byungjaelee5110
@byungjaelee5110 5 лет назад
Felix Dudley it doesn't mean you wouldn't lose steps by reading the emf of the stepper. if u dont want to lose steps you gotta use a encoder to give feedback to the driver. tmc driver are very good for 3d printers cuz it doesn't have big motors to drive. i think the tmc lineup supports up to nema 23 motors. tmc5xxx series have a encoder feedback pins so you could add a encoder of your own. ustepper has a add-on driver+magnet encoder think it would be useful to you!!
@felixman9691
@felixman9691 5 лет назад
​@@byungjaelee5110 i am very aware of the encoder supporting trinamic ICs, planning to drive a wearable robot with tmc 2130 and TMC4361A combos (or maybe TMC4671) and cui amt 102 encoders. I think I should have been more clear in my first comment: maybe I should have said "you can be pretty sure that no steps are lost" instead of what I said "you can be sure that no steps are lost". That being said, for many applications, using these drivers without encoder actually can basically insure that you don't loose steps from what I understand. Its just when there is a force rotating the motor when it should be still, or preventing it from rotating when it should be, so that it looses a step, THEN you need an encoder if you want to recover your position from there, but you can DETECT loosing a step even without an encoder using just the trinamic drivers. I get that maybe there is some small chance that the trinamic driver has some insanely unlikely glitch and just doesn't see that the step was lost, but do you think that is likely? Certainly unlikely enough for trinamic to sell that technology to many manufacturers to use in products that presumably actually work, not just loose steps...
@michaegi4717
@michaegi4717 3 года назад
This is really impressive. Last year I build a special advent calendar for my nephew. I used the same motors. The connection beween wood and the motors didn't survive the kids test. I really wonder how to connect these tiny axes. The only product I can find are the toothbelt connectors. Isn't there a connector like these for sevor motors available? How are the axes conntected to the wood for your robot arm?
@gnorty
@gnorty 5 лет назад
If I had to bet on it, I would say the errors are coming from the elbow joint missing steps. it's doing most of the work in raising the arm against gravity at reasonable extension. the shoulder joint is moving much more gently when the arm is extended, so less torque on it. I don't think the wrist will be a problem moving that small load. A great test though. Perhaps you could do a similar test isolating the movement to a single axis and measuring the movement on a curve. It would be particularly interesting to see how the shoulder joint performs with the arm at different extensions. How accurate are the measurements between the pivot points? I am curious to know how much difference a millimeter or 2 difference in the effective lengths affects accuracy.
@lazyh-online4839
@lazyh-online4839 5 лет назад
I think another comment pointed out that there is a clutch in them that's slipping, not steps being missed.
@seb_thoms
@seb_thoms 4 года назад
Nice!
@jaled79
@jaled79 4 года назад
Hello I congratulate you, excellent project, I have a question, which of these stepper motors did you use?28byj-48 - 12VDC 32-Step 1/16 Gearing or 28byj-48 - 12VDC 32-Step 1/64 Gearing. I ask you because I only get 1/16 Gearin
@ElectronDust
@ElectronDust 4 года назад
I used the 12V 1/64 Geared motors. There's a link in the video description
@jaled79
@jaled79 4 года назад
Electron Dust Thank you for your response, and again congratulations for your great project. Greetings my friend.
@inanagr7871
@inanagr7871 5 лет назад
awesome, thank you.
@victorzamacona3399
@victorzamacona3399 5 лет назад
What kind of engineering do you learn to be able up create these things
@ElectronDust
@ElectronDust 5 лет назад
I learned electrical engineering / computer science at university and worked for 6 years as an automation technician in a factory.
@kidpog3d101
@kidpog3d101 5 лет назад
learn blender and 3d print
@21area21
@21area21 5 лет назад
@@kidpog3d101 if you want to design stuff for engineering, blender is a terrible software from what i'm aware of. You want a CAD software like Fusion 360, ProE, AutoCAD.
@kidpog3d101
@kidpog3d101 5 лет назад
@@21area21 I have ~2000 hours in blender, and its more for Artistic modeling and animation, thats true. But I have tried Sketchup and other CAD software and if you got the experience in Blender you can do stuff much faster. I really hated Sketchup, for example and never found any reason to keep using any other CAD software. And most stuff you need to design is holes for screws, and cubic shapes that fit for ex. an arduino, zilindrial shapes for motor etc anyway. And you can precisely make these in blender. Most of the process is measuring the arduino etc in real life and come up with your own designs. And in CAD you need to precisely know what you want. In blender however you can make some fast iterations, and also make animations for it and put it in a game (yes I did that once for a robot , even rigged and animated.) but yes, ppl need to try for themselves
@21area21
@21area21 5 лет назад
@@kidpog3d101 actually, thinking about it, CAD is pretty shit for modelling complex or organic things too. If you just want to do parametric things, CAD is perfect. it's really strong and gives you tight control of dimensions and relationships. This might just be me because I don't understand how fusions's free form modeling works, but honestly it seems so absurdly limited and stiff. If I want to design good looking things, I might honestly have to learn blender and export to CAD.
@grathado28
@grathado28 11 месяцев назад
Would you be ok if I created 3d printed files for your robot design and released it with credit to you?
@kennethkindrich3114
@kennethkindrich3114 11 месяцев назад
How do you get the stepper motors to be so fast??????? I try to make them faster on my arduino but they only move slow and vibrate
@oliverchu6946
@oliverchu6946 5 лет назад
better than a servo
@DeKempster
@DeKempster 5 лет назад
No it isn't.
@Flare1107
@Flare1107 5 лет назад
I have looked at a lot of your code and other videos. Do you think it's possible to use 6 steppers and 6 encoders set up like your last servo projects? Following an encoder arm?
@charimuvilla8693
@charimuvilla8693 4 года назад
Shouldn't it reach the exact same position each time? What is the reason for the slight inaccuracy? Missed steps?
@hansdietrich83
@hansdietrich83 4 года назад
General springiness in the construction i imagine
@nilugajjar8205
@nilugajjar8205 Год назад
how you did it is Arduino
@henriktoth41
@henriktoth41 2 года назад
Can you write here the programming CODE please?
@funkyboodah
@funkyboodah 4 года назад
what stepper drivers are you using?
@utetwo9709
@utetwo9709 4 года назад
12V 1/64 Geared motors he said
@a6dulsalam511
@a6dulsalam511 5 лет назад
sweet 😍
@jorgeribes2662
@jorgeribes2662 4 года назад
What are you studied?
@Gambiarte
@Gambiarte 4 года назад
If the motor does not lose steps it will always stop in the same place.
@joakimjocka8022
@joakimjocka8022 5 лет назад
Wow I didn't know those motors were that good, and they are so cheap in china
@fahadahmed480
@fahadahmed480 5 лет назад
Hey what these motors called ?
@hebelehubele872
@hebelehubele872 5 лет назад
Step motors ...
@Brutaltronics
@Brutaltronics 5 лет назад
I believe those are the cheap steppers that come with the ULN2003 modules
@toanbui6354
@toanbui6354 5 лет назад
I bought those with $1 for each in VN, they can work with a 5VDC power source and can be controlled very precisely, about 32000 steps per round
@mikealbert728
@mikealbert728 5 лет назад
Looks great. Can this be used on a SCARA style arm?
@ElectronDust
@ElectronDust 5 лет назад
Probably. One thing to look out for is that those small geared stepper motors got a lot of backlash. With a construction like the one in this video, the backlash isn't a huge problem because gravity is pulling the links down causing the gear to mesh tightly on one side of the backlash-range (with a few exceptions when the pull changes directions). with a SCARA style arm, the backlash might be more apparent in the motion.
@mikealbert728
@mikealbert728 5 лет назад
@@ElectronDust I see. Thats something i didnt consider. My arm will be relatively heavy though and i just figured i would need very large motors on am articulated type arm. Maybe i should consider counter balancing some of the axes/dof
@ElectronDust
@ElectronDust 5 лет назад
​@@mikealbert728 Counterbalancing sounds like a reasonable thing to do. I am curious about your design. Keep me up to date as soon as you got a prototype/some blueprints/sketches.
@21area21
@21area21 5 лет назад
Do these steppers really move this fast? I've always seen them at like half that speed in all the videos online.
@0x1EGEN
@0x1EGEN 5 лет назад
He must be using the 12v mode. Most of the other videos show 5v being used and it's not really practical.
@ElectronDust
@ElectronDust 5 лет назад
Yeah, I am using the 12V version of this stepper. I wrote my own stepper pulse generator. The speed in the video (in the parts where I didn't speed up the video) is quite near the limit of how fast I was able to get them.
@21area21
@21area21 5 лет назад
​@@0x1EGEN OH SHIT! These can freaking handle 12V???? GOD DAMMIT. I've been running my steppers on the same 5V that I was using for my arduino, but it seemed pathetically weak. I thought they were just terrible motors. I'm really happy to learn I didn't waste my money.
@elporretaespacial
@elporretaespacial 5 лет назад
Which servos are those?
@timvanosch
@timvanosch 5 лет назад
Those are Stepper motors, not servos 👍
@elporretaespacial
@elporretaespacial 5 лет назад
@@timvanosch right, still wanna know the reference of those.
@timvanosch
@timvanosch 5 лет назад
@@elporretaespacial first sentence of the link in the description
@elporretaespacial
@elporretaespacial 5 лет назад
@@timvanosch oh, didn't notice that. Thanks 👍
@fahadahmed480
@fahadahmed480 5 лет назад
What's the name of these precision motors?
@KimTiger777
@KimTiger777 5 лет назад
I believe they are 28BYJ-48 which are 5V stepper motor. Source: www.adafruit.com/product/858 EDIT: There is a read more link at the top for more info
@dtriplett03
@dtriplett03 4 года назад
Kim of course Sold Out....
@forloop7713
@forloop7713 5 лет назад
These geared down cheap stepper motors offer good accuracy, until you try to do something with the robot and it skips steps.
@antoniobarriosavila1535
@antoniobarriosavila1535 5 лет назад
More information
@ElectronDust
@ElectronDust 5 лет назад
Here you go: electrondust.com/2018/11/11/esp-32-micro-robot-arm/
@audiobooksplaidiomen8561
@audiobooksplaidiomen8561 5 лет назад
How to speed up this motor
@estebanmercier9652
@estebanmercier9652 5 лет назад
It's impossible sorry
@edersonsimplis5127
@edersonsimplis5127 5 лет назад
🌰
Далее
High precision speed reducer using rope
20:19
Просмотров 1,8 млн
The coolest robot I've ever built!
19:40
Просмотров 4,7 млн
AR2 6 axis stepper motor robot
22:18
Просмотров 802 тыс.
V1 Introduction To KT2
3:44
Просмотров 63 тыс.
I took Taser Chess to Open Sauce
12:40
Просмотров 397 тыс.
I made a DUMMY ROBOTIC ARM from scratch!
16:05
Просмотров 1,5 млн
The Octo-Bouncer
4:26
Просмотров 4,8 млн
Robotic Arm Motor Selection
14:18
Просмотров 40 тыс.