self balancing with reaction wheel

  Рет қаралды 47,567

ReM-RC

ReM-RC

Күн бұрын

Arduino, optical encoder, brushless motor and PID.
After learned a lot :)
• Self balancing triangl...
• Two axis reaction whee...
• Self balancing bicycle...

Пікірлер: 93
@shashisuman8302
@shashisuman8302 6 жыл бұрын
1:23 Anger by the Reaction Wheel
@hagki
@hagki 4 жыл бұрын
LoL XD
@rrangana11
@rrangana11 6 жыл бұрын
Great man... can you also please post those helpful links to learn on this to understand for us that helped you as well ?
@samykamkar
@samykamkar 5 жыл бұрын
Nice!
@rasmus9311
@rasmus9311 4 жыл бұрын
Not everyday you scroll through comments on a random video and recognize someones name
@mauricecheung1332
@mauricecheung1332 5 жыл бұрын
Very practical, exactly what I need
@juanserna6170
@juanserna6170 5 жыл бұрын
Hi, i really would like to know the specs of your brushless motor. You'ld help a lot. :D
@ReMRC
@ReMRC 5 жыл бұрын
search in ebay Nidec 24H677
@drex5220
@drex5220 5 жыл бұрын
Witch Craft, Voodoo, Black Magic, Spooky, it's got the Devil in it.
@bd594
@bd594 3 жыл бұрын
Hi Rem-RC, I am reading up on Arduino timers with regards to the PWM.h library. Do you recommend 8 bit or 16 bit timers? thanks again.
@ReMRC
@ReMRC 3 жыл бұрын
8 bit resolution enough
@bd594
@bd594 4 жыл бұрын
Nice to see you have the brake function working without using physical brakes like ones in the Cubli. Have you ever had the reaction wheel shatter in to a million pieces? Is it safe to say you use 100% in-fill. Thanks for sharing a great video.
@ReMRC
@ReMRC 4 жыл бұрын
No, reaction wheel don't shatter. It never happened that way. I use 40% infill. But that's really worth thinking about.
@bd594
@bd594 4 жыл бұрын
@@ReMRC Great! I will try building one. Thanks for sharing an excellent build.
@ohmymemes
@ohmymemes 4 жыл бұрын
How to do it bro please do video on it please please pleasssssse😩😩😩😩😩😩😩😩😩😩😩😩😩😩😩
@NiceEyeballs
@NiceEyeballs 3 жыл бұрын
1:23 wheel be like: ENOUGH, I will not be bullied with such dull creatures.
@doxo9597
@doxo9597 5 жыл бұрын
Is it possible to see the wire connections?I have acquired the same motor and wish to recreate what you have built. But do not know how to make the other wires work? like the brake function Please if you or anyone could help it would mean a lot.
@3i33i
@3i33i 5 жыл бұрын
i got the same motor too. Now i have acrylic body & wheel. it seems very hard to make it work.. i hope he teach us how to make it.
@3i33i
@3i33i 5 жыл бұрын
it looks like the motor has its own encoder right?
@doxo9597
@doxo9597 5 жыл бұрын
erados yeah I think it does, I managed to figure out how it works looking at the data sheet
@3i33i
@3i33i 5 жыл бұрын
will you do me a favor? i connected 3rd pin to 5V but chA and chB are not sending me a valid signal.. how did you do that?
@davesircar6757
@davesircar6757 4 жыл бұрын
@@doxo9597 I acquired a Nidec 24H677, however, I can't find a data sheet. Could you kindly provide a link to the data sheet?
@용용-d4v
@용용-d4v 4 жыл бұрын
Hello, we are making a similar model now and we would like to get some help. Can I share the code?
@brandonbreault6243
@brandonbreault6243 4 жыл бұрын
Is there any chance you could make a build video, share the .STLs and code for us that would like to try this at home?
@brandonbreault6243
@brandonbreault6243 3 жыл бұрын
@@bd594 thank you so much! I honestly never expected there to be a response and you came in to save the day!
@RGDot422
@RGDot422 2 ай бұрын
Hi. I don't understand the physics behind this, is it angular momentum and gyroscope presecion?
@ReMRC
@ReMRC 2 ай бұрын
Gyroscope precession - no. This is reaction wheel. It works by creating a torque through changing its momentum.
@RGDot422
@RGDot422 2 ай бұрын
@ReMRC hi. I was reading a bit more yesterday. I believe it works just generating a torque in the wheel opposite to the torque of the weight, is it right?...
@ReMRC
@ReMRC 2 ай бұрын
@@RGDot422 If you rotating the weight, you get the torque in opposite direction.
@davesircar6757
@davesircar6757 4 жыл бұрын
Impressive work! I stumbled upon your project while trying to build a cubli. Did you implement your PID as given by the cubli authors or did you implement your own PID algorithm?
@remigijuss.7987
@remigijuss.7987 4 жыл бұрын
Own PID. This is simple, like balancing robot on wheels.
@arunfernandez1999
@arunfernandez1999 3 жыл бұрын
We can make a self balancing vehicle like one wheel solo with this mechanism in x direction and y direction it can balancing I think a sphere ball shaped wheel and inside the sphere x and y direction balancing flywheel like Rubik's cube
@arupsarkar6836
@arupsarkar6836 3 жыл бұрын
Very nice work done.
@swallowjja
@swallowjja 5 жыл бұрын
can I know this body's weight?
@bd594
@bd594 3 жыл бұрын
Hello, for your PID did you use 6050 raw data, Euler or Quarternions? thank you
@ReMRC
@ReMRC 3 жыл бұрын
Raw data. But any way would suit.
@bd594
@bd594 3 жыл бұрын
@@ReMRC thanks again ReM-RC
3 жыл бұрын
Hello may i contact you about this project ?
@bloon104
@bloon104 3 жыл бұрын
Inb4 this gets recommended to everyone in 3 to 4 years
@forbiddenera
@forbiddenera 3 жыл бұрын
Share code?
@forbiddenera
@forbiddenera 3 жыл бұрын
Cmonnn
@onekamil
@onekamil 2 жыл бұрын
how it works? spinning change direction? rc motor can be ok to this test? if you could share your codes ? i want somethink like that build to keep balance for idea disabled
@ReMRC
@ReMRC 2 жыл бұрын
Reaction wheel is a heavy flywheel which has angular momentum when rotated. No, rc motor not suitable for this.
@mn123abc
@mn123abc 3 жыл бұрын
Hello, I notice the two LED's and one just flickered. I guess they are triggered when the motor changes direction and is used for tuning the PID? Also can you let me know what the wireless board is used for? Thanks again. BTW I like your balancing pyramid video!
@ReMRC
@ReMRC 3 жыл бұрын
LED's indicates how incremental encoder works. It shows motor rotation direction. Wireless? Bluetooth module.
@londonnight937
@londonnight937 3 жыл бұрын
If the wheel is spinning at some random speed, and the arduino wants to slow the wheel down, in order to balance... how does it do that? Does it use the electronic brake for a very short amount of time, or does it try to spin the motor backwards for a very short amount of time?
@ReMRC
@ReMRC 3 жыл бұрын
Yes, if needs wheel braking, it produce force which is not needed. In this case it need to lean to the other side. Not need to use the motor brake.
@lolslim690
@lolslim690 Жыл бұрын
I am curious on what infrared/speen sensor you are using to register ever slot with it spinning that fast, and is it acting as an encoder for the motor?
@ReMRC
@ReMRC Жыл бұрын
Why not? Yes, I use it as encoder for the motor.
@emrepehlivn
@emrepehlivn 2 жыл бұрын
can you share the project files. Ardunio and stl please
@ReMRC
@ReMRC 2 жыл бұрын
Very old project. Maybe later I'll make a video of I did one of the newer projects.
@NZ-fo8tp
@NZ-fo8tp 3 жыл бұрын
It works without the encoder because it really the angular acceleration that imparts the torque on the system to stabilize, so as long as the motor is reasonably controllable in an open-loop config, a standard PD controller can stabilize the system even with a nominal consistent spin in the reaction wheel. The problem is that if that nominal consistent spin grows faster and faster it will eventually saturate the motor, (reach its maximum speed) at this point it cant offer as much torque as it cant accelerate in 1 direction. The encoders help the controller minimize nominal spin before it becomes a problem. It's unavoidable though, in spacecraft this saturation happens throughout a mission, on small spacecraft without gas thrusters, we can use magnetometers to dump kinetic energy into earth's magnetic field, it's painfully slow though, it can take hours to days depending on the inertial properties of your satellite. Look up B-dot control the process is simpler than you would think.
@ReMRC
@ReMRC 3 жыл бұрын
In this case it works without the encoder because I didn't use it correct. :) You can watch my later videos, I learned a lot.
@bonafide9085
@bonafide9085 4 жыл бұрын
why do you use optical encoder if your motor already has some hall effect encoder?
@ReMRC
@ReMRC 4 жыл бұрын
This motor without encoder.
@raymondcowey1041
@raymondcowey1041 3 жыл бұрын
Please Correct me if I am wrong but I am not convinced this project is as straight forward as suggested. Do I spy a Blue Tooth module on the control board (not listed in components, what is it for?) Also, I don't see the need for the encoders if you can disconnect them and the wheel still balances when actually the only critical component is the MPU6050
@ReMRC
@ReMRC 3 жыл бұрын
BT is for PID tuning. This project is first try with reaction wheels. Yes, encoders is not important, but only if know what are doing. You can see my later videos. I did a lot of experimentation and gained a lot of experience. Another projects is many better...
@raymondcowey1041
@raymondcowey1041 3 жыл бұрын
@@ReMRC Thank you so much for your explanation. Perhaps I just could not see the wood for the trees
@benji376
@benji376 3 жыл бұрын
I would absolutely love to learn this
@drumbum7999
@drumbum7999 4 жыл бұрын
so your motor has an encoder and you also created an encoder for the outside wheel too? if so, why?
@ReMRC
@ReMRC 4 жыл бұрын
No, motor without encoder
@Three2NineProject
@Three2NineProject 5 жыл бұрын
Good job
@BR.
@BR. 4 жыл бұрын
Love it! Do you have some code public for us to study?
@twokool4skool129
@twokool4skool129 3 жыл бұрын
Looks great. If the BLDC included a controller with a speed signal output pin, why did you instead use an external optical encoder? Couldn't you have used the motor's output?
@ReMRC
@ReMRC 3 жыл бұрын
This motor without encoder.
@twokool4skool129
@twokool4skool129 3 жыл бұрын
@@ReMRC But you said in another comment that you used the Nidec 24H677. I looked up the specs and one of the pins is pulsed speed output. Is that an optional feature that yours didn't have?
@ReMRC
@ReMRC 3 жыл бұрын
@@twokool4skool129 HALL output as pulse? Very low resolution. But this motor comes with or without an encoder.
@danielthrana
@danielthrana 6 жыл бұрын
That's a really nice accomplishment. Could you explain to me why you need an optical encoder? Can't you just tell the PID to use the pwm signal given to the motor?
@russellrose8161
@russellrose8161 5 жыл бұрын
Dan s if he uses a brushless motor this likely will need its own motor controller for it. This esc has its own pid controller in it, making it tough to correlate motor speed to output
@ReMRC
@ReMRC 5 жыл бұрын
@@russellrose8161 This motor have controller inside, and I use pwm to control speed.
@ЮрийМел-в2о
@ЮрийМел-в2о 3 жыл бұрын
perfect
@mn123abc
@mn123abc 4 жыл бұрын
great video! When the reaction wheel is balancing do you apply the brake on the Nidec motor before changing direction? thank you.
@ReMRC
@ReMRC 3 жыл бұрын
When balancing - no. I apply brake only when it fall.
@mn123abc
@mn123abc 3 жыл бұрын
@@ReMRC hello, I have the motor running @ 25Khz with a duty cycle from 1% to 90% and it spins very fast at 1%. To get yours to stand up do you run full speed/brake and then reverse the direction? or do you run full speed and reverse direction? I only have one motor so I want to ensure I do it your way. Still working on the reaction wheel design in TinkerCad. Thanks ReM-RC for your guidance. :)
@ReMRC
@ReMRC 3 жыл бұрын
@@mn123abc I did a lot of experiments. As well as full speed and reverse direction. But not necessarily full speed. Just as much as needed...
@mn123abc
@mn123abc 3 жыл бұрын
@@ReMRC Once I add some weights to my reaction wheel (ie nuts and bolts) I will try different speeds and see what works best. Once that is done I will focus on the balancing with the MPU6050. thank you
@deant6168
@deant6168 5 жыл бұрын
hi, Im looking to build a Cubli and came across your video, very cool, could you possibly share your code, motor specs with me, thanks
@remigijuss.7987
@remigijuss.7987 5 жыл бұрын
12V 4800rpm Nidec Brushless Motor from Ebay.
@deant6168
@deant6168 5 жыл бұрын
thanks, hey I've been looking for a way to controller them forward and reverse, did you make your own speed controller?
@ReMRC
@ReMRC 5 жыл бұрын
This motor with controller inside.
@piyushbisen6513
@piyushbisen6513 5 жыл бұрын
How to make it
@pieroggg4216
@pieroggg4216 4 жыл бұрын
Nice!your project is open?
@ReMRC
@ReMRC 4 жыл бұрын
Source? No, sorry. :) I leave the opportunity to create and learn...
@bd594
@bd594 3 жыл бұрын
kzbin.info/www/bejne/rKK5Z6GXr8ajfLM
@LV2XPLR
@LV2XPLR 4 жыл бұрын
Neat project. Would you have the STL files for the 3d printed parts? If not, can you tell me the approximate diameter of the wheel? Also, what you used for weights on the wheel. Thank You!
@remigijuss.7987
@remigijuss.7987 4 жыл бұрын
Wheel printed. For weights i use 4mm bolts. :) Wheel diameter 90-100 mm. I tried different diameters... The bigger the better.
@mihai3343
@mihai3343 4 жыл бұрын
Nice work! How did you find the PID parameters? Did you use a mathematical model or just trial and error?
@remigijuss.7987
@remigijuss.7987 4 жыл бұрын
Yes, trials and errors
@PacoOtis
@PacoOtis 4 жыл бұрын
Did an adult review this video prior to release??
I tried to make my self balancing cube better
16:26
ReM-RC
Рет қаралды 4 М.
How to build self balancing cube
15:59
ReM-RC
Рет қаралды 88 М.
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 69 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 116 МЛН
Can Reaction Wheels control a Drone?
24:32
Tom Stanton
Рет қаралды 2,4 МЛН
Self balancing with reaction wheels (open source)
6:57
ReM-RC
Рет қаралды 27 М.
I Built a Ball Balancing Robot
8:55
Aaed Musa
Рет қаралды 1,1 МЛН
Reaction Wheel Took Me 3 Years to Make Stable
9:53
Nikodem Bartnik
Рет қаралды 27 М.
Reaction Wheel Inverted Pendulum -- Arduino PID Control System
2:29
The Wheelbot: A jumping reaction wheel unicycle
3:34
A. René Geist
Рет қаралды 57 М.
A Lesson in Failure: Reaction Wheel PID Tuning
14:02
Ian Carey
Рет қаралды 2 М.
How to turn a Satellite
11:54
Thumblegudget
Рет қаралды 14 М.
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН