Method and apparatus for smooth control of a vehicle with automatic recovery from interference

Abstract: In the first embodiment, direction arrows that point to subsequent direction arrows that are on the same fiber are concatenated so that any error can be smoothed over a longer motion. In the second embodiment, the orientation, location and time when the vehicle should be given a new setpoint is determined. In the third embodiment, it is determined whether the vehicle on the desired path, and the motion is corrected if it is not.

Description: BACKGROUND OF THE INVENTION 1. Field of the invention The invention relates to a method of controlling a vehicle comprising the steps of: maintaining a stored configuration space representation of an environment of the vehicle, which stored configuration space representation includes a plurality of stored direction arrows defining paths to a goal; and controlling the vehicle by control signals based on the configuration space to reach a pose corresponding to a target setpoint. The invention further relates to a vehicle comprising: a storage for storing a configuration space representation of an environment of the vehicle, which configuration space representation includes a plurality of stored direction arrows defining paths to a goal; and a controller for controlling the vehicle by control signals based on the configuration space to reach a pose corresponding to a target setpoint. 2. Related Art Such a method and vehicle are known from European Patent Application EP-A-0 375 055. The known vehicle is controlled by using a so-called configuration space. A configuration space is a known concept in robotics and is the space spanned by the parameters of the robot. The configuration space has one dimension for each degree of freedom of the robot. The configuration space is made up of configuration states which are points that specify a specific value for each of the parameters of the robot. Now, path planning comes down to selecting configuration states from the configuration space which will cause the vehicle to go to a desired location. Furthermore, the British Patent Application GB-A-2 158 965, discloses an unmanned vehicle that follows a path, which is downlaoded and stored in the vehicle as a sequence of points. The current position of the vehicle is determined, through a combination of absolute measurement and dead reckoning, and compared to a point on the path. A deviation from the current position and the desired point results in commands for control of the vehicle, bringing it closer to the path. This application does not concern control based on a configuration space, which includes all possible states of the vehicle. The vehicle of this application only has a representation of the real path to be followed. Furthermore, European Patent Application EP-A-0 346 538, describes a vehicle that receives a set of travel commands to follow a path. The path consists of a number of nodes and a specific travel command directs the vehicle from a specific node to the subsequent node. For the execution of a travel command at a specific node, the vehicle is capable of taking into account travel commands of subsequent nodes in order to ensure a smooth control. This application does not concern control based on a configuration space. Known methods of control typically provide feedback from sensors to adjust the actuators in a controlled machine. A common method is called a PID (because it contains proportional, integration and derivative terms), such as described on pages 379-392 in Modern Control Systems by Richard C. Dorf, Addison-Wesley Publishing Company, Third Edition, 1983, where the actuator responds in proportion to the error between the sensed values or position and the desired values or position. A desired trajectory, typically described by an elementary motion and optionally including velocity and possibly acceleration is the sequence of desired task states for the device to follow. Elementary motions are those that can be expressed in simple mathematical terms such as by arcs or straight lines. The expression is simple because the computation is repeated in a feedback loop. A more mathematically complex motion is also possible, but only if there is sufficient time in the feedback loop. While sensing, the calculation of the error in sensed parameters (or parameters derived from them) and generating the corrective action for the actuator is called servoing. Typical the sensed parameters are position, orientation, velocity, and acceleration. Some parameters can be derived. For example, velocity can be determined given two positions and knowing the elapsed time. Elapsed time is commonly available on real time clock chips on many microprocessors. The servo process usually has a setpoint which is a desired final destination often defined by a final location, orientation, and possibly velocity and orientation. The maneuvers of a controlled vehicle, such as a car, are defined by the direction arrows in a configuration space. Ordinarily, a path is read out of the configuration space and then set points are sent to the vehicle. Often, improved control is needed to produce a smoother motion which also allows for better automatic recovery from interferences. SUMMARY OF THE INVENTION The object of the invention is to provide such motion and recovery. This object is achieved according to the invention in a method that is characterized in that the method further comprises a step for adapting the control signals based on the configuration space in order to achieve a smoother control of the vehicle. The method according to the present invention offers a robust way for smooth control of the vehicle, based on the usage of the configuration space. This is realized by applying an intermediate step in which the control signals controlling the vehicle are adapted based on information in the configuration space. The invention is implemented in three different embodiments that are recited in dependent claims. In the first embodiment, direction arrows that point to subsequent direction arrows that are on the same fiber are concatenated so that any error can be smoothed over a longer motion. In the second embodiment, the orientation, location and time when the vehicle should be given a new setpoint is determined. In the third embodiment, it is determined whether the vehicle is on the desired path, and the motion is corrected if it is not. BRIEF DESCRIPTION OF THE DRAWINGS These and other aspects of the invention are described herein with reference to the selected embodiments illustrated in the following figures. Fig. 1a shows the hardware layout of an implemented system. Fig. 1b shows the distribution of software used to control the hardware found in Fig. 1a. Fig. 1c shows the steps used in the sensing process on the Second Processor Board. Fig. 1d shows an example neighborhood for a vehicle as it might be drawn on the ground from the center of the rear axle. Fig. 2a shows the concatenation of three direction arrows on the same fiber (Fiber 2). Fig. 2b is a flow diagram showing how concatenation is used in the control method. Fig.3a shows a setpoint and the perpendicular stop line. Fig. 3b shows a flowchart of how the stop line is used in controlling the vehicle. Fig.4 shows the acceptable error region defining a legally achieved target. Fig. 5 shows a vehicle which has crossed the stop line, but which has not arrived within the legal limits of the target. Fig. 6 shows a flowchart describing the test when the vehicle crosses the stop line Fig. 7 shows a flowchart describing the continual testing of the vehicles proper tracking to the setpoint while the vehicle is en-route. DESCRIPTION OF THE PREFERRED EMBODIMENT The purpose of computing a path for a device (a vehicle in this case) is usually to have the vehicle be controlled to follow that path. Using a computed configuration space, there are at least two main methods to send control setpoints to a vehicle. A first method is to read out the complete path from the configuration space, and send all of the setpoints immediately to the vehicle. A second method is to continuously read out the current state of the vehicle, typically by using sensors, and sending new setpoints based on the sensed position. One problem with the first method (especially if the vehicle is a car) is that if any error occurs in tracking (meaning movement underway along) the proposed path, then it is likely that it is impossible to track properly along the remainder of the path. A problem with the second method is that some choppy motion may result. This is particularly true when the sensed information (such as from a vision system delivered from a camera) places the location of the vehicle on the edge between two configuration states. In this situation, the noise or discretization error from the vision or sensing system may cause the perceived current state to switch between the adjacent states. Since the nature of the neighborhood of a vehicle is to have distant forward and reverse neighbors, with no sideways neighbors (unless the vehicle can move sideways), there is also the chance that the direction arrows from the adjacent states point in opposite directions. In the example where the vehicle parallel parks, this occurs much more frequently than when the vehicle is negotiating simple turns. Figure 1a shows a system according to the invention. A maneuvering region 101 is surrounded by a wall 112. In typical operation there are obstacles in the maneuvering region such as parked cars 102,103 and such as the surrounding wall 112. A stock radio controlled vehicle 104 receives directives from a radio signal via an antenna 110 within the vehicle. These directives cause the front wheels to turn and rear wheels to drive forward or reverse. Tracking markers 105 are used to determine the direction and orientation of the vehicle. The markers are viewed by a camera 106 situated above the maneuvering region. The images are passed into a vision system (Philips Picture Acquisition and Processing System - PAPS version 2) system 107 which extracts the markers from the background image and computes the position and orientation of the vehicle. This information is then communicated to the multiprocessor 108. Based on the current position and orientation of the vehicle, a new directive for the vehicle's wheels is first converted from a digital value to an analog voltage (using an off the shelf D/A converter board residing on the multiprocessor bus) which is connected into the stock radio control transmitter. The transmitter sends the signal to the vehicle via its antenna 109. The final piece of hardware is the processor 111 (a Sun-3 in this specific instance) that generates the configuration space that defines the proper maneuver. This machine is not in the control loop, and is simply used for starting and monitoring the machinery and for downloading the configuration space. Figure 1b describes how the system is started, and how activities are distributed among the two processors in the multiprocessor and information in common memory. There are 4 steps that are repeated in a loop as long as the system is running. The Sun 120 in the implementation first computes the configuration space based on where the obstacles are assumed to be. This information is provided via a graphical user interface. Although this information is only changed via the user interface in this implementation, an obvious extension is to read obstacle information from a sensory system. The configuration space is then transferred (via a BIT-3 Computer Corp Model 400-202 VME to VME Bus Extender) 121 to common memory (Crislin Industries 4 megabyte Memory Board Rev. A Product# 72259) 122. The executable control code is then downloaded 123 from the Sun (model 3/160)120 to the First Processor Board, computer 124. In this implementation, the processor board is a Pacific Microsystems PV682F which contains a Motorola 68020 and 1 megabyte of RAM. Once the download is completed, the process (program) starts to execute. The Digital to Analog Converter Board (Data Translation model DT5712-PGH) 130 is initialized to handle the scale and offset factors which will cause the proper voltages to go to the radio-controlled car's transmitter 131. The proper voltages are determined according to the particular transmitter to achieve forward and backward control of the wheels on a first channel, and a range of voltages which corresponds to a range of motion of the front wheels on a second channel. The transmitter 131 sends signals to the vehicle 133 via the antenna 132. The process determines locations in its own memory where sensed data is to be inserted. These memory locations are also called 'drop points'. The First Processor Board, computer 124 then directs the Sun 120 to download 125 the appropriate executable vision-control code to the Second Processor Board 126. This processor board is the same type of board as the First Processor Board 126. This directive includes the information to the vision-control code about the location of the drop points. Once the download is completed, the process starts to execute. It initializes the Picture Acquisition Processor 128 so that directives can be communicated 127. The Picture Acquisition Processor 128 is attached to the camera 129 via a coaxial cable 136. The system start-up is now complete and the processes running on the First Processor Board 124 and the Second Processor Board 126 are running in parallel. The implemented system uses a vision system, although ultrasound, infra-red, Global Positioning System (GPS) or radar could also be used to determine position and orientation. Yet another sensing system could be one that measures distance travelled such as an odometer giving inferred position and orientation based on steering and distance. Still another is a Doppler device. The next section describes the interactions between the processes. The transfer of the sensed position and orientation of the vehicle, along with the optional signal that the second processor is alive is indicated by the arrow 134. Figure 1c describes the detailed steps for the second processor in the example implementation. The First Processor Board, computer 124 reads 135 the configuration state from configuration space from Common Memory 122 based on the position and orientation stored at the drop-points on the First Processor Board, computer 124, and then repeatedly sends commands to the Digital to Analog Converter Board 130 which sets the Transmitter 131 to the proper voltages for drive and steering wheel settings. The Transmitter 131 communicates with the radio-controlled car through the antenna system 132. Servoing based on feedback from the vision (sensing) system that in turn causes changes in commands to the vehicle can be achieved in several ways, details of which are elaborated later in Figures 2a,2b,3a,3b,4,5,6 and 7. A incremented flag, also referred to as an 'alive-indication', is used as a handshake to determine if the vision processor alive. In this embodiment, with every cycle of the servo process, the drop-point for the alive-indication is incremented. If the value exceeds a preset value, then the vehicle is directed to halt all wheel motion until the alive-indication is once again below the preset value. The purpose of this is to protect against a possibly failed sensing system. Although an incremented flag is used in this embodiment, one skilled in the art could think of numerous handshaking methods including a measure of elapsed time. The source code appendix is the code that runs in computer 124. This code embodies the flowcharts of figures 2b, 3a, 3b, and 6. The second processor repeatedly senses the position and orientation of the vehicle as described in the steps of Figure 1c. In box 140 the vision process starts immediately after download from the Sun to the second processor is completed. In box 141, the process initializes the picture acquisition processor (also referred to as the vision system). Next, in box 142 the process directs the vision system to capture an image from the camera. In box 143, the image is thresholded to determine the x,y pixel locations of the three markers on the vehicle. In box 144, the shortest distance between two of the three markers is determined. This is a length crossing the narrow dimension of the body of the vehicle. Halfway between the two markers gives a point on the midline of the long dimension of the vehicle body. Based on knowing the position of the markers relative to the point midway between the rear wheels a-priori, the x,y location, also referred to as the 'crosshair' location is determined. The angle q of the vehicle is determined by the angle that the third marker makes through the 'crosshair', relative to a pre-defined zero angle. In box 145, the x,y,q values are written directly into the drop-points of the first processor. As an extra measure of safety, an indication is also written in its own drop-point that the processor is alive. In the embodiment of Figure 1b, the alive indication was setting the value at the drop-point to zero. After the process in box 145 is completed, execution continues with the process in box 142. In normal operation, the processes in boxes 142,143,144, and 145 are repeated until the power is cut to the processor. Figure 1c describes the activities in each of the two processors and data in the common memory of the multiprocessor 108 of Figure 1a. While there are other ways to distribute the activities and data in a multiprocessing environment, this was found to be a logical and efficient separation in the implemented system. Methods to achieve a smooth motion while correcting for automatic recovery from interference are described below. The word stopping point and stopline are defined to mean the location or time in advance of the setpoint at which different control will cause the vehicle to safely achieve the prescribed setpoint. Examples of different control are braking, downshifting, and decelerating. In the case of a vehicle that can stop instantaneously, no advance different control is needed. Once the setpoint is successfully reached the sensed parameters are re-read, and the corresponding direction arrows (or alternatively concatenated direction arrows) are read to determine the next motion. In practice, control methods to achieve smoother motion with a provision for error recovery should be used. To carry out the maneuver in a smooth robust fashion, three specific methods are described: a) the concatenation of neighbors on the same fiber, b) the use of a stopping criterion, and c) creation of an acceptable error region. According to the first embodiment of the invention, smooth behavior can be achieved in the control of the vehicle if sequential, like-kind direction arrows are concatenated to specify a longer single motion. For example, the direction arrows corresponding to the fundamental motions of a vehicle are be described as in Figure 1d. The fundamental motions are steering hard-right, hard-left, and straight while moving either forward or reverse. This particular neighborhood as drawn is describing the motions as they are carried out. The neighbors are numbered 1 through 20, which reside on fibers 1 through 6 (shown in grey). In Figure 2a for example, if part of the path to the goal were to require three sequential movements, i.e. to Neighbor 9, then to Neighbor 10, then to Neighbor 8, these movements all reside on the same fiber. Since motion described by this fiber implies servoing to the same curved arc, the direction arrows specifying motion to these neighbors are concatenated. The target 201, which is the final destination of the farthest concatenated neighbor, is then used as the setpoint. This farthest (terminating) neighbor is used as a target that can be most easily servoed to, which allows a smoothing of any position or orientation error over the entire fiber, rather than trying to correct for the error in each of the shorter spans defined by a single movement. Figure 2b shows a flowchart describing how the concatenating method is used to control an actual vehicle to produce smooth motion. Box 210 identifies the current state. This can be determined directly by sensors, or by using other information known by the controller. For example, acceleration can be computed by knowing two velocities and the time elapsed. Box 211 finds the direction arrow corresponding to the current state. By tracing the direction arrow to the subsequent state that it points to, the proposed subsequent direction arrow can also be read out. If the direction arrow and the proposed direction arrow reside on the same fiber, that is they would require the same servo control directive (i.e. servo to 45 degrees left and forward), then the target of the proposed direction arrow would be the better target. The direction arrows contained in each subsequent state are thus concatenated until a final state (also called a target) is reached where the neighbor contained therein is not on the same fiber. This final state is converted to the corresponding setpoint. Box 212 sends the setpoint to the vehicle to be controlled. Servoing to the setpoint can be handled by numerous methods established in the prior art. Once the setpoint is reached, then control is passed back to box 210. The vehicle can only achieve a smooth motion if a robust (in other words, error correcting) method to change control directions at the proper moment is provided for. According to the second embodiment of the invention, it is preferred determine the perpendicular to the orientation of the vehicle at the desired x,y setpoint, and then to read the direction arrows of the new state at the moment when the perpendicular is crossed. As in previous descriptions, the direction arrows prescribe the next desired motion. Figure 3a shows the x,y setpoint 301 at a specific 135 degree orientation302. The stopline is therefore the perpendicular to the 135 degree line, which is 45 degree, so that the line passes through the measured point 301. The stopline is a straight line going through the X,Y location at an angle 90 degrees off from the setpoint angle q. By standard trigonometry, the formula for the line is of the general form y=mx+b where m is the slope of the line and b is the y intercept. The slope m is tan (q+90) and the intercept is found by b=Y-tan(q+90)*X. If the controlled vehicle is currently located at Xc, Yc 304 at angle qc 305 then the current side of the stopline can be found by evaluating the formula: Yc-tan(q+90)*Xc-b . The result will be positive on one side of the line and negative on the other. When the result changes, then the line has been crossed. Figure 3b shows a flowchart describing how the use of a stop line is incorporated into the control so that both smooth motion and error recovery are achieved. In box 310, the current state is found (same as box 210 in Figure 2b). In box 311, the target is found (same as box 211 in Figure 2b). In box 312, the setpoint corresponding to the target is sent to the vehicle (same as box 212 in Figure 2b). In box 313, the vehicle is controlled until the vehicle crosses the stopline. Crossing the stopline is determined when the point which is used to measure the state of the vehicle intersects or passes the stopline. An example of such a point is the midpoint between the rear wheels from which position and orientation is measured. Of course, other points can be chosen. The definition of the stop line can also be modified in such a way as to take into account the time and distance it takes to reach the stop line. For example, the command to begin braking must be issued before a vehicle is to achieve the setpoint and is based on the vehicles braking capacity, mass and current velocity. In this sense, there are two lines. The first is the stop line which is absolute, and is the indication of where the vehicle is presumed to have achieved the setpoint. The second is the command to stop line, which continually adapts to the current velocity, acceleration and other measures, and is positioned nearer the vehicle relative to the first stop line. Once the stop line has been crossed, then control passes back to box 310 where the current state is read out. If the current state is not the target, then at this point a correction to the path will occur, causing a recovery from whatever error had occurred. In a third embodiment of the invention, another automatic recovery from interference with desired motion can be achieved. The ability to correct for mechanical error, modelling error, command transmission error and unplanned interruptions in the motion is a desirable feature. One way to implement automatic recovery is to set a specific limit on an amount of allowed error that is tolerable for each of the sensed parameters. In a vehicle, some of the sensed parameters are the three parameters x,y and angle. Other sensed parameters such as velocity, acceleration, and gravitational force could also be used to determine if the vehicle is on track. If the vehicle is not within the allowed error on the desired path, then the current state of the vehicle is sensed, and new direction arrows are obtained. Control resumes based on these new direction arrows. The error can either be checked as the vehicle proceeds to the target, or when the vehicle reaches the target, or both. Experiments have shown that in typical situations, the targets are not very far apart, and the best results are obtained by checking error only once the target is reached. Figure 4 shows an example range of allowable error in the x and y dimensions 401, and an example range of allowable error in the orientation 402. Figure 5 shows an example of the vehicle reaching the stop line 501 within the error range for orientation, but not within the acceptable X or Y range 502. In this situation, the vehicle is so significantly off track that the original maneuver plan should be aborted, and a new set of direction arrows should be read from the configuration space based on the current sensed position. This method allows the vehicle to recover when errors occur. Most typically, these errors are deviations from expected or specified capabilities of the vehicle, unexpected and unmodelled terrain (mud for example), or operator intervention. Operator intervention may be used for example for the temporary manual over-ride of the vehicle control. Once automatic control resumes the vehicle is likely off the prior course. If error is being checked as the vehicle proceeds, the controller will adjust to a new course automatically. Figure 6 shows a flowchart describing how the in-range test can be used. In box 601, the current state is found (same as boxes 210 and 310 in Figures 2b and 3b respectively). In box 602, the target is found (same as boxes 211 and 311 in Figures 2b and 3b respectively). In box 603, the stopline and initial side of the stopline is determined. For example, the stopline may be y=2/3 x + 7 , and control may start out on the negative side of the stopline. In a later step, if the vehicle moves to the positive side of the stopline, then the line has been crossed. The setpoint corresponding to the target is sent to the vehicle. In box 604, based on sensory information which pinpoints the current monitored (sensed) parameters, the transmission direction (i.e. forward or reverse) and the steering position are set so the vehicle tracks along an arc (or straight line) which will run eventually through the setpoint. In box 605, a check is made to see if the stopline is crossed. If it has not, then the 'NO' branch is followed back to box 604 where the transmission and steering are updated. If the stopline has been crossed, then the 'YES' branch is followed to box 606. In box 606, an evaluation is made if the current position (or optionally any combination of sensed parameters such as orientation, velocity and acceleration) is within the bounds set which determine if the vehicle has reached the desired target. If all errors are acceptable, then control passes to box 607 where the target is assumed to be reached. In box 606, if the current position is not within the acceptable bounds, then control passes to box 601, where the current state is re-established. From Box 607, control is passed to box 602. Figure 7 shows the flowchart describing how control is achieved using the on-track test performed while the vehicle is en-route. The main difference between this method and the one in Figure 6 is that the acceptable error is tested in the control loop, and no assumption about the final state is made. Box 701 directly corresponds to Box 601 in figure 6. Box 702 directly corresponds to Box 602 in figure 6. Box 703 directly corresponds to Box 603 in figure 6. Box 704 directly corresponds to Box 604 in figure 6. Once the setpoint corresponding to the target has been sent to the vehicle, the vehicle begins to move. In box 705, while the movement is underway, the sensors and other computations are used to compute the moment to moment status of the vehicle. A defined range of error, which can be either pre-defined (for example, a fixed distance or angle), or computed internally (such as elapsed time, or computed velocity) is used to compare against the current status. If the error is out of range, then the current motion is aborted, and the current state is obtained in box 701. The error range is repeatedly checked in box 705, and if the current status is acceptable, then in box 606, an additional check can be made to see if the stop line has been crossed. If it hasn't, then control returns to box 704, otherwise the destination has been reached, and the control returns to box 701. Alternate Methods The sensors in the above described embodiment are located above the vehicle. This is useful in a constrained environment such as a factory where affixing sensors off the vehicle is feasible. This lightens the load for the vehicle and gives a very stable frame of reference. Where this is not possible, such as on excavation or farm vehicles, the position and orientation sensors should be located on the vehicle. Although the system as described has the computing away from the vehicle, the components and hardware can be distributed either on the vehicle, or away from the vehicle, as long as the communication between components is maintained. The vehicle in the above described embodiment is a standard car-type vehicle, that is, it has two steering wheels in the front and two drive wheels in the rear. Whatever combination of drive and steering methods may be present can be controlled using the described methods. At least one driving method and one steering method must be present on the vehicle. The steering and drive methods may physically reside together such as on an outboard motor on a boat. Stopping criteria other than the perpendicular stop line approach are also useful. Experiments have shown that in typical situations the best mode for finding the proper moment to issue a new setpoint while performing general maneuvers is the use of a stop line. However, depending upon the application, it may be more critical that one of the sensed parameters is exact while the others may be less exact. This is the case for instance when the vehicle is parallel parking, and the final motion to the goal is underway. It may be less critical that the vehicle is precisely 1 foot away from the curb, but very critical that the angle of the vehicle is perfectly parallel with the curb, Zero (0) degrees for example. In this case, the stopping criteria for the controller is when the vehicle achieves 0 degrees, even if the vehicle is 1.1 feet or .9 feet from the curb. Once 0 degrees is achieved, then fixed control with straight wheels is employed to reach the stop line. If this special docking technique is not employed, then it is likely that the vehicle will repeatedly readjust itself trying to achieve the final perfect position. Yet a different stopping criterion is one where a range in each of the variables forms a region which is considered to be acceptable for reading the next setpoint. This produces a bounding box within which a determination for the next control directive is issued. This criterion has the drawback that if the vehicle encounters drastic interference, such as operator over-ride, then it may happen that the vehicle never reaches the bounded box. This is a potentially dangerous situation since the vehicle would never reach the setpoint, and may continue to try servoing to an unreachable setpoint. That is, it would not re-evaluate the current position to see that it is on track. A still different stopping criterion is one where the vehicle or vehicle continues to servo while the distance in configuration space is decreasing. Once the distance begins to increase, then the vehicle has achieved the setpoint. The main problem with this method is that the angular distance in configuration space may be small, but the maneuver required to reach that configuration requires many zig-zag motions which seem to increase the distance in x,y while decreasing the angular error. This stopping criterion would work best for a bulldozer type of a vehicle rather than a car type of vehicle, since the bulldozer tends to move in a straight line. One example where the car is not well controlled based on this criterion is if the car must make three fourths of a revolution. In this case the distance of the center of the rear axle actually increases before it decreases as the car proceeds to the setpoint. Another stopping criterion is one where the distance travelled is measured. The vehicle will achieve the setpoint when the distance travelled matches the distance to the setpoint (as measured along the prescribed arc). This has the disadvantage that an unrecognized error may accumulate, leaving the vehicle in unpredictable locations. The advantage is that at low speeds (defined as speeds with very accurate control) for maneuvers such as parallel parking, a single, inexpensive sensing device may be used to achieve the goal with tolerable accuracy. A specific technique to check that the vehicle or vehicle is on track (and to automatically recover if it is not) is to continually test that the current position leads to a setpoint using the current kinematic motion. For example, by using standard control methods, the vehicle can reach the setpoint by servoing to the setpoint by generating a kinematically feasible motion such as a curve and tracking along it. Sometimes unexpected or external causes force the vehicle sufficiently off course that it is no longer possible to stay the course as defined by the original curve. In this case, the controller can determine that no kinematically feasible arc exists between the current position and orientation (position and orientation defining a current state in configuration space) and the setpoint. This can be determined for example, by calculating the curve required to move between the current position and orientation and the final setpoint, and then finding if this curve is within the limits of the vehicles turning radius. If it is not, then the vehicle cannot successfully servo to the setpoint, and must resume control from the current state in configuration space (i.e. reading direction arrows and servoing to the new like-kind concatenated setpoint). This allows for robust recovery from catastrophic interference such as high winds, slippery surfaces, or impacts. List of Figure references: Fig. 1b: 122 "Common memory: stores configuration space"; computer 124, "First processor board: Controls & coordinates wheel motion"; 126 "Second processor board: Senses position & orientation of vehicle"; 128 "Picture acquisition processor"; 130 "Digital to analog converter board"; 131 "Transmitter"; Fig. 1c: 141 "Initialize the picture acquisition processor"; 142 "Direct the vision system to capture an image"; 143 "Threshold the image to extract the x,y location of the markers"; 144 "Based on the locations of the 3 markers, compute the x,y, of the verhicle"; 145 "Report the x,y, values to the first processor. Can also write an indication that the vision processor is still alive"; Fig. 2b: 210 "identify current state"; 211 "get a first direction arrow, concatenate any subsequent direction arrows that are on the same "fiber" to find the target which is the farthest neighbor of that fiber"; 212 "send the set point corresponding to the target. wait until reached"; Fig. 3a Comment: Setpoint is X,Y, location at given angle . Example stopline at 45° running through X,Y location. Test current location (X c , Y c ) to see which side of line the vehicle is on. The following formula results in + or - solution depending on side: Y c -tan(+90)*X c -b where b=Y-tan(+90)*X. Lower figure part: "Current location is X c , Y c location at angle  c " Fig. 3b: 310 "Identify current state"; 311 "Get a first direction arrow, concatenate any subsequent direction arrows that are on the same "fiber" to find the target which is the farthest neighbor."; 312 "Send the set point corresponding to the target"; 313 "Track to set point until stopline crossed"; Fig. 4 "Small block indicates range of acceptable X,Y locations"; Fig. 6 601 "Identify current state"; 602 "Get a first direction arrow. concatenate any subsequent direction arrows that are on the same "fiber" to find the target of the farthest neighbor"; 603 "Determine the stopline and the initial side of stopline. Send the set point corresponding to the target."; 604 "Set transmission and steering to match arc that will lead to setpoint"; 605 "Crossed stopline?"; 606 "In range of acceptable error?"; 607 "Assume that the target is the current state"; Fig. 7 701 "identify current state"; 702 "get a first direction arrow. concatenate any subsequent directions that are on the same "fiber" to find the target of the farthest neighbor"; 703 "Determine the stopline and the initial side of stopline. Send the set point corresponding to the target."; 704 "set transmission and steering to match arc that will lead to setpoint"; 705 "in range of acceptable error?"; 706 "Crossed stopline?"

