Skip to content

Document PID #1

Closed
Closed

Description

@strichter

While I have lots of software development experience, I am only doing robotics with EV3 for fun with my kids. And I have no idea what PID is and the quick google results did not give me the tight intro I was looking for.

(I am a chemist and physicist by training, so the Calculus explanation will do. ;-)

Activity

  1. laurensvalk commented on Mar 22, 2020

    @laurensvalk
    Member

    so the Calculus explanation will do

    In that case, this might get you started for now. Equation (1) has the basic idea. In speed control (run, run_time), the error e is the speed error. In position control (run_angle, run_target), e is the angle error.

    A simplified version is intended to be eventually included on the "More about Motors" page.

  2. laurensvalk commented on Mar 22, 2020

    @laurensvalk
    Member

    The implementation is very different though, avoiding almost all numerical differentiation and integration steps. On the other hand, this brings it closer to the theory than most numerical PID implementations :)

  3. strichter commented on Mar 24, 2020

    @strichter
    Author

    BTW, the link helped me to get the idea.

  4. laurensvalk commented on Mar 24, 2020

    @laurensvalk
    Member

    Sounds good. I'm thinking I'll leave this issue open until we've documented it in the docs.

  5. added
    documentationImprovements or additions to documentation
    topic: controlIssues involving control system algorithms
    on Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationtopic: controlIssues involving control system algorithmstopic: motorsIssues involving motors

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions