/eChanomi

The self-balancing plate from the CPS course at TUM

Primary LanguagePythonMIT LicenseMIT

eChanomi - a self-balancing plate

The self-balancing plate from the CPS course at TUM. Chanomi comes from "茶飲み" in Japanese, which means "drinking tea". The objective was to make a self-balancing plate with a teacup on it to carry it without spilling. However, I would say the balancing functionality itself is not that quick from the problems. There is a lot of space to improve this project, but I leave the work as of now here.

The original inspiration comes from the old Japanese mechanical doll called "茶運び人形" (Chahakobi-Ningyo).

Work

image

ezgif-3-f31c350fd3-min

How It works

graph LR;
  acel(MPU6050 Accelerometer)-->comp_filter(Complementary Filter);
  gyro(MPU6050 Gyrometer)-->comp_filter;
  comp_filter-->pid(PID Controller);
  pid-->angle_calc(Calculate Output)
  angle_calc-->servo1(Servomotor 1)
  angle_calc-->servo2(Servomotor 2)
  angle_calc-->servo3(Servomotor 3)
  angle_calc-->servo4(Servomotor 4)
Loading

Materials

Problems

Servomotors are not accurate enough

This makes it difficult to stabilise the plate at the zero position. As a result, the parameters of PID are set to very low so that it does not oscillate.

The parts are not solid enough

Since every part is made by the 3D printer, those are not solid enough for some parts. Especially the connection between the servomotor and the arms is not solid, and it makes a lot of errors.