Claims: A method of controlling a vehicle (133) comprising the steps of: maintaining a stored configuration space representation (122) of an environment of the vehicle, which stored configuration space representation includes a plurality of stored direction arrows defining paths to a goal; and controlling the vehicle by control signals based on the configuration space to reach a pose corresponding to a target setpoint (201,301,401), characterized in, that the method further comprises a step (211,311,603) for adapting the control signals based on the configuration space in order to achieve a smoother control of the vehicle. A method of controlling a vehicle (133) as recited in claim 1, wherein the direction arrows are selected from a neighbourhood of direction arrows (fig. 1d) in which some arrows (fig. 2a) of the neighbourhood are of like-kind with each other and some arrows of the neighbourhood are of different kind, further comprising the following steps, during motion of the vehicle under control of the control signals: concatenating (211) a plurality of like-kind direction arrows in the configuration space to specify a (longer) single motion, which is longer than individual motions specified by any of the concatenated like-kind direction arrows, to a pose corresponding to a target setpoint; and controlling (212) the vehicle to reach the pose corresponding to the target setpoint, without separately specifying the individual motions. A method of controlling a vehicle (133) as recited in claim 1, comprising the steps of: transmitting a stopping setpoint (301) of the vehicle as the control signals, which stopping setpoint corresponds to the desired (stopped) stopping pose; computing a stopping criterion (303) for the vehicle based on the stopping setpoint; sensing (126) a sensed pose of the vehicle when the vehicle meets the stopping criterion; and changing (124) the control signals in response to the sensed pose of the vehicle, so that the vehicle moves (under control of the changed control signal) to the desired stopping pose. The method of controlling a vehicle (133) as recited in claim 3, wherein the steps of computing the stopping criterion (303) based on the stopping setpoint (301) and sensing when the vehicle meets the stopping criterion comprise the further steps of measuring a distance between a first pose of the vehicle and a second pose of the vehicle which has a known spacing from the desired stopped pose; and determining when a distance travelled by the vehicle from the first pose is at least equal to the measured distance between the first pose and the second pose. The method of controlling a vehicle (133) as recited in claim 3, wherein computing the stopping criterion includes finding a stopline (303) running through the pose of the vehicle corresponding to the stopping setpoint (301) and perpendicular to an orientation of the vehicle corresponding to the stopping setpoint. The method of controlling a vehicle (133) as recited in claim 3, wherein computing the stopping criterion includes setting a sensed parameter to a fixed value. The method of controlling a vehicle (133) as recited in claim 3, wherein computing the stopping criterion includes setting ranges of sensed parameters, which ranges define a bounding box (401) around the pose of the vehicle corresponding to the stopping setpoint. The method of controlling a vehicle (133) as recited in claim 3, wherein sensing when the vehicle meets the stopping criterion includes monitoring a distance between a current (position) pose of the vehicle and a pose corresponding to the stopping setpoint; and determining that the stopping criterion is met when the distance begins to increase. A method of controlling a vehicle (133) as recited in claim 1, further comprising the following steps, during motion of the vehicle under control of the control signals: sensing a parameter of the vehicle; setting (603) limits defining an acceptable range of error in the sensed parameter of the vehicle; monitoring (606) the error; if the error exceeds the limits, revising (601) an estimation of a current sate of the vehicle in the configuration space representation and transmitting a changed control signal based on the revised estimation. The method of controlling a vehicle (133) as recited in claim 8 wherein monitoring the error includes comparing (124) a current pose of the vehicle with the limits as the vehicle progresses to a pose corresponding to a setpoint. The method of controlling a vehicle (133) as recited in claim 8 wherein monitoring the error includes determining whether a stopping criterion is met; and comparing a current pose of the vehicle with the limits when the stopping criterion is met. A vehicle (133) comprising: a storage (122) for storing a configuration space representation of an environment of the vehicle, which configuration space representation includes a plurality of stored direction arrows defining paths to a goal; and a controller (124) for controlling the vehicle by control signals based on the configuration space to reach a pose corresponding to a target setpoint, characterized in, that the vehicle comprises a computer (124) including adapting means for adapting the control signals based on the configuration space in order to achieve a smoother control of the vehicle. A vehicle (133) as recited in claim 12, wherein the direction arrows are selectable from a neighbourhood of direction arrows in which some arrows of the neighbourhood are of like-kind with each other and some arrows of the neighbourhood are of different kind, further comprising a computer (124) including means for concatenating a plurality of like-kind direction arrows in the configuration space to specify a single motion, which is longer than individual motions specified by any of the concatenated like-kind direction arrows, to a pose corresponding to a target setpoint; and wherein the controller is suitable for controlling the vehicle to reach the pose corresponding to the target setpoint, without separately specifying the individual motions. A vehicle (133) as recited in claim 12, comprising: a transmitter for transmitting a stopping setpoint of the vehicle as the control signals, which stopping setpoint corresponds to the desired (stopped) stopping pose; a computer (124) for computing a stopping criterion for the vehicle based on the stopping setpoint; a sensor (129) for sensing a sensed pose of the vehicle when the vehicle meets the stopping criterion; and the computer (124) including means for changing the control signals in response to the sensed pose of the vehicle, so that the vehicle moves (under control of the changed control signal) to the desired stopping pose. A vehicle (133) as recited in claim 12, comprising: a sensor (129) for sensing a parameter of the vehicle; setting means for setting limits defining an acceptable range of error in the sensed parameter of the vehicle; a monitor for monitoring the error; a computer (124) including revision means for, if the error exceeds the limits, revising an estimation of a current sate of the vehicle in the configuration space representation and transmitting a changed control signal based on the revised estimation.

Inventors: DORST LEENDERT, TROVATO KAREN IRENE, DORST, LEENDERT, TROVATO, KAREN IRENE, DORST, LEENDERT C/O INT. OCTROOIBUREAU BV, TROVATO, KAREN IRENE C/O INT. OCTROOIBUREAU BV
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 1993
Main classification: G05D1
IPC codes: B25J9, G08G3, G05D1