| ©1990, 1995 | section list | 4: The Simple Unstable Vehicle | overview | General Contents |
| Section 4.0 | 4.1 Testing control rules subsections | Section 4.2 | ||
The literature on control engineering is outside the scope of this study, but it has been reported [78, p.214] that orthodox methods find the problem of bicycle control very difficult. It would appear that there have not been any published claims to have discovered supposed rules that humans might use for riding bicycles, nor rules that describe specifically human bicycle riding.
Logically, after deriving a supposed human or human-like control rule for the SUV, it would need testing to assess its success in use. In fact, a program to test control rules was written first, because it followed on naturally from previous pole-and-cart work. Initially, a pole-balancing simulation program written by Michael Bain of the Turing Institute was adapted, with help from him, to simulate the SUV rather than the pole and cart (this was the author's first experience of C).
The present author alone then continued to adapt and modify the program, adding a routine to display a grid of lines as it would appear to a rider of the SUV, so that some visual impression of the performance of the rules was available. Since this was implemented using black and white, on a Sun workstation without any special graphics facilities, the quality of the graphics was rudimentary. An alternative drawing routine plotted the position of the vehicle on an X-Y grid, so that one could see the time development of the path traced out by the vehicle. The source code for this program, written in C, amounted to around three hundred lines.
In this program, the SUV is represented by a state vector of seven components:
| the X-coordinate on the ground | |
| the Y-coordinate on the ground | |
| the angle of the direction of motion (yaw) | |
| the angle of inclination from the vertical (roll) | |
| (i.e. d theta / dt) the rate of change of the roll | |
| the angle of the handlebars | |
| the speed along the ground (constant) |
The simulation equations, devised by the present author,
are not based on an exact analysis of the system,
but incorporate a number of linear approximations
valid for small angles and small time steps.
At each time step
Delta t (0.02s)
the following calculations are performed:

where

At each time step, a decision was made about how to change the
handlebar angle.
As in the case of pole-balancing, this was done in a number of
variant ways.
The closest in spirit to pole balancing was for control along a
straight road.
For this arrangement, we define desired quantities
in the form

where

This means in practice that discrepancies in roll rate
(
It may be instructive to compare this strategy with
a qualitative strategy for riding in a circle.
In these calculations (which, for the sake
of clarity, omit some implementation details),
As before, the discrepancy in the handlebar angle,
Again, the constant values were experimented with intuitively.
Values of the
The quantitative rules, such as the ones described above for the straight road case, gave very smooth and accurate performance, which, looking at the display, did not look like what one would expect from human control. In contrast, the qualitative rules, such as the ones most recently discussed, give more erratic behaviour. This behaviour is still too regular to look very human, but it certainly looks more like human behaviour than the quantitative rules. We have intuitions about what a natural human performance of bicycle-riding looks like, and this is something that is much less clear for pole-balancing.
The program allowed the initial setting, via command line parameters, of the angle of roll, the speed, and, for some configurations, the desired angle of roll. Setting different initial values of roll ensured that the course followed was not a special case dependent on initial conditions. Variations of speed proved particularly interesting. For the adult bike configuration, the interdependencies were clearly complex, but around 1m/s even the quantitative rule control was inclined to fall over. The child's bike configuration could, on the whole, tolerate lower speeds than the adult bike. Though these results were not explored in great detail, it is reassuring that they are qualitatively similar to the results that one would expect of human control.
Things may be learnt from these tests.
| Next Section 4.2 | |
| General Contents | Copyright |