[From Bruce Abbott (2018.08.30.1815 EDT)]
[Martin Taylor 2018.08.30.12.48]
[Martin Taylor 2018.08.30.12.20]
[From Bruce Abbott (2018.08.30.1000 EDT)]
MT: I agree completely with everything you say in this message except for the starred note at the end.
Excellent!
But I remain mystified by the reason you might consider the effect of the misalignment to be equivalent to a sustained disturbance. Your message arrived as I was re-composing a third draft of my endeavours to seek out possible reasons for your thought, while at the same time trying to put in a new way the reason why I think transport lag is critical to the analysis. So far, I have failed to find a train of thought that leads to your equating the re-alignment of the steering-wheel to road wheel connection with a sustained disturbance.
Postscript.
I think I may have found a train of thought that could lead to the idea that the re-alignment event might be equivalent to a sustained disturbance. It is that the current error value is translated by the output function into a absolute rotation value of some marked radius of the steering wheel relative to the car’s horizontal (say, the dashboard). Is that it? If so, I would like to dispute it. If not, I must try to find some other possibility.
Yes, but let’s use clock positions. Before any realignment, let’s call 12 o’clock the steering wheel position that keeps the steering angle at the front wheels at zero degrees with respect to the car’s body. After the rotation, 12 o’clock will no longer produce a zero degree steering angle.
My reasoning:
Let’s go back to the original case, in which the simulated car hits some rocks, which cause a steering misalignment. This case eliminates the steering wheel, as there is none, just the steerable front wheels that the controller can set to some steering angle relative to the car’s body. I will also assume that the control system is a proportional one.
Before the encounter with the rocks, we have the following output function:
Steering angle = output gain * position error.
I will assume an output gain of 0.1 degrees/cm of error. When the car’s position matches the reference position, there is no error and therefore
Steering angle = 0.1 degrees/cm* 0 cm = 0 degrees. This is the steering angle that will keep the car going straight ahead in the absence of any disturbances.
Now the car hits the rocks, bending the left tie rod, so that the left wheel points further to the left than when the alignment was good. With the right wheel pointing straight ahead, the left wheel now points 2 degrees to the left. The net steering angle is the average of the two, or -1 degree. (Negative = left)
If the car is still at the reference position and heading straight down the lane, the error is still zero. Therefore the error is still zero. However, the misalignment has changed the output function:
Steering angle = (0.1 degrees/cm)(0 cm) – 1 degree = -1 degree.
Consequently, the car begins to turn to the left. The car’s position drifts to left of reference, causing a position error to develop. For example, when the car has moved 1 cm to the left, the error is 1 cm.
(Note: the error, although to the left, is positive because position is subtracted from reference in the comparator.)
Therefor
Steering angle = (0.1 degree/cm) (1 cm) -1 degree = 0.1 – 1 = -0.9 degrees.
What will the error need to be in order to get the steering angle back to zero, where it must be if the car is to track straight down the road? To track straight, the steering angle must be set to compensate for the misalignment of -1 degree, so it will have to be set at + 1 degree. Thus the error will have to be 10 cm:
Steering angle = 0.1*10 -1 = 1.0 – 1 = 0 degrees.
Taking the steering wheel off, rotating it, and replacing it without changing the steering angle likewise changes the output function. Whereas before, a certain steering wheel position (say, 12 o’clock) produced straight-ahead driving (zero steering angle at the front wheels), now that same position produces different steering angle when the position error is zero. To compensate for this change, the controller will have to rotate the steering wheel until the steering angle at the road wheels is once again zero. This can only be done in a proportional controller by maintaining a nonzero position offset.
If my guess is right, then my dispute would be that the output of the driver to the steering wheel is a force that rotates the wheel one way or the other, not a reference value for the steering wheel angle. In the steady state, that force is proportional to the steady-state road-wheel angle relative to the car axis, and is unrelated to the actual steering wheel angle. Clearly, the road wheel angle can be used determine the steering wheel angle, both before and after the re-alignment event, but that relationship has nothing to do with the need for a force to keep the road wheels off-axis if that is what is needed to opposed a persistent sideways disturbance to the car such as a side wind.
Are we still talking about a simple proportional controller?
I don’t see forces being exerted on the steering wheel as having anything to do with the problem beyond the obvious fact that forces need to be exerted to turn the wheel. The problem is that the self-steering car’s control system is designed with a certain relationship assumed between the steering wheel angle and the steering angle at the front wheels. If you want a proportional controller to change the steering angle to oppose a wheel misalignment, you have to let the controller develop an offset from its reference position. The same is true of the steering wheel example: The controller’s output function assumes that a certain steering wheel position will produce a zero steering angle at the front wheels. If you change that, the controller has no way of knowing about the change. All it “knows” after the steering wheel rotation is that the car is drifting away from the centerline when error is zero, and acts as it always does to reduce this error – by rotating the steering wheel to oppose the drift. But that rotation depends on the error, and the error has to be large enough to produce a zero steering angle if the car is to run parallel to the road.
The message I was working on traces that relationship around the loop and winds up with a differential equation, but there’s no point in going into it if my guess here is wrong and you have some other reason for thinking of the re-alignment as equivalent to a sustained disturbance.
I hope I have made my reasoning clear. If there’s something wrong about it, I await your correction!
Bruce