P only controller/PID - overshoot

  • Thread starter Herman Oen
  • Start date
  • #1

Homework Statement


I am trying to understand the Proportinal controller, used as a cruise controll for a car. I do understand how it works as long as there are no overshoot.

Homework Equations




The Attempt at a Solution


The reason why I do not understand overshoot is because the error then gets negative and then the output also gets negative (out=Kp*error). This means negative thrust? You can never give less thrust than 0, so what is actually happening when the error gets negative?
 

Answers and Replies

  • #2
Hesch
Gold Member
922
153
You can never give less thrust than 0, so what is actually happening when the error gets negative?
The car will brake.

The motor will act as a generator, and will charge the battery ( having a "green enery drive" and an electric motor ).
 
  • Like
Likes Herman Oen

Related Threads on P only controller/PID - overshoot

  • Last Post
Replies
5
Views
864
  • Last Post
Replies
2
Views
747
Replies
1
Views
2K
  • Last Post
Replies
2
Views
2K
Replies
4
Views
648
Replies
8
Views
948
Replies
3
Views
3K
Replies
3
Views
804
Replies
9
Views
11K
Top