User Tools

Site Tools


projekte:projekte:sekwai

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
projekte:projekte:sekwai [2025/06/12 07:08] dominikprojekte:projekte:sekwai [2025/06/12 13:17] (current) – [Probleme] dominik
Line 12: Line 12:
   * Looptime falsch berechnet (es war nicht der ganze Code der Loop in der Zeitberechnung)   * Looptime falsch berechnet (es war nicht der ganze Code der Loop in der Zeitberechnung)
   * sleep_ms anstelle von sleep_us -> ungenaue Verzögerung der Looptime !   * sleep_ms anstelle von sleep_us -> ungenaue Verzögerung der Looptime !
 +
 +**Tuning**
 +The final Step is to Tune the PID loop Kp, Ki & Kd parameters.
 +
 +A good starting point is to slowly increase Kp until the robot oscillates around the balance point and can catch a fall.
 +Next, start Kd at around 1% the value of Kp and increase slowly until the oscillations disappear and the robot glides smoothly when pushed.
 +Finally, start with Ki around 20% of Kp and vary until the robot "overshoots" the setpoint to actively catch a fall and return to vertical.
  
 ===== Links ===== ===== Links =====
projekte/projekte/sekwai.txt · Last modified: by dominik

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki