Thanks for posting the video, code, and pdfs. I don’t read Russian but it looks like you put a lot of effort into understanding and documentating the mathmetics of inverted pendulums. Did the physical implementation closely follow the Matlab model?
Well, as I am interested in self balancing stuff I woulod like to see a bit more techniucal details like what sensors are you using and how you mastered the programming. The video shows an impressive reliability.