Page 1 of 1

Two Wheel Balancing Robot.

PostPosted: Mon Jun 07, 2010 12:54 am
by wtf
Im sorry but im confused about the accelerometer used in the two wheel balancing robot. The sensors used are single axis gyroscope and 2axis accelerometer. Why use two axis accelerometer when the robot only tilt forward and backward. I need help before getting my gyroscope and accelerometer for my balancing robot. Thank you.

Re: Two Wheel Balancing Robot.

PostPosted: Mon Jun 07, 2010 1:29 pm
by waiweng83
Freescale has a very good application notes on measuring tilt with accelerometer. You can refer to it here:http://www.freescale.com/files/sensors/doc/app_note/AN3107.pdf

Of course you can measure the tilt with just single axis accelerometer, but the more you tilt forward, the resolution will be lower.

Re: Two Wheel Balancing Robot.

PostPosted: Mon Apr 22, 2013 9:37 pm
by SuanKian
Sorry to impose. I have built up two wheel balancing robot. Somehow, I am facing a problem of tuning PID controller to balance the robot. I have try to follow manual tuning posted online but it doesn't give a good response where the robot keep moving in a long distance range while balancing at the upright position. I am using the cascaded PID controller in the source code. Any tips when tuning the robot for balancing?

Re: Two Wheel Balancing Robot.

PostPosted: Wed May 08, 2013 11:54 am
by waiweng83
If your robot keep moving, most probably the Ki is too small. Try increasing the Ki while decreasing the Kp. Please bear in mind that if you want your robot to stay at one position, you may need a rotary encoder and include the speed and position information in your PID routine.

Re: Two Wheel Balancing Robot.

PostPosted: Fri Mar 18, 2022 7:03 pm
by ScottStevens
Is your robot working successfully right now?