Тёмный

PID Controlled Bouncing Ball On Plate 

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

Not quite your usual ball and plate with PID control. The sole purpose of this Arduino project is to keep a ball bouncing for as long as possible.
Blog: electrondust.c...
The thing uses:
2 Arduinos (Arduino Uno & Arduino Nano)
4 Nema17 Stepping motors
4 elctrec mics
I made the data visualization on the left with Unity. It shows the data points gathered by the 4 mics. The plate is driven by 4 steppers.
Reddit post:
/ update_on_the_ball_bou...
Github repo:
github.com/T-K...

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

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 66   
@rodrigo_dm
@rodrigo_dm 6 лет назад
gotta tell you this is the kind of thing that makes me love the hobby community. mics to get position and the pid to keep eveything working. B E A U T I F U L
@multimoron11
@multimoron11 5 лет назад
You could try using a machine learning algorithm like cross-entropy optimization and see how it compares to the PID. It's quite simple and is very applicable in PID type control systems, like balancing a stick from its bottom. Would be a cool investigation into ML.
@carotoby
@carotoby 6 лет назад
is the sound free to use in a Techno Track ?
@ElectronDust
@ElectronDust 6 лет назад
umm... Yes!
@christopherleveck6835
@christopherleveck6835 5 лет назад
@@ElectronDust Hes shooting a pornographic movie about ping pong balls having sex....... Or is it a documentary about the mating habits of the pingus ballus?
@victorsantos1725
@victorsantos1725 4 года назад
Does it use machine learning?
@ammadejaz93
@ammadejaz93 4 года назад
for which purpose you want to use this sound
@dorianmccarthy7602
@dorianmccarthy7602 5 лет назад
This is coming along very nicely. The thing which the system doesn't seem to take into account (Which causes the error between direction and intended direction) is the rotational direction of the ball between consecutive bounces. If that can be determined and taken into account, i think the rigs accuracy with centering/controlling the ball would majorly improve.
@ElectronDust
@ElectronDust 5 лет назад
Yeah, good point. Hard to measure that though. I am thinking about going back to the camera approach for the next iteration.
@dorianmccarthy7602
@dorianmccarthy7602 5 лет назад
@@ElectronDust that could be a good way of detecting rotation direction and magnitude actually.
@davemwangi05
@davemwangi05 5 лет назад
@@ElectronDust is it just for fun or there's some useful purpose you're targeting ?
@JeremyCook
@JeremyCook 6 лет назад
Nicely done! Wow.
@GregKrynen
@GregKrynen 6 лет назад
Be interesting to see if the solid arms could be replaced with filament from above, replace the square board with a ping pong paddle, and build the mics into the body and handle of the paddle with a wireless sender to the controller. A ghost paddle display.
@estudiantecomputerscience
@estudiantecomputerscience Год назад
excelent work!
@energysaver
@energysaver 5 лет назад
1 dislike from the ball
@t1mmy13
@t1mmy13 6 лет назад
Man this sounds like techno
@christopherleveck6835
@christopherleveck6835 5 лет назад
Sounds like ping pong balls having sex.
@DamianReloaded
@DamianReloaded 6 лет назад
Well that's it! Robots have officially done *everything* better than us now! **sits on the floor to watch the sunset** ^_^ Can I like this video twice? ^_^
@no1mafiaman
@no1mafiaman 6 лет назад
They can probably watch sunsets better than you too.
@monkbuddy62
@monkbuddy62 5 лет назад
shots fired
@christopherleveck6835
@christopherleveck6835 5 лет назад
@@no1mafiaman and make them.
@TrueBlueKangaroo
@TrueBlueKangaroo 5 лет назад
Brilliant! So satisfying!
@TRN_SeaHag
@TRN_SeaHag 5 лет назад
Weapon to surpass Metal Gear!
@quaztron
@quaztron 5 лет назад
Keep it running for a few years. Does the ball wear out?
@djlesinski7978
@djlesinski7978 4 года назад
I've played ping pong before. Yes.
@edriskeyam726
@edriskeyam726 5 лет назад
Nice sick bro
@UkiMalefu
@UkiMalefu 6 лет назад
the noise of the machine sounds like a voice
@quaztron
@quaztron 5 лет назад
ya ya ya...
@NOTAFULLUN
@NOTAFULLUN 4 года назад
You listened to it for too long and got hypnotised. I work in a factory and I asked some of the people who work on the machinery how it affects them, and one of them said he hears his machine as he is going to sleep.
@MuneraPhoto
@MuneraPhoto 3 года назад
just bring to make a small part of this project.... I play airsoft and my goal is to localise the bb's impact with microphones.... Until now, my results are unusable.... Even with your GitHub.... I suppose it is due to my microphone.... Did you have good results with any microphone or did you have to use specific ones?
@robertcarlos5342
@robertcarlos5342 5 месяцев назад
Well maybe if you could make a video on HOW TO MAKE IT
@ariangh4358
@ariangh4358 5 лет назад
also use a gyro to keep the surface level when the ball isnt bouncing around
@marshidden4352
@marshidden4352 4 года назад
Arian Gh It doesn’t need one. He can just code it to reset the plate to its default position.
@acorlan145
@acorlan145 5 лет назад
With the issue of it being sort of off couldn't that he caused by the noises of the motors
@joelgluma6125
@joelgluma6125 6 лет назад
i am interesting about the for 4 microphone you used and hows the arduino calculate the sound of bouncing pingpong ball into the plate for impact. which software you used for visual application to draw the dots?
@ElectronDust
@ElectronDust 6 лет назад
I created the visualization with Unity. Here's some more infos about how the mics work: electrondust.com/2018/07/22/stepper-juggler/
@fiftystatebanana
@fiftystatebanana 6 лет назад
Do you have anymore details or images of the project? This is cool.
@ElectronDust
@ElectronDust 6 лет назад
Hey Joseph, thx! Here's the code both of the Arduinos are running (the folders are "CalculatedMoves" and "MicDiffs") github.com/T-Kuhn/Stepper-Juggler I try to write up some sort of blog posty thing to explain a bit more about the thing (with pictures) within a week or so.
@tomaszpodkowa4887
@tomaszpodkowa4887 6 лет назад
waiting for the blog with pics
@ElectronDust
@ElectronDust 6 лет назад
Here's some pics: electrondust.com/2018/07/22/stepper-juggler/#more-240
@headrobotics
@headrobotics 6 лет назад
Very cool 😎 do you have any plans to increase the speed and see where the system limits are? And how much it can be tweaked for response speed?
@FatNonsense
@FatNonsense 6 лет назад
what do you mean with increasing the speed? The 2 things that "makes" the speed of the ball is gravity and (air) drag. If we stick with the ping pong ball and earth as testing location, there is not much we can change in aspect of "speed". Using a small steel ball may be a little bit more challenging. Or making the plate smaller, I think this is the easiest and most logical increase in challenge.
@headrobotics
@headrobotics 6 лет назад
FatNonsense wasn’t fully thought through on my part I guess; a higher table speed would result in other effects
@FatNonsense
@FatNonsense 6 лет назад
I think you only want the speed of the table increased, you increase the speed capability of the servos. The result should be increasing the ability to bounce the ball higher. Higher bounce would allow derivations from the landing spot of the ball to be higher. There are other optimization one could make: - increasing the accuracy of the servos (higher angle resolution of the table tilt) thus allow for finer ball control - increasing the accuracy of the mics to allow finer tracking of the contact position of the ball on the plate
@headrobotics
@headrobotics 6 лет назад
FatNonsense what sort of triangulation algorithm is used in the software?
@FatNonsense
@FatNonsense 6 лет назад
Head Robotics I don't think triangulation is used here. By using 4 mics you have 2 pairs. By comparing the trigger signal of 2 opposing mics, you will know if the bouncing spot of the ball is closer to the one or the other mic. Also if the system is precise enough you could also calculate the distance from the center with help of thr speed of sound. With each pair of mics you have 1 axis of the distance to the center spot. This data is used to tilt the plate.
@anujgupta3326
@anujgupta3326 4 года назад
How much did it take to work out the correct pid variables..?
@ElectronDust
@ElectronDust 4 года назад
maybe an hour. I don't remember. I just played around with it.
@maxk4324
@maxk4324 5 лет назад
Not sure if your still working on it, but what about using piezos as contact mics underneath the plate?
@ElectronDust
@ElectronDust 5 лет назад
I'm still working on it. That's a very interesting idea. I need to get my hands on some piezo sensors.
@forloop7713
@forloop7713 5 лет назад
Now do it with one microphone placed under the centre of the wooden square
@conorstewart2214
@conorstewart2214 4 года назад
It would be difficult to get the position then you could one get the distance from the centre
@LordDecapo
@LordDecapo 5 лет назад
How hard would it be to make this move the ball in a set pattern
@ElectronDust
@ElectronDust 5 лет назад
With the current build: nearly impossible. But that sure is something I want to do. Hope this will become possible with the next iteration.
@LordDecapo
@LordDecapo 5 лет назад
@@ElectronDust sweet. I wish you luck on your next iteration!
@ElectronDust
@ElectronDust 5 лет назад
Thank you @LordDecapo :)
@victorsantos1725
@victorsantos1725 4 года назад
Does it use machine learning?
@ElectronDust
@ElectronDust 4 года назад
no
@uclinh697
@uclinh697 6 лет назад
Where are you from?
@dindafatihana3518
@dindafatihana3518 5 лет назад
Hi can i get the source code, mechanic design, and all about this project? I need for my final project in electronics engineering thank you:)
@DowzerWTP72
@DowzerWTP72 5 лет назад
You don't deserve the degree if you're just gonna rip off someone else's work.
@christopherleveck6835
@christopherleveck6835 5 лет назад
@@DowzerWTP72 I already called his mother.
Далее
I Built a Ball Balancing Robot
8:55
Просмотров 1,1 млн
The Octo-Bouncer: Advanced Bouncing Patterns
4:59
Просмотров 352 тыс.
Living life on the edge 😳 #wrc
00:17
Просмотров 8 млн
How Many Twins Can You Spot?
00:17
Просмотров 23 млн
Women’s Free Kicks + Men’s 😳🚀
00:20
Просмотров 6 млн
PID Balance+Ball | full explanation & tuning
13:13
Просмотров 747 тыс.
Keeping A Ball Bouncing With 4 Mics
4:31
Просмотров 28 тыс.
Ball-and-plate control system
2:00
Просмотров 7 тыс.
Ball Balancing PID System
2:07
Просмотров 126 тыс.
The Octo-Bouncer
4:26
Просмотров 4,8 млн
DC motor PID speed control
15:29
Просмотров 238 тыс.
TMC - Ball and Plate
3:30
Просмотров 647
Hardware Demo of a Digital PID Controller
2:58
Просмотров 990 тыс.
Balancing robot final year project
8:36
Просмотров 219 тыс.
Living life on the edge 😳 #wrc
00:17
Просмотров 8 млн