... | ... | @@ -33,10 +33,10 @@ By repeatedly tuning the parameters through the PC GUI we ended up with the best |
|
|
|
|
|
| Parameter | Value |
|
|
|
| ------------- |:------:|
|
|
|
| Kp | xx |
|
|
|
| Ki | xx |
|
|
|
| Kd | xx |
|
|
|
| Tp | xx |
|
|
|
| Kp | 2 |
|
|
|
| Ki | 0.22 |
|
|
|
| Kd | 1.5 |
|
|
|
| Tp | 55 |
|
|
|
|
|
|
A video of the end result is seen in [XXX]. This video shows that the Lego robot is able to perform self-balancing in short intervals of about 1-2 seconds. In order investigate this behavior the data logger is used to collect the light sensor readings during the execution of the program. The end result of this is seen in the following image.
|
|
|
|
... | ... | |