One axis self balancing stick (open source)

  Рет қаралды 11,526

ReM-RC

ReM-RC

Күн бұрын

Пікірлер: 50
@liemph
@liemph 4 жыл бұрын
Another interesting experiment! I did not upload my trials (maybe later) to explore the relationship between the distance of the motor to the ground as well as the distance of the gyroscope sensor relative to the motor. In some cases, the PID control system I used did not work well if the distance of the motor was too high from the ground. On the other hand, if the distance was too small then although it could stand upright it showed some vibration across the equilibrium point.
@ReMRC
@ReMRC 4 жыл бұрын
I tried change IMU place to near motor. Theoretically this is bad think. But... kzbin.info/www/bejne/ppeTlJqGdq14j6M
@artmen1516
@artmen1516 Жыл бұрын
Very Interesting self-balancing projects!, all of them have PIDs implemented? If so, do you tune the gains manually? Have you ever implemented an auto-tuning method in one of these projects? Have you tried another control approach?
@ReMRC
@ReMRC Жыл бұрын
PID? No. Yes, I tune the gains manually. Auto tuning - no. Another control - yes.
@mark1944
@mark1944 11 ай бұрын
Great project! Any tips on tuning or initial setup. I've finally got the correct motor for this but when I try to balance it just spins the motor really fast.. Thanks
@ReMRC
@ReMRC 11 ай бұрын
No need to tuning anything, it works immediately. More than one person, who did it, sent me a video of how it works.
@mark1944
@mark1944 11 ай бұрын
@@ReMRC thanks for the info. So no need to set the balancing point?
@ReMRC
@ReMRC 11 ай бұрын
@@mark1944 Set the balancing point is needed in all my balancing robots.
@mark1944
@mark1944 11 ай бұрын
How is it done on this model?
@지훈윤-m3f
@지훈윤-m3f Жыл бұрын
When applying Arduino code to a robot, do I need to apply both 'one_axis_reaction_wheel_stick.ino' code and 'functions.ino' code?
@ReMRC
@ReMRC Жыл бұрын
This is a beginner's question. Both files must be in the same folder.
@onesent636
@onesent636 3 жыл бұрын
where did you get the motors and all the other parts from ?
@jakobkatrasnik8684
@jakobkatrasnik8684 2 жыл бұрын
I have built a cube with one motor only but if the balance center is not exactly at 45° it doesn't stand. I am using your code and am unsure why it doesn't auto-correct for off center balance like in this video.
@ReMRC
@ReMRC 2 жыл бұрын
Can you show the video? Maybe I can help. My email you can found in channel "About".
@tinhhuynh5046
@tinhhuynh5046 5 ай бұрын
how to calculate the X1, X2, X3 values?
@ReMRC
@ReMRC 5 ай бұрын
I don't calculate.
@MrKugelkopf
@MrKugelkopf 2 жыл бұрын
Do you know if there are there cheaper Motors that would work for this?
@ReMRC
@ReMRC 2 жыл бұрын
Cheaper? I don't know... About 15$ today.
@OwenWilliamsRobotics
@OwenWilliamsRobotics 4 жыл бұрын
Does this have a single PID loop or two? Do you think it'll perform better with an encoder?
@ReMRC
@ReMRC 4 жыл бұрын
LQR. With encoder result the same. Not better.
@tinhhuynh5046
@tinhhuynh5046 8 ай бұрын
i can't find the pwm.h , Please help me.
@ReMRC
@ReMRC 8 ай бұрын
I don't use pwm.h in this source.
@tinhhuynh5046
@tinhhuynh5046 5 ай бұрын
@@ReMRC thank you. i have used another library and then it's work is oke. but i have a question can you help me answer. how to calculate the x1x2x3 values?
@ReMRC
@ReMRC 5 ай бұрын
@@tinhhuynh5046 I don't calculate.
@nazmulhasanshajib9721
@nazmulhasanshajib9721 4 жыл бұрын
Hi, could you please help me out? I'm very much interested in doing this project as a undergrad student. But, I'm out in the blue and literally have no clue where to start. I tried reading some papers but, they seemed very complex to me. I'd be grateful if you could give me some guidelines such as what to read or follow and how to build this(details of the components).
@omniyambot9876
@omniyambot9876 3 жыл бұрын
you must at least have some knowledge with electronics and programming
@nazmulhasanshajib9721
@nazmulhasanshajib9721 3 жыл бұрын
@@omniyambot9876 I have some basic and fundamental knowledge about electronics and programming. But, as I tried to read papers for my project on this topic, I literally couldn’t understand a single equation from the papers and gave up. But, if I can get a list of components and the logics used, I'm confident that I can work my way around.
@omniyambot9876
@omniyambot9876 3 жыл бұрын
@@nazmulhasanshajib9721 I built this in a single day crudely and I also believe you could do it if you are determined enough. Reaction control is basically reacting to opposite to the direction of motion. A clockwise moving mass will make a counterclockwise movement to the main body you are balancing. I did not use an equation at all because every situation is unique and those equations are very far from the real world when you have endless variables. So I just did hundreds of experiments adjusting my program. With a reliable motor, sensor, thinking it must work. And if it did worked, you can perfect and smoothen it the following days.
@nazmulhasanshajib9721
@nazmulhasanshajib9721 3 жыл бұрын
@@omniyambot9876 Noted with thanks. Could you please provide the list of components you used?
@omniyambot9876
@omniyambot9876 3 жыл бұрын
@@nazmulhasanshajib9721 I used gyroscope MPU-6050 6DOF Module 3.3v (1$ in my country), KV2600 Brushless DC Motor(Don't use it, it's expensive, heavy and very powerful. I ran it in lower analog signals. Just use lighter brushless motor.) you use appropriate driver for motor according to current and voltage usage. I used STM-32 mcu but you could just use an arduino. Not sure but it also looks like he used some kind of other sensors like tachometer but I didn't use and other else and it worked for me smoothly. Plus I'm very cheap person. Other materials are cardboard, some bolts & bearing appropriate to the design, hot glue, but most importantly you must have access to a 3D printer if you don't do machining. I gave my dimensions to my friend and he designed and printed it. Obviously my technique and the appearance of mine is very different to this video. That's why I suggest doing it yourself and experimenting trial and error.
@ashikkhan2840
@ashikkhan2840 4 жыл бұрын
I want to build this with LQR!! Could you help me???
@ReMRC
@ReMRC 4 жыл бұрын
Maybe you can!
@ashikkhan2840
@ashikkhan2840 4 жыл бұрын
Thanks a lot for replying me. May be i can you are right but i need your help. I just know theory but i think practical implementation is too far from that!! How do you find gain matrix K in LQR??? Could you share your email,or facebook id by which i can contact with.
@ashikkhan2840
@ashikkhan2840 4 жыл бұрын
Pls tell something, i need your help
@ReMRC
@ReMRC 4 жыл бұрын
@@ashikkhan2840 I finded try and error method. :) This is hard for first time, but many experiments gives understanding how this works. This would also work with PID. My english is poor, so it would be hard for me to help more...
@manishpoudel4540
@manishpoudel4540 4 жыл бұрын
@@ReMRC nice work and also if your english is poor then you can help in any language we will convert it i also want to know how you made this
@fitranurmayadi
@fitranurmayadi Жыл бұрын
Interesting project.. i've built one 😄
@no.1shrimp494
@no.1shrimp494 Жыл бұрын
hello! I'm trying to do the same project, but I got some problem about code. Do I need to download "PWM.h library" from somewhere? When I verify the code it say "setPWM" was not declared.
@ReMRC
@ReMRC Жыл бұрын
Yes, PWM library github.com/terryjmyers/PWM
@no.1shrimp494
@no.1shrimp494 Жыл бұрын
@@ReMRC thanks for the library I install it but when I verify it still not declared is there anything I need to edit?
@ReMRC
@ReMRC Жыл бұрын
@@no.1shrimp494 Sorry, I looked at the code now and remembered that the one axis self balancing stick doesn't need any PWM libraries. setPWM cannot be undeclared, this function is in functions.ino
@tantzeern9999
@tantzeern9999 Жыл бұрын
@@ReMRC may i ask how to insert this function??
@ReMRC
@ReMRC Жыл бұрын
@@tantzeern9999 What function?
How to build self balancing cube
15:59
ReM-RC
Рет қаралды 93 М.
Wheeled-leg self balancing robot
4:00
ReM-RC
Рет қаралды 6 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
What is the Difference Between Reaction Wheels and  Gyroscopes?
14:21
Self balancing triangle (prism) with reaction wheel
5:01
Self Balancing Cmg Gyroscope Version 2
10:31
Xtian
Рет қаралды 2,2 М.
Forget About Raspberry Pi! Use Your Old Phone Instead. (Really???)
9:09
I invented a NEW KIND of ENGINE  (New Rotary Design)
18:58
Integza
Рет қаралды 1,3 МЛН
The Cubli: a cube that can jump up, balance, and 'walk'
2:37
Gajamohan Mohanarajah (Gajan)
Рет қаралды 15 МЛН
My Kickstarter failed, so I open sourced it
12:20
StuckAtPrototype
Рет қаралды 732 М.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
I tried to make my self balancing cube better
16:26
ReM-RC
Рет қаралды 8 М.