... | @@ -36,7 +36,7 @@ Actual distance | Measured distance |
... | @@ -36,7 +36,7 @@ Actual distance | Measured distance |
|
|
|
|
|
### Exercise 4
|
|
### Exercise 4
|
|
|
|
|
|
The program described in exercise 4 is able keep a fixed distance to an object in front of the regulated device. In order to so it implements a linear feeback system in terms of a proportional only controller where the feedback is the measured distance to the object. By subtracting the measured distance from the setpoint and multipliyng this by a Pgain factor the program will make the car drive fast when it is far away from the object and decreasing the speed as it gets closer to the object.
|
|
The program described in exercise 4 is able keep a fixed distance to an object in front of the regulated device. In order to so it implements a linear feeback system in terms of a proportional only controller where the feedback is the measured distance to the object. By subtracting the measured distance from the setpoint and multipliyng this by a Pgain factor the program will make the car drive fast when it is far away from the object and decrease the speed as it gets closer to the object.
|
|
|
|
|
|
The variables in the system is as follows
|
|
The variables in the system is as follows
|
|
|
|
|
... | | ... | |