Skip to content
sencan.meEidolon (opens chat.sencan.me)

Research / Publications

Ahmet Efe, Onur Şencan, M. Hüsrev Cılasun, Hakan Temeltaş · 2016

Ters Sarkaç Kendini Dengeleyen Robot

Otomatik Kontrol Ulusal Toplantısı (TOK 2016), Eskişehir, pp. 796–801

BibTeX
@inproceedings{efe2016pendulum,
  author    = {Ahmet Efe and Onur Şencan and M. Hüsrev Cılasun and Hakan Temeltaş},
  title     = {Ters Sarkaç Kendini Dengeleyen Robot},
  booktitle = {Otomatik Kontrol Ulusal Toplantısı (TOK 2016), Eskişehir},
  year      = {2016},
  pages     = {796--801},
  url       = {https://polen.itu.edu.tr/entities/publication/fb837076-1dc2-418e-8e1e-ff79a68d639e}
}

Context

The inverted pendulum is a classic unstable system in control teaching and research. A two-wheeled self-balancing robot is one physical form of it: the body falls unless the wheels keep moving under it.

The problem

Model, stabilise and build a two-wheeled self-balancing robot.

Approach

  1. Model the robot with the Euler–Lagrange method, with the wheel position and the tilt angle of the body as state variables.
  2. Design the controller in Simulink and examine the open- and closed-loop root loci and impulse responses of the model.
  3. Generate the DC motor signals with a finite state machine and two PID controllers, then code the simulated controller structure on an Arduino microcontroller and run it on the robot.
θx
The two state variables of the model: the wheel position x and the tilt angle θ of the body.
upright2 s

Balanced: upright within 1.27 s.

Set Kp below 1 and gravity wins. Set Kd to zero and the robot rocks without settling. The paper tuned its controllers in simulation like this, then ran the same structure on an Arduino.

Interactive and simplified: one PD loop on a linearised inverted pendulum. The paper uses a finite state machine and two PID controllers.

Contribution

A full path from model to working hardware for a self-balancing robot: Lagrangian model, simulated controller design and an embedded implementation.

Results

The physical robot was stabilised in the same way as in the simulations.

Limitations

The response plots in the paper come from the simulation model; the hardware result is reported in words, without measured responses.

Related research

Related engineering

Closing the loop in operations

Feedback control ↔ Vircon Group / Vircon Technologies

Feedback control measures a system, compares it with what it should be and corrects it. Monitoring and alerting across a server fleet give operations the same loop shape. The analogy is in the structure of the loop, not in any shared controller.

“control-loop thinking applied to deployment pipelines and cluster operations rather than physical actuators”