3 ms·
Another thing the integral handles is a systematic error in the controls. For example, suppose you have a vehicle that is suppose to automatically follow a str
by tzs 5y ago
Another thing the integral handles is a systematic error in the controls.
For example, suppose you have a vehicle that is suppose to automatically follow a straight line painted on the road. You have a sensor that can tell you how far you are from the line, and you can set the steering angle.
The car is supposed to go straight when the steering angle is 0, but if there is a misalignment so that to go straight you actually have to set the steering angle to some constant non-zero value, if you just do PD you can end up with the car following a fixed distance to the side of the line instead of centered on the line like you want.
Make it a PID controller instead of just PD, and the I term will fix this.