ROAD PROFILE PREDICTION

Abstract: An apparatus for road profile prediction comprises digitisation and storage means operable to digitise and store video image data relating to the road ahead of the vehicle and processor means operable to process the video image data to identify lane markings in the road, characterised in that the processor means includes estimator means operable to simultaneously analyse pairs of lines considered to constitute lane markings by a single recursive estimation procedure by finding the best fit to an expression involving left and right offsets, heading angle, lane curvature and horizon offset. A system embodying the invention has the purpose of overriding normal vehicle cruise control when another vehicle is detected in front of the vehicle.

Description: ROAD PROFILE PREDICTION This invention relates to a method of and apparatus for road profile prediction suitable for use in an autonomous cruise control system for a road vehicle. Previous proposals for road profile prediction have involved the digitisation and storage of a video image of the road ahead of a vehicle, and the processing of the video image data to identify lane markings in the road. One proposed method, searches the image for lines, and attempts to establish when a pair of the lines appear to represent the parallel lane markings on the road. The process proposed involves successive stages of finding straight lines in the image and testing these in pairs to ascertain whether the lines of a pair converge to a vanishing point. Lines that fit the desired pattern are then analysed to determine the position of the vehicle between the lane markings ("offset"), its orientation relative to the lane markings ("heading angle"), and the curvature of the lane markings ("lane curvature"). This method is unsatisfactory, however, as the position of the "horizon" in the image is not known and can be a source of considerable error in the calculations involved. Offset, heading and curvature calculations all contain errors as a result. In accordance with the present invention, apparatus is provided for road profile prediction ahead of a vehicle comprising digitisation and storage means operable to digitise and store video image data relating to the road ahead of the vehicle and processor means operable to process the video image data to identify lane markings in the road, characterised in that the processor means includes estimator means operable to simultaneously analyse pairs of lines considered to constitute lane markings by a single recursive estimation procedure by finding the best fit to an expression involving left and right offsets, heading angle, lane curvature and horizon offset. Preferably, the estimator means is operable to take into account when analysing a video frame image the result of the estimation procedure in respect of one or more previous video frame images. In accordance with another aspect of the invention, a method for road profile prediction ahead of a vehicle is provided comprising the steps of digitising and storing video image data relating to the road ahead of the vehicle and processing the video image data to identify lane markings in the road, characterised in that the processing step includes the simultaneous analysis of pairs of lines considered to constitute lane markings by a single recursive estimation procedure by finding the best fit to an expression involving left and right offsets, heading angle, lane curvature and horizon offset. Preferably, the estimation procedure is simplified by taking into account when analysing each video frame image, the result of the estimation procedure in respect of one or more previous video frame images. In the accompanying drawings: Figure 1 is a block diagram of an autonomous cruise control system; Figure 2 is a single frame grey scale video image; Figures 3a-3c are respectively side, top and camera views illustrating parameters relating to the inverse perspective transformation (i.e. the relation between screen and real world co-ordinates). Figure 4 is a transformed high contrast rendition of the image of Figure 2 showing feature points from an edge detector using real x and real z coordinates; and Figure 5 is a flow chart of an algorithm used by the estimator means. As shown in Figure 1 , the autonomous cruise control system includes a controller 10 in the form of a digital processor, which receives data from a number of sources, namely a video camera 1 1 , a long range radar 12, a short range radar 13, a wheel speed sensor 14 and a mechanical yaw rate sensor 15. The processor 10 processes data received from these sources and uses it to control a vehicle gearbox, a brake booster and an engine speed control. The purpose of the system is to override the normal cruise control of the vehicle when the radar systems detect another vehicle in front of the vehicle. The present invention is specifically concerned with the analysis of video image data such as illustrated by Fig 2 to provide information to the processor concerning the offset of the vehicle from road lane markings, the heading of the vehicle relative to the lane markings and the curvature of the road ahead. It should be noted that, although the yaw detector used in the system can detect the current rate at which the vehicle is yawing, it can not provide any information concerning the current position and orientation of the vehicle or the profile of the road ahead. The yaw rate sensor is sensitive to movement of the vehicle within the lane and lane changes etc. This sensitivity makes the yaw rate sensor data unsuitable for lane curvature estimation. For determining the values of the variables mentioned above, a high contrast transformation of each video image frame to be processed is formed by conventional image processing techniques. Known edge detection algorithms are used and these are not explained in detail. The image produced is in "screen" co-ordinates and there are problems in converting these into real road-based co-ordinates in that a true inverse perspective transformation requires knowledge of the position in the screen image of the horizon (at a point on which the images of parallel lines on the road will meet). Additional problems are time-spatial characteristics of the data flow, variation of road feature dynamics with speed, variation of noise characteristics with distance and discontinuities associated with lane changes, junctions etc. The inverse perspective transformation transforms the features from the edge detection result, which are in screen co-ordinates into real coordinates. Figs 3a, 3b and 3c respectively show side, top and camera views illustrating some parameters relating to the inverse perspective transformation, where HL is the horizon line and CL is the centre line. This is required firstly because road prediction is required to allow positioning of targets measured by the radar sensors and secondly because the spatial constraints of the road structure are formulated in real coordinates. - 5 The inverse perspective transformation is as follows: x - hX andz = _ fh H-Y H-Y •(1) with X,Y being the screen co-ordinates referenced to the centre of the bottom line of the screen, H being the position of the horizon on the screen and x,z being the real co-ordinates. The parameters h and f relate to the height of the camera above ground and the focal length of the lens of the video camera 1 1 (Fig 3a). The accuracy of this transformation is dependent on the accurate determination of the horizon H. A badly adjusted horizon creates errors in the co-ordinates of the feature points in a non-linear manner. In screen co-ordinates, measurement noise is uniform and constant over the whole screen. When the inverse perspective transformation has been carried out, this is no longer true. Instead, measurement noise in real coordinates is substantially linearly dependent on distance and offset. The spatial constraints which the road structure has to satisfy are the following: x = c l + c 2 z+c 3 z 2 (2) with cι being the lane marking offset, C2 lane heading and C3 being twice the lane curvature. This is based on the widely used assumption that the road has second order constraint. This expression is valid for both the left - 6 and right lane markings. The effect of the horizon error is obtained by applying the transformation of Equation 1 above to the road constraint expression, yielding the following result: ( 2C AH X AHΛ ( C AH CAH' λ x . = c. + c, +— - — - — — z. + c, +-÷ — + - — (3) where Xo and Zo are the correct co-ordinates using the corrected horizon and ΔH is the horizon error. It will be seen that the horizon error is reflected by corresponding non-trivial errors in the constant, and first and second order coefficients which correspond to estimates of offset, heading angle and curvature. The estimator used to estimate the best fit of a lane marking model to the image uses a recursive least squares procedure of well known type. The estimator is required to solve y = ΘX, where y is the measurement, X the data vector and θ the parameters to be estimated. The structure of the estimator to obtain values for the parameters θ is as follows: e k = yk ~ θ k-ι x k K k = P k-\ X I\ λσ y 2 + X k P k-\ X k ) Pk = j L {Pk-i - κ k χ kPk- l )+ Q θ k = θ k-ι + K k e k where e is the error, y is the independent data with known coefficient, θ the parameters to be estimated, K the estimator gain, P the covariance matrix, λ the forgetting factor, σ 2 the variance of the measurement noise and Q the random walk parameter which can be used for response tuning. The index k and k-1 refer to the current and previous video frames respectively. Random Walk is a standard practice of representing limited bandwidth of parameter variations in discrete time estimation/prediction algorithms. Each parameter is modelled as integrated white noise and a certain variance. The size of variance controls the bandwidth of the parameter change. The forgetting factor provides a technique for limiting the effect of old measured data on the estimation results when time progresses. The effect is that new data has more importance than the older. Instead of estimating the left and right lane markings separately, the lane is predicted as a whole. This results in a road model which has five parameters. These are ci 1 and cι r , the respective left and right offset values, lane heading c_, curvature C3 and horizon offset ΔH. The aim is to express Equation 3 above as a function of these five parameters and a data vector X as in the equation y = ΘX as set out above. As Equation 3 is not linear, this is not directly possible. However an approximation can be made using a so-called bootstrap by setting the data vector X so that some of its components are dependent on a previous value of the parameter vector. The expression to be used is: y(k) = x 0 (k) + X ° k ^ k) ^ k - l Depending on whether the feature point being processed is to the right or left of the centre of the lane, different data vectors are used. These data vectors have five components. The first component corresponds with the - 8 - left lane marking offset and the second with the right lane marking offset. The third component corresponds with the lane heading, the fourth with the lane curvature and the fifth with horizon error. The centre of the lane is based on the previous estimates of the lane coefficients. It is expressed as C2Z + C3Z 2 . The data vector varies as follows: leff. X - 1, 0, z α (/_), z, (/_), + + — ¥ ¥ (hf) right: X = " n 1 (iΛ * ( , \ 2 ~ l , Φ - Ϊ)zl(k) C ,(/. - l (/_)Δtf(/_ - l) " o> 1. z.W, + + — 2 ¥ ¥ w) This results in a heading angle, curvature and horizon offset which are same for left and right lane markings. The alternate zeros mean that the left marking does not have a right offset and the right marking does not have a left offset. It has directly built in the fact that left and right markings should have the same heading and curvature which removes the skewness and allows estimation of the horizon error. As mentioned above the road estimation problem has a spatial/time characteristic. This should be reflected and accommodated for in the estimator. Every frame contains a whole set of feature points which are returned by the edge detection procedures. To these feature points, the lane model needs to be fitted by estimating the lane offsets, heading angle and curvature (the C-parameters). This is done recursively based on the equations given above. The parameters for any given frame are considered constant which means that no forgetting or random walk excitation should be allowed. This means that Q is zero and λ is 1. On the other hand, parameters can change between frames. If the same - 9 - values of Q and λ are used, the dynamic model for the road parameters is not accommodated for. This can be solved by allowing a non-zero value for Q and forgetting when processing the first and only the first point of a new frame, because the dynamics of the lane parameters vary with speed Q and λ must be speed dependent. This therefore means that knowledge of the start of the frame is important and should be preserved when processing. This results in a recursive least square estimator algorithm with a discontinuity in dynamic response and implements the spatial/time characteristic of the problem. Based on the noise effects discussed above, an allowance needs to be made in the estimator algorithm to accommodate this. The measurement noise is dealt with in the estimator through σ 2 y . which is normally constant. For road estimation the value of this parameter is location dependent. Therefore σ 2 becomes a function: 2 (z 0 ΔX fz 0 x 0 AYλ °. + I f J I ¥ ) The edge detection procedure returns features which have high contrast on the original screen image. Most likely they are part of a lane, but it is possible that other elements in the picture also have high contrast and are therefore detected by the edge detection procedure. These points are irrelevant to the lane estimation procedures and need to be eliminated, as the positions of true lane marker features do not change by very much from frame to frame. To make the required selection the uncertainty of 10 the estimated parameters is needed. This is automatically available in the covariance matrix (P) of the RLS estimator procedure: If ee , <9{XPX I +σ y ) + W Feature point is accepted else Feature point is rejected where e is the error, e τ the transposed error, x the data vector, x τ the transposed data vector, p the co-variance matrix and W the error introduced by the width of the lane marking (white line). The acceptance of a point is based on a 96% confidence assuming white noise disturbance exists. The algorithm flow used in the procedures are as follows (see Fig 5): Step 1 : Select next possible feature point. Step 2: Predict the x co-ordinate of the feature point to be processed and compare it with the measured value. If the error is outside the 96% lane confidence interval calculated based on the estimator covariance, the point is rejected and the next feature point is processed (back to Step 1 ). Step 3: Construct the data vector X as follows: If x>c 2 z+c 3 z 2 -11 x = n 1 r(k λ P (k \ 2 - l (k) , c 2 {k-\)z k) Cl (k-ϊ)z 2 (k)AH(k-\) 0, 1, z{k), z (k), — + — + — ¥ ¥ (hf) else X = 1, 0, z(k), z k), 2c ^ k - l) k , -VM , - \ V{ k) k - ) ¥ ¥ (¥Y Step 4: Establish whether the feature point is the first one of the frame. If so allow forgetting by making λ < 1 and Q non-zero to implement a random walk. Step 5: The values of λ and Q are speed dependent and will be determined by modelling and tuning. Step 6: If the feature point is not the first make set λ = 1 and Q = 0. Step7: Execute the estimator algorithm and then return to Step 1. The procedures described enable road profile predictions to be made with considerable confidence not available from prior art procedures.

Claims: 12 - CLAIMS 1. Apparatus for road profile prediction ahead of a vehicle comprising digitisation and storage means operable to digitise and store video image data relating to the road ahead of the vehicle and processor means operable to process the video image data to identify lane markings in the road, characterised in that the processor means includes estimator means operable to simultaneously analyse pairs of lines considered to constitute lane markings by a single recursive estimation procedure by finding the best fit to an expression involving left and right offsets, heading angle, lane curvature and horizon offset. 2. Apparatus as claimed in Claim 1, wherein said estimator means is operable to take into account when analysing a video frame image the result of the estimation procedure in respect of one or more previous video frame images. 3. A method for road profile prediction ahead of a vehicle comprising the steps of digitising and storing video image data relating to the road ahead of the vehicle and processing the video image data to identify lane markings in the road, characterised in that the processing step includes the simultaneous analysis of pairs of lines considered to constitute lane markings by a single recursive estimation procedure by finding the best fit to an expression involving left and right offsets, heading angle, lane curvature and horizon offset. 13 4. A method as claimed in Claim 3, wherein the estimation procedure takes into account when analysing a video frame image the result of the estimation procedure in respect of one or more previous video frame images. 5. An autonomous cruise control system comprising apparatus as claimed in Claim 1 or 2 and/or using a method as claimed in Claim 3 or 4.

Inventors: HERMANS FILIP JOZEF JOHAN, HERMANS, FILIP, JOZEF, JOHAN
Applicants: HERMANS FILIP JOZEF JOHAN, LUCAS IND PLC, HERMANS, FILIP, JOZEF, JOHAN, LUCAS INDUSTRIES PUBLIC LIMITED COMPANY
Application year: 1999
Main classification: G06T7
IPC codes: G06T7