This is the first prototype of the Balancing Robot. In this version , I used two sharp sensors to control the motors.this is as first step till the IMU comes from sparkfun. I used Kalman Filtering to reduce the sensors noise. The PID parameter still need more tuning. i will upload the video after finishing the fine tuning.
this picture is for the Geared motor with ratio 34:1 and the rubber tyres.
the following picture is for the sharp sensor. I used 80cm type.
it is not so high. it is in the upper half of the body. I think at this height it will make the system more stable and will make it less senstive to small effects. of course the load at the motors will increas as the height increases.
The battery is the heaviest part of the body. Maybe I should fix it at lower height.
At this time I m using the inclination angle only as the input to the control algorithm. I know it is not enough; better algorithm should use Acceleration and Gyro sensors and maybe the tacho on the wheels to stabilize the movement. However, I expected better results for the current configuration.
i think the total weight is larger than the motors ability. i removed the battery from the body and connect it with long wires. i got some improvemnt. but still not very stable. maybe i should change the SLA battery to lipo battery.
I put the battery at the top of the platform. the stability is a bit better but both of the motors stop working after about 15 minutes. it is appearant that these motors can not handle this weight…i must buy larger motors or use the 75:1 gear box
The gearbox ratio did not affect this. Usually lower gearbox ratio gives higher wheel speed. i think you can solve this problem by reducing the PWM frequency. This will give more time to the motor to release the kinematic energy inside it. I m not sure that you can change the PWM frequency in Arduino platforms.