409 downloads
Auto Credit Based on huuminberd's Basic PID Controller (Independent Form)

V1.1

A couple of changes suggested by pedro16797.
Placed the derivative on the process variable, hope I’ve done that right..

GENERAL INFO

PERFORMANCE

  • Total Delta V: 0m/s
  • Total Thrust: 0N
  • Engines: 0
  • Wet Mass: 20kg
  • Dry Mass: 20kg

STAGES

Stage Engines Delta V Thrust Burn Mass

7 Comments

  • Log in to leave a comment
  • Profile image

    @huuminberd Aha, didn't know that there's another form other than de/dt.
    Funny what you can learn from a game. Thanks a lot :).

    4.3 years ago
  • Profile image
    1,155 huuminberd

    @EgyLord I found there are different implementations. This was my reference material.
    https://controlguru.com/pid-control-and-derivative-on-measurement/
    It's been a while since I've looked at this but I remember trying to follow the derivative on PV approach.

    4.3 years ago
  • Profile image

    Great stuff...Implemented a PID controller myself not knowing someone already did.
    In the PID equation, Why is the derivative subtracted though? I think it should be added?

    4.3 years ago
  • Profile image

    @huuminberd oh wow, that’s intersting

    4.8 years ago
  • Profile image
    1,155 huuminberd

    @RocketBuilder Take an observed property, such as altitude or velocity, that you would like to be set at a given value.
    So you have two pieces of information, the actual value of the thing you are measuring and the desired value you would like it to have.
    From there we now have an important piece of information, the gap between the two, or as it's called the error.
    We can use the error in various calculations to provide a value we send to something, an engine throttle for example, that reduces the error. It continously tries to minimise the error in what's known as a closed feedback loop.
    It's a hugely important and widely used technology. There are many good intro videos on YT which just describe the concept without getting too heavy on the details.

    4.8 years ago
  • Profile image

    Explain to me like I’m 5.

    Wot dis do?

    4.8 years ago
  • Profile image
    6,278 Pjork

    thank
    you
    so
    much

    4.8 years ago

10 Upvotes

Log in in to upvote this post.