Unicycle balancing robot with reaction wheel (open source)

  Рет қаралды 29,369

ReM-RC

ReM-RC

Күн бұрын

Gimbal controller BGC 3.1 with atmega328
Two BLDC gimbal motors GBM2804H-100T
Two AS5600 magnetic rotary position sensors
MPU6050
3D printed frame
github.com/remrc/Reaction-Whe...
www.thingiverse.com/remrc
I did one before • One wheel (unicycle) b...

Пікірлер: 115
@OMNI_INFINITY
@OMNI_INFINITY 11 ай бұрын
*Adjustable reaction wheels design is nice! Can get a range of torque that way.*
@patrickjdarrow
@patrickjdarrow 3 жыл бұрын
Great stuff as always.
@nikodembartnik
@nikodembartnik 3 жыл бұрын
I recently watched so many of your videos! Those are really cool! I am trying to make a simple reaction wheel my self but i have some problems with calibrating the PID. Can you tell me what library for MPU6050 are you using and what controlling algorithm? Is it PID, LQR or something else? Any tips on how to tune it?
@ReMRC
@ReMRC 3 жыл бұрын
LQR. I not use any library for MPU6050. Read RAW data. In this robot I use Simplefoc library for control BLDC motors. The same in this kzfaq.info/get/bejne/Y7lkiMuossrFe2Q.html
@tanjiro3285
@tanjiro3285 2 жыл бұрын
@@ReMRC U r awesome 🤘
@dp8454
@dp8454 9 ай бұрын
I would like to try and make a little larger version of this reaction wheel to put in a backpack (for myself) as an experiment to attempt to balance/stabilize my Electric Unicycle in the lateral direction. Imagine how mind blowing that would be to the EUC world. You wouldn't have to put a foot down when you stop !!!! You could just sit or stand at a stop with no effort. I'm not looking to invent a new product for money because I'm REALLY retired and would never want to try to satisfy or jeopardize other people. I also realize that that Monowheels aren't really practical or needed but, I've always been fascinated one wheel vehicles and love the challenges of riding them electric self-balancing ones or manual.
@jankrix
@jankrix 3 ай бұрын
that is excellent, all this time I was thinking that it should be an integral part of the euc body.
@bdcoller
@bdcoller 3 жыл бұрын
Very good. I see that you are using different motors/controllers for this project. Do you like the gimbal motors better than the Nidec?
@ReMRC
@ReMRC 3 жыл бұрын
Not better. But sometimes they more suitable for design. They are also lighter. But Nidec much easier to manage (pwm). I also use gimbal motors before.
@b.charger5573
@b.charger5573 Жыл бұрын
hello. I saw a video of making a 3-axis omni wheel ballbot. Seeing that, we thought that we would like to make a ballbot with wheels instead of omni wheels. We would like to make a 2-axis ballbot that uses two [Unicycle balancing robot with reaction wheel] and puts a ball in the center with the X and Y axes respectively. But I think balancing the ball with the wheel is two different things. I think additional tuning is needed to make the robot the way we want. I'm curious about what to consider when tuning like this, and through what process to fix it. In addition, I wonder if you think there is a possibility of making these ballbots.
@ReMRC
@ReMRC Жыл бұрын
It's hard to answer something... Not a very clear idea...
@paulchen7628
@paulchen7628 3 жыл бұрын
I just want to see two of them stacked that’s all I want 😫
@albertglej770
@albertglej770 3 жыл бұрын
Hello. Great video. Maybe frequent question, but can I ask, what filament do you use?
@ReMRC
@ReMRC 3 жыл бұрын
PLA.
@albertglej770
@albertglej770 3 жыл бұрын
@@ReMRC Yes. But I'm interested in color and fabricator. :-D
@willprince4004
@willprince4004 Жыл бұрын
this would be a sweet way to make a claptrap robot!
@lezbriddon
@lezbriddon Жыл бұрын
imagine this with full size mtb wheels....
@mohammadmahdishafiei1872
@mohammadmahdishafiei1872 3 жыл бұрын
any difference between these motors and the one from emax u used? cause the emax is like 8-9$ cheaper(and currently out of stock)
@ReMRC
@ReMRC 3 жыл бұрын
Emax little bigger and heavier. And more torque I think...
@mohammadmahdishafiei1872
@mohammadmahdishafiei1872 3 жыл бұрын
@@ReMRC tnx
@alexarias2161
@alexarias2161 Жыл бұрын
Hi. Very nice project I wanted to ask you how convenient it is to change the BLDC gimbal motors GBM2804H-100T to brushless motors, high efficiency 80T hollow shaft brushless motor (2204). What battery characteristics did you use?
@ReMRC
@ReMRC 11 ай бұрын
I think yes, you can use another motors. But it is possible that the controller will need to be retuned. Battery LiPo 3S1P 500 mAh.
@alexarias2161
@alexarias2161 10 ай бұрын
@@ReMRC One question my friend, what mathematical model did you use to calculate the gains of the system?
@ReMRC
@ReMRC 10 ай бұрын
@@alexarias2161 I didn't do any calculations.
@FalconSmart
@FalconSmart Жыл бұрын
as you listed "Gimbal controller BGC 3.1 with atmega328", can these 2 be replaced by 1 Arduino nano? or?
@ReMRC
@ReMRC Жыл бұрын
BGC 3.1 has two BLDC drivers that are required for this project.
@mark1944
@mark1944 6 ай бұрын
Thanks for the files, it's an excellent design. I have a question about the coding. Is it just a case of uploading the sketch you provided in arduino IDE? What's the "tuning" sketch for? Thanks Mark
@ReMRC
@ReMRC 6 ай бұрын
The program consists of several files. All are compiled together. Just like any other Arduino program.
@mark1944
@mark1944 6 ай бұрын
@@ReMRC thanks! Goes the BGC 3.1 need any particular firmware or is it just a case of uploading the sketch? I notice that you move one motor and the other follows. I should it do that as is or is it a test feature? Mine doesn't work or even do that. I'm thinking it's the motor sensors or I have the wrong firmware on the board. Thanks for your help. Mark
@ReMRC
@ReMRC 6 ай бұрын
@@mark1944 Yes, this is test. Shows whether the magnetic encoders and motors are working correctly.
@mark1944
@mark1944 6 ай бұрын
​@@ReMRChow do you perform the test, is it a different sketch?
@ReMRC
@ReMRC 6 ай бұрын
@@mark1944 The same sketch. In source code you can find "motors and sensors test. Type in serial monitor t+ to enable and t- to disable".
@mark1944
@mark1944 6 ай бұрын
I'm nearly at the point of giving up on this... It's all built and the sketch has been uploaded to my basecam bgc3.1 board. Not sure if my position sensors are connected to the right place but there was only one other set of headers for the rc receiver so that's where I connected them. When I power it up the motors take a few steps in each direction (one at a time) then that's it. What am I missing? Tried test mode and it's no different. Any calibration needed etc? What about arming/disarming? Thanks again!! Mark
@ReMRC
@ReMRC 6 ай бұрын
That the motors are moving - already good. Look at what the serial monitor shows during startup. How can it be unclear where to connect magnetic sensors? A0 and A1.
@mark1944
@mark1944 6 ай бұрын
@@ReMRC got no documentation with the basecam board as to that pins are. Only searching doesn't help
@ReMRC
@ReMRC 6 ай бұрын
@@mark1944 Don't think of it as a basecam board. After all, it's the same Arduino. A0, A1 is Arduino pins, not BGC. What atmega328 pins is A0, A1? Easy to find...
@mark1944
@mark1944 6 ай бұрын
@@ReMRC good thinking, I'm new to all this but like building stuff so learn as I go, this is a steep learning curve for me. Thanks for all the help! Another thing is after uploading your sketch it no longer is programmable via USB. I have to use a usbasp and send the sketch via programmer in arduino IDE. Don't know if that's to be expected?
@ReMRC
@ReMRC 6 ай бұрын
@@mark1944 If you new to this, you have chosen a project that is too complex. BGC can be programmed via its USB. But you need to write bootloader to atmega. If you send sketch via usbasp, means through the programming pins? Programming pins are the same as one of the motors. Try to disconnect motors before programming.
@rodriguezfranco3839
@rodriguezfranco3839 10 ай бұрын
Do you think I could do it using adx345 accelerometer ? I need to make something like this for a university projevt
@ReMRC
@ReMRC 10 ай бұрын
adx345 is only accelerometer. MPU6050 accelerometers and gyroscopes...
@rodriguezfranco3839
@rodriguezfranco3839 10 ай бұрын
@@ReMRC but do I need the gyroscope feature for a single axis balancing wheel ? I mean monitoring the angle is not enough ?
@ReMRC
@ReMRC 10 ай бұрын
@@rodriguezfranco3839 Not enough.
@mark1944
@mark1944 6 ай бұрын
Is there a procedure when powering on to get it to start? Calibrating or to arm it? Is Bluetooth needed or is that just for tuning. Thanks
@ReMRC
@ReMRC 6 ай бұрын
Yes, the balancing point acc values need to be set. But if the motors test doesn't work, there's no point in it.
@mark1944
@mark1944 6 ай бұрын
@@ReMRC I'm beat. It's not going to work. Moving the magnets make a difference but can't get the test to work smooth. Defeated...
@ReMRC
@ReMRC 6 ай бұрын
@@mark1944 I repeat how to check magnetic encoders. Slowly rotate the wheel 360 degrees. The values must vary evenly between 0 and 6.28. There should be no sudden jumps in value. So, 0 degree - value = 0, 180 degree - value = 3.14, 360 degree - value 6.28. Is that so?
@mark1944
@mark1944 6 ай бұрын
@@ReMRC hi yes it is. It would jump up and down 0.1-0.2 constantly when stationary. I've got that improved with a cap on the sensor power supply even though you didn't use one. My only thought now is my cheap Chinese clone gimbal controller. What kind is yours. Looks like yours has surface mounted caps on the speed controllers. Mine doesn't. Thanks very for your response
@ReMRC
@ReMRC 6 ай бұрын
@@mark1944 I also use Chinese clone. Try open loop example. It works without encoder.
@mark1944
@mark1944 6 ай бұрын
I need some help with these as5600 sensors. How critical is the magnet position, distance and center? I've got a 3mm thick 6mm diameter disc magnet with opposite poles in top and bottom. When in test mode it works but it's jumpy and it will continue to spin in either direction. Also what values should I see in the serial monitor? Mine shows increasing numbers clockwise and decreasing anticlockwise. Right up into the hundreds and down to - hundreds. Any help would be much appreciated
@ReMRC
@ReMRC 6 ай бұрын
What values of one rotation (360 degree)? From 0.
@mark1944
@mark1944 6 ай бұрын
Starting at 0.04 (fluctuating up to 0.06 stationary) a full 360 turn is 6.35
@ReMRC
@ReMRC 6 ай бұрын
@@mark1944 This is correct. One rotation = 2PI (6.28). Test works?
@mark1944
@mark1944 6 ай бұрын
@@ReMRC well I have no idea why it doesn't work. Pitch it's the ground wheel and roll is the reaction wheel right? Should my sensor readings fluctuate? Could noise be the problem?
@ReMRC
@ReMRC 6 ай бұрын
@@mark1944 Maybe the sensors have been swapped? There was no problem with the noise...
@snktshrma
@snktshrma Жыл бұрын
HI! A very great project. Want to know if we can do the same with Simple FOC library but without the magnetic encoders. Please help me with this! thanks
@ReMRC
@ReMRC Жыл бұрын
Yes, others can be used. Like amt103. I use magnetic ones as the simplest and cheapest option. But this is not best option. :)
@snktshrma
@snktshrma Жыл бұрын
Thanks for your reply @ReMEC! Can it be done only with motors, imu and not encoder at all? Thank you
@ReMRC
@ReMRC Жыл бұрын
@@snktshrma This kzfaq.info/get/bejne/nbOFlcuGz968mI0.html without encoders.
@snktshrma
@snktshrma Жыл бұрын
@@ReMRC Thanks for this but I actually need to use only simple gimbal brushless motors without any encoders!
@ReMRC
@ReMRC Жыл бұрын
@@snktshrma You can try open loop mode. But it's so hard to control the motors.
@reinierpechler454
@reinierpechler454 Жыл бұрын
Hi, I have build this project but use the BGC 3.1 Borstelloze Gimbal Controller/PTZ Controller w/6050 Sensor voor FPV Multirotor which is different then you use in this video. When I upload the code the motors turn a short time and then stops. Nothing happens next. Can this be a sensor problem or is this board different then you have used.
@ReMRC
@ReMRC Жыл бұрын
Motors and sensors test works? Type in serial monitor t+ and spin the reaction wheel by hand. What happens?
@reinierpechler454
@reinierpechler454 Жыл бұрын
@@ReMRC I check the sensors in the serial monitor and the sensors are not working. Then I connect the battery and smoke is coming out of the board. Don't know what append but the board is damaged. Maybe I can't connect the serial cable together with the battery. I will not try it again. I have an second board and try first to fix the sensors.
@ReMRC
@ReMRC Жыл бұрын
@@reinierpechler454 Strange. USB and battery together shouldn't be a problem...
@mark1944
@mark1944 5 ай бұрын
Could you please run me through how to set the balancing point in the code please. I've uncommented the print line then hold the model at its balancing point while looking at the x y values over Bluetooth. There to I put these values in the sketch. Thanks
@ReMRC
@ReMRC 5 ай бұрын
These two values: floating angle_offsetX = -5.60, angle_offsetY = 2.03; change to your values.
@mark1944
@mark1944 5 ай бұрын
@@ReMRC thank you
@baothangchau3766
@baothangchau3766 3 жыл бұрын
It's great!!! Could you please give me the mathematical model you use to control the robot? And can you share with me 3D printed frame? Because I am doing a graduate project on the subject. But I don't really trust the mathematical model I found because I don't have the real model to compare!
@ReMRC
@ReMRC 3 жыл бұрын
I am not creating a mathematical model. This can be made easier. A 3D printed frame would be of no use to you. Only exactly the same parts would fit.
@marklondon9004
@marklondon9004 2 жыл бұрын
If you ever want to add an English language voice to a video, let me know.
@MangoCurrent
@MangoCurrent 2 жыл бұрын
what is the battery?
@ReMRC
@ReMRC 2 жыл бұрын
LiPo 3S1P 500mAh.
@thesockguy6011
@thesockguy6011 2 жыл бұрын
How does ur robot turn
@ReMRC
@ReMRC 2 жыл бұрын
Can't turn. Can't turn. But the one I did later - can.
@m.mustafaqamarraja4191
@m.mustafaqamarraja4191 8 ай бұрын
Can you show me the pictures of the components and sensors separately
@ReMRC
@ReMRC 8 ай бұрын
Video not enough? I haven't had it for a long time, so I can't show you anything else.
@m.mustafaqamarraja4191
@m.mustafaqamarraja4191 8 ай бұрын
@@ReMRC actually i can't find these components. Can you tell from where can i buy them
@ReMRC
@ReMRC 8 ай бұрын
@@m.mustafaqamarraja4191 Of course. Aliexpress or Ebay.
@m.mustafaqamarraja4191
@m.mustafaqamarraja4191 8 ай бұрын
Where can i talk to you in detail
@ReMRC
@ReMRC 8 ай бұрын
​@@m.mustafaqamarraja4191e-mail.
@koushikdatta5130
@koushikdatta5130 3 жыл бұрын
Little bit of explanation of working and calculations would be helpful as well as overwhelming. Can any one kindly share explanation of such devices with mathematics?
@ReMRC
@ReMRC 3 жыл бұрын
You look at it too complicatedly. It’s simpler than you think. When I did the first one, it was difficult. And it didn't work very well. I continued to do a lot of experimentation. Now it’s a lot easier for me. I am not doing any mathematical model. Tests only. First try kzfaq.info/get/bejne/rayKn5x-3N3Pcmw.html
@koushikdatta5130
@koushikdatta5130 3 жыл бұрын
@@ReMRC You are using PID control, kalman filter. Kp for velocity sideways, Kd with angular acceleration, and Ki with angular error. Am I right?
@ReMRC
@ReMRC 3 жыл бұрын
@@koushikdatta5130 I don't use PID. :) Kalman filter also. Simple complementary filter. And LQR. For the first test I mentioned earlier I used PID. Three years ago...
@koushikdatta5130
@koushikdatta5130 3 жыл бұрын
@@ReMRC I see. Thanks btw your work is pretty neat. It inspires a lot.
@simonenascimben8122
@simonenascimben8122 3 жыл бұрын
Can you sell me one?
@ReMRC
@ReMRC 3 жыл бұрын
No, I don't sell...
@simonenascimben8122
@simonenascimben8122 3 жыл бұрын
@@ReMRC hmmm sin
Tightrope Walking Cheat Device
14:22
James Bruton
Рет қаралды 1,5 МЛН
Unicycle robot with reaction wheels
3:51
ReM-RC
Рет қаралды 7 М.
Reaction Wheel Took Me 3 Years to Make Stable
9:53
Nikodem Bartnik
Рет қаралды 24 М.
PID Control: Arduino Self-Balancing Robot [💥SUBSCRIBE💥]
4:06
Build It Better
Рет қаралды 12 М.
A ROS2 Self Balancing Robot
6:09
HassanPortal
Рет қаралды 6 М.
The coolest robot I've ever built!
19:40
Thomas Burns
Рет қаралды 4,5 МЛН
The Cubli: a cube that can jump up, balance, and 'walk'
2:37
Gajamohan Mohanarajah
Рет қаралды 15 МЛН
The Wheelbot: A jumping reaction wheel unicycle
3:34
A. René Geist
Рет қаралды 55 М.
Self Balancing Stick - Dual Axis Reaction Wheel Inverted Pendulum
2:42
DIY Aduino One Axis Self Balancing Device
9:26
Mirko Pavleski
Рет қаралды 13 М.
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 4,6 МЛН
Lid hologram 3d
0:32
LEDG
Рет қаралды 10 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,4 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 28 МЛН