PI-controller for inverted pendulum

버전 1.0.0.0 (521 KB) 작성자: Maxim Vedenyov
animated, with derivation in jpg-image
다운로드 수: 1.2K
업데이트 날짜: 2011/11/26

라이선스 보기

http://simulations.narod.ru/
It is inverted pendulum. Down point is base can be controlled. It can be moved horizontally only. PI (not PID) controller used to set the pendulum in up direction. There are friction in base and frictiopn from air simulated. Random kick is applied periodically. The PI-controller for base velocityt is
dx/dt=p*phi+(q-g)*integral(phi*dt)
where phi is angle counted from vertical position. There was found theoretically that optimal p and q is defined by equation: p^2/R=-q, p<0,q<0. R is pendulum length.

See formula.jpg for derivation of equation of motion.

See formulas2_pd.jpg for derivation optimal gains. In this formulas phi=theta-pi is angle counted from vertical position. The PI-contoller:
d2x/dt2=p*dtheta/dt+(q-g)*(theta-pi)

See animation here:
http://www.youtube.com/watch?v=_2g8bzSk18I

인용 양식

Maxim Vedenyov (2024). PI-controller for inverted pendulum (https://www.mathworks.com/matlabcentral/fileexchange/33942-pi-controller-for-inverted-pendulum), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0